Fix ChangeLog entry
[glibc.git] / ChangeLog
blobf750412d58206bf032e3b829913270461c68f698
1 2015-06-01  Martin Sebor  <msebor@redhat.com>
3         [BZ #18116]
4         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5         (__setcontext): Use extended four-operand version of mtsf whenever
6         possible.
7         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8         (__novec_swapcontext): Likewise.
10 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12         * benchtests/scripts/compare_bench.py: New file.
13         * benchtests/scripts/import_bench.py (mean): New function.
14         (split_list): Likewise.
15         (do_for_all_timings): Likewise.
16         (compress_timings): Likewise.
18         * benchtests/scripts/import_bench.py: New file.
19         * benchtests/scripts/validate_benchout.py: Import import_bench
20         instead of jsonschema.
21         (validate_bench): Remove function.
22         (main): Use import_bench.
24 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
26         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
27         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
29 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33 2015-05-28  Roland McGrath  <roland@hack.frob.com>
35         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
36         set THREAD_SELF->tid to a magic value and futex-wake it.
37         Pass its address to the thread_exit system call.
38         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
39         bit is clear.
40         * sysdeps/nacl/lowlevellock.h: New file.
41         * sysdeps/nacl/lll_timedwait_tid.c: New file.
43         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
44         Add TIMEOUT to current time, don't subtract it.
46 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
48         [BZ #18422]
49         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
50         ($(objpfx)tst-audit2.out): Also depend on
51         $(objpfx)tst-auditmod9b.so.
52         * elf/tst-audit2.c: Include <dlfcn.h>.
53         (calloc_called): New.
54         (calloc): Allow to be called more than once.
55         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
57 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
59         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
60         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
62 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
64         * stdlib/monetary.h: Fix comment.
66 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
68         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
69         Avoid using variables in #defines that might cause shadowing.
70         (INTERNAL_VSYSCALL_CALL): Likewise.
72 2015-05-26  Roland McGrath  <roland@hack.frob.com>
74         * sysdeps/nacl/lll_timedlock_wait.c: New file.
76         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
77         * nptl/lll_timedlock_wait.c: ... to this new file.
78         * nptl/Makefile (libpthread-routines): Add it.
79         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
80         * nptl/lll_timedwait_tid.c: ... to this new file.
81         * nptl/Makefile (libpthread-routines): Add it.
82         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
83         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
84         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
85         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
86         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
87         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
88         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
89         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
90         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
91         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
93 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
95         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
96         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
97         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
98         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
99         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
100         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
101         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
102         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
103         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
104         * sysdeps/unix/sysv/linux/tile/sysdep.h
105         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
106         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
107         using vDSO syscall macro.
109 2015-05-26  Andriy Rysin  <arysin@gmail.com>
111         [BZ #17293]
112         * uk_UA: Fix sorting order for Ukrainian locale
114 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
116         * stdlib/monetary.h: Fix comment.
118 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
120         [BZ #18234]
121         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
122         st_mtim and st_ctim members.
123         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
124         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
125         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
126         (struct stat64): Likewise.
127         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
128         (struct stat64): Likewise.
129         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
130         (struct stat64): Likewise.
132 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
134         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
135         Define and include sysdep-vdso.h.
136         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
137         Likewise.
138         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
139         Likewise.
140         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
141         Define with VDSO_SYMBOL and use PTR_MANGLE.
142         (__vdso_clock_gettime): Likewise.
143         (__vdso_clock_getres): Likewise.
144         (_libc_vdso_platform_setup): Likewise.
145         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
146         Likewise.
147         (_libc_vdso_platform_setup): Likewise.
148         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
149         Likewise.
150         (__vdso_clock_gettime): Likewise.
151         (__vdso_clock_getres): Likewise.
152         (__vdso_get_tbfreq): Likewise.
153         (__vdso_getcpu): Likewise.
154         (__vdso_time): Likewise.
155         (__vdso_sigtramp_rt64): Likewise.
156         (__vdso_signtramp32): Likewise.
157         (__vdso_sigtramp_rt32): Likewise.
158         (_libc_vdso_platform_setup): Likewise.
159         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
160         Likewise.
161         (__vdso_clock_gettime): Likewise.
162         (__vdso_clock_getres): Likewise.
163         (_libc_vdso_platform_setup): Likewise.
164         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
165         Likewise.
166         (__vdso_clock_gettime): Likewise.
167         (_libc_vdso_platform_setup): Likewise.
168         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
169         Likewise.
170         (__vdso_getcpu): Likewise.
171         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
172         Use VDSO_SYMBOL macro to define.
173         (__vdso_clock_gettime): Likewise.
174         (__vdso_clock_getres): Likewise.
175         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
176         Likewise.
177         (__vdso_clock_gettime): Likewise.
178         (__vdso_clock_getres): Likewise.
179         (__vdso_get_tbfreq): Likewise.
180         (__vdso_getcpu): Likewise.
181         (__vdso_time): Likewise.
182         (__vdso_sigtramp_rt64): Likewise.
183         (__vdso_signtramp32): Likewise.
184         (__vdso_sigtramp_rt32): Likewise.
185         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
186         Likewise.
187         (__vdso_clock_gettime): Likewise.
188         (__vdso_clock_getres): Likewise.
189         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
190         Likewise.
191         (__vdso_clock_gettime): Likewise.
192         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
193         Likewise.
194         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
195         macro.
196         (INTERNAL_VSYSCALL): Likewise.
197         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
198         Remove macro.
199         (INTERNAL_VSYSCALL): Likewise.
200         (INTERNAL_VSYSCALL_NCS): Likewise.
201         (INTERNAL_VSYSCALL_CALL): New macro.
202         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
203         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
204         Likewise.
205         (INTERNAL_VSYSCALL): Likewise.
206         (INTERNAL_VSYSCALL_NCS): Likewise.
207         (INTERNAL_VSYSCALL_CALL): New macro.
208         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
210         (INLINE_VSYSCALL): Remove macro.
211         (INTERNAL_VSYSCALL): Remove macro.
212         (INTERNAL_VSYSCALL_NCS): Remove macro.
213         (INTERNAL_VSYSCALL_CALL): New macro.
214         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
215         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
216         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
217         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
218         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
220         (INLINE_VSYSCALL): Remove macro.
221         (INTERNAL_VSYSCALL): Likewise.
222         (INTERNAL_VSYSCALL_NCS): Likewise.
223         (INTERNAL_VSYSCALL_CALL): New macro.
224         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
225         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
226         PTR_DEMANGLE on vDSO pointer.
227         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
228         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
229         macro.
230         (INTERNAL_SYSCALL): Likewise.
231         (INTERNAL_VSYSCALL_NCS): Remove macro.
232         (INTERNAL_VSYSCALL_CALL): New macro.
233         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
234         Remove macro.
235         (INTERNAL_VSYSCALL): Likewise.
236         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
237         sysdep-vdso.h instead of libc-vdso.h.
238         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
239         definition.
240         (INLINE_VSYSCALL): Likewise.
241         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
242         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
243         definition.
244         (INLINE_VSYSCALL): Likewise.
245         (INTERNAL_VSYSCALL): Likewise.
246         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
247         * sysdeps/unix/sysv/linux/timespec_get.c
248         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
249         (timespec_get): Use ANSI prototype.
250         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
251         and definition for Linux.
253 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
255         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
256         * include/libc-symbols.h: libmvec_hidden_* macro series added.
258 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
260         [BZ #18410]
261         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
262         for missing DT_PLTRELSZ.
264 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
266         Remove obsolete aliases that broke 'locale -a'
267         [BZ #18412]
268         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
269         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
270         breaking some applications that use 'locale -a' output.
271         Change the encoding of this file from Latin-1 to ASCII to avoid
272         other potential problems with people grepping this file.
274 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
276         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
277         -fasynchronous-unwind-tables.
278         (CFLAGS-sendto.c): Likewise.
279         (CFLAGS-sendmsg.c): Likewise.
280         (CFLAGS-connect.c): Likewise.
281         (CFLAGS-recvmsg.c): Likewise.
282         (CFLAGS-recvfrom.c): Likewise.
283         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
284         (SOCKETCALL): New macro: non-cancellable socketcall.
285         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
286         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
287         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
288         * sysdeps/unix/sysv/linux/accept.c: New file.
289         * sysdeps/unix/sysv/linux/bind.c: Likewise.
290         * sysdeps/unix/sysv/linux/connect.c: Likewise.
291         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
292         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
293         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
294         * sysdeps/unix/sysv/linux/listen.c: Likewise.
295         * sysdeps/unix/sysv/linux/recv.c: Likewise.
296         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
297         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
298         * sysdeps/unix/sysv/linux/send.c: Likewise.
299         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
300         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
301         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
302         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
303         * sysdeps/unix/sysv/linux/socket.c: Likewise.
304         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
305         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
306         prototype.
307         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
308         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
309         instead of __internal_xxx function.
310         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
311         prototype.
312         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
313         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
314         instead of __internal_xxx function.
315         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
316         prototype.
317         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
318         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
319         instead of __internal_xxx function.
320         * sysdeps/unix/sysv/linux/accept.S: Remove file.
321         * sysdeps/unix/sysv/linux/bind.S: Likewise.
322         * sysdeps/unix/sysv/linux/connect.S: Likewise.
323         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
324         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
325         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
326         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
327         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
328         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
329         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
330         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
331         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
332         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
333         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
334         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
335         * sysdeps/unix/sysv/linux/listen.S: Likewise.
336         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
337         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
338         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
339         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
342         * sysdeps/unix/sysv/linux/recv.S: Likewise.
343         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
344         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
345         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
346         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
347         * sysdeps/unix/sysv/linux/send.S: Likewise.
348         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
349         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
350         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
351         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
352         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
353         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
354         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
355         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
356         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
357         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
358         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
359         socketcall is implemented in GLIBC.
361 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
363         * soft-fp/fmadf4.c: Include <libc-internal.h>.
364         (__fma): Ignore uninitialized warnings around packing.
365         * soft-fp/fmasf4.c: Include <libc-internal.h>.
366         (__fmaf): Ignore uninitialized warnings around packing.
367         * soft-fp/fmatf4.c: Include <libc-internal.h>.
368         (__fmal): Ignore uninitialized warnings around packing.
370         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
371         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
372         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
373         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
375         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
376         switch statement into default case.
377         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
379         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
380         a conditional in forcing "inexact".
381         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
382         Likewise.
384 2015-05-22  Roland McGrath  <roland@hack.frob.com>
386         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
387         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
388         for each INTERNAL_SYSCALL use.
390 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
392         [BZ #438]
393         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
394         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
395         variable.
397         [BZ #18444]
398         * string/basename.c (basename): Rename to __basename and define as
399         weak alias of __basename.  Use libc_hidden_weak.
400         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
401         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
402         __basename instead of basename.
403         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
404         Remove variable.
405         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
407 2015-05-18  Florian Weimer  <fweimer@redhat.com>
409         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
410         (_IO_JUMPS_FILE_plus): New.
411         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
412         _IO_CAST_FIELD_ACCESS.
413         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
414         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
415         * libio/freopen.c (freopen): Likewise.
416         * libio/freopen64.c (freopen64): Likewise.
417         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
418         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
419         * libio/iofwide.c (_IO_fwide): Likewise.
420         * libio/memstream.c (open_memstream): Likewise.
421         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
422         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
423         * libio/oldiopopen.c (_IO_old_popen): Likewise.
425 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
427         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
428         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
429         NADJ.
430         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
431         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
432         NADJ.
433         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
434         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
435         NADJ.
437         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
438         (p == 4) case.
440         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
441         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
442         Remove variable.
443         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
444         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
445         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
447 2015-05-21  Florian Weimer  <fweimer@redhat.com>
449         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
450         Adjust jump table label generation macros.
452 2015-05-21  Florian Weimer  <fweimer@redhat.com>
454         * stdio-common/vfprintf.c (vfprintf): Move local variables
455         args_malloced, specs, specs_malloced, and the code after
456         do_positional to the printf_positional function.
457         (printf_positional): New function.
459 2015-05-21  Florian Weimer  <fweimer@redhat.com>
461         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
462         function.
463         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
464         STEP4_TABLE, process_arg): Move macro definitions
465         out of the vfprintf function.  (Cosmetic change only.)
467 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
469         * benchtests/Makefile (stdio-common-bench): Define.
470         (benchset): Add stdio-common-bench.
471         * sprintf-inputs: New file.
472         * sprintf-source.c: New file.
474 2015-05-21  Andreas Schwab  <schwab@suse.de>
476         [BZ #13028]
477         [BZ #17053]
478         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
479         of struct __res_state.
480         * resolv/res_send.c (__libc_res_nsend): Likewise.
481         (get_nsaddr): New function.
482         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
483         statp directly.
485 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
487         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
488         -D_POSIX_C_SOURCE=199506L.
490         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
492         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
493         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
494         Do not mention otherwise.
495         [POSIX] (_XOPEN_VERSION): Do not expect.
496         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
497         [POSIX] (_POSIX2_C_BIND): Likewise.
498         [POSIX] (_POSIX2_VERSION): Likewise.
499         [POSIX] (_XOPEN_XPG2): Likewise.
500         [POSIX] (_XOPEN_XPG3): Likewise.
501         [POSIX] (_XOPEN_XPG4): Likewise.
502         [POSIX] (_XOPEN_UNIX): Likewise.
503         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
504         [POSIX] (_POSIX_BARRIERS): Likewise.
505         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
506         [POSIX] (_POSIX_CPUTIME): Likewise.
507         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
508         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
509         [POSIX] (_POSIX_SHELL): Likewise.
510         [POSIX] (_POSIX_SPAWN): Likewise.
511         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
512         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
513         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
514         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
515         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
516         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
517         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
518         [POSIX] (_XBS5_LP64_OFF64): Likewise.
519         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
520         [POSIX] (_POSIX_TIMEOUTS): Likewise.
521         [POSIX] (_POSIX2_PBS): Likewise.
522         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
523         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
524         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
525         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
526         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
527         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
528         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
529         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
530         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
531         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
532         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
533         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
534         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
535         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
536         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
537         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
538         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
539         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
540         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
541         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
542         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
543         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
544         [POSIX] (_SC_2_C_BIND): Likewise.
545         [POSIX] (_SC_2_C_VERSION): Likewise.
546         [POSIX] (_SC_2_PBS): Likewise.
547         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
548         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
549         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
550         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
551         [POSIX] (_SC_2_PBS_TRACK): Likewise.
552         [POSIX] (_SC_ATEXIT_MAX): Likewise.
553         [POSIX] (_SC_BARRIERS): Likewise.
554         [POSIX] (_SC_BASE): Likewise.
555         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
556         [POSIX] (_SC_DEVICE_IO): Likewise.
557         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
558         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
559         [POSIX] (_SC_FD_MGMT): Likewise.
560         [POSIX] (_SC_FIFO): Likewise.
561         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
562         [POSIX] (_SC_FILE_LOCKING): Likewise.
563         [POSIX] (_SC_FILE_SYSTEM): Likewise.
564         [POSIX] (_SC_IOV_MAX): Likewise.
565         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
566         [POSIX] (_SC_NETWORKING): Likewise.
567         [POSIX] (_SC_PAGE_SIZE): Likewise.
568         [POSIX] (_SC_PASS_MAX): Likewise.
569         [POSIX] (_SC_PIPE): Likewise.
570         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
571         [POSIX] (_SC_REGEXP): Likewise.
572         [POSIX] (_SC_SHELL): Likewise.
573         [POSIX] (_SC_SIGNALS): Likewise.
574         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
575         [POSIX] (_SC_SPIN_LOCKS): Likewise.
576         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
577         [POSIX] (_SC_USER_GROUPS): Likewise.
578         [POSIX] (_SC_USER_GROUPS_R): Likewise.
579         [POSIX] (_SC_STREAMS): Likewise.
580         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
581         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
582         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
583         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
584         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
585         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
586         [POSIX] (_PC_FILESIZEBITS): Likewise.
587         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
588         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
589         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
590         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
591         [POSIX] (uid_t): Likewise.
592         [POSIX] (gid_t): Likewise.
593         [POSIX] (off_t): Likewise.
594         [POSIX] (pid_t): Likewise.
595         [POSIX] (cuserid): Allow.
596         (_SC_2_CHAR_TERM): Require constant.
597         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
598         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
599         variable.
601 2015-05-20  Roland McGrath  <roland@hack.frob.com>
603         * sysdeps/nacl/pthread-pids.h: New file.
604         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
605         (create_thread): Use __nacl_get_tid to initialize PD->tid.
607         * nptl/pthread-pids.h: New file.
608         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
609         * nptl/nptl-init.c: Include <pthread-pids.h>.
610         (__pthread_initialize_minimal_internal):
611         Call __pthread_initialize_pids instead of set_tid_address syscall.
613         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
614         * sysdeps/posix/usleep.c: ... here.
616 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
618         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
619         call_pselect6 object.
620         [$(subdir) = io]: Remove call_sync_file_range object.
621         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
622         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
623         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
624         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
626 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
628         * math/s_cproj.c: Add include "math_private.h".
629         * math/s_cprojf.c: Likewise.
630         * math/s_cprojl.c: Likewise.
632 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
634         [BZ #18244]
635         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
636         high mantissa bit when testing whether P is a NaN.
637         * math/libm-test.inc (remainder_test_data): Add more tests.
638         (remquo_test_data): Likewise.
640         [BZ #18049]
641         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
642         below -32, return the argument, with underflow if subnormal.
643         * math/auto-libm-test-in: Add more tests of atanh.
644         * math/auto-libm-test-out: Regenerated.
646 2015-05-19  Roland McGrath  <roland@hack.frob.com>
648         [BZ #18434]
649         * nptl/tst-sem15.c: New file.
650         * nptl/Makefile (tests): Add it.
651         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
652         s/<</>>/ to fix typo in EOVERFLOW check.
653         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
655 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
657         * manual/strings.texi (envz_remove): Fix typo in safety
658         annotations.
660 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
661             Steve Ellcey  <sellcey@imgtec.com>
663         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
664         in order to avoid strict alias warnings.
665         (iruserok_af): Ditto for ra.
667 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
669         [BZ #17581]
670         * malloc/hooks.c
671         (magicbyte): Convert to a function and avoid returning 0x01.
672         (mem2mem_check): Avoid using a length byte equal to the magic byte.
673         (mem2chunk_check): Fix unsigned comparisons to zero.
674         Hoist defs of sz and magic.
676 2015-05-19  Richard Henderson  <rth@redhat.com>
678         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
680         * sysdeps/alpha/fpu/libm-test-ulps: Update.
682 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
684         [BZ #16159]
685         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
686         * malloc/arena.c (arena_lock): Check if arena is corrupt.
687         (reused_arena): Find a non-corrupt arena.
688         (heap_trim): Pass arena to unlink.
689         * malloc/hooks.c (malloc_check_get_size): Pass arena to
690         malloc_printerr.
691         (top_check): Likewise.
692         (free_check): Likewise.
693         (realloc_check): Likewise.
694         * malloc/malloc.c (malloc_printerr): Add arena argument.
695         (unlink): Likewise.
696         (munmap_chunk): Adjust.
697         (ARENA_CORRUPTION_BIT): New macro.
698         (arena_is_corrupt): Likewise.
699         (set_arena_corrupt): Likewise.
700         (sysmalloc): Use mmap if there are no usable arenas.
701         (_int_malloc): Likewise.
702         (__libc_malloc): Don't fail if arena_get returns NULL.
703         (_mid_memalign): Likewise.
704         (__libc_calloc): Likewise.
705         (__libc_realloc): Adjust for additional argument to
706         malloc_printerr.
707         (_int_free): Likewise.
708         (malloc_consolidate): Likewise.
709         (_int_realloc): Likewise.
710         (_int_memalign): Don't touch corrupt arenas.
711         * malloc/tst-malloc-backtrace.c: New test case.
713         * Makefile (summarize-tests): Fix return value on success.
715         * manual/string.texi (Envz Functions): Add envz_remove.
717 2015-05-18  Roland McGrath  <roland@hack.frob.com>
719         * sysdeps/posix/opendir.c: Include <stdbool.h>.
720         (invalid_name): New function, broken out of ...
721         (__opendirat): ... here.  Call it.
722         (need_isdir_precheck): New function, broken out of ...
723         (__opendirat): ... here.  Call it.
724         Use __fxstatat64, not __xstatat64.
725         (opendir_oflags): New function, broken out of ...
726         (__opendirat): ... here.  Call it.
727         (opendir_tail): New function, broken out of ...
728         (__opendirat): ... here.  Call it.
729         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
730         opendir_tail, rather than punting to __opendirat.
731         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
733 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
735         * .gitignore: Ignore generated *.pyc.
737 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
739         * include/stdio.h: Define __need_wint_t.
740         * test-skeleton.c: Avoid `for' loop initial declaration.
741         * nptl/tst-initializers1.c: Use test-skeleton.c.
743 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
745         [BZ #18418]
746         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
748 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
750         [BZ #16352]
751         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
752         (__ieee754_atanh): Force underflow exception for results with
753         small absolute value.
754         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
755         (__ieee754_atanhf): Force underflow exception for results with
756         small absolute value.
757         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
758         (__ieee754_atanh): Force underflow exception for results with
759         small absolute value.
760         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
761         (__ieee754_atanhf): Force underflow exception for results with
762         small absolute value.
763         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
764         (__ieee754_atanhl): Force underflow exception for results with
765         small absolute value.
766         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
767         (__ieee754_atanhl): Force underflow exception for results with
768         small absolute value.
769         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
770         (__ieee754_atanhl): Force underflow exception for results with
771         small absolute value.
772         * math/auto-libm-test-in: Do not allow missing underflow
773         exceptions from atanh.
774         * math/auto-libm-test-out: Regenerated.
776         [BZ #18221]
777         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
778         2**-28 as threshold for returning x or +/- 1/x.
779         * math/auto-libm-test-in: Add more tests of tan.
780         * math/auto-libm-test-out: Regenerated.
782         [BZ #18220]
783         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
784         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
785         * math/auto-libm-test-in: Add another test of lgamma.
786         * math/auto-libm-test-out: Regenerated.
788 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
790         * stdio-common/printf_fp.c (___printf_fp): Use abs.
791         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
792         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
793         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
794         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
795         (ADD2A): Use fabs.  (SUB2A): Use fabs.
796         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
797         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
798         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
799         (log1): Use fabs.  (my_log2): Use fabs.
800         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
801         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
802         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
803         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
804         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
805         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
806         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
807         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
808         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
809         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
810         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
812 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
814         [BZ #18217]
815         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
816         as threshold for returning 1 - x.
817         * math/auto-libm-test-in: Add more tests of erfc.
818         * math/auto-libm-test-out: Regenerated.
820 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
822         [BZ #18196]
823         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
824         threshold for large arguments.
825         * math/auto-libm-test-in: Add another test of atan.
826         * math/auto-libm-test-out: Regenerated.
828         [BZ #16339]
829         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
830         (__log1p): Force underflow exception for results with small
831         absolute value.
832         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
833         (__log1pf): Force underflow exception for results with small
834         absolute value.
835         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
836         (__log1p): Force underflow exception for results with small
837         absolute value.
838         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
839         (__log1pf): Force underflow exception for results with small
840         absolute value.
841         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
842         (__log1pl): Force underflow exception for results with small
843         absolute value.
844         * math/auto-libm-test-in: Do not allow missing underflow
845         exceptions from log1p.
846         * math/auto-libm-test-out: Regenerated.
848 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
849             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
851         [BZ #16704]
852         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
854 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
856         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
857         (libmvec): New variable.
858         * configure.ac: Added option for mathvec build.
859         * configure: Regenerated.
860         * mathvec/Depend: New file.
861         * mathvec/Makefile: New file.
862         * shlib-versions: Added libmvec.
863         * math/Makefile: Added rule for libm.so installation.
865         * bits/math-vector.h: New file.
866         * bits/libm-simd-decl-stubs.h: New header.
867         * math/Makefile (headers): Added new header
868         libm-simd-decl-stubs.h.
869         * math/math.h (__MATHCALL_VEC): New macro.
871         * math/gen-libm-have-vector-test.sh: Script generates series of macros
872         for conditions in testing functions.
873         * math/Makefile: Added call of libm-have-vector-test.sh.
874         * math/libm-test.inc (HAVE_VECTOR): New macros.
876         * math/libm-test.inc: START refactored.
877         * math/test-double.c (TEST_MATHVEC): Add define.
878         * math/test-float.c: Likewise.
879         * math/test-idouble.c: Likewise.
880         * math/test-ifloat.c: Likewise.
881         * math/test-ildoubl.c: Likewise.
882         * math/test-ldouble.c: Likewise.
883         * sysdeps/generic/math-tests-arch.h
884         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
885         architecture check.
887         * math/test-double.c (FUNC_TEST): New macro.
888         * math/test-float.c: Likewise.
889         * math/test-idouble.c: Likewise.
890         * math/test-ifloat.c: Likewise.
891         * math/test-ildoubl.c: Likewise.
892         * math/test-ldouble.c: Likewise.
893         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
895 2015-05-13  Roland McGrath  <roland@hack.frob.com>
897         * sysdeps/nacl/fdopendir.c: New file.
899         * dirent/scandir-tail.c: New file.
900         * dirent/scandir64-tail.c: New file.
901         * dirent/Makefile (routines): Add them.
902         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
903         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
904         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
905         [!SCANDIR] (SCANDIR_TAIL): New macro.
906         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
907         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
908         (SCANDIRAT): Macro removed.
909         (SCANDIR_TAIL): New macro.
910         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
911         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
912         (SCANDIRAT): Just call __opendirat and __scandir_tail.
913         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
914         (READDIR): Macro removed.
915         (SCANDIR_TAIL): New macro.
916         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
917         (SCANDIR_TAIL): New macro.
919         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
920         * dirent/scandir-cancel.c: ... to this new file.
921         * dirent/Makefile (routines): Add it.
922         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
923         * sysdeps/unix/sysv/linux/i386/scandir64.c
924         (SKIP_SCANDIR_CANCEL): Macro removed.
925         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
927         * dirent/tst-scandir.c: New file.
928         * dirent/tst-scandir64.c: New file.
929         * dirent/Makefile (tests): Add them.
931 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
933         [BZ #18409]
934         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
936 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
938         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
939         list.
941 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
943         * benchtests/bench-strcoll.c: New benchmark.
944         * benchtests/Makefile: Generate locales and run benchmark.
945         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
946         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
947         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
948         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
949         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
950         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
951         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
952         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
953         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
954         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
955         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
956         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
957         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
958         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
959         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
960         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
961         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
962         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
963         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
964         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
965         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
966         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
967         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
968         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
970 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
972         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
973         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
975 2015-05-12  Roland McGrath  <roland@hack.frob.com>
977         * posix/uname-values.h: New file.
978         * posix/uname.c: Include that instead of <config-name.h>.
979         * sysdeps/nacl/uname-values.h: New file.
980         * sysdeps/arm/nacl/uname-values.h: New file.
982 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
984         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
985         splitting into fields.
987 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
989         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
990         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
991         * locale/localeinfo.h: Add enum collation_encoding_type.
992         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
993         * programs/ld-collate.c (collate_output): Add encoding type info.
994         * string/strcoll_l.c (STRDIFF): New function.
995         * (STRCOLL): Use STRDIFF to skip over equal prefix.
996         * wcsmbs/wcscoll_l.c: Define STRDIFF.
998 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
1000         [BZ #18397]
1001         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
1002         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
1003         <fpu_control.h> instead of <math/fpu_control.c>.
1004         * sysdeps/mips/mips32/fpu/Makefile: New file.
1006 2015-05-11  Andreas Schwab  <schwab@suse.de>
1008         [BZ #18007]
1009         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
1010         nss_endgrent.
1011         (_nss_compat_endgrent): Call nss_endgrent.
1012         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
1013         nss_endpwent.
1014         (_nss_compat_endpwent): Call nss_endpwent.
1015         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
1016         needent, call nss_setspent only if non-zero.
1017         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
1018         (internal_endspent): Don't call nss_endspent.
1019         (_nss_compat_endspent): Call nss_endspent.
1020         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
1021         Remove.  All uses removed.
1022         (internal_setent): Remove parameter stayopen, add parameter
1023         stream.  Use it instead of global variable.
1024         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
1025         (internal_endent, internal_getent): Add parameter stream.  Use it
1026         instead of global variable.
1027         (CONCAT(_nss_files_end,ENTNAME))
1028         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
1029         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
1030         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
1031         uses removed.
1032         (internal_setent, internal_endent): Add parameter stream.  Use it
1033         instead of global variable.
1034         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
1035         stream.
1036         (get_next_alias): Add parameter stream.
1037         (_nss_files_getaliasent_r): Pass global stream.
1038         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
1039         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
1040         (_nss_files_gethostbyname4_r): Pass local stream to
1041         internal_setent, internal_getent and internal_endent.  Remove
1042         locking.
1044 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1046         * tst-strfmon1.c (tests): Update expected currency symbol.
1048 2015-05-08  Roland McGrath  <roland@hack.frob.com>
1050         * sysdeps/nacl/gethostname.c: New file.
1052 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
1054         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
1055         and sinh.
1056         * math/auto-libm-test-out: Regenerated.
1057         * sysdeps/i386/fpu/libm-test-ulps: Update.
1058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1060 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
1062         [BZ #18125]
1063         * stdlib/tst-setcontext3.c: New file.
1064         * stdlib/tst-setcontext3.sh: New file.
1065         * stdlib/Makefile (tests): Add tst-setcontext3.
1066         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
1067         to verify test program created output file.
1068         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
1069         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
1070         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
1071         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
1073 2015-05-06  Roland McGrath  <roland@hack.frob.com>
1075         [BZ #18383]
1076         * elf/tst-tlsalign.c: New file.
1077         * elf/tst-tlsalign-static.c: New file.
1078         * elf/tst-tlsalign-lib.c: New file.
1079         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
1080         (tests-static): Add tst-tlsalign-static.
1081         (modules-names): Add tst-tlsalign-lib.
1082         (test-xfail-tst-tlsalign): New variable.
1083         (test-xfail-tst-tlsalign-static): New variable.
1085         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
1086         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
1088 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
1090         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
1091         csqrt, erfc, sin and sincos.
1092         * math/auto-libm-test-out: Regenerated.
1093         * sysdeps/i386/fpu/libm-test-ulps: Update.
1094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1096 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1098         * sysdeps/aarch64/libm-test-ulps: Update.
1100 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
1102         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
1103         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
1104         * math/auto-libm-test-out: Regenerated.
1105         * sysdeps/i386/fpu/libm-test-ulps: Update.
1106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1108 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1110         [BZ #18265]
1111         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
1112         (wcsncpy): Likewise.
1114 2015-05-05  Florian Weimer  <fweimer@redhat.com>
1116         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1117         Assume __ASSUME_FALLOCATE is always true.
1118         * sysdeps/unix/sysv/linux/posix_fallocate64.c
1119         (__posix_fallocate64_l64): Likweise.
1120         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
1121         (posix_fallocate): Likewise.
1122         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
1123         (__posix_fallocate64_l64): Likewise.
1124         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1125         [!__ASSUME_FALLOCATE]: Add comment.
1127 2015-05-05  Florian Weimer  <fweimer@redhat.com>
1129         * sysdeps/unix/sysv/linux/i386/Makefile
1130         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
1131         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
1132         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
1133         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
1134         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
1135         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
1136         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
1138 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
1140         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
1141         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
1142         tgamma.
1143         * math/auto-libm-test-out: Regenerated.
1144         * sysdeps/i386/fpu/libm-test-ulps: Update.
1145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1147 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
1149         * math/auto-libm-test-in: Add more tests of tgamma.
1150         * math/auto-libm-test-out: Regenerated.
1151         * sysdeps/i386/fpu/libm-test-ulps: Update.
1152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1154         * math/auto-libm-test-in: Add more tests of tanh.
1155         * math/auto-libm-test-out: Regenerated.
1156         * sysdeps/i386/fpu/libm-test-ulps: Update.
1157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1159         * math/auto-libm-test-in: Add more tests of tan.
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         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
1165         * math/auto-libm-test-out: Regenerated.
1166         * sysdeps/i386/fpu/libm-test-ulps: Update.
1167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1169         * math/auto-libm-test-in: Add another test of pow.
1170         * math/auto-libm-test-out: Regenerated.
1171         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1173         * math/auto-libm-test-in: Add more tests of lgamma.
1174         * math/auto-libm-test-out: Regenerated.
1175         * sysdeps/i386/fpu/libm-test-ulps: Update.
1176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1178         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
1179         log1p.
1180         * math/auto-libm-test-out: Regenerated.
1181         * sysdeps/i386/fpu/libm-test-ulps: Update.
1182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1184 2015-05-01  Mark Wielaard  <mjw@redhat.com>
1186         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
1187         Elf64_Chdr structs and ELFCOMPRESS constants.
1189 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
1191         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
1192         expm1.
1193         * math/auto-libm-test-out: Regenerated.
1194         * sysdeps/i386/fpu/libm-test-ulps: Update.
1195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1197         * math/auto-libm-test-in: Add more tests of erf and erfc.
1198         * math/auto-libm-test-out: Regenerated.
1199         * sysdeps/i386/fpu/libm-test-ulps: Update.
1200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1202 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1204         * config.h.in (HAVE_AARCH64_BE): Add.
1206 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
1208         * math/auto-libm-test-in: Add more tests of csqrt.
1209         * math/auto-libm-test-out: Regenerated.
1210         * sysdeps/i386/fpu/libm-test-ulps: Update.
1211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1213         * math/auto-libm-test-in: Add more tests of cosh and sinh.
1214         * math/auto-libm-test-out: Regenerated.
1215         * sysdeps/i386/fpu/libm-test-ulps: Update.
1216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1218         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
1220 2015-04-29  Roland McGrath  <roland@hack.frob.com>
1222         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
1223         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
1225         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
1226         (euidaccess, eaccess): Define as weak aliases.
1228         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
1229         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
1230         but __suseconds_t is often 'long int' so some sources assume that
1231         type is being used (e.g. they use %ld to print tv_usec).
1233 2015-04-29  Florian Weimer  <fweimer@redhat.com>
1235         [BZ #18007]
1236         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
1237         (CVE-2014-8121)
1238         * nss/tst-nss-getpwent.c: New file.
1239         * nss/Makefile (tests): Add new test.
1241 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
1243         [BZ #18346]
1244         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
1245         exponents less than 48 as cases where high part of mantissa needs
1246         examining to determine whether argument is integral.
1247         * math/libm-test.inc (round_test_data): Add more tests.
1249 2015-04-28  Mark Wielaard  <mjw@redhat.com>
1251         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
1253 2015-04-27  David S. Miller  <davem@davemloft.net>
1255         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
1256         __tls_get_addr.
1257         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1259 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
1261         [BZ#18333]
1262         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
1264 2015-04-27  Florian Weimer  <fweimer@redhat.com>
1266         [BZ#18333]
1267         * time/tzset.c (parse_tzname): Return error on memory allocation
1268         failure.
1269         * test-skeleton.c (struct temp_name_list): Change type of name
1270         member to non-const.
1271         (add_temp_file): Create a copy of the file name.
1272         (delete_temp_files): Deallocate memory.
1273         (create_temp_file): Add comment.
1275 2015-04-24  Florian Weimer  <fweimer@redhat.com>
1277         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
1278         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
1280 2015-04-24  Roland McGrath  <roland@hack.frob.com>
1282         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
1283         * sysdeps/arm/configure: Regenerated.
1285 2015-04-24  Florian Weimer  <fweimer@redhat.com>
1287         [BZ #17715]
1288         * time/tzfile.c (__tzfile_read): Check for large values of
1289         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
1290         * time/tzset.c (__tzstring_len): New function, based on the old
1291         __tzstring function.
1292         (__tzstring): Call __tzstring_len.
1293         (parse_tzname): New helper function extracted from
1294         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
1295         the input string.
1296         (parse_offset): New helper function extracted from
1297         __tzset_parse_tz.  Replace switch with fallthrough with
1298         initialization before sscanf.
1299         (parse_rule): Likewise.
1300         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
1301         new-style function definition.
1302         * timezone/Makefile (tests): Add tst-tzset.
1303         (tst-tzset.out): Dependencies on time zone files.
1304         (tst-tzset-ENV): Set TZDIR.
1305         (testdata/XT%): Copy crafted time zone files.
1306         * timezone/README: Mention crafted time zone files.
1307         * timezone/testdata/XT1, timezone/testdata/XT2,
1308         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
1309         files.
1310         * timezone/tst-tzset.c: New test.
1312 2015-04-24  Florian Weimer  <fweimer@redhat.com>
1314         * Makeconfig (+gccwarn): Remove -Winline.
1316 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1318         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
1320 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1322         * NEWS: Mention sysconf() cache information support for s390.
1323         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
1325 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
1327         * math/k_casinh.c (__kernel_casinh): Use __copysign.
1328         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
1329         (__nearbyint): Likewise.
1330         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
1331         (copysignl): Likewise.
1333 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
1335         [BZ #18287]
1336         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
1337         based on padding.  (CVE-2015-1781)
1339 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1341         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
1342         libc-vdso.h.
1343         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
1344         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
1345         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1346         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1347         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1348         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
1349         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
1350         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1351         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1352         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
1353         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1354         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1355         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1356         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
1357         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1358         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
1359         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
1360         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
1361         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
1362         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
1363         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
1364         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
1365         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
1367 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
1369         * stdlib/setenv.c (__add_to_environ):
1370         Dump core quickly if setenv (..., NULL, ...) is called.
1371         This time, do it the right way, and pacify GCC with a pragma.
1373 2015-04-17  Roland McGrath  <roland@hack.frob.com>
1375         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
1376         IMAP->l_prev cannot be null, and #if out the code for the contrary
1377         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
1378         believe that NS (&_dl_ns[NSID]) could point outside the array.
1380         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
1381         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
1382         before using NSID as an index.
1384 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
1386         [BZ #17825]
1387         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
1388         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
1389         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1391 2015-04-17  Roland McGrath  <roland@hack.frob.com>
1393         Add preliminary port to Google Native Client on ARM.
1394         * abi-tags (.*-.*-nacl.*): New entry.
1395         * sysdeps/arm/nacl: New directory.
1396         * sysdeps/nacl: New directory.
1398 2015-04-16  David S. Miller  <davem@davemloft.net>
1400         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
1401         lowlevellock-futex.h
1403 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
1405         * sysdeps/tile/configure.ac: New file.
1406         * sysdeps/tile/configure: Regenerated.
1408 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1410         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
1411         conditionals for weak_alias and libc_hidden_weak.
1412         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
1413         libc_hidden_weak and weak_alias.
1414         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
1415         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
1416         and weak_alias for static one.
1418 2015-04-15  David S. Miller  <davem@davemloft.net>
1420         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1422 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1424         [BZ #18206]
1425         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
1426           Use signed comparision instead of substraction to avoid
1427           overflow bug.
1428         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
1429           Take the sign of ret.
1430         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
1431           Do not expect precise return values. Only the sign matters.
1432         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
1433         * wcsmbs/test-wcsncmp.c: New File.
1434         * string/test-strncmp.c: Add wcsncmp support.
1436 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1438         [BZ #6792]
1439         * math/w_log1p.c: New file.
1440         * math/w_log1pf.c: Likewise.
1441         * math/w_log1pl.c: Likewise.
1442         * math/Makefile (libm-calls): Add w_log1p.
1443         * math/s_log1pl.c (log1pl): Remove weak_alias.
1444         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
1445         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
1446         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
1447         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
1448         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
1449         [NO_LONG_DOUBLE] (log1pl): Likewise.
1450         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
1451         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
1452         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
1453         (log1p): Remove long_double_symbol.
1454         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
1455         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
1456         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
1457         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
1458         remove weak_alias for corresponding log1p function.
1459         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
1460         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
1461         * sysdeps/ia64/fpu/w_log1p.c: New file.
1462         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
1463         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
1464         * math/libm-test.inc (log1p_test_data): Add errno expectations.
1466 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
1468         [BZ #18247]
1469         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
1470         decimal exponent by 1.
1471         * stdlib/tst-strtod-round-data: Add more tests.
1472         * stdlib/tst-strtod-round.c (tests): Regenerated.
1474 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
1476         * math/auto-libm-test-in: Add more tests of clog and clog10.
1477         * math/auto-libm-test-out: Regenerated.
1478         * sysdeps/i386/fpu/libm-test-ulps: Update.
1479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1481 2015-04-09  Roland McGrath  <roland@hack.frob.com>
1483         * Makeconfig (module-cppflags): Exclude all .v.i files.
1484         (skip-module-cppflags): Variable removed.
1486         * configure.ac (libc_config_ok): Initialize before reading
1487         preconfigure scripts, not after.
1488         * configure: Regenerated.
1490         * test-skeleton.c (TIMEOUT): Move #define to top level.
1491         (main): Grok environment variable TEST_DIRECT.  If set, print
1492         test expectation details into that file and then behave as if
1493         given --direct.
1495 2015-04-09  Florian Weimer  <fweimer@redhat.com>
1497         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
1498         warning on 32-bit.
1500 2015-04-08  David S. Miller  <davem@davemloft.net>
1502         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1504 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
1506         * math/auto-libm-test-in: Add more tests of atanh.
1507         * math/auto-libm-test-out: Regenerated.
1508         * sysdeps/i386/fpu/libm-test-ulps: Update.
1509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1511         * math/auto-libm-test-in: Add more tests of atan.
1512         * math/auto-libm-test-out: Regenerated.
1513         * sysdeps/i386/fpu/libm-test-ulps: Update.
1514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1516 2015-04-08  Florian Weimer  <fweimer@redhat.com>
1518         * elf/pldd.c (main): Rewrite to use struct
1519         scratch_buffer instead of extend_alloca.
1520         * elf/pldd-xx.c (find_maps): Likewise.
1521         * grp/initgroups.c: Include <scratch_buffer.h> instead of
1522         <alloca.h>.
1523         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
1524         scratch_buffer instead of extend_alloca.
1525         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
1526         grp/compat-initgroups.c.
1527         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
1528         Rewrite to use struct scratch_buffer instead of extend_alloca.
1529         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
1530         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1532 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
1534         * math/auto-libm-test-in: Add more tests of cbrt.
1535         * math/auto-libm-test-out: Regenerated.
1536         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1538         * math/auto-libm-test-in: Add more tests of cabs.
1539         * math/auto-libm-test-out: Regenerated.
1540         * sysdeps/i386/fpu/libm-test-ulps: Update.
1541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1543         [BZ #18210]
1544         [BZ #18211]
1545         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
1546         (__ieee754_atan2): Set FE_TONEAREST mode for internal
1547         computations.
1548         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
1549         clog10.
1550         * math/auto-libm-test-out: Regenerated.
1551         * sysdeps/i386/fpu/libm-test-ulps: Update.
1552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1554         [BZ #18197]
1555         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
1556         (atan): Set FE_TONEAREST mode for internal computations.
1557         * math/auto-libm-test-in: Add more tests of atan.
1558         * math/auto-libm-test-out: Regenerated.
1560 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
1562         [BZ #17930]
1563         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
1565 2015-04-07  Florian Weimer  <fweimer@redhat.com>
1567         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
1569 2015-04-07  Florian Weimer  <fweimer@redhat.com>
1571         * include/scratch_buffer.h: New file.
1572         * malloc/scratch_buffer_grow.c: Likewise.
1573         * malloc/scratch_buffer_grow_preserve.c: Likewise.
1574         * malloc/scratch_buffer_set_array_size.c: Likewise.
1575         * malloc/tst-scratch_buffer.c: Likewise.
1576         * malloc/Makefile (routines): Add scratch_buffer_grow.
1577         (tests): Add test case.
1578         * malloc/Versions (GLIBC_PRIVATE): Export
1579         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
1580         __libc_scratch_buffer_set_array_size.
1582 2015-04-06  Richard Henderson  <rth@redhat.com>
1584         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
1585         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1587         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
1588         unsigned int before printing.
1590 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1592         [BZ #17596]
1593         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
1594         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1596 2015-04-02  Florian Weimer  <fweimer@redhat.com>
1598         * include/libc-internal.h (libc_max_align_t): Define.
1600 2015-04-02  Andreas Schwab  <schwab@suse.de>
1602         [BZ #16850]
1603         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
1605 2015-04-02  Mel Gorman  <mgorman@suse.de>
1607         [BZ #17195]
1608         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
1609         as well as the main arena.
1611 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
1613         [BZ #18185]
1614         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
1615         sharing L2 cache to 2 for Silvermont/Knights Landing.
1617 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
1619         [BZ #17711]
1620         * config.make.in (have-protected-data): New.
1621         * configure.ac: Check linker support for protected data symbol.
1622         * configure: Regenerated.
1623         * elf/Makefile (modules-names): Add tst-protected1moda and
1624         tst-protected1modb if $(have-protected-data) is yes.
1625         (tests): Add tst-protected1a and tst-protected1b if
1626         $(have-protected-data) is yes.
1627         ($(objpfx)tst-protected1a): New.
1628         ($(objpfx)tst-protected1b): Likewise.
1629         (tst-protected1modb.so-no-z-defs): Likewise.
1630         * elf/tst-protected1a.c: New file.
1631         * elf/tst-protected1b.c: Likewise.
1632         * elf/tst-protected1mod.h: Likewise.
1633         * elf/tst-protected1moda.c: Likewise.
1634         * elf/tst-protected1modb.c: Likewise.
1636 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
1638         [BZ #17711]
1639         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
1640         indicates it is called from do_lookup_x on relocation against
1641         protected data, skip the data definion in the executable from
1642         copy reloc.
1643         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
1644         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
1645         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
1646         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
1647         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
1648         otherwise to 0.
1649         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
1650         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
1651         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
1652         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
1653         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
1654         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
1656 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
1658         * sysdeps/nptl/pthread.h: Remove duplicate definition of
1659         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
1661 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
1663         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
1664         THREAD_SETMEM_NC.
1665         * sysdeps/x86_64/nptl/tls.h: Ditto.
1667 2015-03-27  Roland McGrath  <roland@hack.frob.com>
1669         * dlfcn/tststatic.c (main): Converted to ...
1670         (do_test): ... this.
1671         (TEST_FUNCTION): New macro.
1672         Include test-skeleton.c.
1674 2015-03-26  Alan Modra  <amodra@gmail.com>
1676         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
1677         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
1678         zero for undefined weak.
1679         (elf_machine_plt_conflict): Similarly.
1681 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
1683         * math/auto-libm-test-in: Add more tests of acosh, asinh and
1684         atanh.
1685         * math/auto-libm-test-out: Regenerated.
1686         * sysdeps/i386/fpu/libm-test-ulps: Update.
1687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1689         * math/auto-libm-test-in: Add another test of asin.
1690         * math/auto-libm-test-out: Regenerated.
1691         * sysdeps/i386/fpu/libm-test-ulps: Update.
1692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1694         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
1695         Remove macro.
1696         (LLL_EBX_REG): Likewise.
1697         (LLL_ENTER_KERNEL): Likewise.
1699         * math/auto-libm-test-in: Add more tests of asin.
1700         * math/auto-libm-test-out: Regenerated.
1701         * sysdeps/i386/fpu/libm-test-ulps: Update.
1702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1704         [BZ #18138]
1705         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
1706         libc_do_syscall_args): New structure.
1707         (INTERNAL_SYSCALL_MAIN_0): New macro.
1708         (INTERNAL_SYSCALL_MAIN_1): Likewise.
1709         (INTERNAL_SYSCALL_MAIN_2): Likewise.
1710         (INTERNAL_SYSCALL_MAIN_3): Likewise.
1711         (INTERNAL_SYSCALL_MAIN_4): Likewise.
1712         (INTERNAL_SYSCALL_MAIN_5): Likewise.
1713         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
1714         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
1715         Replace conditional definitions by conditional definitions of ....
1716         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
1717         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
1718         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
1719         (libpthread-sysdep_routines): Add libc-do-syscall.
1720         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
1721         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
1722         to __NR_futex not 240.
1724 2015-03-25  Alan Modra  <amodra@gmail.com>
1726         * NEWS: Advertise TLS optimization.
1727         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
1728         (DT_PPC_NUM): Increment.
1729         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
1730         (CHECK_STATIC_TLS): Use here.
1731         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
1732         TLS descriptors.
1733         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1734         * sysdeps/powerpc/dl-tls.c: New file.
1735         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
1736         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
1737         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
1738         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
1739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
1740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
1741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
1743 2015-03-25  Alan Modra  <amodra@gmail.com>
1745         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
1746         for overlapping .opd entries" to "support...".
1747         * sysdeps/powerpc/powerpc64/configure: Regenerate
1749 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
1751         * math/auto-libm-test-in: Add more tests of acos.
1752         * math/auto-libm-test-out: Regenerated.
1753         * sysdeps/i386/fpu/libm-test-ulps: Update.
1754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1756         * math/auto-libm-test-in: Add more tests of expm1.
1757         * math/auto-libm-test-out: Regenerated.
1758         * sysdeps/i386/fpu/libm-test-ulps: Update.
1759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1761 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
1763         * math/auto-libm-test-in: Add more tests of cosh and sinh.
1764         * math/auto-libm-test-out: Regenerated.
1765         * sysdeps/i386/fpu/libm-test-ulps: Update.
1766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1768         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1771         * math/auto-libm-test-in: Add more tests of log2.
1772         * math/auto-libm-test-out: Regenerated.
1773         * sysdeps/i386/fpu/libm-test-ulps: Update.
1774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1776 2015-03-23  Roland McGrath  <roland@hack.frob.com>
1778         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
1779         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
1780         _IO_IS_APPENDING bit in READ_WRITE instead.
1782 2015-03-23  Florian Weimer  <fweimer@redhat.com>
1784         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1785         (__determine_cpumask_size): Replace extend_alloca with a
1786         variable-length array.  Do not treat res == 0 as an error.
1788 2015-03-23  Florian Weimer  <fweimer@redhat.com>
1790         [BZ #18100]
1791         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
1792         and integer overflow.
1793         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
1794         (main): Add integer overflow tests.
1795         * manual/pattern.texi (Calling Wordexp): Document additional use
1796         for WRDE_SYNTAX.
1798 2015-03-23  Alan Modra  <amodra@gmail.com>
1800         * config.h.in: Remove HAVE_ASM_PPC_REL16.
1801         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
1802         and false branch of conditional.
1803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1804         Likewise.
1806 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
1808         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
1809         libc-modules.h
1810         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
1811         unused declaration of _hurd_intr_rpc_msg_in_trap.
1812         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
1813         defined instead of whether it is non-zero.
1814         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
1815         input constraint instead of both input and output constraint.  Use ecx
1816         clobber instead of %ecx.
1817         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
1818         mutex_unlock): Use a statement expression instead of an expression list.
1819         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
1820         type to vm_size_t instead of vm_address_t.
1821         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
1822         defined instead of whether it is non-zero.
1823         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
1824         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
1825         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
1826         comparisons with mapaddr.
1827         * nscd/nscd-client.h: Include <time.h>.
1828         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
1829         9th parameter to __vm_region instead of int.
1830         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
1831         * scripts/check-local-headers.sh (exclude): Add device/,
1832         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
1833         cthreads.h.
1835 2015-03-19  Roland McGrath  <roland@hack.frob.com>
1837         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
1838         to account for alignment padding.
1839         * sysdeps/arm/memmove.S: Likewise.
1841 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
1843         * sysdeps/unix/sysv/linux/generic/README: New file.
1845 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
1847         [BZ #18138]
1848         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
1849         (futex_abstimed_wait)
1850         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
1851         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
1852         of lll_futex_timed_wait.
1854 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
1856         [BZ #17542]
1857         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
1859 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
1861         [BZ #17090]
1862         [BZ #17620]
1863         [BZ #17621]
1864         [BZ #17628]
1865         * NEWS: Update.
1866         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
1867         entries with Static TLS too.  Skip entries past the end of the
1868         allocated DTV, from Alan Modra.
1869         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
1870         Static TLS DTV entry set up from...
1871         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
1872         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
1873         * nptl/allocatestack.c (init_one_static_tls): ... and here...
1874         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
1875         for Static TLS.
1876         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
1877         that the slot we find is associated with the given map before
1878         using its generation count.
1879         * nptl_db/db_info.c: Include ldsodefs.h.
1880         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
1881         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
1882         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
1883         (link_map::l_tls_offset): New struct field.
1884         (dtv_t::counter): Likewise.
1885         (rtld_global): New struct.
1886         (_rtld_global): New rtld variable.
1887         (dl_tls_dtv_slotinfo_list): New rtld global field.
1888         (dtv_slotinfo_list): New struct.
1889         (dtv_slotinfo): Likewise.
1890         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
1891         (td_lookup): Rename to...
1892         (td_mod_lookup): ... this.  Use new mod parameter instead of
1893         LIBPTHREAD_SO.
1894         * nptl_db/td_thr_tlsbase.c: Include link.h.
1895         (dtv_slotinfo_list, dtv_slotinfo): New functions.
1896         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
1897         addresses even if the DTV is out of date or missing them.
1898         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
1899         index zero-length arrays.
1900         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
1901         (td_lookup): Make it a macro implemented in terms of...
1902         (td_mod_lookup): ... this declaration.
1903         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
1904         (DB_MAIN_VARIABLE): Likewise.
1906 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1908         [BZ #18134]
1909         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1911 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
1913         * stdlib/setenv.c (__add_to_environ): Revert previous change.
1915 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
1917         [BZ #18128]
1918         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
1919         (atomic_add, atomic_increment_and_test)
1920         (atomic_decrement_and_test): Fix 64-bit arithmetic.
1922 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
1924         * stdlib/setenv.c (__add_to_environ):
1925         Dump core quickly if setenv (..., NULL, ...) is called.
1927 2015-03-13  Roland McGrath  <roland@hack.frob.com>
1929         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
1930         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
1931         all the necessary asm magic in one place.
1932         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
1933         using those.
1935 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
1937         [BZ #14906]
1938         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
1939         traced file mtime. Use consistent log message.
1940         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
1941         (register_traced_file): Call install_watches. Always set mtime.
1942         (invalidate_cache): Iterate over all trace files. Call install_watches.
1943         (inotify_check_files): Don't inline. Handle watching parent
1944         directories and configuration file movement in and out.
1945         (handle_inotify_events): New function.
1946         (main_loop_poll): Call handle_inotify_events.
1947         (main_loop_epoll): Likewise.
1948         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
1949         (struct traced_file): Use array of inotify fds. Add parent directory,
1950         and basename.
1951         (struct database_dyn): Remove unused file_mtime.
1952         (init_traced_file): New inline function.
1953         (define_traced_file): New macro.
1954         * nss/nss_db/db-init.c: Use define_traced_file.
1955         (_nss_db_init): Use init_traced_file.
1956         * nss/nss_files/files-init.c: Use define_traced_file.
1957         (_nss_files_init): Use init_traced_file.
1959 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
1961         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
1962         [_LIBC]: Do not include <stdlib.h>.
1963         [!_LIBC] (abort): Remove declaration.
1964         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
1965         _FP_STATIC_ASSERT instead of conditionally calling abort.
1966         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
1967         (_FP_EXTEND_CNAN): Likewise.
1968         (FP_TRUNC): Likewise.
1969         (__FP_CLZ): Likewise.
1970         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
1972 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
1974         * manual/string.texi (XPG basename): Fix prototype.
1976 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1978         [BZ #18080]
1979         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
1980         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
1981         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
1982         (__setcontext): Likewise.
1983         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
1984         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
1985         Call rt_sigprocmask syscall one time to set new signal mask
1986         and retrieve the current signal mask instead of two calls.
1987         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
1988         (__swapcontext): Likewise.
1989         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
1990         * stdlib/tst-setcontext2.c: New file.
1992 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1994         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1996 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
1998         [BZ #18093]
1999         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
2000         the wrong size.
2002 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2004         [BZ #18043]
2005         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
2007 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2009         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
2010         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
2011         Remove define.
2012         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
2013         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
2014         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
2015         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
2016         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
2017         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
2018         define.
2019         * nptl_db/td_symbol_list.c (td_lookup): Remove
2020         HAVE_ASM_GLOBAL_DOT_NAME code.
2021         * sysdeps/powerpc/powerpc64/configure.ac: Remove
2022         HAVE_ASM_GLOBAL_DOT_NAME check.
2023         * sysdeps/powerpc/powerpc64/configure: Regenerate.
2024         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
2025         (DOT_LABEL): Remove define.
2026         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
2027         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
2028         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
2029         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
2030         (__TLS_GET_ADDR): Likewise.
2031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
2032         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
2034 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
2036         [BZ #18111]
2037         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
2038         (_FPU_SETCW): Initialize cw from fpsr before storing.
2039         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
2040         (fesetexceptflag): Rewrite using fpu_control.h.
2041         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
2043 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
2045         [BZ #18110]
2046         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
2047         asms.
2048         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2050 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
2052         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
2053         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
2054         abort.
2055         (_FP_FMA): Likewise.
2056         (_FP_DIV): Likewise.
2058 2015-03-10  Roland McGrath  <roland@hack.frob.com>
2060         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
2061         with 0 in that case.
2062         * Makefile (summarize-tests): New canned sequence, factored out of
2063         commands for targets tests and xtests.  Display summary lines that
2064         don't start with PASS: or XFAIL: rather than ones that do start with
2065         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
2066         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
2067         do start with ERROR: or FAIL:.
2068         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
2069         (except for [$(build-shared) = yes]).
2070         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
2071         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
2072         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
2073         * nptl/Makefile: Revert 2015-03-04 changes.
2074         [$(CXX) empty] (tests-unsupported): New variable.
2075         * debug/Makefile: Likewise.
2077         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
2078         gnulib file.  Replace __attribute with __attribute__ throughout.
2080 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
2082         * sysdeps/hppa/fpu/libm-test-ulps: Update.
2084 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
2086         [BZ #18104]
2087         * math/auto-libm-test-in: Add another test of pow.
2088         * math/auto-libm-test-out: Regenerated.
2090 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2092         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
2093         $(config-cflags-nofma).
2095 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
2097         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
2098         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
2099         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
2100         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
2101         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
2102         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
2103         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
2104         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
2105         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
2106         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
2107         Add comment on closing #endif.
2109 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2111         * posix/wordexp.c (CHAR_IN_SET): New macro.
2112         (parse_param): Use it.
2114 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2116         * sysdeps/powerpc/fpu/libm-test-ulps: update.
2118 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2120         [BZ #18043]
2121         * posix/wordexp.c (parse_param): Fix buffer overflow.
2122         * posix/wordexp-test.c (test_case): Add test case.
2124 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2126         [BZ #18042]
2127         * posix/wordexp.c (parse_backtick): Fix off-by-one.
2128         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
2130 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2132         [BZ #18043]
2133         * posix/wordexp-test.c (test_case): Add test for BZ #18043
2134         (do_bz18043): Delete.
2135         (at_page_end): New.
2136         (testit): Refactor to have words at the edge of unreadable page.
2138 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
2140         [BZ #16734]
2141         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
2142         Cleanup read-only streams as well.
2143         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
2145 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2147         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
2148         <bits/libc-lockP.h>
2150 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
2152         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
2153         on [__KERNEL__].
2154         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
2155         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
2156         * soft-fp/op-common.h (_FP_DECL): Likewise.
2158 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
2160         * elf/ifuncdep2.c (global): Replace
2161         __attribute__((visibility("protected"))) with
2162         asm (".protected global").
2163         * elf/ifuncmod1.c (global): Likewise.
2164         * elf/ifuncmod5.c (global): Likewise.
2166 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
2168         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
2169         <asm/sfp-machine.h> instead of <sfp-machine.h>.
2171 2015-03-06  Roland McGrath  <roland@hack.frob.com>
2173         * manual/install.texi (Configuring and compiling):
2174         Document test-wrapper-env-only.
2175         * INSTALL: Regenerated.
2177 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
2179         [BZ #18043]
2180         * posix/wordexp.c (parse_param): Fix buffer overflow.
2181         * posix/wordexp-test.c (do_bz18043): Add test case.
2183 2015-03-06  Vincent Bernat  <vincent@bernat.im>
2185         * time/tst-strptime2.c (do_test): Ensure failing tests are
2186         reported correctly.
2187         * time/tst-strptime3.c (do_test): Likewise.
2189 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
2191         Fix aio_error thread-safety.
2192         * sysdeps/pthread/aio_error.c: New file
2193         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
2194         synchronization.
2196 2015-03-06  Florian Weimer  <fweimer@redhat.com>
2198         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
2199         (group_number, vfprintf): Use it.
2200         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
2201         (JUMP, REF): Use it.
2202         (WORK_BUFFER_SIZE): New enum constant.
2203         (process_arg, vfprintf): Use it.
2205 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
2207         * manual/errno.texi (Error Messages): Complete example function
2208         by adding missing #define.
2209         (program_invocation_name): Add statement indicating GNU
2210         extension and reference which header file declares the variable.
2211         (program_invocation_short_name): Likewise.
2213 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
2215         * manual/errno.texi (Error Messages): Delete strerror ISO C89
2216         compatibility note.
2218 2015-03-05  Roland McGrath  <roland@hack.frob.com>
2220         * Makeconfig (test-wrapper-env-only): New variable.
2221         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
2222         then use that with $(test-wrapper-env-only) rather than using
2223         $(test-wrapper-env) $(run-program-env) $($*-ENV).
2225 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
2227         [BZ #18082]
2228         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
2229         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
2230         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
2231         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
2232         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
2233         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
2234         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
2235         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2236         Likewise.
2237         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
2238         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
2239         Likewise.
2240         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
2241         Likewise.
2242         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
2243         Likewise.
2244         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
2245         Likewise.
2246         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
2247         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
2248         Likewise.
2249         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
2250         Likewise.
2251         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
2252         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
2254 2015-03-04  Roland McGrath  <roland@hack.frob.com>
2256         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
2257         (ETH_ALEN): New macro.
2258         (struct ether_addr): Use it for length of ether_addr_octet.
2260         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
2261         (setdb): Don't call __nss_configure_lookup for "rpc".
2262         (do_test): Don't call test_rpc.
2263         (output_rpcent, test_rpc): Functions moved ...
2264         * sunrpc/test-rpcent.c: ... to this new file.
2265         * sunrpc/Makefile (tests): Add it.
2267         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
2268         __xpg_sigpause.
2269         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
2270         * nptl/tst-signal6.c: Likewise.
2271         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
2272         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
2274         * configure.ac (libc_cv_cxx_link_ok): New check.
2275         Reset CXX to empty if it fails to link.
2276         * configure: Regenerated.
2277         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
2278         bug-atexit3-lib only if $(CXX) is nonempty.
2279         * nptl/Makefile (tests): Likewise for tst-cancel24.
2280         (tests, tests-static): Likewise for tst-cancel24-static.
2281         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
2282         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
2283         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
2284         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
2286 2015-03-04  Andreas Schwab  <schwab@suse.de>
2288         [BZ #17631]
2289         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
2290         for non-GCC compilers.
2291         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2292         Likewise.
2294 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2296         [BZ #17776]
2297         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
2298         integer before bitwise and assembly operations.
2299         (feclearexcept): Likewise.
2300         * math/test-fenvinline.c: New file.
2301         * math/Makefile: Add test-fenvinline test.
2303 2015-03-03  Alan Modra  <amodra@gmail.com>
2305         [BZ #16512]
2306         * scripts/localplt.awk: Strip off symbol version.
2307         * NEWS: Mention bug fix.
2309 2015-03-02  Roland McGrath  <roland@hack.frob.com>
2311         * sysdeps/pthread/timer_routines.c
2312         (timer_free_list, thread_free_list, thread_active_list): Make static.
2314 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
2316         [BZ #17779]
2317         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2318         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2319         Undefine.
2320         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2321         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2322         Likewise.
2323         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2324         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2325         Likewise.
2327 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
2329         [BZ #18036]
2330         * posix/fnmatch_loop.c (END): Detect invalid pattern.
2331         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
2333 2015-03-02  Andreas Schwab  <schwab@suse.de>
2335         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
2336         variable name.
2338 2015-03-02  Florian Weimer  <fweimer@redhat.com>
2340         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
2341         Return error status.
2343 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
2345         [BZ #15969]
2346         * locale/findlocale.c (_nl_find_locale): Introduce const
2347         version of loc_name and drop unsafe type casts.
2349 2015-02-27  Roland McGrath  <roland@hack.frob.com>
2351         * dlfcn/tststatic2.c (main): Converted to ...
2352         (do_test): ... this.
2353         (TEST_FUNCTION): New macro.
2354         Include test-skeleton.c.
2356 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
2358         [BZ #17711]
2359         * elf/Makefile (tests): Add vismain only if PIE is enabled.
2360         (tests-pie): Add vismain.
2361         (CFLAGS-vismain.c): New.
2362         * elf/vismain.c: Add comments for PIE requirement.
2364 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
2366         [BZ #18046]
2367         [BZ #18047]
2368         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
2369         0x1p-56L as threshold for just returning the argument.
2370         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
2371         0x1p-32L as threshold for just returning the argument.
2372         * math/auto-libm-test-in: Add more tests of atanh.
2373         * math/auto-libm-test-out: Regenerated.
2374         * sysdeps/i386/fpu/libm-test-ulps: Update.
2375         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
2377 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
2379         * string/bcopy.c (bcopy): Call memmove for performance.
2381 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
2383         * string/bzero.c (__bzero): Call memset for performance.
2385 2015-02-27  John David Anglin  <dave.anglin@bell.net>
2387         [BZ #18068]
2388         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
2389         to 00100000.
2391 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
2393         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
2395 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
2397         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
2398         (__kernel_standard): Use CSTR macro when setting exc.name.
2399         * sysdeps/ieee754/Makefile [$(subdir) = math]
2400         (CFLAGS-k_standard.c): Remove variable.
2402         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
2403         setting p and q from "else if" to "else".
2404         (qzero): Likewise.
2405         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
2406         (qone): Likewise.
2407         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
2408         (qzerof): Likewise.
2409         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
2410         (qonef): Likewise.
2411         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
2412         (qzero): Likewise.
2413         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
2414         (qone): Likewise.
2416         [BZ #18038]
2417         [BZ #18039]
2418         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
2419         return pi/2 for arguments below 0x1p-113L.
2420         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
2421         return pi/2 for arguments below 0x1p-106L.
2422         * math/auto-libm-test-in: Add more tests of acos.
2423         * math/auto-libm-test-out: Regenerated.
2425         [BZ #16351]
2426         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
2427         (MO): New macro.
2428         (__ieee754_asin): Force underflow exception for results with small
2429         absolute value.
2430         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
2431         (MO): New macro.
2432         (__ieee754_asinf): Force underflow exception for results with
2433         small absolute value.
2434         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
2435         (__ieee754_asin): Force underflow exception for results with small
2436         absolute value.
2437         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
2438         (__ieee754_asinf): Force underflow exception for results with
2439         small absolute value.
2440         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
2441         (__ieee754_asinl): Force underflow exception for results with
2442         small absolute value.
2443         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
2444         (__ieee754_asinl): Force underflow exception for results with
2445         small absolute value.
2446         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
2447         (__ieee754_asinl): Force underflow exception for results with
2448         small absolute value.
2449         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
2450         Include <math.h>.
2451         * math/auto-libm-test-in: Do not mark underflow exceptions as
2452         possibly missing for bug 16351.
2453         * math/auto-libm-test-out: Regenerated.
2455         [BZ #18030]
2456         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
2457         of power of 2 down when low part has opposite sign.
2458         * math/libm-test.inc (logb_test_data): Add more tests.
2460 2015-02-26  Andreas Schwab  <schwab@suse.de>
2462         [BZ #18032]
2463         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
2464         over collating symbol inside a bracket expression.  Minor cleanup.
2465         * posix/tst-fnmatch3.c (do_test): Add test case.
2467 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
2469         [BZ #18029]
2470         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
2471         Adjust exponent of power of 2 down when low part has opposite
2472         sign.
2473         * math/libm-test.inc (ilogb_test_data): Add more tests.
2475 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
2477         [BZ #15969]
2478         * locale/findlocale.c (_nl_find_locale): Fix constness error in
2479         the previous change.
2481         [BZ #15969]
2482         * locale/findlocale.c (_nl_find_locale): Retry archive search
2483         after alias expansion.
2485 2015-02-25  Roland McGrath  <roland@hack.frob.com>
2487         * iconv/tst-iconv3.c (main): Converted to ...
2488         (do_test): ... this.
2489         (TEST_FUNCTION): New macro.
2490         Include test-skeleton.c.
2492         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
2493         (convert): Make function static.
2494         (test_unalign): Likewise.  Add const to argument pointee types.
2495         (main): Replace with static function do_test.
2496         Print "Succeeded." only if RET is zero.
2497         (TEST_FUNCTION): New macro.
2498         Include test-skeleton.c.
2500         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
2501         returns a null pointer.
2503 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2505         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
2506         to __memcpy_ppc only for static builds.
2508 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
2510         [BZ #18020]
2511         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
2512         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
2513         * math/auto-libm-test-in: Add more tests of asinh.
2514         * math/auto-libm-test-out: Regenerated.
2515         * sysdeps/i386/fpu/libm-test-ulps: Update.
2516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2518 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
2520         [BZ #15850]
2521         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
2522         and ip6_mtuinfo definitions here.
2523         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
2524         in this define too.  Update comment.
2526 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
2528         * elf/sprof.c (load_shobj): Tweak error message to match others.
2530 2015-02-24  Kevin Easton  <kevin@guarana.org>
2532         [BZ #16145] (partial fix)
2533         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
2534         to reduce lock contention.
2536 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
2538         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
2539         (struct timex): Update time comment.
2540         (ADJ_SETOFFSET): Define.
2542 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
2544         [BZ #18019]
2545         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2546         2**56 not 2**28 as threshold for log (2x) formula.
2547         * math/auto-libm-test-in: Add more tests of acosh.
2548         * math/auto-libm-test-out: Regenerated.
2549         * sysdeps/i386/fpu/libm-test-ulps: Update.
2550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2552 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
2554         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
2555         parenthesis around the buf assignment.
2556         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
2558 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
2560         [BZ #16783]
2561         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
2562         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
2563         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
2564         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2565         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2566         * math/libm-test.inc (scalb_test_data): Add more tests.
2568 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2570         [BZ #17916]
2571         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
2572         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
2574 2015-02-24  Eric Rannaud  <e@nanocritical.com>
2576         [BZ #17523]
2577         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
2578         * io/bits/fcntl2.h (open): Use it.
2579         (openat): Likewise.
2580         * io/open.c (__libc_open): Likewise.
2581         * io/open64.c (__libc_open64): Likewise.
2582         * io/open64_2.c (__open64_2): Likewise.
2583         * io/open_2.c (__open_2): Likewise.
2584         * io/openat.c (__openat): Likewise.
2585         * io/openat64.c (__openat64): Likewise.
2586         * io/openat64_2.c (__openat64_2): Likewise.
2587         * io/openat_2.c (__openat_2): Likewise.
2588         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
2589         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
2590         * sysdeps/posix/open64.c (__libc_open64): Likewise.
2591         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2592         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2593         (__open_nocancel): Likewise.
2594         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2595         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2596         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
2598 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2600         [BZ #14841]
2601         * resolv/gethnamaddr.c (getanswer): Skip logging if
2602         RES_USE_DNSSEC is set.
2603         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2605 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
2607         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
2609 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
2611         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2612         201304L, for Unicode 7.
2614 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
2616         [BZ #17836]
2617         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
2618         shared library.  Add gmon-start.os otherwise.
2619         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
2620         $(objpfx)gmon-start.os if builing shared library.
2621         ($(objpfx)g$(static-start-installed-name)): Likewise.
2623 2015-02-23  Andreas Schwab  <schwab@suse.de>
2625         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
2627 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
2629         [BZ #17269]
2630         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
2631         (enlarge_userbuf): Likewise.
2633 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
2635         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
2636         * math/atest-exp.c (TIMEOUT): Adjust to 200.
2637         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
2638         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
2640 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
2642         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
2643         expression inside statement expression.
2645 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2647         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
2648         <sysdeps/nptl/lowlevellock.h> and remove macros and
2649         functions that are now defined there.
2650         (SYS_futex): Remove.
2651         (lll_compare_and_swap): Remove.
2652         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
2654 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
2656         [BZ #17999]
2657         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
2658         instead of scandirat.
2659         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
2660         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
2661         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
2662         __scandirat.
2663         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
2664         (__scandirat): Declare.  Use libc_hidden_proto.
2665         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
2666         Remove variable.
2667         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2669 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
2671         [BZ #15319]
2672         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
2673         (MO): New macro.
2674         (__ieee754_atan2): For results with small absolute value, force
2675         underflow exception and remove excess range and precision from
2676         return value.
2677         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
2678         (MO): New macro.
2679         (__ieee754_atan2f): For results with small absolute value, force
2680         underflow exception and remove excess range and precision from
2681         return value.
2682         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
2683         (MO): New macro.
2684         (__atan): For results with small absolute value, force underflow
2685         exception and remove excess range and precision from return value.
2686         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
2687         (MO): New macro.
2688         (__atanf): For results with small absolute value, force underflow
2689         exception and remove excess range and precision from return value.
2690         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
2691         <math.h>.
2692         (__ieee754_atan2): Force underflow exception for results with
2693         small absolute value.
2694         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
2695         <math_private.h>.
2696         (atan): Force underflow exception for results with small absolute
2697         value.
2698         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
2699         (__atanf): Force underflow exception for results with small
2700         absolute value.
2701         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
2702         <math.h>.
2703         (__atanl): Force underflow exception for results with small
2704         absolute value.
2705         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
2706         (__atanl): Force underflow exception for results with small
2707         absolute value.
2708         * sysdeps/x86/fpu/bits/mathinline.h
2709         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
2710         (__ieee754_atan2): Only define inline for long double.
2711         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
2712         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
2713         * math/auto-libm-test-in: Do not mark underflow exceptions as
2714         possibly missing for bug 15319.  Add more tests of atan2.
2715         * math/auto-libm-test-out: Regenerated.
2716         * math/libm-test.inc (casin_test_data): Do not mark underflow
2717         exceptions as possibly missing for bug 15319.
2718         (casinh_test_data): Likewise.
2719         * sysdeps/i386/fpu/libm-test-ulps: Update.
2721 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
2723         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
2724         * sysdeps/mips/bits/endian.h: Fix comments.
2726 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
2728         [BZ #17996]
2729         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
2730         (hdestroy_r): Likewise.
2731         (hsearch_r): Likewise.
2732         (__hcreate_r): Declare and use libc_hidden_proto.
2733         (__hdestroy_r): Likewise.
2734         (__hsearch_r): Likewise.
2735         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
2736         (hcreate): Call __hcreate_r instead of hcreate_r.
2737         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
2738         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
2739         as weak alias of __hcreate_r.
2740         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
2741         __hdestroy_r.
2742         (hsearch_r): Rename to __hsearch_r and define as weak alias of
2743         __hsearch_r.
2744         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
2745         Remove variable.
2746         (test-xfail-XPG4/search.h/linknamespace): Likewise.
2747         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2748         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2749         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2751 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2753         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
2754         arena_lock into a single arena_get.
2756 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
2758         * dl-reloc.c: Inlucde libc-internal.h.
2759         (_dl_try_allocate_static_tls): Call ALIGN_UP.
2760         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
2761         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
2762         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
2763         (grow_heap): Likewise.
2764         * malloc/malloc.c: Include libc-internal.h.
2765         (do_check_malloc): Call powerof2.
2766         (sysmalloc): Use pagesize. Call ALIGN_UP.
2767         (systrim): Use pagesize.
2768         (mremap_chunk): Use pagesize. Call ALIGN_UP.
2769         (__libc_valloc): Use pagesize.
2770         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
2772 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
2774         [BZ #17991]
2775         * include/sys/resource.h (__getrlimit64): Declare.  Use
2776         libc_hidden_proto.
2777         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
2778         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
2779         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
2780         getrlimit64.
2781         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
2782         __getrlimit64.
2783         [!getrlimit64] (getrlimit64): Define as weak alias of
2784         __getrlimit64.  Use libc_hidden_weak.
2785         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
2786         using __getrlimit64 not __new_getrlimit64.
2787         (__GI_getrlimit64): Likewise.
2788         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
2789         Likewise.
2790         (__GI_getrlimit64): Likewise.
2791         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
2792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
2793         (getrlimit): Add __getrlimit64 alias.
2794         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
2795         Likewise.
2796         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
2797         Remove variable.
2798         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2799         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2801 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
2803         * libio/fileops.c: Add missing sys/mman.h
2804         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
2806 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
2808         * manual/math.texi (Errors in Math Functions): Clarify goals
2809         regarding inexact and underflow exceptions.
2811 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
2813         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
2814         * sysdeps/mips/memset.S: Ditto.
2816 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
2818         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
2820 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2822         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
2823         (__v1longjmp): Remove versioned symbol.
2824         (__v1siglongjmp): Remove alias and versioned symbol.
2825         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
2826         (__v2siglongjmp): Likewise.
2828 2015-02-16  Torvald Riegel  <triegel@redhat.com>
2830         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
2832 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
2834         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
2836 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
2838         [BZ #17987]
2839         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
2840         zero result does not depend on the sign resulting from
2841         subtraction.
2842         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2843         Likewise.
2844         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2845         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2846         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2847         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2848         * math/libm-test.inc (remquo_test_data): Add more tests.
2850 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
2852         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
2853         Problem reported by J William Piggott.
2855 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
2857         [BZ #17978]
2858         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
2859         products 4 * y and 2 * y where those would overflow.
2860         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2861         Likewise.
2862         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2863         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2864         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2865         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2866         * math/libm-test.inc (remquo_test_data): Add more tests.
2868         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
2870         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
2871         [defined _COMPILING_NEWLIB].
2872         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
2873         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
2875         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
2876         [!defined __mips_isa_rev || __mips_isa_rev < 6].
2878 2015-02-16  Torvald Riegel  <triegel@redhat.com>
2880         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
2881         acquired.
2883 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
2885         [BZ #17792]
2886         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
2887         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
2888         HOST_STACK_END_ADDR): Likewise.
2890 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
2892         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
2893         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
2894         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
2896 2015-02-13  Roland McGrath  <roland@hack.frob.com>
2898         * sysdeps/generic/c++-types.data: New file.
2899         * sysdeps/generic/ld.abilist: New file.
2900         * sysdeps/generic/libBrokenLocale.abilist: New file.
2901         * sysdeps/generic/libanl.abilist: New file.
2902         * sysdeps/generic/libc.abilist: New file.
2903         * sysdeps/generic/libcrypt.abilist: New file.
2904         * sysdeps/generic/libdl.abilist: New file.
2905         * sysdeps/generic/libm.abilist: New file.
2906         * sysdeps/generic/libpthread.abilist: New file.
2907         * sysdeps/generic/libresolv.abilist: New file.
2908         * sysdeps/generic/librt.abilist: New file.
2910 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
2912         [BZ #17569]
2913         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2914         Compute absolute value of x as modified by fmod, not original
2915         value of x.
2916         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
2917         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
2918         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
2919         RUN_TEST_ffI_f1_mod8.
2920         (remquo_test_data): Add more tests.
2922 2015-02-13  Roland McGrath  <roland@hack.frob.com>
2924         * sysdeps/init_array/pt-crti.S: New file.
2926 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
2928         [BZ #17967]
2929         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
2930         __builtin_fmaf instead of relying on contraction of a * b + c.
2932 2015-02-12  J William Piggott  <elseifthen@gmx.com>
2934         [BZ #17969]
2935         * manual/time.texi: correct the zoneinfo path in the TZ Variable
2936         node.
2938 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
2940         [BZ #17964]
2941         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
2942         __builtin_fma instead of relying on contraction of a * b + c.
2944 2015-02-12  Roland McGrath  <roland@hack.frob.com>
2946         * Makeconfig (ASFLAGS): Add -Werror=undef.
2947         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
2948         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
2949         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
2951         * Makeconfig (after-link): New variable.
2952         (+link-pie, +link-pie-tests): Use it.
2953         (+link-static, +link-static-tests): Likewise.
2954         (+link, +link-tests): Likewise.
2955         * Makerules (build-module, build-module-asneeded): Likewise.
2956         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
2957         Likewise.
2958         * elf/Makefile ($(objpfx)ld.so): Likewise.
2960 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
2962         [BZ #17965]
2963         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
2964         both struct timeval and struct timespec.
2966 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
2968         [BZ #16560]
2969         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2970         and redefine.
2971         (__ieee754_exp2l): Do not multiply small fractional parts by
2972         M_LN2l.
2973         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
2974         small argument.
2975         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2976         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2977         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
2978         * math/auto-libm-test-in: Add more tests of exp2.
2979         * math/auto-libm-test-out: Regenerated.
2981 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2983         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
2984         unaligned path.
2986 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2988         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
2989         little endian.
2991 2015-02-12  Andreas Schwab  <schwab@suse.de>
2993         [BZ #15790]
2994         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
2995         Filter out elision flags from value returned in kind.
2996         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
2997         * nptl/tst-pthread-mutexattr.c: New file.
2999 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3001         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
3002         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
3003         into gnu-gnu, and update comment to refer to abi-tags.
3005 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
3007         [BZ #15467]
3008         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
3009         (__sincos): Set errno to EDOM for infinite argument.
3010         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
3011         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
3012         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
3013         (__sincosl): Set errno to EDOM for infinite argument.
3014         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
3015         (__sincosl): Set errno to EDOM for infinite argument.
3016         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
3017         (__sincosl): Set errno to EDOM for infinite argument.
3018         * math/libm-test.inc (sincos_test_data): Test errno setting.
3020 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
3022         * string/strxfrm_l.c: Remove #define STRCMP.
3023         * string/strcoll_l.c: Remove #define STRLEN.
3024         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
3025         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
3027 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
3029         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
3030         * sysdeps/mips/mips32/sfp-machine.h: ... here.
3031         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
3032         * sysdeps/mips/mips64/Makefile: ... here.
3033         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
3034         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
3035         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
3036         * sysdeps/mips/mips64/sfp-machine.h: ... here.
3037         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
3038         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
3039         * sysdeps/mips/mips64/n64/Implies: Likewise.
3041 2015-02-10  Roland McGrath  <roland@hack.frob.com>
3043         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
3044         <sys/time.h>, <string.h>, and <errno.h>.
3045         (dest_offset, dest_address, value, zero): Remove unused variables.
3046         (ldouble): Remove typedef.
3047         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
3048         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
3049         1).  Fix code style.
3050         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
3051         (check): Function removed.
3052         (CHECK): New macro.
3053         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
3054         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
3055         Don't call set_sigaction_FP and remove_sigaction_FP here.
3056         (ldouble_test): Just use 'long double' as macro argument, no need for
3057         the 'ldouble' typedef.
3058         (do_test): Set up SIGFPE handler at start, using plain signal rather
3059         than sigaction.  Fix code style.
3061 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
3063         [BZ #17949]
3064         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
3065         jump label.
3067 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3069         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
3070         * sysdeps/powerpc/powerpc32/configure: Regenerated.
3072         * sysdeps/powerpc/configure.ac: Remove file.
3073         * sysdeps/powerpc/configure: Likewise.
3075         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3076         [sysdep_routines]: Remove wordcopy-power6 object.
3077         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3078         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
3079         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
3080         (__memmove_ppc32): Likewise.
3081         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
3082         file.
3083         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
3084         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
3085         Remove preprocessor.
3087         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3088         [sysdep_routines]: Remove wide chars objects.
3089         [wcsmbs]: New rule for wide char objects.
3091         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3092         Remove wordcopy-power6 obejct.
3093         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
3094         Use local call for wordcopy and memcpy symbols.
3095         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
3096         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
3097         implementation for loader.
3098         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
3100         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3101         Remove wordcopy-power7 object.
3102         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
3103         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
3104         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
3105         (_wordcopy_fwd_dest_aligned): Likewise.
3106         (_wordcopy_bwd_aligned): Likewise.
3107         (_wordcopy_bwd_dest_aligned): Likewise.
3109         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
3110         Rewrite to call __memmove_ppc instead of include default
3111         implementation.
3113         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3114         Remove wide chars objects.
3115         [wcsmbs]: New rule for wide char objects.
3117 2015-02-09  Andreas Schwab  <schwab@suse.de>
3119         [BZ #17912]
3120         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3121         in terms of __O_DIRECTORY.
3123 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3125         * time/getdate.c: Include <stdbool.h>.
3126         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
3127         call PTR_MANGLE.
3128         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
3129         PTR_DEMANGLE.
3131 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
3133         Add ersatz _Static_assert on older C hosts
3134         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
3135         pre-C11 C platform that is not known to support _Static_assert.
3137 2015-02-07  Richard Braun  <rbraun@sceen.net>
3139         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
3140         sigstate.
3141         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
3143 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3145         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
3146         priority against unexistent AIO_PRIO_DELTA_MAX.
3147         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
3148         instead of int.
3149         * misc/fchflags.c (fchflags): Likewise.
3150         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3151         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3152         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
3153         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
3154         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
3155         Declare macros.
3156         [__USE_MISC] (chflags, fchflags): Declare functions.
3157         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
3158         EINVAL when nfds is greater than FD_SETSIZE.
3159         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
3160         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
3161         45.
3162         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
3163         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
3164         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
3165         MACH_RCV_TIMED_OUT.
3166         * hurd/hurd/signal.h (_hurd_self_sigstate,
3167         _hurd_critical_section_lock, _hurd_critical_section_unlock):
3168         Explicit casts from void *.
3169         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
3170         * abi-tags: Rename gnu-gnu os into gnu.
3172         [BZ #4719]
3173         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
3174         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
3175         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
3176         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
3177         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
3178         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
3180         [BZ #17944]
3181         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
3182         duplicates ADDR->sun_path with sockaddr LEN limitation.
3183         * sysdeps/mach/hurd/connect.c: Include <string.h>
3184         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
3185         * sysdeps/mach/hurd/sendmsg.c: Likewise.
3186         * sysdeps/mach/hurd/sendto.c: Likewise.
3187         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
3188         implementing it by hand.
3190 2015-02-06  Roland McGrath  <roland@hack.frob.com>
3192         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
3193         Use sfi_breg on ldr.
3194         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
3195         Likewise.
3197         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
3198         it's defined.
3199         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
3200         Test SIGSETXID only if it's defined.
3202         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
3204         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
3205         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
3207         * nptl/tst-align2.c: Moved ...
3208         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
3209         * nptl/Makefile (tests): Remove tst-align2.
3210         * sysdeps/unix/sysv/linux/Makefile
3211         [$(subdir) = nptl] (tests): Add tst-align-clone.
3212         * nptl/tst-getpid1.c: Moved ...
3213         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
3214         * nptl/tst-getpid2.c: Moved ...
3215         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
3216         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
3217         * sysdeps/unix/sysv/linux/Makefile
3218         [$(subdir) = nptl] (tests): ... here.
3219         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
3220         * sysdeps/unix/sysv/linux/Makefile
3221         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
3223         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
3224         Drop trailing \n from perror argument.  Use return rather than exit.
3226         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
3227         on [SA_SIGINFO].
3228         * nptl/tst-cancel21.c (do_test): Likewise.
3229         * debug/tst-backtrace6.c: Include <signal.h> first thing.
3230         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
3231         [!SA_SIGINFO]: Make it a stub test.
3233         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
3234         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
3236         * posix/tst-getlogin.c: Move to ...
3237         * login/tst-getlogin.c: ... here.
3238         * posix/Makefile (tests): Move tst-getlogin to ...
3239         * login/Makefile (tests): ... here.
3241         * libio/tst-atime.c (do_test): Move local variables SV and E
3242         inside [ST_NOATIME] conditional.
3244         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
3246         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
3248         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
3249         (wait_code): New function replaces macro.
3250         Call nanosleep rather than syscall.
3252         * nptl/pt-system.c: Rewritten.  Put everything under
3253         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3254         Use IFUNC to redirect when possible.
3256         * nptl/pt-longjmp.c: Rewritten.  Put everything under
3257         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3258         Use IFUNC to redirect when possible.
3260         * nptl/pt-fork.c: Rewritten.  Put everything under
3261         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3262         Use IFUNC to redirect when possible.
3263         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
3265         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
3266         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
3267         unconditionally nowadays.  This included the only reference to
3268         __vdso_clock_gettime that appears outside libc proper.
3269         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
3270         Remove version set (containing only __vdso_clock_gettime).
3271         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3272         Add attribute_hidden.
3273         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3274         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
3275         libc_hidden_data_def.
3276         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3277         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3279         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
3280         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
3281         setrpcent, and getrpcport to ...
3282         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
3283         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
3284         getrpcbynumber_r, and getrpcent_r to ...
3285         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
3286         * inet/getrpcbyname.c: Moved ...
3287         * sunrpc/getrpcbyname.c: ... here.
3288         * inet/getrpcbyname_r.c: Moved ...
3289         * sunrpc/getrpcbyname_r.c: ... here.
3290         * inet/getrpcbynumber.c: Moved ...
3291         * sunrpc/getrpcbynumber.c: ... here.
3292         * inet/getrpcbynumber_r.c: Moved ...
3293         * sunrpc/getrpcbynumber_r.c: ... here.
3294         * inet/getrpcent.c: Moved ...
3295         * sunrpc/getrpcent.c: ... here.
3296         * inet/getrpcent_r.c: Moved ...
3297         * sunrpc/getrpcent_r.c: ... here.
3298         * inet/Makefile (routines): Move those to ...
3299         * sunrpc/Makefile (routines): ... here.
3300         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
3301         the $(subdirs) list.
3302         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
3303         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
3304         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
3305         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
3307         * elf/Makefile (routines): Include $(all-dl-routines), not just
3308         $(dl-routines).
3309         (rtld-routines): Likewise.  Use = rather than :=.
3310         * sysdeps/aarch64/Makefile [$(subdir) = elf]
3311         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
3312         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
3313         * sysdeps/arm/Makefile: Likewise.
3314         * sysdeps/i386/Makefile: Likewise.
3315         * sysdeps/x86_64/Makefile: Likewise.
3316         * sysdeps/hppa/Makefile [$(subdir) = elf]
3317         (sysdep_routines, sysdep-rtld-routines): Don't add
3318         $(sysdep-dl-routines) to these.
3319         * sysdeps/ia64/Makefile: Likewise.
3320         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
3321         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
3322         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
3323         Don't add dl-static to these; sysdep-dl-routines alone is enough.
3324         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3325         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
3326         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
3327         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
3328         * sysdeps/powerpc/Makefile [$(subdir) = elf]
3329         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
3330         these; sysdep-dl-routines alone is enough.
3332 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
3334         [BZ #17932]
3335         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
3336         where multiplication results in zero and third argument is finite
3337         and nonzero.
3338         * math/auto-libm-test-in: Add more tests of fma.
3339         * math/auto-libm-test-out: Regenerated.
3341         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
3342         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
3343         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
3344         (_FP_CMP_EQ): Likewise.
3345         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
3347         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
3348         extra argument CHECK_NAN.  Redefine as wrapper around
3349         _FP_EXTEND_CNAN.
3351 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
3353         * version.h (RELEASE): Set to "stable".
3354         (VERSION): Set to "2.21"
3355         * include/features.h (__GLIBC_MINOR__): Set to 21.
3357         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
3359 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3360             Paul Eggert  <eggert@cs.ucla.edu>
3362         [BZ #16618]
3363         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
3364         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
3365         size in bytes. Store needed elements in wpmax. Use needed size
3366         in bytes for extend_alloca.
3368 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
3370         * manual/install.texi: Latest tested versions are GCC 4.9.2,
3371         binutls 2.25, and texinfo 5.2.
3372         * INSTALL: Regenerate.
3373         * sysdeps/nios2/configure: Regenerate.
3374         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
3375         * manual/contrib.texi: Update.
3376         * po/be.po: Update.
3377         * po/bg.po: Update.
3378         * po/ca.po: Update.
3379         * po/cs.po: Update.
3380         * po/da.po: Update.
3381         * po/de.po: Update.
3382         * po/el.po: Update.
3383         * po/eo.po: Update.
3384         * po/es.po: Update.
3385         * po/fi.po: Update.
3386         * po/fr.po: Update.
3387         * po/gl.po: Update.
3388         * po/hr.po: Update.
3389         * po/hu.po: Update.
3390         * po/ia.po: Update.
3391         * po/id.po: Update.
3392         * po/it.po: Update.
3393         * po/ja.po: Update.
3394         * po/ko.po: Update.
3395         * po/lt.po: Update.
3396         * po/nb.po: Update.
3397         * po/nl.po: Update.
3398         * po/pl.po: Update.
3399         * po/pt_BR.po: Update.
3400         * po/ru.po: Update.
3401         * po/rw.po: Update.
3402         * po/sk.po: Update.
3403         * po/sl.po: Update.
3404         * po/sv.po: Update.
3405         * po/tr.po: Update.
3406         * po/uk.po: Update.
3407         * po/vi.po: Update.
3408         * po/zh_CN.po: Update.
3409         * po/zh_TW.po: Update.
3411         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
3412         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
3413         * sysdeps/hppa/dl-irel.h: Remove #warning.
3414         * sysdeps/hppa/entry.h: Provide prototype for
3415         __canonicalize_funcptr_for_compare and cast argument.
3416         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
3417         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
3418         * sysdeps/hppa/sotruss-lib.c: New file.
3419         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
3420         (atomic_compare_and_exchange_val_acq): Use __typeof__.
3421         (atomic_compare_and_exchange_bool_acq): Likewise.
3422         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
3423         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
3425         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
3426         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
3427         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
3429 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
3431         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
3432         called function in non-PIC case.
3434 2015-01-31  David S. Miller  <davem@davemloft.net>
3436         * sysdeps/sparc/sparc32/bits/atomic.h
3437         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
3438         unlock not after it.
3439         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
3440         volatile register usage warnings from the compiler.
3442         * sysdeps/sparc/nptl/sem_init.c: Delete.
3443         * sysdeps/sparc/nptl/sem_post.c: Delete.
3444         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
3445         * sysdeps/sparc/nptl/sem_wait.c: Delete.
3446         * sysdeps/sparc/sparc32/sem_init.c: New file.
3447         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
3448         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
3449         padding explicitly initialized.
3450         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
3451         padding for in-semaphore spinlock.
3452         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
3453         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
3454         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
3455         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
3456         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
3457         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
3458         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
3459         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
3460         version.
3461         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
3462         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
3464 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
3466         [BZ #17801]
3467         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3468         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
3469         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
3470         New.
3471         (index_AVX_Fast_Unaligned_Load): Likewise.
3472         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
3473         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
3474         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
3475         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
3476         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
3477         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
3478         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
3479         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
3480         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
3482 2015-01-29  Andreas Schwab  <schwab@suse.de>
3484         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
3486 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
3488         [BZ #17892]
3489         * nscd/nscd_stat.c (send_stats): Initialize DATA.
3491 2015-01-28  Martin Sebor  <msebor@redhat.com>
3493         * math/README.libm-test: Clarify. Add "How to read the test output."
3495 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
3497         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
3498         Define to 0.
3500 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
3502         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
3503         (__HAVE_64B_ATOMICS): Define to 0.
3505 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3507         [BZ #17885]
3508         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
3509         value to set as new flag.
3511         [BZ #16576]
3512         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
3513         and use _ARCH_PPCSQ instead.
3514         (__ieee754_sqrt): Likewise.
3515         (__ieee754_sqrtf): Likewise.
3516         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
3517         _ARCH_PPCSQ is defined.
3518         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
3519         fsqrt instruction.
3520         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
3521         _ARCH_PPCSQ is defined.
3522         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
3523         fsqrts instruction.
3524         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
3526 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3528         * iconv/loop.c: Suppress array out of bound warning caused by GCC
3529         bug (GCC BZ #64739).
3531 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
3533         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
3534         Mark _retval as used.
3535         (lll_futex_wake_unlock): Likewise.
3536         (lll_futex_timed_wait_requeue_pi): Likewise.
3538         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3539         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
3540         register variables.
3542         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
3543         libm_hidden_def.
3545         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
3546         (__bswap_64): Mark as __always_inline.
3548 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
3550         [BZ #15378]
3551         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
3552         when none of the search directories exist.
3554 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3556         [BZ #17869]
3557         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
3558         power8 in .machine directive.
3560         [BZ #17868]
3561         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
3562         set dependency from opd value.
3564 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
3566         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3567         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
3568         architecture.
3570 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
3572         [BZ #17870]
3573         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
3574         with uint64_t.
3575         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
3576         (uint64_t) 1.
3577         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
3578         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
3579         Replace 1UL with (uint64_t) 1.
3580         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
3581         int with uint64_t.
3583 2015-01-23  Roland McGrath  <roland@hack.frob.com>
3585         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
3586         (if_freenameindex): Likewise.
3588         * resource/getrlimit64.c: Add missing libc_hidden_def.
3590 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
3592         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
3593         __label__.
3594         (_FP_FMA): Likewise.
3595         (_FP_TO_INT_ROUND): Likewise.
3596         (_FP_FROM_INT): Likewise.
3598 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3600         [BZ #16418]
3601         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3602         Make code racy and cancel safe.
3604 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
3606         * sysdeps/arm/unwind-resume.h: Fix copyright year.
3607         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
3608         attribution.
3610         * pwd/tst-getpw.c: Rewrite.
3612         [BZ #17702]
3613         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
3614         (modules-names): Add moddummy1 and moddummy2.
3615         ($(objpfx)tst-rec-dlopen): Define.
3616         * dlfcn/moddummy1.c: New file.
3617         * dlfcn/moddummy2.c: New file.
3618         * dlfcn/tst-rec-dlopen.c: New file.
3619         * elf/dl-cache.c (_dl_load_cache_lookup):
3620         Return char*. Copy result with alloca/strcpy/strdup.
3621         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
3622         returns char*. Free cached. If not saving realname
3623         free cached.
3624         * elf/dl-open.c (dl_open_worker): Do not assert that
3625         _r_debug->r_state is RT_CONSISTENT.
3626         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
3627         returns char*.
3629 2015-01-21  Torvald Riegel  <triegel@redhat.com>
3630             Carlos O'Donell  <carlos@redhat.com>
3632         [BZ #12674]
3633         * nptl/sem_waitcommon.c: New file.
3634         * nptl/sem_wait.c: Include sem_waitcommon.c.
3635         (__sem_wait_cleanup, do_futex_wait): Remove.
3636         (__new_sem_wait): Adapt.
3637         (__new_sem_trywait): New function.
3638         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
3639         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
3640         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
3641         (sem_timedwait): Adapt.
3642         * nptl/sem_post.c (__new_sem_post): Adapt.
3643         (futex_wake): New function.
3644         (__old_sem_post): Add release MO fence.
3645         * nptl/sem_open.c (sem_open): Adapt.
3646         * nptl/sem_init.c (__new_sem_init): Adapt.
3647         (futex_private_if_supported): New function.
3648         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
3649         (__old_sem_getvalue): Add using previous code.
3650         * sysdeps/nptl/internaltypes.h: Adapt.
3651         * nptl/tst-sem13.c (do_test): Adapt.
3652         * nptl/tst-sem11.c (main): Adapt.
3653         * nptl/sem_trywait.c: Remove.
3654         * nptl/DESIGN-sem.txt: Remove.
3655         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
3656         (gen-as-const-headers): Remove structsem.sym.
3657         * nptl/structsem.sym: Remove.
3658         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
3659         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
3660         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
3661         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
3662         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
3663         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
3664         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
3665         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
3666         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
3667         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
3668         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
3669         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
3670         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
3671         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
3672         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
3673         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
3674         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
3675         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
3676         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
3677         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
3678         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
3679         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
3681 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
3683         * INSTALL: Regenerated.
3685         * po/libc.pot: Regenerated.
3687 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
3688             Sandra Loosemore  <sandra@codesourcery.com>
3689             Andrew Jenner  <andrew@codesourcery.com>
3690             Joseph Myers  <joseph@codesourcery.com>
3691             Nathan Sidwell  <nathan@codesourcery.com>
3693         * NEWS: Mention new Nios II port.
3694         * sysdeps/nios2/Implies: New file.
3695         * sysdeps/nios2/Makefile: New file.
3696         * sysdeps/nios2/Subdirs: New file.
3697         * sysdeps/nios2/Versions: New file.
3698         * sysdeps/nios2/__longjmp.S: New file.
3699         * sysdeps/nios2/abort-instr.h: New file.
3700         * sysdeps/nios2/backtrace.c: New file.
3701         * sysdeps/nios2/bits/endian.h: New file.
3702         * sysdeps/nios2/bits/fenv.h: New file.
3703         * sysdeps/nios2/bits/link.h: New file.
3704         * sysdeps/nios2/bits/setjmp.h: New file.
3705         * sysdeps/nios2/bsd-_setjmp.S: New file.
3706         * sysdeps/nios2/bsd-setjmp.S: New file.
3707         * sysdeps/nios2/configure: New generated file.
3708         * sysdeps/nios2/configure.ac: New file.
3709         * sysdeps/nios2/crti.S: New file.
3710         * sysdeps/nios2/crtn.S: New file.
3711         * sysdeps/nios2/dl-init.c: New file.
3712         * sysdeps/nios2/dl-machine.h: New file.
3713         * sysdeps/nios2/dl-sysdep.h: New file.
3714         * sysdeps/nios2/dl-tls.h: New file.
3715         * sysdeps/nios2/dl-trampoline.S: New file.
3716         * sysdeps/nios2/gccframe.h: New file.
3717         * sysdeps/nios2/gmp-mparam.h: New file.
3718         * sysdeps/nios2/jmpbuf-offsets.h: New file.
3719         * sysdeps/nios2/jmpbuf-unwind.h: New file.
3720         * sysdeps/nios2/ldsodefs.h: New file.
3721         * sysdeps/nios2/libc-tls.c: New file.
3722         * sysdeps/nios2/libm-test-ulps: New file.
3723         * sysdeps/nios2/machine-gmon.h: New file.
3724         * sysdeps/nios2/math-tests.h: New file.
3725         * sysdeps/nios2/math_private.h: New file.
3726         * sysdeps/nios2/memusage.h: New file.
3727         * sysdeps/nios2/nptl/Makefile: New file.
3728         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
3729         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
3730         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
3731         * sysdeps/nios2/nptl/pthreaddef.h: New file.
3732         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
3733         * sysdeps/nios2/nptl/tls.h: New file.
3734         * sysdeps/nios2/preconfigure: New file.
3735         * sysdeps/nios2/s_fma.c: New file.
3736         * sysdeps/nios2/s_fmaf.c: New file.
3737         * sysdeps/nios2/setjmp.S: New file.
3738         * sysdeps/nios2/sfp-machine.h: New file.
3739         * sysdeps/nios2/sotruss-lib.c: New file.
3740         * sysdeps/nios2/stackguard-macros.h: New file.
3741         * sysdeps/nios2/stackinfo.h: New file.
3742         * sysdeps/nios2/start.S: New file.
3743         * sysdeps/nios2/sysdep.h: New file.
3744         * sysdeps/nios2/tls-macros.h: New file.
3745         * sysdeps/nios2/tst-audit.h: New file.
3746         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
3747         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
3748         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
3749         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
3750         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
3751         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
3752         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
3753         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
3754         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
3755         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
3756         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
3757         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
3758         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
3759         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
3760         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
3761         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
3762         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
3763         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
3764         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
3765         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
3766         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
3767         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
3768         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
3769         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
3770         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
3771         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
3772         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
3773         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
3774         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
3775         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
3776         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
3777         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
3778         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
3779         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
3780         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
3781         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
3782         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
3783         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
3784         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
3785         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
3786         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
3787         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
3788         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
3789         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
3791 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3793         [BZ #17844]
3794         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
3795         (getutent): Use weak_alias in non SHARED case
3796         and default_symbol_version in SHARED case.
3797         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
3798         (getutent_r, pututline): Likewise.
3799         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
3800         (getutid): Likewise.
3801         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
3802         (getutid_r): Likewise.
3803         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
3804         (getutline): Likewise.
3805         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
3806         (getutline_r): Likewise.
3807         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
3808         (updwtmp): Likewise.
3810 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3812         [BZ #17848]
3813         * sysdeps/s390/s390-32/memcmp.S
3814         (memcmp_g5): Rename to __memcmp_g5.
3815         * sysdeps/s390/s390-32/memcpy.S
3816         (memcpy_g5): Rename to __memcpy_g5.
3817         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3818         (memcpy_mvcle) Rename to __memcpy_mvcle.
3819         * sysdeps/s390/s390-32/memset.S
3820         (memset_g5): Rename to __memset_g5.
3821         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3822         (IFUNC_RESOLVE): Prefix ifunc-resolve function
3823         and use prefixed functions.
3824         * sysdeps/s390/s390-32/multiarch/memcmp.S
3825         (memcmp_z196): Rename to __memcmp_z196.
3826         (memcmp_z10): Rename to __memcmp_z10.
3827         (memcmp): Set alias to __memcmp_g5.
3828         (bcmp): Set alias to __memcmp_g5.
3829         * sysdeps/s390/s390-32/multiarch/memcpy.S
3830         (memcpy_z196): Rename to __memcpy_z196.
3831         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3832         (memcpy_z10): Rename to __memcpy_z10.
3833         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3834         (memcpy): Set alias to __memcpy_g5.
3835         * sysdeps/s390/s390-32/multiarch/memset.S
3836         (memset_z196): Rename to __memset_z196.
3837         Jump to __memset_mvcle instead of memset_mvcle.
3838         (memset_z10): Rename to __memset_z10.
3839         Jump to __memset_mvcle instead of memset_mvcle.
3840         (memset_mvcle) Rename to __memset_mvcle.
3841         (memset): Set alias to __memset_g5.
3842         * sysdeps/s390/s390-64/memcmp.S
3843         (memcmp_z900): Rename to __memcmp_z900.
3844         * sysdeps/s390/s390-64/memcpy.S
3845         (memcpy_z900): Rename to __memcpy_z900.
3846         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3847         (memcpy_mvcle) Rename to __memcpy_mvcle.
3848         * sysdeps/s390/s390-64/memset.S
3849         (memset_z900): Rename to __memset_z900.
3850         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
3851         (IFUNC_RESOLVE): Prefix ifunc-resolve function
3852         and use prefixed functions.
3853         * sysdeps/s390/s390-64/multiarch/memcmp.S
3854         (memcmp_z196): Rename to __memcmp_z196.
3855         (memcmp_z10): Rename to __memcmp_z10.
3856         (memcmp): Set alias to __memcmp_z900.
3857         (bcmp): Set alias to __memcmp_z900.
3858         * sysdeps/s390/s390-64/multiarch/memcpy.S
3859         (memcpy_z196): Rename to __memcpy_z196.
3860         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3861         (memcpy_z10): Rename to __memcpy_z10.
3862         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3863         (memcpy): Set alias to __memcpy_z900.
3864         * sysdeps/s390/s390-64/multiarch/memset.S
3865         (memset_z196): Rename to __memset_z196.
3866         Jump to __memset_mvcle instead of memset_mvcle.
3867         (memset_z10): Rename to __memset_z10.
3868         Jump to __memset_mvcle instead of memset_mvcle.
3869         (memset_mvcle) Rename to __memset_mvcle.
3870         (memset): Set alias to __memset_z900.
3872 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
3874         [BZ #17748]
3875         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
3876         __fesetenv instead of fesetenv.
3878 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3880         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
3881         macro.
3883 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3885         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
3886         regression on LE.
3888         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
3889         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
3890         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3891         strncmp-power8 object.
3892         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3893         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
3894         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
3895         * NEWS: Update.
3897 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3898             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3900         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
3901         trailing byte check.
3903 2015-01-13  David S. Miller  <davem@davemloft.net>
3905         * include/signal.h (__sigreturn): Guard with __USE_MISC.
3907 2015-01-13  Roland McGrath  <roland@hack.frob.com>
3909         * login/logout.c (logout): Use memset rather than bzero.
3910         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
3911         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
3912         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
3913         (_gethtbyaddr): Likewise.
3914         * locale/programs/simple-hash.c (bcopy): Macro removed.
3916 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3918         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3919         Add strcmp-power8 object.
3920         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3921         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
3922         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
3923         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
3924         __strcmp_power8 implementation.
3925         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
3926         * NEWS: Update.
3928         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3929         Add strncpy-power8 and stpncpy-power8 objects.
3930         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3931         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
3932         implementations.
3933         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
3934         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
3935         __stpncpy_power8 implementation.
3936         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
3937         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
3938         __strncpy_power8 implementation.
3939         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
3940         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
3941         * NEWS: Update.
3943         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
3944         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
3945         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
3947         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3948         strncat-power8 object.
3949         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
3950         __strcat_power8 implementation.
3951         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3952         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
3953         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
3954         optimized strcat for power8.
3956         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3957         strcpy-power8 and stpcpy-power8 objects.
3958         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3959         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
3960         implementations.
3961         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
3962         multiarch stpcpy implementation for POWER8.
3963         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
3964         multiarch strcpy implementation for POWER8.
3965         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
3966         __strcpy_power8 function.
3967         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
3968         stpcpy for POWER8.
3969         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
3970         strcpy for POWER8.
3971         * NEWS: Update.
3973 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
3975         [BZ #16009]
3976         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
3977         weights and rules. Use do_xfrm_cached if data fits in cache,
3978         do_xfrm otherwise.  Moved former main loop to...
3979         * (do_xfrm_cached): New function.
3980         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
3981         find_idx, find_position and stack_push.
3982         * (find_idx): New function.
3983         * (find_position): Likewise.
3984         * localedata/sort-test.sh: Added test run for do_xfrm.
3985         * localedata/xfrm-test.c (main): Added command line option
3986         -nocache to run the test with strings that are too large for
3987         the STRXFRM cache.
3989 2015-01-13  Torvald Riegel  <triegel@redhat.com>
3991         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
3992         variable to lll_futex_wake call, not the value itself.
3994 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
3996         [BZ #17803]
3997         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
3998         twom64.  Adjust value to 0x1p-64L.
3999         (__scalblnl): Only return standard underflowing result for K <=
4000         -64 not K <= -63; adjust exponent for underflowing result by 64
4001         not 63.
4002         * math/libm-test.inc (scalbn_test_data): Add more tests.
4003         (scalbln_test_data): Likewise.
4005         [BZ #17834]
4006         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
4007         0x1p63L.
4008         (__scalblnl): Get new exponent of adjusted subnormal value from ES
4009         not HX.
4010         * math/libm-test.inc (scalbn_test_data): Add more tests.
4011         (scalbln_test_data): Likewise.
4013 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4014             Stefani Seibold  <stefani@seibold.net>
4016         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
4017         (sysdep_routines): Add dl-vdso here, ...
4018         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
4019         (sysdep_routines): ... not here.
4020         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
4021         fallback when vDSO is not presented.
4022         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4023         Define with libc_hidden_proto/libc_hidden_data_def definitions.
4024         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
4025         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
4026         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
4027         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
4028         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
4029         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
4030         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
4031         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
4032         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
4033         fallback configurable symbol when vDSO is not available.
4034         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
4035         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
4036         be able to redefine fallback symbol when vDSO is not available.
4037         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
4038         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
4040 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4042         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
4043         (TLS_INIT_TP): Add tm_capable initialization.
4044         (TLS_DEFINE_INIT_TP): Likewise.
4045         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
4046         TCB.
4047         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
4048         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
4049         calculation.
4050         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
4051         transactoion is lock elision is built and TCB tm_capable is set.
4052         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
4053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4054         (INTERNAL_SYSCALL_NCS): Likewise.
4055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4056         (INTERNAL_SYSCALL_NCS): Likewise.
4057         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
4059         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
4060         for powerpc.
4061         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4062         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
4063         and remove it for 32 bits case.
4064         [pthread_rwlock_t] (__rwelision): New field for lock elision.
4065         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
4066         initialization.
4067         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
4068         Disable lock elision with rdlocks if elision is not available.
4070         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
4071         (sysdep_routines): Add lock elision objects.
4072         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4073         [pthread_mutex_t] (__spins): Rework to add lock elision field.
4074         [pthread_mutex_t] (__elision): Add field.
4075         [__PTHREAD_SPINS]: Adjust to init lock elision field.
4076         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
4077         elision definitions for powerpc.
4078         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
4079         implementation of lock elision for powerpc.
4080         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
4081         implementation of timed lock elision for powerpc.
4082         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
4083         implementation of trylock with lock elision for powerpc.
4084         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
4085         implementaion of unlock for lock elision for powerpc.
4086         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
4087         automatic enable lock elision for mutexes.
4088         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
4089         transaction execution definitions for powerpc.
4090         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
4091         definitions.
4092         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
4093         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
4094         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
4095         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
4096         * NEWS: Update.
4098 2015-01-09  Roland McGrath  <roland@hack.frob.com>
4100         * sysdeps/posix/shm-directory.c: Use <> rather than ""
4101         for #include of <shm-directory.h>.
4103 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
4105         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
4106         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
4108 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
4110         [BZ #17791]
4111         * NEWS: Mention bug fix.
4112         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
4113         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
4114         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
4116 2015-01-09  Torvald Riegel <triegel@redhat.com>
4118         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
4120 2015-01-09  Torvald Riegel <triegel@redhat.com>
4122         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
4124 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
4126         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
4127         pointer and cast to uintptr_t.
4129 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
4131         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
4132         removed.
4133         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
4135 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
4137         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
4138         of 0.
4140 2015-01-08  Roland McGrath  <roland@hack.frob.com>
4142         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
4143         <nptl/pthreadP.h> instead.
4144         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
4146         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
4147         already defined.
4148         [__SIGRTMIN] (init): Function removed.
4149         [__SIGRTMIN] (initialized): Variable removed.
4150         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
4151         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
4152         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
4153         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
4154         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
4155         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
4156         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
4157         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
4158         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
4159         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
4160         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
4161         * sysdeps/nptl/allocrtsig.c: New file.
4162         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
4163         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
4164         * sysdeps/generic/testrtsig.h: File removed.
4166         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
4167         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
4169         * nptl/nptl-init.c (pthread_functions): Conditionalize
4170         .ptr__nptl_setxid initialization on [SIGSETXID].
4172         * sysdeps/nptl/sys/procfs.h: New file.
4173         * nptl_db/Makefile (headers): Add it.
4174         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
4176         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
4177         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
4178         * nptl/pthread_attr_setaffinity.c: Include it.
4179         * nptl/pthread_setattr_default_np.c: Likewise.
4180         * nptl/check-cpuset.h: New file.
4182 2015-01-08  Richard Henderson  <rth@redhat.com>
4184         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
4185         (CFLAGS-tst-execstack-prog.c): Likewise.
4186         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
4188 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
4189             Sandra Loosemore  <sandra@codesourcery.com>
4190             Andrew Jenner  <andrew@codesourcery.com>
4191             Joseph Myers  <joseph@codesourcery.com>
4192             Nathan Sidwell  <nathan@codesourcery.com>
4194         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
4195         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
4196         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
4197         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
4198         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
4199         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
4200         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
4201         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
4202         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
4203         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
4204         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
4205         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
4206         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
4207         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
4208         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
4209         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
4210         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
4212 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4214         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
4215         timespec struct member in syscall macro.
4216         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4217         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
4218         first timeval struct member in syscall macro.
4219         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
4221 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
4223         [BZ #17748]
4224         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
4225         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
4226         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
4227         __feupdateenv and define as weak alias of __feupdateenv.  Use
4228         libm_hidden_weak.
4229         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
4230         libm_hidden_def.
4231         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
4232         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
4233         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4234         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
4235         libm_hidden_def.
4236         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
4237         __feupdateenv and define as weak alias of __feupdateenv.  Use
4238         libm_hidden_weak.
4239         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
4240         libm_hidden_def.
4241         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
4242         __feupdateenv and define as weak alias of __feupdateenv.  Use
4243         libm_hidden_weak.
4244         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
4245         libm_hidden_def.
4246         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4247         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4248         (__feupdateenv): Likewise.
4249         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
4250         __feupdateenv and define as weak alias of __feupdateenv.  Use
4251         libm_hidden_weak.
4252         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4253         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
4254         libm_hidden_def.
4255         * sysdeps/tile/math_private.h (__feupdateenv): New inline
4256         function.
4257         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
4258         libm_hidden_def.
4259         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
4260         __feupdateenv instead of feupdateenv.
4261         (default_libc_feupdateenv_test): Likewise.
4262         (libc_feresetround_ctx): Likewise.
4264 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4266         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
4267         prototype.
4269 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
4271         * posix/regcomp.c (parse_bracket_exp): Initialize type to
4272         COLL_SYM in a couple of places to avoid uninitialized variable
4273         wanings on tilegx gcc 4.8.2.
4275 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
4277         * sysdeps/aarch64/strcpy.S: New file.
4278         * sysdeps/aarch64/stpcpy.S: New file.
4279         * NEWS: Updated.
4281 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
4283         * sysdeps/aarch64/strrchr.S: New file.
4284         * NEWS: Updated.
4286 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
4288         [BZ #17658]
4289         * stdlib/setenv.c: Fix memory leak when setting large,
4290         duplicate string.
4292 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
4294         [BZ #17273]
4295         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
4296         and tabs from buffer before parsing fstab entry.
4297         * misc/tst-mntent.c (main): Add test for mount entry with
4298         trailing spaces and tabs.
4300 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
4302         [BZ #17748]
4303         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
4304         * math/fesetround.c (fesetround): Rename to __fesetround and
4305         define as weak alias of __fesetround.  Use libm_hidden_weak.
4306         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
4307         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
4308         * sysdeps/arm/fesetround.c (fesetround): Likewise.
4309         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
4310         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
4311         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
4312         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
4313         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
4314         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
4315         __fesetround_inline.
4316         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
4317         __fesetround_inline instead of __fesetround.
4318         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
4319         __fesetround and define as weak alias of __fesetround.  Use
4320         libm_hidden_weak.  Call __fesetround_inline instead of
4321         __fesetround.
4322         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
4323         __fesetround and define as weak alias of __fesetround.  Use
4324         libm_hidden_weak.
4325         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
4326         Likewise.
4327         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
4328         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4329         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
4330         * sysdeps/tile/math_private.h (__fesetround): New inline function.
4331         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
4332         __fesetround and define as weak alias of __fesetround.  Use
4333         libm_hidden_weak.
4334         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
4335         __fesetround instead of fesetround.
4336         (default_libc_feholdexcept_setround): Likewise.
4337         (libc_feholdsetround_ctx): Likewise.
4338         (libc_feholdsetround_noex_ctx): Likewise.
4340         [BZ #17748]
4341         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
4342         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
4343         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4344         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
4345         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4346         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
4347         define as weak alias of __fesetenv.  Use libm_hidden_weak.
4348         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4349         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4350         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4351         define as weak alias of __fesetenv.  Use libm_hidden_weak.
4352         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4353         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4354         define as weak alias of __fesetenv.  Use libm_hidden_weak.
4355         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
4356         libm_hidden_def.
4357         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
4358         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
4359         Likewise.
4360         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4361         define as weak alias of __fesetenv.  Use libm_hidden_weak.
4362         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4363         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4364         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
4365         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4366         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
4367         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
4368         __fesetenv instead of fesetenv.
4369         (libc_feresetround_noex_ctx): Likewise.
4370         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4371         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4372         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
4373         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4374         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4375         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4376         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4377         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4378         (__feupdateenv): Likewise.
4379         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4380         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4381         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4382         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
4384 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
4386         [BZ #17806]
4387         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
4388         addresses have been freed.
4390 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
4392         * resolv/res_init.c (__res_vinit): Improve comments about nserv
4393         and nservall.
4395 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
4397         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
4398         Clean up check_pf allocation pattern. addresses
4400 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4402         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
4403         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
4404         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
4405         * nptl/pthread_exit.c (__pthread_exit): Likewise.
4406         * nptl/pthread_join.c (pthread_join): Likewise.
4407         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
4408         * sysdeps/posix/waitid.c (__waitid): Likewise.
4409         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4410         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4411         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4412         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4413         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4414         Likewise.
4415         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4416         (__libc_pread64): Likewise.
4417         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4418         (__libc_pwrite): Likewise.
4419         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4420         (__libc_pwrite64): Likewsie.
4421         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4422         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4423         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4424         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4425         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4426         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4427         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4429         Likewise.
4430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4431         (__libc_pread64): Likewise.
4432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
4433         Likewise.
4434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4435         (__libc_pwrite64): Likewise.
4436         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4437         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4438         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
4439         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
4440         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4441         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4442         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
4443         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4444         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4445         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4446         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
4447         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4448         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4449         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
4450         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4451         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4452         Likewise.
4454 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
4456         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
4457         (CFLAGS-test-double.c): Likewise.
4458         (CFLAGS-test-ldouble.c): Likewise.
4459         (CPPFLAGS-test-ifloat.c): Likewise.
4460         (CPPFLAGS-test-idouble.c): Likewise.
4461         (CPPFLAGS-test-ildoubl.c): Likewise.
4462         (CFLAGS-test-test-fenv.c): Remove variable.
4463         (CFLAGS-test-misc.c): Likewise.
4465 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
4467         [BZ #17797]
4468         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
4469         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
4470         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
4471         CLOCKS_PER_SEC == 1000000.
4472         * time/clocktest.c (main): Replace %ld with %jd and cast to
4473         intmax_t.
4475 2015-01-05  Roland McGrath  <roland@hack.frob.com>
4477         * sysdeps/generic/unwind-resume.h: New file.
4478         * sysdeps/gnu/unwind-resume.c: Include it.
4479         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
4480         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
4481         argument list.
4482         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
4483         global rather than static.
4484         (_Unwind_Resume): Update user.
4485         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
4486         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
4487         rather than static.  Add __attribute__ ((cold)).
4488         (_Unwind_Resume, __gcc_personality_v0): Update callers.
4489         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
4490         * sysdeps/arm/arm-unwind-resume.S: New file.
4491         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
4492         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
4493         * sysdeps/arm/Makefile [$(subdir) = csu]
4494         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
4495         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4496         Add rt-arm-unwind-resume.
4497         [$(subdir) = nptl]
4498         (libpthread-sysdep_routines, libpthread-shared-only-routines):
4499         Add pt-arm-unwind-resume.
4500         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
4501         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
4503 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
4505         [BZ #17748]
4506         * include/fenv.h (__feholdexcept): Declare.  Use
4507         libm_hidden_proto.
4508         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
4509         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
4510         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4511         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
4512         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
4513         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
4514         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
4515         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4516         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
4517         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
4518         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4519         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
4520         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
4521         (feholdexcept): Likewise.
4522         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4523         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4524         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4525         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4526         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
4527         __feholdexcept instead of feholdexcept.
4528         (default_libc_feholdexcept_setround): Likewise.
4530 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
4532         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
4533         to avoid using stl/str to align destination.
4535 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
4537         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
4539 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
4541         [BZ #17796]
4542         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
4543         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
4544         Define as weak alias not strong alias.
4546 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
4548         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
4549         bltzal with addiupc.
4550         (RTLD_START): Ditto.
4552 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
4554         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
4555         for __vdso_* functions in declarations.
4556         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
4557         definitions.
4558         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
4559         INTERNAL_VSYSCALL): Use struct return types to check for error.
4561         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
4562         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
4563         function with cast from llround().
4564         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
4565         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
4566         Define.
4568 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
4570         [BZ #17793]
4571         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
4572         Define as weak alias not strong alias.
4574         [BZ #17635]
4575         * ctype/ctype-c99.c: New file.  isblank implementation moved from
4576         ...
4577         * ctype/ctype-extn.c: ... here.
4578         (__isblank_l): Move to ...
4579         * ctype/ctype-c99_l.c: ... here.  New file.
4580         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
4581         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
4582         Remove variable.
4583         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4584         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4585         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4586         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4587         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4589         [BZ #17777]
4590         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
4591         (posix_fadvise64): Define as weak alias not strong alias.
4592         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4593         (posix_fallocate64): Likewise.
4594         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
4595         Remove variable.
4596         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4597         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4598         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4599         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4600         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4602 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
4604         [BZ #16191]
4605         * NEWS: Mention bug fix.
4606         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
4607         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
4608         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
4609         (HOST_STACK_END_ADDR): Likewise.
4611 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
4613         [BZ #17748]
4614         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
4615         * math/fegetround.c (fegetround): Rename to __fegetround and
4616         define as weak alias of __fegetround.  Use libm_hidden_weak.
4617         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
4618         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
4619         * sysdeps/arm/fegetround.c (fegetround): Likewise.
4620         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
4621         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4622         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
4623         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
4624         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
4625         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4626         Undefine after rather than before function definition; use
4627         parentheses around function name in definition.
4628         (__fegetround): Also undefine macro after function definition.
4629         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
4630         __fegetround and define as weak alias of __fegetround.  Use
4631         libm_hidden_weak.  Do not undefine as macro.
4632         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4633         Likewise.
4634         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
4635         __fegetround and define as weak alias of __fegetround.  Use
4636         libm_hidden_weak.
4637         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4638         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4639         * sysdeps/tile/math_private.h (__fegetround): New inline function.
4640         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
4641         __fegetround and define as weak alias of __fegetround.  Use
4642         libm_hidden_weak.
4643         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
4644         __fegetround instead of fegetround.
4646         [BZ #17782]
4647         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
4648         Condition macro definition on [__USE_MISC].
4650         [BZ #17781]
4651         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
4652         (struct sigaction): Change type of sa_flags field to int.
4654         [BZ #17780]
4655         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
4656         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
4657         __glibc_reserved0.
4659         * nptl/version.c (banner): Use single year in copyright notice.
4661         * NEWS: Update copyright dates.
4662         * catgets/gencat.c (print_version): Likewise.
4663         * csu/version.c (banner): Likewise.
4664         * debug/catchsegv.sh: Likewise.
4665         * debug/pcprofiledump.c (print_version): Likewise.
4666         * debug/xtrace.sh (do_version): Likewise.
4667         * elf/ldconfig.c (print_version): Likewise.
4668         * elf/ldd.bash.in: Likewise.
4669         * elf/pldd.c (print_version): Likewise.
4670         * elf/sotruss.sh: Likewise.
4671         * elf/sprof.c (print_version): Likewise.
4672         * iconv/iconv_prog.c (print_version): Likewise.
4673         * iconv/iconvconfig.c (print_version): Likewise.
4674         * locale/programs/locale.c (print_version): Likewise.
4675         * locale/programs/localedef.c (print_version): Likewise.
4676         * login/programs/pt_chown.c (print_version): Likewise.
4677         * malloc/memusage.sh (do_version): Likewise.
4678         * malloc/memusagestat.c (print_version): Likewise.
4679         * malloc/mtrace.pl: Likewise.
4680         * manual/libc.texinfo: Likewise.
4681         * nptl/version.c (banner): Likewise.
4682         * nscd/nscd.c (print_version): Likewise.
4683         * nss/getent.c (print_version): Likewise.
4684         * nss/makedb.c (print_version): Likewise.
4685         * posix/getconf.c (main): Likewise.
4686         * scripts/test-installation.pl: Likewise.
4687         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4689 2015-01-02  Will Newton  <will.newton@linaro.org>
4691         * sysdeps/arm/armv7/configure: Removed.
4692         * sysdeps/arm/armv7/configure.ac: Likewise.
4694 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
4696         * All files with FSF copyright notices: Update copyright dates
4697         using scripts/update-copyrights.
4698         * intl/plural.c: Regenerated.
4699         * locale/programs/charmap-kw.h: Likewise.
4700         * locale/programs/locfile-kw.h: Likewise.
4702 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4704         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
4706 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
4708         [BZ #17748]
4709         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
4710         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
4711         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
4712         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
4713         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4714         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
4715         define as weak alias of __fegetenv.  Use libm_hidden_weak.
4716         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
4717         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4718         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4719         define as weak alias of __fegetenv.  Use libm_hidden_weak.
4720         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4721         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4722         define as weak alias of __fegetenv.  Use libm_hidden_weak.
4723         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
4724         libm_hidden_def.
4725         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
4726         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
4727         Likewise.
4728         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4729         define as weak alias of __fegetenv.  Use libm_hidden_weak.
4730         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4731         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4732         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
4733         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
4734         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
4735         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
4736         __fegetenv instead of fegetenv.
4737         (libc_feholdsetround_noex_ctx): Likewise.
4739 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
4741         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
4742         (Elf_MIPS_ABIFlags_v0): New structure.
4743         (EF_MIPS_FP64): Define.
4744         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
4745         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
4746         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
4747         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
4748         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
4749         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
4750         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
4751         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
4752         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
4753         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
4754         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
4755         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
4756         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
4757         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
4758         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
4759         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
4760         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
4761         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
4762         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
4763         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
4764         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
4765         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
4766         field.
4767         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
4768         EF_MIPS_FP64.
4769         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
4770         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
4771         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
4772         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
4773         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
4774         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
4775         * sysdeps/mips/tst-abi-interlink.c: Likewise.
4776         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
4777         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
4778         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
4779         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
4780         record the current FP ABI extension.
4781         (mips-mode-switch): Define to show if kernel headers support mode
4782         switching.
4783         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4784         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
4785         supported SYSV ABI version to 3.
4786         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
4787         feature.
4789 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4790             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4792         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
4793         path.
4794         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
4796 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
4798         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
4799         __fegetround and redefine to call __fegetround.  Remove condition
4800         on [!__NO_MATH_INLINES].
4801         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
4802         function.
4803         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
4804         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4805         Remove macro.
4806         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
4807         instead of <fenv_libc.h>.
4808         (__llrintl): Call fegetround instead of __fegetround.
4809         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
4810         instead of <fenv_libc.h>.
4811         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4812         (__lrintl): Call fegetround instead of __fegetround.
4813         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
4814         instead of <fenv_libc.h>.
4815         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4816         (__rintl): Call fegetround instead of __fegetround.
4818 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4820         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
4821         arrays.
4823 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
4825         [BZ #17775]
4826         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
4827         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
4828         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
4830 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
4832         * sysdeps/i386/tls-macros.h: Include <features.h>.
4833         (TLS_LE): Use non-PIC version for GCC >= 5.0.
4834         (TLS_IE): Likewise.
4835         (TLS_LD): Likewise.
4836         (TLS_GD): Likewise.
4837         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
4838         define for GCC >= 5.0.
4840 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
4842         * math/test-fenv.c (test_single_exception, set_single_exc,
4843         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
4844         feexcp_mask_test, feenable_test, fe_single_test): Add
4845         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
4846         case where they are not used.
4847         * math/libm-test.inc: Likewise.
4848         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
4849         unused in the absence of FP rounding/exception support.
4850         * stdio-common/tst-printf-round.c: Likewise.
4851         * stdlib/tst-strtod-round.c: Likewise.
4852         * stdlib/tst-strtod-underflow.c: Likewise.
4854 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
4856         [BZ #17723]
4857         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
4858         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
4859         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4860         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
4861         libm_hidden_weak.
4862         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
4863         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
4864         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
4865         libm_hidden_def.
4866         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4867         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
4868         libm_hidden_weak.
4869         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
4870         Likewise.
4871         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
4872         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4873         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
4874         libm_hidden_weak.
4875         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
4876         libm_hidden_def.
4877         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4878         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
4879         (__feraiseexcept): Likewise.
4880         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4881         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
4882         libm_hidden_weak.
4883         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
4884         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
4885         libm_hidden_def.
4886         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
4887         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
4888         Use libm_hidden_def.
4889         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
4890         libm_hidden_def.
4891         (feraiseexcept): Define as weak not strong alias.  Use
4892         libm_hidden_weak.
4893         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
4894         New inline function.  Factored out of ...
4895         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
4896         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
4897         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
4898         feraiseexcept.
4899         * math/w_acos.c (__acos): Likewise.
4900         * math/w_asin.c (__asin): Likewise.
4901         * math/w_ilogb.c (__ilogb): Likewise.
4902         * math/w_j0.c (y0): Likewise.
4903         * math/w_j1.c (y1): Likewise.
4904         * math/w_jn.c (yn): Likewise.
4905         * math/w_log.c (__log): Likewise.
4906         * math/w_log10.c (__log10): Likewise.
4907         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
4908         * sysdeps/aarch64/fpu/math_private.h
4909         (libc_feupdateenv_test_aarch64): Likewise.
4910         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4911         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
4912         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
4913         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4914         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4915         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4916         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
4917         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4918         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4919         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4921 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
4923         [BZ #17732]
4924         * io/test-utime.c (main): Replace %ld with %jd and cast to
4925         intmax_t.
4926         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
4927         * nptl/tst-mutex5.c: Include <stdint.h>.
4928         (do_test): Replace %ld with %jd and cast to intmax_t.
4929         * posix/tst-regex.c (run_test): Likewise.
4930         (run_test_backwards): Likewise.
4931         * rt/tst-clock.c: Include <stdint.h>.
4932         (clock_test): Replace %ld with %jd and cast to intmax_t.
4933         * rt/tst-cpuclock1.c: Include <stdint.h>.
4934         (do_test): Replace %lu with %ju and cast to uintmax_t.
4935         * rt/tst-cpuclock2.c: Include <stdint.h>.
4936         (do_test): Replace %lu with %ju and cast to uintmax_t.
4937         * rt/tst-mqueue1.c: Include <stdint.h>.
4938         (check_attrs): Replace %ld with %jd and cast to intmax_t.
4939         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
4940         intmax_t.
4941         * rt/tst-mqueue4.c (do_test): Likewise.
4942         * rt/tst-timer4.c: Include <stdint.h>.
4943         (check_ts): Replace %ld with %jd and cast to intmax_t.
4944         (do_test): Likewise.
4945         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
4946         and cast to intmax_t.
4947         * sysdeps/pthread/tst-timer.c (main): Likewise.
4948         * time/clocktest.c (main): Likewise.
4949         * time/tst-posixtz.c (do_test): Likewise.
4950         * timezone/tst-timezone.c (main): Likewise.
4952 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
4953             H.J. Lu  <hongjiu.lu@intel.com>
4955         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
4956         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
4957         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
4958         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
4959         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
4960         version if bit_Fast_Unaligned_Load is set.
4961         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4962         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4963         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4964         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4965         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4966         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4967         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4968         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
4969         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
4970         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
4971         to 4.
4972         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
4973         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
4974         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
4975         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
4977 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
4979         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
4980         instead of #if to avoid a Wundef warning.
4981         * stdlib/tst-limits.c (do_test): Likewise.
4983         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
4984         parallel other exception macros.
4985         (fegetenv): Convert from macro to extern inline so that it applies
4986         retroactively to inline functions already seen by the compiler.
4987         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
4989         * posix/Makefile (before-compile): Use $(objpfx) for
4990         posix-conf-vars-def.h.
4992 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4994         * posix/getconf.c (main): Use size_t for type of I.
4995         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
4996         NSPEC.
4998         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
4999         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
5000         * posix/posix-envs.def: Likewise.
5001         * sysdeps/posix/sysconf.c: Likewise.
5002         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
5003         (specs): Remove array.
5004         * scripts/gen-posix-conf-vars.awk: Support generation of specs
5005         array.
5007         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
5008         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
5009         (__sysconf): Use CONF_IS_* macros.
5011         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
5012         ($(objpfx)posix-conf-vars-def.h): New target.
5013         * posix/posix-conf-vars.list: New file.
5014         * posix/posix-conf-vars.h: New file.
5015         * posix/confstr.c: Include posix-conf-vars.h.
5016         (confstr): Use CONF_IS_* macros.
5017         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
5018         CONF_IS_* macros.
5019         * scripts/gen-posix-conf-vars.awk: New file.
5021 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
5023         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
5024         fegetround): Add no-op macros to avoid linknamespace issues.
5026         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
5027         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
5029         * sysdeps/unix/sysv/linux/tile/sysdep.h
5030         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
5031         assembly-specific section to avoid a redefinition warning.
5033         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
5034         long before casting to pointer to avoid a cast warning.
5036 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
5038         * sysdeps/tile/tilegx/Implies: New file.
5040 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
5042         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
5044 2014-12-23  Florian Weimer  <fweimer@redhat.com>
5046         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
5048 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
5050         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
5051         not define.
5052         * sysdeps/unix/sysv/linux/utimes.c: Do not include
5053         <kernel-features.h>.
5054         (__utimes) [__NR_utimes]: Make code unconditional.
5055         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
5056         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5057         (__ASSUME_UTIMES): Do not undefine.
5058         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5059         (__ASSUME_UTIMES): Likewise.
5060         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5061         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
5062         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
5063         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
5065 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
5067         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
5069 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
5071         [BZ #17747]
5072         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
5073         alias to weak alias for j0l, y0l.
5074         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
5075         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
5077         [BZ #17746]
5078         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
5079         conversion.
5081 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
5083         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
5084         to zero if not already defined.
5086 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
5088         [BZ #17724]
5089         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
5090         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
5091         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
5092         (char *) casts added.
5093         * sysdeps/ieee754/k_standardf.c: New file.
5094         * sysdeps/ieee754/k_standardl.c: Likewise.
5095         * math/Makefile (libm-support): Remove k_standard.
5096         (libm-calls): Add k_standard.
5098 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5100         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5101         Optimize to avoid an unnecessary FPCR read.
5103 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5105         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
5106         Optimize to reduce FPCR/FPSR accesses.
5108 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5110         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
5111         Call libc_fetestexcept_aarch64.
5113 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5115         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
5116         Call libc_fesetround_aarch64.
5118 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
5120         [BZ #17733]
5121         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
5122         (__bind): Do not define as weak alias.
5123         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
5124         define.
5125         (__getsockname): Do not define as weak alias.
5127 2014-12-22  Will Newton  <will.newton@linaro.org>
5129         * manual/install.texi: Document that we require bison 2.7
5130         or above.
5131         * INSTALL: Regenerate.
5132         * configure.ac: Use AC_CHECK_PROG_VER instead of
5133         AC_PATH_PROG when checking for bison and check for
5134         version 2.7 or above.
5135         * configure: Regenerate.
5137 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
5139         [BZ #17745]
5140         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
5141         * sysdeps/tile/ffsll.c (ffsll): To here.
5143         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
5145 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
5147         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
5148         if not defined.
5149         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
5150         definition.
5151         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5152         hidden ___tls_get_addr.
5153         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5154         hidden __tls_get_addr.
5155         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
5156         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
5157         Likewise.
5159 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
5161         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
5162         _dl_init call.
5164 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
5166         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
5167         from "call _dl_init@PLT".
5168         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
5170 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
5172         * manual/search.texi: (Array Sort Function): Clarify stable sorting
5173         guarantees.
5175 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
5177         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
5179 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
5181         [BZ #17744]
5182         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
5183         strnlen.
5185 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
5187         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
5188         of multu on MIPSr6.
5189         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
5190         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
5191         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
5192         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
5193         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
5195 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
5197         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
5198         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
5199         (PTR_SUBU): Use subu for mips32r6/mips64r6.
5200         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
5201         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
5202         mips32r6/mips64r6.
5203         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
5205 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
5207         * string/strncat.c (STRNCAT): Simplify implementation.
5209 2014-12-19  David S. Miller  <davem@davemloft.net>
5211         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
5212         access the quad as both a long double and as a series of 4 words.
5214         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
5215         link_map->l_info array access.
5217 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
5219         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
5221         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
5222         * math/atest-exp2.c (TIMEOUT): Likewise.
5223         * math/atest-sincos.c (TIMEOUT): Likewise.
5225 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
5227         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
5228         -Wno-error with -fno-builtin-lround.
5230 2014-12-19  Torvald Riegel  <triegel@redhat.com>
5232         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
5233         Contains futex constants and functions moved over from ...
5234         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
5235         <lowlevellock-futex.h>.
5236         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5237         (lll_timedwait_tid): Add comments and parentheses around macro
5238         arguments.
5240 2014-12-19  Torvald Riegel  <triegel@redhat.com>
5242         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
5243         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
5244         (__lll_private_flag): Remove.
5245         (lll_futex_wait): Likewise.
5246         (lll_futex_timed_wait): Likewise.
5247         (lll_futex_wake): Likewise.
5248         (lll_futex_requeue): Likewise.
5249         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5250         (__lll_timedwait_tid): Spell out argument names.
5251         (lll_timedwait_tid): Add comments and parentheses around macro
5252         arguments.
5253         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
5254         LLL_SHARED and LLL_PRIVATE usable from assembly code.
5256 2014-12-19  Torvald Riegel  <triegel@redhat.com>
5258         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
5259         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5260         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5261         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
5262         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
5263         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
5264         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
5265         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
5266         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
5267         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
5268         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
5269         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
5270         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
5271         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
5272         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
5273         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
5274         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
5275         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
5276         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
5278 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
5280         * sysdeps/x86_64/x32/Makefile: New file.
5282 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
5284         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
5285         1L with (mp_limb_t) 1.
5287 2014-12-17  Roland McGrath  <roland@hack.frob.com>
5289         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
5290         * nptl/libc_pthread_init.c: ... here.
5291         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
5292         * nptl/register-atfork.c: ... here.
5294         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
5295         Use pthread_sigmask rather than INTERNAL_SYSCALL.
5296         Use assert_perror to check its return value.
5297         (__gai_create_helper_thread): Likewise.
5299         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
5301         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
5303 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
5305         [BZ #17725]
5306         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
5307         __profil_counter.
5308         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
5309         Likewise.
5310         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
5311         Likewise.
5312         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
5313         Likewise.
5314         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
5315         (profil_counter): Likewise.
5316         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
5317         (profil_counter): Likewise.
5318         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
5319         Likewise.
5320         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
5321         Likewise.
5322         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
5323         (profil_counter): Likewise.
5324         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
5325         Likewise.
5326         [!__profil_counter] (profil_counter): Define as weak alias of
5327         __profil_counter.
5328         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
5329         (profil_counter): Rename to __profil_counter.
5330         [!__profil_counter] (profil_counter): Define as weak alias of
5331         __profil_counter.
5332         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
5333         (profil_counter): Rename to __profil_counter.
5334         [!__profil_counter] (profil_counter): Define as weak alias of
5335         __profil_counter.
5336         * sysdeps/posix/profil.c: Update comment referring to
5337         profil_counter.
5338         (__profil): Use __profil_counter instead of profil_counter.
5339         * sysdeps/posix/sprofil.c (profil_counter): Rename to
5340         __profil_counter.  Use __profil_counter_ushort and
5341         __profil_counter_uint in definitions.
5342         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
5343         instead of profil_counter_uint and profil_counter_ushort.
5345         [BZ #17722]
5346         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
5347         define as weak alias of __inet_makeaddr.
5348         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
5349         as weak alias of __inet_addr.
5350         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
5351         as weak alias of __inet_pton.  Use libc_hidden_weak.
5352         * include/arpa/inet.h (__inet_pton): Declare.  Use
5353         libc_hidden_proto.
5354         (inet_makeaddr): Don't use libc_hidden_proto.
5355         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
5356         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
5357         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
5358         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
5359         Remove variable.
5360         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5361         (test-xfail-POSIX/time.h/linknamespace): Likewise.
5363 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
5365         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
5367 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5369         * stdio-common/bug-vfprintf-nargs.c (do_test):
5370         Cast value to intptr_t to avoid format warning
5371         for usage with PRIdPTR printing macro.
5373 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5375         * libio/tst-widetext.c (do_test):
5376         Use format type %td instead of %Zd for ptrdiff_t
5377         in order to avoid format warning.
5379 2014-12-17  Andreas Schwab  <schwab@suse.de>
5381         * nscd/mem.c (gc): Add size_t cast to match printf format.
5383 2014-12-16  Roland McGrath  <roland@hack.frob.com>
5385         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
5386         (init): Apply PTR_MANGLE to pointers before storing them.
5387         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
5388         before using them.
5390 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
5392         [BZ #17719]
5393         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
5394         define as weak alias of __memrchr.
5395         (__memrchr): Do not define as strong alias of memrchr.
5396         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
5397         Remove variable.
5398         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5399         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5400         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5402         [BZ #17717]
5403         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
5404         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
5405         (if_indextoname): Rename to __if_indextoname and define as weak
5406         alias of __if_indextoname.  Use libc_hidden_weak.
5407         (if_freenameindex): Rename to __if_freenameindex and define as
5408         weak alias of __if_freenameindex.
5409         (if_nameindex): Rename to __if_nameindex and define as weak alias
5410         of __if_nameindex.
5411         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
5412         __if_nametoindex and define as weak alias of __if_nametoindex.
5413         Use libc_hidden_weak.
5414         (if_freenameindex): Rename to __if_freenameindex and define as
5415         weak alias of __if_freenameindex.
5416         (if_nameindex): Rename to __if_nameindex and define as weak alias
5417         of __if_nameindex.
5418         (if_indextoname): Rename to __if_indextoname and define as weak
5419         alias of __if_indextoname.  Use libc_hidden_weak.
5420         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
5421         __if_nametoindex and define as weak alias of __if_nametoindex.
5422         Use libc_hidden_weak.
5423         (if_freenameindex): Rename to __if_freenameindex and define as
5424         weak alias of __if_freenameindex.  Use libc_hidden_weak.
5425         (if_nameindex_netlink): Use __if_freenameindex instead of
5426         if_freenameindex.
5427         (if_nameindex): Rename to __if_nameindex and define as weak alias
5428         of __if_nameindex.  Use libc_hidden_weak.
5429         (if_indextoname): Rename to __if_indextoname and define as weak
5430         alias of __if_indextoname.  Use libc_hidden_weak.
5431         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
5432         libc_hidden_proto.
5433         [!_ISOMAC] (__if_freenameindex): Likewise.
5434         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
5435         if_nametoindex.
5436         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
5437         variable.
5438         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5439         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5440         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5441         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5442         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5443         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5444         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5446         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
5447         Remove variable.
5448         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5449         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5451 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5453         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
5454         subscript above bounds'
5456         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
5457         bounds.
5459 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
5461         * libio/tst-fopenloc.c: Use test-skeleton.c.
5463         * stdlib/tst-bsearch.c: Use test-skeleton.c.
5464         (entry): Rename to ITEM.
5465         (do_test, comp): Adjust.
5467         * stdio-common/tst-fseek.c: Use test-skeleton.c.
5469 2014-12-16  Torvald Riegel  <triegel@redhat.com>
5471         * string/tester.c: Include <libc-internal.h>.
5472         (test_memset): Ignore -Wmemset-transposed-args.
5474 2014-12-16  Torvald Riegel  <triegel@redhat.com>
5476         * misc/tst-mntent2.c (do_test): Fix warning.
5478 2014-12-16  Torvald Riegel  <triegel@redhat.com>
5480         * elf/tst-unique4lib.cc(a): Mark as used.
5482 2014-12-16  Florian Weimer  <fweimer@redhat.com>
5484         [BZ #17630]
5485         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
5486         names.
5488 2014-12-16  Allan McRae  <allan@archlinux.org>
5490         * stdio-common/Makefile (tests): Re-add bug26.
5492 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
5494         [BZ #17657]
5495         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
5496         static array.
5498 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
5500         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
5501         (__lll_lock_wait): Likewise.
5502         (__lll_timedlock_wait): Likewise.
5503         (__lll_timedwait_tid): Likewise.
5504         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
5505         (__lll_robust_timedlock_wait): Likewise.
5506         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
5507         (lll_cond_trylock): Likewise.
5508         (__lll_lock): Likewise.
5509         (__lll_robust_lock): Likewise.
5510         (__lll_cond_lock): Likewise.
5511         (lll_robust_cond_lock): Likewise.
5512         (__lll_timedlock): Likewise.
5513         (__lll_robust_timedlock): Likewise.
5514         (__lll_unlock): Likewise.
5515         (__lll_robust_unlock): Likewise.
5516         (lll_wait_tid): Likewise.
5517         (lll_timedwait_tid): Likewise.
5519 2014-12-15  Torvald Riegel  <triegel@redhat.com>
5521         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
5523 2014-12-15  Torvald Riegel  <triegel@redhat.com>
5525         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
5527 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
5529         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
5530         * stdio-common/tst-sprintf.c: Likewise.
5532 2014-12-15  Torvald Riegel  <triegel@redhat.com>
5534         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
5536 2014-12-15  Jeff Law  <law@redhat.com>
5538         [BZ #16617]
5539         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
5540         on the heap.  (CVE-2012-3406)
5541         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
5542         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
5543         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
5545 2014-12-15  Will Newton  <will.newton@linaro.org>
5547         * manual/install.texi: Bump required version of texinfo
5548         to 4.7 from 4.5.
5549         * INSTALL: Regenerated.
5550         * configure.ac: Check for makeinfo version 4.7 and above.
5551         * configure: Regenerated.
5553 2014-12-12  Roland McGrath  <roland@hack.frob.com>
5555         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
5556         PREFIX, string constant to insert between directory and name.
5557         * sysdeps/posix/shm_open.c: Update caller.
5558         * sysdeps/posix/shm_unlink.c: Likewise.
5559         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
5560         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
5561         (SEM_SHM_PREFIX): New macro.
5562         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
5563         [$(have-thread-library) = no].
5564         * nptl/Makefile (libpthread-routines): Add shm-directory.
5565         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
5566         * sysdeps/nptl/shm-directory.h: New file.
5567         * sysdeps/posix/shm-directory.c
5568         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
5569         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
5570         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
5571         INTERNAL_SYSCALL.
5572         (__where_is_shmfs): Function removed.
5573         (mountpoint, defaultmount, defaultdir, __namedsem_once):
5574         Variables removed.
5575         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
5576         Use SHM_GET_NAME.
5577         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
5579         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
5580         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
5581         unconditional for use inside libpthread.
5582         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
5584 2014-12-12  Roland McGrath  <roland@hack.frob.com>
5586         * nptl/pthread_getaffinity.c: New file.
5587         * nptl/pthread_setaffinity.c: New file.
5588         * nptl/pthread_getname.c: New file.
5589         * nptl/pthread_setname.c: New file.
5591         * nptl/pthread_create.c (START_THREAD_DEFN)
5592         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
5594 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5595             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5597         * resolv/res_send.c (send_vc): Disable warning resplen may
5598         be used uninitialized.
5600 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5602         * nptl/tst-mutex6.c
5603         (ATTR_NULL): New define checks ATTR against NULL.
5604         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
5605         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
5607 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
5609         [BZ #17581]
5610         * malloc/hooks.c
5611         (mem2mem_check): Revert my previous change.
5612         (malloc_check_get_size): Revert my previous change.
5613         (mem2chunk_check): Revert my previous change.
5615 2014-12-11  Roland McGrath  <roland@hack.frob.com>
5617         * sysdeps/posix/shm-directory.c: New file.
5618         * sysdeps/posix/shm-directory.h: New file.
5619         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
5620         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
5621         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
5622         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
5623         Transmute EPERM to EACCES.
5624         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
5625         from ...
5626         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
5627         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
5629 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5631         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
5632         pointer and cast to uintptr_t.
5633         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
5634         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
5635         Add cast to avoid warning.
5636         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
5638 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
5640         * nptl/semaphore.h: Move to ...
5641         * sysdeps/pthread/semaphore.h: ... here.
5642         * Makefile (installed-headers): Change nptl/semaphore.h to
5643         sysdeps/pthread/semaphore.h.
5645 2014-12-11  Roland McGrath  <roland@hack.frob.com>
5647         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
5648         generated error format strings.
5650         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
5651         -Wformat-extra-args warnings for scanf formats.
5652         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
5653         test of zero-length format (duh).
5654         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
5655         corner-case scanf format test.
5656         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
5657         generated fprintf format string.
5658         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
5659         corner-case sprintf format tests.
5660         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
5661         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
5662         -Wformat-extra-args warnings throughout.
5663         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
5664         (CFLAGS-scanf4.c): Likewise.
5665         (CFLAGS-scanf7.c): Likewise.
5666         (CFLAGS-tst-sprintf.c): Likewise.
5667         (CFLAGS-tst-printf.c): Likewise.
5668         (CFLAGS-tst-printfsz.c): Likewise.
5670 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
5672         * include/cpio.h: New file.
5673         * include/fmtmsg.h: Likewise.
5675         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
5676         corresponding format argument to size_t.
5677         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
5678         arguments.
5679         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
5680         corresponding format argument to size_t.
5681         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
5682         arguments.
5683         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
5684         corresponding format argument to size_t.
5685         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
5686         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
5687         (CFLAGS-tst-mbswcs2.c): Likewise.
5688         (CFLAGS-tst-mbswcs3.c): Likewise.
5689         (CFLAGS-tst-mbswcs4.c): Likewise.
5690         (CFLAGS-tst-mbswcs5.c): Likewise.
5691         (CFLAGS-tst-trans.c): Likewise
5693 2014-12-11  Roland McGrath  <roland@hack.frob.com>
5695         * posix/regexbug1.c (main): Use "%s" format with regerror results,
5696         rather than assuming they won't contain any '%'s.
5698 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
5700         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
5701         inhibit_loop_to_libcall to avoid recursive calls.
5702         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
5703         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
5705 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
5707         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
5708         prototype.
5710 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
5712         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
5713         integer value instead of boolean.
5715 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
5717         * malloc/malloc.c: Fix powerof2 check.
5719 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5721         * locale/programs/locfile.h (maybe_swap_uint32):
5722         Remove inline and add unused attribute.
5724 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5726         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5727         Truncating assembler expression to a .long expression.
5729 2014-12-11  Andreas Schwab  <schwab@suse.de>
5731         * elf/rtld.c (struct map_args): Constify str member.
5732         (do_preload): Constify fname argument.
5734 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5736         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
5737         constants definition.
5739 2014-12-11  Andreas Schwab  <schwab@suse.de>
5741         [BZ #16657]
5742         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
5743         FORCE_ELISION instead of DO_ELISION.
5744         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
5745         Remove.
5746         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
5747         Likewise.
5749         * iconvdata/gconv-modules: Remove duplicate entry.
5751 2014-12-11  Will Newton  <will.newton@linaro.org>
5753         Merge gettext 0.19.3 into intl/.
5755         This involves a number of cosmetic changes to comments
5756         and ANSI function definitions and prototypes throughout
5757         all the files. The gettext copyright header is used but
5758         with the date ranges taken from the glibc copy.
5760         * NEWS: Add gettext merge to 2.21.
5761         * intl/bindtextdom.c: Switch to gettext copyright.
5762         Use ANSI definitions and prototypes.
5763         Use gl_* locking primitives rather than __libc_* ones.
5764         Use __builtin_expect rather than __glibc_likely/unlikely.
5765         * intl/dcgettext.c: Switch to gettext copyright.
5766         Use ANSI definitions and prototypes.
5767         * intl/dcigettext.c: Switch to gettext copyright.
5768         Use ANSI definitions and prototypes.
5769         (INTDIV0_RAISES_SIGFPE): New define.
5770         Use gl_* locking primitives rather than __libc_* ones.
5771         Include eval-plural.h instead of plural-eval.c.
5772         Use __builtin_expect rather than __glibc_likely/unlikely.
5773         * intl/dcngettext.c: Switch to gettext copyright.
5774         Use ANSI definitions and prototypes.
5775         * intl/dgettext.c: Likewise.
5776         * intl/dngettext.c: Likewise.
5777         * intl/plural-eval.c: Renamed to...
5778         * intl/eval-plural.h: ...this.
5779         * intl/explodename.c: Switch to gettext copyright.
5780         Use ANSI definitions and prototypes.
5781         (_nl_explode_name): Use strchr instead of __rawmemchr.
5782         * intl/finddomain.c: Switch to gettext copyright.
5783         Use ANSI definitions and prototypes.
5784         Use gl_* locking primitives rather than __libc_* ones.
5785         (_nl_find_domain): Use malloc rather than alloca for
5786         allocation of temporary locale name.
5787         * intl/gettext.c: Switch to gettext copyright.
5788         Use ANSI definitions and prototypes.
5789         * intl/gettextP.h: Switch to gettext copyright.
5790         Use ANSI definitions and prototypes.
5791         Use gl_* locking primitives rather than __libc_* ones.
5792         * intl/gmo.h: Switch to gettext copyright.
5793         (struct sysdep_string): Move struct segment_pair outside of
5794         struct definition.
5795         * intl/hash-string.c: Use ANSI definitions and prototypes.
5796         * intl/hash-string.h: Switch to gettext copyright.
5797         Use ANSI definitions and prototypes.
5798         * intl/l10nflist.c: Switch to gettext copyright.
5799         Use ANSI definitions and prototypes.
5800         (_nl_normalize_codeset): Avoid integer overflow.
5801         * intl/loadinfo.h: Switch to gettext copyright.
5802         Use ANSI definitions and prototypes.
5803         (LIBINTL_DLL_EXPORTED): New define.
5804         (PATH_SEPARATOR): New define.
5805         * intl/loadmsgcat.c: Switch to gettext copyright.
5806         * intl/localealias.c: Switch to gettext copyright.
5807         Use ANSI definitions and prototypes.
5808         (_nl_expand_alias): Use PATH_SEPARATOR.
5809         * intl/ngettext.c: Switch to gettext copyright.
5810         Use ANSI definitions and prototypes.
5811         * intl/plural-exp.c: Likewise.
5812         * intl/plural-exp.h: Switch to gettext copyright.
5813         Use ANSI definitions and prototypes.
5814         (struct expression): Move definition of enum operator outside
5815         of struct definition.
5816         * intl/plural.c: Regenerate.
5817         * intl/plural.y: Switch to gettext copyright.
5818         Use ANSI definitions and prototypes.
5819         Port to bison 3.0.
5820         * intl/textdomain.c: Switch to gettext copyright.
5821         Use ANSI definitions and prototypes.
5822         Use gl_* locking primitives rather than __libc_* ones.
5824 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
5826         * debug/warning-nop.c: Add used atrribute.
5828 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
5830         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
5832         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
5833         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
5834         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
5836 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
5837             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5839         [BZ #17634]
5840         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
5841         Undefine after defining function.  Define as weak alias of
5842         __wcschr.  Use libc_hidden_weak.
5843         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
5844         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
5845         (libc_hidden_def): Also define __GI___wcschr alias.
5846         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
5847         __wcschr and define as weak alias of __wcschr.
5848         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
5849         __wcschr.
5850         [!WCSCHR] (DEFAULT_WCSCHR): Define.
5851         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
5852         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
5853         libc_hidden_weak.  Do not use libc_hidden_def.
5854         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
5855         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
5856         __GI___wcschr alias.
5857         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
5858         [IS_IN (libc)] (wcschr): Define as macro expanding to
5859         __redirect_wcschr.
5860         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
5861         [IS_IN (libc)] (__wcschr_power6): Likewise.
5862         [IS_IN (libc)] (__wcschr_power7): Likewise.
5863         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
5864         instead of wcschr.
5865         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
5866         __libc_wcschr.
5867         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
5868         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
5869         __wcschr and define as weak alias of __wcschr.  Use
5870         libc_hidden_builtin_def.
5871         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
5872         as weak alias of __wcschr.  Use libc_hidden_weak.
5873         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
5874         wcschr.
5875         * time/era.c (_nl_init_era_entries): Likewise.
5876         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
5877         variable.
5878         (test-xfail-XPG3/time.h/linknamespace): Likewise.
5879         (test-xfail-XPG4/time.h/linknamespace): Likewise.
5881 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
5883         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
5884         format for long int variable.
5886 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
5888         [BZ #10672]
5889         * manual/search.texi: (Array Sort Function): Remove claim how to make
5890         qsort stable.
5892 2014-12-10  Andreas Schwab  <schwab@suse.de>
5894         [BZ #12847]
5895         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
5896         user-controlled locks.
5898 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
5900         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
5901         register.
5903 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
5905         * configure.ac (--disable-werror): New configure option.
5906         (enable_werror): New AC_SUBST.
5907         * configure: Regenerated.
5908         * config.make.in (enable-werror): New variable.
5909         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
5910         -Wno-error=undef.
5911         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
5912         * manual/install.texi (Configuring and compiling): Document
5913         --disable-werror.
5914         * INSTALL: Regenerated.
5915         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
5916         (CFLAGS-tst-chk2.c): Likewise.
5917         (CFLAGS-tst-chk3.c): Likewise.
5918         (CFLAGS-tst-chk4.cc): Likewise.
5919         (CFLAGS-tst-chk5.cc): Likewise.
5920         (CFLAGS-tst-chk6.cc): Likewise.
5921         (CFLAGS-tst-lfschk1.c): Likewise.
5922         (CFLAGS-tst-lfschk2.c): Likewise.
5923         (CFLAGS-tst-lfschk3.c): Likewise.
5924         (CFLAGS-tst-lfschk4.cc): Likewise.
5925         (CFLAGS-tst-lfschk5.cc): Likewise.
5926         (CFLAGS-tst-lfschk6.cc): Likewise.
5928         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
5929         (main): Disable -Wdeprecated-declarations around calls to
5930         register_printf_function.
5932         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
5933         (do_test): Disable -Wdiv-by-zero around some calls to
5934         fwrite_unlocked and fread_unlocked.
5936         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
5937         (DIAG_POP_NEEDS_COMMENT): Likewise.
5938         (_DIAG_STR1): Likewise.
5939         (_DIAG_STR): Likewise.
5940         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
5941         * stdio-common/bug21.c: Include <libc-internal.h>.
5942         (do_test): Disable -Wformat around call to sscanf.
5943         * stdio-common/scanf14.c: Include <libc-internal.h>.
5944         (main): Disable -Wformat around some calls to scanf functions.
5946 2014-12-09  Torvald Riegel  <triegel@redhat.com>
5948         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
5950 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5952         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
5953         stack variable alignment.
5955 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
5957         [BZ #17682]
5958         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
5959         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
5960         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
5961         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
5962         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
5963         __getrlimit instead of getrlimit.
5964         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
5965         __gettimeofday instead of gettimeofday.
5966         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5967         Likewise.
5968         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
5969         Likewise.
5970         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5971         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
5972         Remove variable.
5973         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5974         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5976 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5978         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
5979         for wide-character tests.
5981 2014-12-04  Roland McGrath  <roland@hack.frob.com>
5983         * io/openat64.c: #include <libc-internal.h>
5984         (__openat64): Prototypify.  Use ignore_value on MODE.
5985         * io/openat.c: Likewise.
5986         * misc/reboot.c: #include <libc-internal.h>
5987         (reboot): Prototypify.  Use ignore_value on HOWTO.
5988         * misc/ptrace.c: #include <libc-internal.h>
5989         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
5991 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
5993         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
5994         XPG4, UNIX98 and XOPEN2K.
5995         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
5996         Remove variable.
5997         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5999 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6001         * libio/fileops.c: Use ISO C style for function definitions.
6002         * libio/iofopen.c: Likewise.
6003         * libio/wfileops.c: Likewise.
6005         [BZ #17653]
6006         * libio/fileops.c (_IO_new_file_underflow): Unset cached
6007         offset on EOF.
6008         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6009         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
6010         (fgets_func): Function pointer to fgets and fgetws.
6011         (do_ftell_test): Add test to verify ftell value after read
6012         EOF.
6013         (do_test): Set fgets_func.
6015         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
6016         O_TRUNC flag for w and w+ modes.
6017         (do_rewind_test): Likewise.
6018         (do_ftell_test): Likewise.
6019         (do_write_test): Likewise.
6021         [BZ #17647]
6022         * libio/fileops.c (do_ftell): Seek only when there are
6023         unflushed writes.
6024         * libio/wfileops.c (do_ftell_wide): Likewise.
6025         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
6026         test case.
6027         (do_one_test): Call it.
6029 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
6031         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
6032         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
6033         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
6034         Remove variable.
6035         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6036         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6037         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6039 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
6041         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
6042         Remove variable.
6043         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6045         [BZ #17668]
6046         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
6047         as weak alias of __getifaddrs.  Use libc_hidden_weak.
6048         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6049         __freeifaddrs.  Use libc_hidden_weak.
6050         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
6051         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
6052         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6053         __freeifaddrs.  Use libc_hidden_weak.
6054         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
6055         __getifaddrs and define as weak alias of __getifaddrs.  Use
6056         libc_hidden_weak.
6057         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6058         __freeifaddrs.  Use libc_hidden_weak.
6059         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
6060         Remove variable.
6061         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6062         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6064 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
6066         [BZ #17601]
6067         * sysdeps/mips/start.S (__start): Use indirect jump to call
6068         __libc_start_main.
6070 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
6072         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
6074         * nptl/tst-mutex1.c: Include <stdbool.h>.
6075         [!ATTR] (ATTR_NULL): New macro.
6076         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
6077         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
6078         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
6080         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
6081         to char *.
6083         [BZ #17665]
6084         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
6085         Change conditional to [__USE_MISC].
6087         [BZ #17664]
6088         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
6089         fgets_unlocked.
6090         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
6091         __fgets_unlocked.
6092         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
6093         fgets_unlocked.
6094         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
6095         Remove variable.
6096         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6097         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6098         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6099         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6100         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6101         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6102         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6103         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6104         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6106         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
6108 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6110         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6111         Remove strpbrk objects.
6112         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6113         (__libc_ifunc_impl_list): Remove strpbrk implementation.
6114         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
6115         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
6116         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
6117         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
6119         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6120         Remove strcspn objects.
6121         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6122         (__libc_ifunc_impl_list): Remove strcspn implementation.
6123         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
6124         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
6125         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
6126         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
6128         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6129         Remove strspn objetcs.
6130         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6131         (__libc_ifunc_impl_list): Remove strspn implementation.
6132         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
6133         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6134         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
6135         * sysdeps/powerpc/powerpc64/strspn.S: New file.
6137 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
6139         [BZ #17581]
6140         * malloc/hooks.c
6141         (mem2mem_check): Add a terminator to the chain of checking blocks.
6142         (malloc_check_get_size): Use it here.
6143         (mem2chunk_check): Ditto.
6145 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6147         * sysdeps/powerpc/powerpc64/strtok.S: New file.
6148         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
6150 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
6152         * bits/ioctl-types.h: Indent preprocessor directives correctly.
6154         * nptl/nptl-init.c: Include libc-internal.h.
6155         (__pthread_initialize_minimal_internal): Use ROUND_UP.
6157         * elf/ldconfig.c (search_dir): Expand comment.
6159 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
6161         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
6162         variable.
6163         (linknamespace-symlist-stdlibs-tests): Likewise.
6164         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
6165         instead of $(objpfx)symlist-stdlibs.
6166         (linknamespace-libs-isoc): New variable.
6167         (linknamespace-libs): Use $(linknamespace-libs-isoc).
6168         (linknamespace-libs-ISO): New variable.
6169         (linknamespace-libs-ISO99): Likewise.
6170         (linknamespace-libs-ISO11): Likewise.
6171         (linknamespace-libs-XPG3): Likewise.
6172         (linknamespace-libs-XPG4): Likewise.
6173         (linknamespace-libs-POSIX): Likewise.
6174         (linknamespace-libs-UNIX98): Likewise.
6175         (linknamespace-libs-XOPEN2K): Likewise.
6176         (linknamespace-libs-POSIX2008): Likewise.
6177         (linknamespace-libs-XOPEN2K8): Likewise.
6178         ($(objpfx)symlist-stdlibs): Replace by
6179         $(linknamespace-symlist-stdlibs-tests).  Use
6180         $(linknamespace-libs-$*) as set of libraries.
6181         ($(linknamespace-header-tests)): Update dependencies.  Use
6182         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
6183         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
6184         * conform/linknamespace.pl: Remove comment about considering
6185         definitions of symbols from irrelevant libraries.
6187 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
6189         [BZ #13862]
6190         * elf/dl-tls.c: Include <atomic.h>.
6191         (oom): Remove #ifdef SHARED/#endif.
6192         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
6193         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
6194         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
6195         big enough.
6196         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
6197         * nptl/Makefile (tests): Add tst-stack4.
6198         (modules-names): Add tst-stack4mod.
6199         ($(objpfx)tst-stack4): New.
6200         (tst-stack4mod.sos): Likewise.
6201         ($(objpfx)tst-stack4.out): Likewise.
6202         ($(tst-stack4mod.sos)): Likewise.
6203         (clean): Likewise.
6204         * nptl/tst-stack4.c: New file.
6205         * nptl/tst-stack4mod.c: Likewise.
6207 2014-11-27  J. Brown  <jb999@gmx.de>
6209         * sysdeps/x86/bits/string.h: Add recent CPUs.
6211 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
6213         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
6214         sigblock.
6216         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
6217         feof.
6219         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
6220         variable.
6222 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6224         * nscd/connections.c: Include libc-internal.h because of macro
6225         usage ignore_value.
6227 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6229         * string/bits/string3.h (__warn_memset_zero_len): Don't
6230         declare for gcc newer than 5.0.
6231         (memset): Don't test for zero-length __LEN for gcc newer than
6232         5.0.
6234 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
6236         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
6237         size_t for %zu format.
6239         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
6240         difference, not %ju.
6242 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
6244         * include/libc-internal.h (ignore_value): New macro.
6245         * nscd/connections.c (restart): Wrap calls to setuid and setgid
6246         with ignore_value.
6248         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
6249         definition.
6251         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
6252         pthread_cleanup_push to void *.
6254         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
6255         Undefine.
6257         [BZ #16619]
6258         [BZ #16740]
6259         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
6260         instead of 1L << 52.
6262         * libio/bug-rewind.c (do_test): Check fwscanf return values.
6263         * libio/bug-rewind2.c (do_test): Likewise.
6265         * debug/test-stpcpy_chk-ifunc.c: Remove file.
6266         * debug/test-strcpy_chk-ifunc.c: Likewise.
6267         * wcsmbs/test-wcschr-ifunc.c: Likewise.
6268         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6269         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6270         * wcsmbs/test-wcslen-ifunc.c: Likewise.
6271         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6272         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6273         * Rules [$(multi-arch) = no] (tests): Do not filter out
6274         $(tests-ifunc).
6275         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
6276         * debug/Makefile (tests-ifunc): Remove variable.
6277         (tests): Do not add $(tests-ifunc).
6278         * wcsmbs/Makefile (tests-ifunc): Remove variable.
6279         (tests): Do not add $(tests-ifunc).
6280         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
6281         [TEST_IFUNC]: Remove conditionals.
6282         * string/test-string.h (TEST_IFUNC): Remove macro.
6283         [TEST_IFUNC]: Remove conditionals.
6285         * string/test-strchr.c [!WIDE] (L): New macro.
6286         [WIDE] (L): Likewise.
6287         (check1): Use CHAR instead of char.  Use L on string and character
6288         constants.
6290 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
6292         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
6293         tests.
6294         * sysdeps/powerpc/bits/atomic.h
6295         (__arch_atomic_exchange_and_add_32_acq): Add definition.
6296         (__arch_atomic_exchange_and_add_32_rel): Likewise.
6297         (atomic_exchange_and_add_acq): Likewise.
6298         (atomic_exchange_and_add_rel): Likewise.
6299         * sysdeps/powerpc/powerpc32/bits/atomic.h
6300         (__arch_atomic_exchange_and_add_64_acq): Add definition.
6301         (__arch_atomic_exchange_and_add_64_rel): Likewise.
6302         * sysdeps/powerpc/powerpc64/bits/atomic.h
6303         (__arch_atomic_exchange_and_add_64_acq): Add definition.
6304         (__arch_atomic_exchange_and_add_64_rel): Likewise.
6306 2014-11-26  Torvald Riegel  <triegel@redhat.com>
6308         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
6309         Change synchronization of __sched_fifo_min_prio and
6310         __sched_fifo_max_prio.
6311         * nptl/pthread_mutexattr_getprioceiling.c
6312         (pthread_mutexattr_getprioceiling): Likewise.
6313         * nptl/pthread_mutexattr_setprioceiling.c
6314         (pthread_mutexattr_setprioceiling): Likewise.
6315         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
6316         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6317         Likewise.
6319 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
6321         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
6322         void.
6324 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
6326         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
6327         third argument const.
6329 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
6331         fnmatch: work around GCC compiler warning bug with uninit var
6332         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
6333         This works around a bug with x86-64 GCC 4.9.2 and earlier
6334         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
6335         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
6336         used uninitialized in this function [-Wmaybe-uninitialized]".
6338 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
6340         * posix/bug-regex31.c (main): Return RES not 0.
6342 2014-11-25  Anton Blanchard <anton@samba.org>
6344         * sysdeps/powerpc/bits/atomic.h
6345         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
6347 2014-11-24  Sterling Augustine  <saugustine@google.com>
6349         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
6351 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
6353         [BZ #17608]
6354         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
6356 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
6358         [BZ #17633]
6359         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
6360         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
6361         variable.
6362         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6363         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6365 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
6367         * string/strncpy.c (strncpy): Improve performance by using memset.
6369 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
6371         * string/strcpy.c (strcpy):
6372         Improve performance by using strlen and memcpy.
6374 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
6376         * string/strcoll_l.c (get_next_seq): __always_inline.
6377         * string/strcoll_l.c (do_compare): __always_inline.
6379 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6381         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
6382         defined.
6383         * include/mqueue.h: Likewise.
6384         * include/stdlib.h: Likewise.
6386         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
6387         (get_null_defines): Adjust.
6388         * sunrpc/Makefile: Adjust comment.
6389         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
6390         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
6391         (CFLAGS-interp.c): Likewise.
6392         (CFLAGS-ldconfig.c): Likewise.
6393         (CPPFLAGS-.os): Likewise.
6394         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6395         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6396         * extra-modules.mk (extra-modules.mk): Likewise.
6397         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
6398         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
6399         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
6400         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
6401         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
6402         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
6403         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
6404         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
6405         * iconvdata/Makefile (CPPFLAGS): Likewise.
6406         (cpp-srcs-left): Add libof for all iconvdata routines.
6407         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
6408         * include/assert.h: Likewise.
6409         * include/ctype.h: Likewise.
6410         * include/errno.h: Likewise.
6411         * include/libc-symbols.h: Likewise.
6412         * include/math.h: Likewise.
6413         * include/netdb.h: Likewise.
6414         * include/resolv.h: Likewise.
6415         * include/stdio.h: Likewise.
6416         * include/stdlib.h: Likewise.
6417         * include/string.h: Likewise.
6418         * include/sys/stat.h: Likewise.
6419         * include/wctype.h: Likewise.
6420         * intl/l10nflist.c: Likewise.
6421         * libidn/idn-stub.c: Likewise.
6422         * libio/libioP.h: Likewise.
6423         * nptl/libc_multiple_threads.c: Likewise.
6424         * nptl/pthreadP.h: Likewise.
6425         * posix/regex_internal.h: Likewise.
6426         * resolv/res_hconf.c: Likewise.
6427         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
6428         * sysdeps/arm/memmove.S: Likewise.
6429         * sysdeps/arm/sysdep.h: Likewise.
6430         * sysdeps/generic/_itoa.h: Likewise.
6431         * sysdeps/generic/symbol-hacks.h: Likewise.
6432         * sysdeps/gnu/errlist.awk: Likewise.
6433         * sysdeps/gnu/errlist.c: Likewise.
6434         * sysdeps/i386/i586/memcpy.S: Likewise.
6435         * sysdeps/i386/i586/memset.S: Likewise.
6436         * sysdeps/i386/i686/memcpy.S: Likewise.
6437         * sysdeps/i386/i686/memmove.S: Likewise.
6438         * sysdeps/i386/i686/mempcpy.S: Likewise.
6439         * sysdeps/i386/i686/memset.S: Likewise.
6440         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6441         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6442         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
6443         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
6444         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6445         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6446         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
6447         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6448         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6449         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6450         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6451         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6452         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6453         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6454         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6455         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6456         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
6457         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
6458         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
6459         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6460         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6461         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6462         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6463         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6464         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6465         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6466         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
6467         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6468         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
6469         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6470         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6471         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6472         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6473         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6474         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6475         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6476         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6477         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6478         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6479         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6480         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6481         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6482         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6483         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6484         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6485         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6486         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
6487         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
6488         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6489         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6490         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6491         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
6492         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
6493         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6494         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6495         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
6496         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6497         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
6498         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
6499         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6500         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6501         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6502         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
6503         * sysdeps/nptl/bits/libc-lock.h: Likewise.
6504         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
6505         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
6506         * sysdeps/posix/closedir.c: Likewise.
6507         * sysdeps/posix/opendir.c: Likewise.
6508         * sysdeps/posix/readdir.c: Likewise.
6509         * sysdeps/posix/rewinddir.c: Likewise.
6510         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
6511         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
6512         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6513         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6514         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6515         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
6516         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
6517         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
6518         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
6519         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
6520         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
6521         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
6522         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
6523         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
6524         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
6525         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
6526         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
6527         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
6528         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
6529         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
6530         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
6531         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
6532         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
6533         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
6534         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
6535         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
6536         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
6537         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
6538         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
6539         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
6540         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
6541         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
6542         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
6543         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
6544         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
6545         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
6546         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6547         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6548         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
6549         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
6550         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
6551         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
6552         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
6553         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6554         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
6555         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
6556         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
6557         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
6558         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
6559         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6560         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
6561         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
6562         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
6563         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
6564         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
6565         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
6566         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
6567         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
6568         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
6569         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
6570         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6571         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
6572         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
6573         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
6574         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
6575         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6576         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
6577         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
6578         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
6579         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
6580         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6581         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
6582         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
6583         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
6584         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
6585         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
6586         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
6587         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
6588         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6589         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
6590         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
6591         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6592         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
6593         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
6594         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6595         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
6596         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
6597         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6598         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6599         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6600         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
6601         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
6602         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
6603         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6604         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6605         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
6606         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6607         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6608         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
6609         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
6610         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6611         * sysdeps/unix/alpha/sysdep.S: Likewise.
6612         * sysdeps/unix/alpha/sysdep.h: Likewise.
6613         * sysdeps/unix/make-syscalls.sh: Likewise.
6614         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6615         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6616         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6617         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
6618         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6619         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
6620         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
6621         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6622         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6623         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
6624         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6625         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6626         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6627         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
6628         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6629         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6630         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6631         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
6632         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
6633         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6634         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6635         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6636         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6637         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6638         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6639         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6640         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
6642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6643         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
6644         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6645         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6646         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6647         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6648         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6649         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6650         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6651         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6652         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6653         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6654         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6655         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6656         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6657         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6658         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6659         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6660         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6661         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6662         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6663         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6664         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6665         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6666         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6667         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6668         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6669         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6670         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6671         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6672         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
6673         * sysdeps/x86_64/memcpy.S: Likewise.
6674         * sysdeps/x86_64/memmove.c: Likewise.
6675         * sysdeps/x86_64/memset.S: Likewise.
6676         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
6677         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6678         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6679         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
6680         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
6681         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6682         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6683         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6684         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6685         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6686         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6687         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6688         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
6689         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6690         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6691         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
6692         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6693         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6694         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6695         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6696         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
6697         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6698         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6699         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6700         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6701         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6702         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6703         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
6704         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6705         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6706         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
6707         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6708         * sysdeps/x86_64/strcmp.S: Likewise.
6710         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
6712         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
6713         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
6714         * elf/rtld-Rules: Likewise.
6715         * elf/setup-vdso.h: Likewise.
6716         * include/assert.h: Likewise.
6717         * include/bits/stdlib-float.h: Likewise.
6718         * include/errno.h: Likewise.
6719         * include/sys/stat.h: Likewise.
6720         * include/unistd.h: Likewise.
6721         * sysdeps/aarch64/setjmp.S: Likewise.
6722         * sysdeps/alpha/setjmp.S: Likewise.
6723         * sysdeps/arm/__longjmp.S: Likewise.
6724         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
6725         * sysdeps/arm/setjmp.S: Likewise.
6726         * sysdeps/arm/sysdep.h: Likewise.
6727         * sysdeps/generic/_itoa.h: Likewise.
6728         * sysdeps/generic/dl-sysdep.h: Likewise.
6729         * sysdeps/generic/ldsodefs.h: Likewise.
6730         * sysdeps/i386/dl-tls.h: Likewise.
6731         * sysdeps/i386/setjmp.S: Likewise.
6732         * sysdeps/m68k/setjmp.c: Likewise.
6733         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
6734         * sysdeps/mach/hurd/opendir.c: Likewise.
6735         * sysdeps/posix/getcwd.c: Likewise.
6736         * sysdeps/posix/opendir.c: Likewise.
6737         * sysdeps/posix/profil.c: Likewise.
6738         * sysdeps/powerpc/dl-procinfo.h: Likewise.
6739         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6740         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6741         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6742         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6743         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
6744         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6745         * sysdeps/s390/dl-tls.h: Likewise.
6746         * sysdeps/s390/s390-32/setjmp.S: Likewise.
6747         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6748         * sysdeps/sh/sh3/setjmp.S: Likewise.
6749         * sysdeps/sh/sh4/setjmp.S: Likewise.
6750         * sysdeps/unix/alpha/sysdep.h: Likewise.
6751         * sysdeps/unix/arm/sysdep.S: Likewise.
6752         * sysdeps/unix/i386/sysdep.S: Likewise.
6753         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6754         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6755         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6756         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6757         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6758         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
6759         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6760         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6761         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
6762         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
6763         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
6764         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6765         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6768         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6769         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6770         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6771         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6772         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6773         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6774         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6775         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6776         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6777         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6778         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6779         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6780         * sysdeps/unix/x86_64/sysdep.S: Likewise.
6781         * sysdeps/x86_64/setjmp.S: Likewise.
6783         * include/math.h: Use IS_IN instead of IS_IN_libm.
6784         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
6785         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6786         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6787         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6788         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6789         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6790         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6791         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6792         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6793         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6794         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
6795         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6796         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
6797         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6798         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6799         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
6800         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
6801         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6802         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
6803         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
6804         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
6805         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
6806         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
6807         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
6808         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
6809         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6810         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
6811         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
6812         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
6813         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6814         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
6815         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6816         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6818         Likewise.
6819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
6820         Likewise.
6821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
6822         Likewise.
6823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
6824         Likewise.
6825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
6826         Likewise.
6827         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6828         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
6829         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6830         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6831         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6832         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
6835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
6836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
6837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
6838         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
6839         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
6840         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6841         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6842         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6843         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6844         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6845         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6846         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6847         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
6848         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
6849         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
6850         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
6851         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
6852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6853         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
6855         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
6856         * nptl/pthreadP.h: Likewise.
6857         * nptl_db/structs.def: Likewise.
6858         * sysdeps/arm/sysdep.h: Likewise.
6859         * sysdeps/nptl/bits/libc-lock.h: Likewise.
6860         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
6861         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
6862         * sysdeps/unix/alpha/sysdep.h: Likewise.
6863         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6864         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6865         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6866         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6867         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6868         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6869         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6870         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6871         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6872         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6873         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6874         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6875         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6876         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
6878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6879         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6880         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6881         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6882         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6883         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6884         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6885         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6886         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6887         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
6888         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6890         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
6891         * nptl/pthreadP.h: Likewise.
6892         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6893         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6894         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6895         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6896         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6897         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6898         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6899         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6900         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6901         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6902         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6903         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6905         Likewise.
6906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6907         Likewise.
6908         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6909         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6910         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6911         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6912         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6913         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6914         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6915         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6917         * dlfcn/dladdr.c: Use IS_IN.
6918         * dlfcn/dladdr1.c: Likewise.
6919         * dlfcn/dlclose.c: Likewise.
6920         * dlfcn/dlerror.c: Likewise.
6921         * dlfcn/dlinfo.c: Likewise.
6922         * dlfcn/dlmopen.c: Likewise.
6923         * dlfcn/dlopen.c: Likewise.
6924         * dlfcn/dlsym.c: Likewise.
6925         * dlfcn/dlvsym.c: Likewise.
6927         * include/ifaddrs.h: Use IS_IN.
6928         * inet/check_pf.c: Likewise.
6929         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6930         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
6932         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
6933         IS_IN_ldconfig.
6934         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
6935         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
6937         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
6938         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
6939         IS_IN (libc).
6941         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
6943         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
6944         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6945         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6946         * include/libc-symbols.h (IS_IN_LIB): New macro.
6947         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
6948         * include/netdb.h: Likewise.
6949         * include/stap-probe.h: Remove all uses of IN_LIB.
6951         * Makeconfig (module-cppflags-real): Define MODULE_NAME
6952         instead of IN_MODULE.
6953         * include/libc-symbols.h (IN_MODULE): Define using
6954         MODULE_NAME.
6955         (PASTE_NAME, PASTE_NAME1): New macros.
6956         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
6957         of IN_LIB.
6958         (STAP_PROBE_ASM): Likewise.
6960 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6962         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
6963         __mach_init in dlopened libc.
6965 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
6967         * sysdeps/arm/preconfigure.ac: Delete EABI check.
6968         * sysdeps/arm/preconfigure: Regenerate.
6970 2014-11-21  Roland McGrath  <roland@hack.frob.com>
6972         * nptl/pthread_create.c (__pthread_create_2_1): Set
6973         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
6974         when copying values from IATTR into PD.
6976 2014-11-21  Will Newton  <will.newton@linaro.org>
6977             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
6979         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
6980         Refactor inline-asm.  Also add comment.
6982         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
6983         ElfW macro instead of hardcoded Elf64 types.
6984         (la_aarch64_gnu_pltenter): Likewise.
6985         * sysdeps/aarch64/dl-machine.h
6986         (elf_machine_runtime_setup): Use ElfW(Addr).
6988         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
6989         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
6990         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
6991         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
6992         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
6993         (R_AARCH64_TLS_DTPMOD64): Rename to ..
6994         (R_AARCH64_TLS_DTPMOD): This.
6995         (R_AARCH64_TLS_DTPREL64): Rename to ...
6996         (R_AARCH64_TLS_DTPREL): This.
6997         (R_AARCH64_TLS_TPREL64): Rename to ...
6998         (R_AARCH64_TLS_TPREL): This.
6999         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
7000         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
7001         R_AARCH64_TLS_TPREL64.
7002         (elf_machine_rela): Likewise.
7004 2014-11-21  Torvald Riegel  <triegel@redhat.com>
7006         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
7007         by setting it to 0.  64b atomics are not supported currently.
7009 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7011         [BZ #16469]
7012         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
7013         search domain names.
7015 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7017         [BZ #16469]
7018         * NEWS: Update.
7019         * resolv/res_query.c (__libc_res_nquerydomain): Retain
7020         trailing dot.
7021         * posix/tst-getaddrinfo5.c: New.
7022         * posix/Makefile (tests): Add it.
7024 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7026         [BZ #14498]
7027         * NEWS: Fixed.
7028         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
7029         after parsing line but before break_if_match.
7030         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
7031         if there is a protocol mismatch.
7033 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
7035         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
7036         because the potential race is on the user-supplied stream.
7038 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7040         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
7041         string literal if not passed a buffer.
7042         * manual/job.texi (ctermid): Update reasoning, note deviation
7043         from posix, suggest mtasurace when not passed a buffer, for
7044         future non-preliminary safety notes.
7046 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7048         * manual/users.texi (cuserid): Fix MT-Safety note for the case
7049         of not passing it a buffer.
7050         Reported by Peng Haitao.
7052 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7054         * manual/Makefile ($(objpfx)stamp-summary): Require
7055         check-safety.sh to pass.
7056         * manual/check-safety.sh: Wish for verification that every
7057         @deftypefn and @deftypefun is followed by a @safety remark.
7059 2014-11-20  Roland McGrath  <roland@hack.frob.com>
7061         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
7063         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
7064         PTHREAD_CANCEL_ASYNCHRONOUS.
7065         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
7066         send SIGCANCEL.
7068         * nptl/default-sched.h: New file.
7069         * sysdeps/unix/sysv/linux/default-sched.h: New file.
7070         * nptl/pthread_create.c: Include it.
7071         (__pthread_create_2_1): Use collect_default_sched instead of making
7072         Linux syscalls here directly.
7074 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7076         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
7077         __pthread_once): Use C11 atomics.
7079 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7081         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
7083 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7085         * include/atomic.h (__atomic_link_error, __atomic_check_size,
7086         atomic_thread_fence_acquire, atomic_thread_fence_release,
7087         atomic_thread_fence_seq_cst, atomic_load_relaxed,
7088         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
7089         atomic_compare_exchange_weak_relaxed,
7090         atomic_compare_exchange_weak_acquire,
7091         atomic_compare_exchange_weak_release,
7092         atomic_exchange_acquire, atomic_exchange_release,
7093         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
7094         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
7095         atomic_fetch_and_acquire,
7096         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
7098 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7100         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
7101         USE_ATOMIC_COMPILER_BUILTINS): Define.
7102         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
7103         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7104         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
7105         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7106         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
7107         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7108         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
7109         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7110         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
7111         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7112         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
7113         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7114         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
7115         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7116         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
7117         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7118         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7119         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7120         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7121         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7122         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
7123         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7124         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7125         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7126         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
7127         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7128         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7129         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7130         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
7131         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7132         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
7133         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7134         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
7135         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7136         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7137         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7138         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
7139         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7140         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
7141         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7143 2014-11-19  Roland McGrath  <roland@hack.frob.com>
7145         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
7146         the sched_priority value here.  It was already checked when the user
7147         called pthread_attr_setschedparam.
7149         * nptl/tst-bad-schedattr.c: New file.
7150         * nptl/Makefile (tests): Add it.
7152 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
7153             Florian Weimer  <fweimer@redhat.com>
7154             Joseph Myers  <joseph@codesourcery.com>
7155             Adam Conrad  <adconrad@0c3.net>
7156             Andreas Schwab  <schwab@suse.de>
7157             Brooks  <bmoses@google.com>
7159         [BZ #17625]
7160         * wordexp-test.c (__dso_handle): Add prototype.
7161         (__register_atfork): Likewise.
7162         (__app_register_atfork): New function.
7163         (registered_forks): New global.
7164         (register_fork): New function.
7165         (test_case): Add 3 new tests for WRDE_CMDSUB.
7166         (main): Call __app_register_atfork.
7167         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
7168         fork count is non-zero fail the test.
7169         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
7170         is set.
7171         (parse_dollars): Remove check for WRDE_NOCMD.
7172         (parse_dquote): Likewise.
7174 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7176         * Makeconfig (built-modules): List non-library modules to be
7177         built.
7178         (module-cppflags): Include libc-modules.h for
7179         everything except shlib-versions.v.i.
7180         (CPPFLAGS): Use it.
7181         (before-compile): Add libc-modules.h.
7182         ($(common-objpfx)libc-modules.h,
7183         $(common-objpfx)libc-modules.stmp): New targets.
7184         (common-generated): Add libc-modules.h and libc-modules.stmp.
7185         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
7186         * include/libc-symbols.h: Don't include libc-modules.h.
7187         * include/libc-modules.h: Remove file.
7188         * scripts/gen-libc-modules.awk: New script to generate
7189         libc-modules.h.
7190         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
7191         Depend on libc-modules.stmp.
7193         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
7195         * Makeconfig (in-module): Get value of libof set for the
7196         translation unit.
7197         (CPPFLAGS): Use $(in-module).
7198         * Makerules: Don't suffix routine names for nonlib.
7199         * include/libc-modules.h: New file.
7200         * include/libc-symbols.h: Include libc-modules.h
7201         (IS_IN): New macro to replace IS_IN_* macros.
7202         * elf/Makefile: Set libof-* for each routine.
7203         * elf/rtld-Rules: Likewise.
7204         * extra-modules.mk: Likewise.
7205         * iconv/Makefile: Likewise.
7206         * iconvdata/Makefile: Likewise.
7207         * locale/Makefile: Likewise.
7208         * malloc/Makefile: Likewise.
7209         * nss/Makefile: Likewise.
7210         * sysdeps/gnu/Makefile: Likewise.
7211         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
7212         * sysdeps/unix/sysv/linux/Makefile: Likewise.
7213         * sysdeps/s390/s390-64/Makefile: Likewise.
7214         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
7215         CPPFLAGS for nscd instead of nonlib.
7217 2014-11-18  Roland McGrath  <roland@hack.frob.com>
7219         * nptl/createthread.c: New file.
7221         * nptl/createthread.c: Moved ...
7222         * sysdeps/unix/sysv/linux/createthread.c: ... here.
7224         * nptl/createthread.c: Add proper top-line comment.
7225         (do_clone): Folded into ...
7226         (create_thread): ... here.  Take new arguments STOPPED_START and
7227         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
7228         increment __nptl_threads, do event-reporting logic, do
7229         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
7230         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
7231         resource cleanup if sched_setaffinity or sched_setscheduler fails,
7232         just send SIGCANCEL.
7233         * nptl/pthread_create.c: Forward-declare create_thread before
7234         including createthread.c.
7235         (start_thread): Use new macro START_THREAD_DEFN to replace defining
7236         declaration, and new macro START_THREAD_SELF to replace argument.
7237         Remove return statement.
7238         (report_thread_creation): New function.
7239         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
7240         synchronization logic, and __nptl_nthreads increment here, around
7241         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
7242         PD->parent_cancelhandling here, before create_thread.  When
7243         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
7244         __deallocate_stack, and ENOMEM translation here.
7246 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
7248         [BZ #17616]
7249         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
7250         (mptwo): Rename to __mptwo.
7251         (__inv): Use __mptwo instead of mptwo.
7252         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
7253         (mptwo): Rename to __mptwo.
7254         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
7255         of mpone and __mptwo instead of mptwo.
7256         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
7257         instead of mpone.
7258         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7259         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
7260         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
7261         of mpone and __mptwo instead of mptwo.
7262         (__mpranred): Use __mpone instead of mpone.
7263         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
7264         variable.
7265         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7266         (test-xfail-ISO99/math.h/linknamespace): Likewise.
7267         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7268         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7269         (test-xfail-ISO11/math.h/linknamespace): Likewise.
7270         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7271         (test-xfail-XPG3/math.h/linknamespace): Likewise.
7272         (test-xfail-XPG4/math.h/linknamespace): Likewise.
7273         (test-xfail-POSIX/math.h/linknamespace): Likewise.
7274         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7275         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7276         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7277         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7278         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7279         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7280         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7281         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7282         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7283         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7285 2014-11-18  Tom de Vries  <tom@codesoucery.com>
7287         * manual/signal.texi (Primitives Interrupted by Signals): In section,
7288         replace BSD Handler xref with BSD Signal Handling.
7290 2014-11-17  Richard Henderson  <rth@redhat.com>
7292         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
7293         (_FP_PACK_RAW_2): Remove.
7294         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
7295         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
7296         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
7297         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
7298         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
7299         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
7300         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
7301         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
7302         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
7303         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
7304         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
7305         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
7306         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
7307         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
7308         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
7309         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
7311 2014-11-14  Roland McGrath  <roland@hack.frob.com>
7313         * signal/signal.h [__USE_MISC]
7314         (struct sigvec): Remove type.
7315         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
7316         (sigvec): Remove declaration.
7317         * sysdeps/posix/sigvec.c: Moved ...
7318         * signal/sigvec.c: ... here, replacing old file.
7319         (struct sigvec): New type, copied from old signal.h definition.
7320         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
7321         (__sigvec): Convert definition to prototype.
7322         (sigvec): Replace weak_alias with compat_symbol.
7323         * signal/Versions (libc: GLIBC_2.21): New version set.
7324         * include/signal.h: Remove __sigvec declaration.
7325         * sysdeps/unix/bsd/sigvec.c: Remove file.
7326         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
7327         * manual/signal.texi (BSD Handler): Remove subsection.
7328         Move siginterrupt up to ...
7329         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
7330         (Blocking in BSD): Fold subsection into its parent.
7331         * NEWS: Mention sigvec removal.
7333 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
7335         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
7336         (DLA_FMS): Make definition conditional only on [__FMA4__].
7337         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
7338         definition.
7340         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
7341         Make definition conditional only on [PROF].
7342         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
7343         definition.
7344         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
7345         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
7347         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
7348         !__GNUC__].
7349         * include/signal.h (__sigpause): Move declaration above call to
7350         libc_hidden_proto.
7351         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
7352         variable.
7353         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
7354         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
7356 2014-11-14  David S. Miller  <davem@davemloft.net>
7358         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
7359         Define before including <string/memcpy.c> and <string/mempcpy.c>.
7361 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
7363         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
7364         * configure: Regenerated.
7365         * manual/install.texi (Tools for Compilation): Document a
7366         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
7367         compiler verified to work.
7368         * INSTALL: Regenerated.
7370         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
7371         redeclare with asm name.
7372         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
7373         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
7374         including <string.h>.
7375         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7376         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
7377         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7378         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
7379         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7380         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7381         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7383 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
7385         * stdlib/strtol.c (__strtol): Use prototype definition.
7387         [BZ #17594]
7388         * stdlib/strtol.c (SYM__): New macro.
7389         (SYM__1): Likewise.
7390         (__strtol): Likewise.
7391         (strtol): Rename to __strtol and define as weak alias of
7392         __strtol.  Use libc_hidden_weak.
7394 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7396         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
7397         Use numbered labels in inline assembly.
7399 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7401         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
7402         Add setjmp LIBC_PROBE.
7403         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
7404         Likewise.
7405         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
7406         Add longjmp, longjmp_target LIBC_PROBE.
7407         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
7408         Likewise.
7410 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7412         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7413         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
7414         to get rid of unused variable warning.
7416 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7418         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
7419         Check for unwind_backtrace ==  NULL only in SHARED case.
7420         (__backchain_backtrace): Compile only in SHARED case.
7421         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
7422         Likewise.
7423         (__backchain_backtrace): Declare as static.
7425 2014-11-12  Roland McGrath  <roland@hack.frob.com>
7427         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
7428         (__libc_multiple_threads_ptr): Variable moved ...
7429         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
7431 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
7433         * conform/GlibcConform.pm: New file.
7434         * conform/conformtest.pl: Use GlibcConform module.
7435         * conform/linknamespace.pl: New file.
7436         * conform/list-header-symbols.pl: Likewise.
7437         * conform/Makefile (linknamespace-symlists-base): New variable.
7438         (linknamespace-symlists-tests): Likewise.
7439         (linknamespace-header-base): Likewise.
7440         (linknamespace-header-tests): Likewise.
7441         (tests-special): Add new tests.
7442         ($(linknamespace-symlists-tests)): New rule.
7443         (linknamespace-libs): New variable.
7444         ($(objpfx)symlist-stdlibs): New rule.
7445         ($(linknamespace-header-tests)): Likewise.
7446         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
7447         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
7448         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
7449         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
7450         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
7451         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
7452         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
7453         (test-xfail-ISO/math.h/linknamespace): Likewise.
7454         (test-xfail-ISO/signal.h/linknamespace): Likewise.
7455         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
7456         (test-xfail-ISO/time.h/linknamespace): Likewise.
7457         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7458         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
7459         (test-xfail-ISO99/math.h/linknamespace): Likewise.
7460         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
7461         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7462         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7463         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7464         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7465         (test-xfail-ISO11/math.h/linknamespace): Likewise.
7466         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
7467         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7468         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7469         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7470         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
7471         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
7472         (test-xfail-XPG3/math.h/linknamespace): Likewise.
7473         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
7474         (test-xfail-XPG3/search.h/linknamespace): Likewise.
7475         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
7476         (test-xfail-XPG3/time.h/linknamespace): Likewise.
7477         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
7478         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
7479         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7480         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
7481         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
7482         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
7483         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
7484         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
7485         (test-xfail-XPG4/math.h/linknamespace): Likewise.
7486         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
7487         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7488         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
7489         (test-xfail-XPG4/search.h/linknamespace): Likewise.
7490         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
7491         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
7492         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
7493         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
7494         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
7495         (test-xfail-XPG4/time.h/linknamespace): Likewise.
7496         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
7497         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
7498         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
7499         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
7500         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
7501         (test-xfail-POSIX/math.h/linknamespace): Likewise.
7502         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
7503         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
7504         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
7505         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7506         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
7507         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7508         (test-xfail-POSIX/time.h/linknamespace): Likewise.
7509         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
7510         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
7511         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7512         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7513         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
7514         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
7515         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
7516         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7517         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7518         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7519         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
7520         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
7521         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7522         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7523         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
7524         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7525         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7526         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
7527         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
7528         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
7529         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7530         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7531         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
7532         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7533         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
7534         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
7535         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
7536         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
7537         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7538         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
7539         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
7540         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
7541         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
7542         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
7543         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7544         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7545         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7546         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
7547         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
7548         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
7549         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7550         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7551         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7552         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7553         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
7554         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
7555         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
7556         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7557         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7558         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
7559         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
7560         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7561         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7562         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
7563         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
7564         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
7565         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
7566         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7567         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7568         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
7569         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7570         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
7571         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7572         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7573         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7574         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
7575         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7576         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7577         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
7578         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7579         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7580         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7581         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7582         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7583         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
7584         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7585         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7586         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7587         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7588         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
7589         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
7590         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7591         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7592         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7593         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7594         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
7595         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7596         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
7597         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7598         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7599         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7600         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7601         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7602         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7603         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
7604         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7605         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7606         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
7608         [BZ #17589]
7609         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
7610         of fgets_unlocked.
7612         [BZ #17585]
7613         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
7614         (memmem): Rename to __memmem and define as weak alias of
7615         __memmem.  Use libc_hidden_weak.
7616         (__memmem): Use libc_hidden_def.
7617         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
7618         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
7619         memmem.
7621         [BZ #17582]
7622         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
7623         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
7624         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
7625         and define as weak alias of __fgets_unlocked.  Use
7626         libc_hidden_weak.
7627         (__fgets_unlocked): Use libc_hidden_def.
7628         * include/stdio.h (__fgets_unlocked): Declare.  Use
7629         libc_hidden_proto.
7630         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
7631         __fgets_unlocked instead of fgets_unlocked.
7632         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
7633         (GET_NPROCS_CONF_PARSER): Likewise.
7634         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
7635         (GET_NPROCS_CONF_PARSER): Likewise.
7637         [BZ #17574]
7638         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
7639         weak alias of __wmemset.  Use libc_hidden_weak.
7640         (__wmemset): Use libc_hidden_def.
7641         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
7642         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
7643         of wmemset.
7645         [BZ #17573]
7646         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
7647         with asm name __mempcpy.
7648         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
7650         [BZ #17572]
7651         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
7652         and define as weak alias of __rawmemchr.
7653         (__rawmemchr): Do not define as strong alias of rawmemchr.
7655         [BZ #17571]
7656         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
7657         alias of __qsort_r.
7658         (qsort): Call __qsort_r instead of qsort_r.
7659         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
7660         (__qsort_r): Declare.  Call libc_hidden_proto.
7661         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
7662         instead of qsort_r.
7663         * nscd/gai.c (__qsort_r): Define to qsort_r.
7664         * posix/tst-rfc3484.c (__qsort_r): Likewise.
7665         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
7666         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
7668         [BZ #17570]
7669         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
7670         define as weak alias of __malloc_info.
7672         [BZ #17584]
7673         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
7674         as weak alias of __rewinddir.  Don't use libc_hidden_def.
7675         (__rewinddir): Use libc_hidden_def.
7676         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
7677         as weak alias of __rewinddir.  Don't use libc_hidden_def.
7678         (__rewinddir): Use libc_hidden_def.
7679         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
7680         weak alias of __rewinddir.  Don't use libc_hidden_def.
7681         (__rewinddir): Use libc_hidden_def.
7682         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
7683         (__rewinddir): Use libc_hidden_proto.
7684         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
7685         rewinddir.
7686         (__getcwd): Use __rewinddir instead of rewinddir.
7688         [BZ #17583]
7689         * libio/fileno.c (fileno): Rename to __fileno and define as weak
7690         alias of __fileno.  Use libc_hidden_weak.
7691         (__fileno): Use libc_hidden_def.
7692         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
7693         * libio/ftello.c (ftello): Rename to __ftello and define as weak
7694         alias of __ftello.
7695         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
7696         __ftello.
7697         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
7698         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
7699         libc_hidden_def.
7700         (fread_unlocked): Don't use libc_hidden_ver.
7701         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
7702         and define as weak alias of __fread_unlocked.  Don't use
7703         libc_hidden_def.
7704         (__fread_unlocked): Use libc_hidden_def.
7705         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
7706         (ftello): Don't use libc_hidden_proto.
7707         (__ftello): Declare.  Use libc_hidden_proto.
7708         (fread_unlocked): Don't use libc_hidden_proto.
7709         (__fread_unlocked): Declare.  Use libc_hidden_proto.
7710         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
7711         and __ftello instead of fileno, fread_unlocked and ftello.
7713 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7715         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
7716         GOT12.
7717         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7718         Likewise.
7719         (_dl_start_user): Likewise.
7720         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
7722 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
7723             Siddhesh Poyarekar  <siddhesh@redhat.com>
7725         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
7726         Move argv and envp down instead of moving argc up.
7727         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
7729 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
7731         [BZ #17506]
7732         * test-skeleton.c (main): Return successful if one of
7733         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
7734         * string/tst-strcoll-overflow.c: Define expected status.
7736 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
7738         [BZ #17475]
7739         * locale/iso-639.def: Define Bhili and Tulu language codes.
7741 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
7743         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
7745 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
7747         [BZ #17555]
7748         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
7750 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
7752         * configure.ac: Updated check of minimal required version to
7753         2.22.
7754         * manual/install.texi (Tools for Compilation): Updated version
7755         number.
7756         * configure: Regenerated.
7757         * INSTALL: Likewise.
7759 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
7761         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
7762         __tls_get_addr.
7764 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
7766         * include/sys/wait.h (__libc_waitpid): Remove declaration.
7767         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
7768         (__waitpid): Don't define as alias.  Use libc_hidden_def not
7769         libc_hidden_weak.
7770         (waitpid): Define as alias of __waitpid.
7771         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
7772         __waitpid.
7773         (__waitpid): Don't define as alias.  Use libc_hidden_def not
7774         libc_hidden_weak.
7775         (waitpid): Define as alias of __waitpid.
7776         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
7777         __libc_waitpid alias.
7778         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
7779         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
7780         Likewise.
7781         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
7782         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
7783         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
7784         alias.
7785         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
7786         __waitpid.
7787         (__waitpid): Don't define as alias.  Use libc_hidden_def not
7788         libc_hidden_weak.
7789         (waitpid): Define as alias of __waitpid.
7791 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
7793         * manual/llio.texi: Add comment that write safety has been
7794         fixed in Linux.
7796         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
7797         (localplt-build-dso): Add elf/ld.so.
7798         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
7799         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
7800         and free for ld.so.
7801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
7802         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
7803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
7804         Likewise.
7805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7806         Likewise.
7807         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
7808         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
7809         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
7810         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
7811         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7812         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
7813         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
7814         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
7815         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7816         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
7817         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7819 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
7821         [BZ #14132]
7822         * include/libc-symbols.h (INTUSE): Remove macro.
7823         (INTDEF): Likewise.
7824         (INTVARDEF): Likewise.
7825         (_INTVARDEF): Likewise.
7826         (INTDEF2): Likewise.
7827         (INTVARDEF2): Likewise.
7828         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
7829         rtld_hidden_def instead of INTVARDEF.
7830         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
7831         (_dl_starting_up_internal): Remove declaration.
7832         (_dl_starting_up): Use rtld_hidden_proto.
7833         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
7834         declaration.
7835         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
7836         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
7837         _dl_starting_up.
7838         * elf/dl-writev.h (_dl_writev): Likewise.
7839         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
7840         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
7841         _dl_starting_up_internal.
7843 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7845         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
7846         test-skeleton.c.
7848 2014-11-05  Will Newton  <will.newton@linaro.org>
7850         * benchtests/Makefile: (bench-malloc): Add malloc thread
7851         scalability benchmark.
7852         * benchtests/bench-malloc-threads.c: New file.
7854 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
7856         * sysdeps/aarch64/strchrnul.S: New file.
7858 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7860         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
7861         definition.
7862         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7863         Likwise.
7864         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7865         Likewise.
7866         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7867         Likewise.
7868         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7869         Likewise.
7870         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7871         Likewise.
7873 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
7875         * catgets/test-gencat.c: Use test-skeleton.c.
7876         * catgets/tst-catgets.c: Likewise.
7877         * csu/tst-empty.c: Likewise.
7878         * elf/tst-audit2.c: Likewise.
7879         * elf/tst-global1.c: Likewise.
7880         * elf/tst-pathopt.c: Likewise.
7881         * elf/tst-piemod1.c: Likewise.
7882         * elf/tst-tls10.c: Likewise.
7883         * elf/tst-tls11.c: Likewise.
7884         * elf/tst-tls12.c: Likewise.
7885         * gnulib/tst-gcc.c: Likewise.
7886         * iconvdata/tst-e2big.c: Likewise.
7887         * iconvdata/tst-loading.c: Likewise.
7888         * iconv/tst-iconv1.c: Likewise.
7889         * iconv/tst-iconv2.c: Likewise.
7890         * inet/test-inet6_opt.c: Likewise.
7891         * inet/tst-gethnm.c: Likewise.
7892         * inet/tst-network.c: Likewise.
7893         * inet/tst-ntoa.c: Likewise.
7894         * intl/tst-codeset.c: Likewise.
7895         * intl/tst-gettext2.c: Likewise.
7896         * intl/tst-gettext3.c: Likewise.
7897         * intl/tst-ngettext.c: Likewise.
7898         * intl/tst-translit.c: Likewise.
7899         * io/test-stat.c: Likewise.
7900         * libio/test-fmemopen.c: Likewise.
7901         * libio/tst-freopen.c: Likewise.
7902         * libio/tst-sscanf.c: Likewise.
7903         * libio/tst-ungetwc1.c: Likewise.
7904         * libio/tst-ungetwc2.c: Likewise.
7905         * libio/tst-widetext.c: Likewise.
7906         * localedata/tst-ctype.c: Likewise.
7907         * localedata/tst-digits.c: Likewise.
7908         * localedata/tst-leaks.c: Likewise.
7909         * localedata/tst-mbswcs1.c: Likewise.
7910         * localedata/tst-mbswcs2.c: Likewise.
7911         * localedata/tst-mbswcs3.c: Likewise.
7912         * localedata/tst-mbswcs4.c: Likewise.
7913         * localedata/tst-mbswcs5.c: Likewise.
7914         * localedata/tst-setlocale.c: Likewise.
7915         * localedata/tst-trans.c: Likewise.
7916         * localedata/tst-wctype.c: Likewise.
7917         * localedata/tst-xlocale1.c: Likewise.
7918         * login/tst-grantpt.c: Likewise.
7919         * malloc/tst-calloc.c: Likewise.
7920         * malloc/tst-malloc.c: Likewise.
7921         * malloc/tst-mallocstate.c: Likewise.
7922         * malloc/tst-mcheck.c: Likewise.
7923         * malloc/tst-mtrace.c: Likewise.
7924         * malloc/tst-obstack.c: Likewise.
7925         * math/atest-exp2.c: Likewise.
7926         * math/atest-exp.c: Likewise.
7927         * math/atest-sincos.c: Likewise.
7928         * math/test-matherr.c: Likewise.
7929         * math/test-misc.c: Likewise.
7930         * math/test-powl.c: Likewise.
7931         * math/tst-definitions.c: Likewise.
7932         * misc/tst-dirname.c: Likewise.
7933         * misc/tst-efgcvt.c: Likewise.
7934         * misc/tst-fdset.c: Likewise.
7935         * misc/tst-hsearch.c: Likewise.
7936         * misc/tst-mntent2.c: Likewise.
7937         * nptl/tst-sem7.c: Likewise.
7938         * nptl/tst-sem8.c: Likewise.
7939         * nptl/tst-sem9.c: Likewise.
7940         * nss/test-netdb.c: Likewise.
7941         * posix/tst-fnmatch.c: Likewise.
7942         * posix/tst-getlogin.c: Likewise.
7943         * posix/tst-gnuglob.c: Likewise.
7944         * posix/tst-mmap.c: Likewise.
7945         * pwd/tst-getpw.c: Likewise.
7946         * resolv/tst-inet_ntop.c: Likewise.
7947         * rt/tst-timer.c: Likewise.
7948         * stdio-common/test-fseek.c: Likewise.
7949         * stdio-common/test-popen.c: Likewise.
7950         * stdio-common/test-vfprintf.c: Likewise.
7951         * stdio-common/tst-cookie.c: Likewise.
7952         * stdio-common/tst-fileno.c: Likewise.
7953         * stdio-common/tst-gets.c: Likewise.
7954         * stdio-common/tst-obprintf.c: Likewise.
7955         * stdio-common/tst-perror.c: Likewise.
7956         * stdio-common/tst-sprintf2.c: Likewise.
7957         * stdio-common/tst-sprintf3.c: Likewise.
7958         * stdio-common/tst-sprintf.c: Likewise.
7959         * stdio-common/tst-swprintf.c: Likewise.
7960         * stdio-common/tst-tmpnam.c: Likewise.
7961         * stdio-common/tst-unbputc.c: Likewise.
7962         * stdio-common/tst-wc-printf.c: Likewise.
7963         * stdlib/tst-environ.c: Likewise.
7964         * stdlib/tst-fmtmsg.c: Likewise.
7965         * stdlib/tst-limits.c: Likewise.
7966         * stdlib/tst-rand48-2.c: Likewise.
7967         * stdlib/tst-rand48.c: Likewise.
7968         * stdlib/tst-random2.c: Likewise.
7969         * stdlib/tst-random.c: Likewise.
7970         * stdlib/tst-strtol.c: Likewise.
7971         * stdlib/tst-strtoll.c: Likewise.
7972         * stdlib/tst-tls-atexit.c: Likewise.
7973         * stdlib/tst-xpg-basename.c: Likewise.
7974         * string/test-ffs.c: Likewise.
7975         * string/tst-bswap.c: Likewise.
7976         * string/tst-inlcall.c: Likewise.
7977         * string/tst-strtok.c: Likewise.
7978         * string/tst-strxfrm.c: Likewise.
7979         * sysdeps/x86_64/tst-audit10.c: Likewise.
7980         * sysdeps/x86_64/tst-audit3.c: Likewise.
7981         * sysdeps/x86_64/tst-audit4.c: Likewise.
7982         * sysdeps/x86_64/tst-audit5.c: Likewise.
7983         * time/tst-ftime_l.c: Likewise.
7984         * time/tst-getdate.c: Likewise.
7985         * time/tst-mktime3.c: Likewise.
7986         * time/tst-mktime.c: Likewise.
7987         * time/tst-posixtz.c: Likewise.
7988         * time/tst-strptime2.c: Likewise.
7989         * time/tst-strptime3.c: Likewise.
7990         * wcsmbs/tst-btowc.c: Likewise.
7991         * wcsmbs/tst-mbrtowc.c: Likewise.
7992         * wcsmbs/tst-mbsrtowcs.c: Likewise.
7993         * wcsmbs/tst-wchar-h.c: Likewise.
7994         * wcsmbs/tst-wcpncpy.c: Likewise.
7995         * wcsmbs/tst-wcrtomb.c: Likewise.
7996         * wcsmbs/tst-wcsnlen.c: Likewise.
7997         * wcsmbs/tst-wcstof.c: Likewise.
7999 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
8001         [BZ #14132]
8002         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
8003         INTDEF.
8004         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
8005         declaration.
8006         (_dl_mcount): Use rtld_hidden_proto.
8007         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
8008         _dl_mcount.
8009         * elf/rtld.c (_rtld_global_ro): Likewise.
8011         [BZ #14132]
8012         * elf/dl-init.c (_dl_init): Don't use INTDEF.
8013         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
8014         of _dl_init_internal.
8015         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
8016         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
8017         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
8018         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
8019         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
8020         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
8021         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
8022         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
8023         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
8024         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
8025         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
8026         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
8027         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8028         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8029         * sysdeps/tile/dl-start.S (_start): Likewise.
8030         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
8031         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
8033         [BZ #14132]
8034         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
8035         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
8036         (rtld_progname): Make macro definition unconditional.
8037         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
8038         INTDEF.
8039         (dlmopen_doit): Do not use INTUSE with _dl_argv.
8040         (dl_main): Likewise.
8041         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8042         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
8043         instead of _dl_argv_internal.
8044         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8045         __GI__dl_argv instead of INTUSE(_dl_argv).
8046         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
8047         __GI__dl_argv instead of _dl_argv_internal.
8049         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
8050         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
8051         macro.
8052         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
8053         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
8054         New macro.
8055         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
8056         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
8057         macro.
8058         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
8059         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
8061 2014-11-04  Andreas Schwab  <schwab@suse.de>
8063         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
8065 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8067         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
8068         mtvsrd instruction in binary form.
8070 2014-11-03  Andreas Schwab  <schwab@suse.de>
8072         [BZ #17522]
8073         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
8074         for less than MB_LEN_MAX use a local buffer of that size.
8075         * libio/tst-fputws.c: New file.
8076         * libio/Makefile (tests): Add tst-fputws.
8078 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
8080         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
8081         the size of the fpu_fr.fpu_dregs[] array.
8083 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
8085         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
8086         (__nanosleep): Do not define as alias.
8087         (nanosleep): Define as alias of __nanosleep.
8088         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
8089         __libc_nanosleep name.
8091 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
8093         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
8094         install.texi in comment.
8096 2014-10-31  Torvald Riegel  <triegel@redhat.com>
8098         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
8099         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
8100         ... add here and use lwsync or sync ...
8101         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
8102         ... and add here using lwsync.
8104 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
8106         * elf/dl-machine-reject-phdr.h: New file.
8107         * elf/dl-load.c: #include that.
8108         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
8109         if that returned true.
8111 2014-10-31  Roland McGrath  <roland@hack.frob.com>
8113         [BZ #17496]
8114         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
8115         gen-as-const-headers chunk.  Add a big scare comment after the last
8116         safe place to touch before-compile.
8118 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
8120         * manual/install.texi (Tools for Compilation): Update autoconf
8121         version requirements.
8122         * INSTALL: Regenerated.
8124         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
8125         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
8126         (__libc_pselect): Likewise.
8128         [BZ #14138]
8129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
8130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8134 2014-10-31  Torvald Riegel  <triegel@redhat.com>
8136         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
8137         correct barrier instruction.
8138         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
8139         Likewise.
8140         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
8141         Likewise.
8143 2014-10-30  Roland McGrath  <roland@hack.frob.com>
8145         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
8146         after defining inlines.  Instead, just use parens to defeat macro
8147         expansion of __isctype in its declaration.
8149 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
8151         * include/sys/uio.h (__libc_readv): Remove declaration.
8152         (__libc_writev): Likewise.
8153         * misc/readv.c (__libc_readv): Rename to __readv.
8154         (__readv): Do not define as alias.
8155         (readv): Define as alias of __readv.
8156         * misc/writev.c (__libc_writev): Rename to __writev.
8157         (__writev): Do not define as alias.
8158         (writev): Define as alias of __writev.
8159         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
8160         (__readv): Do not define as alias.
8161         (readv): Define unconditionally as alias of __readv.
8162         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
8163         (__writev): Do not define as alias.
8164         (writev): Define unconditionally as alias of __writev.
8165         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
8166         name.
8167         (writev): Do not define __libc_writev name.
8169 2014-10-30  Roland McGrath  <roland@hack.frob.com>
8171         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
8172         (convert_charseq): New function, broken out of ...
8173         (use_from_charmap): ... here.  Call it.
8174         (use_to_charmap): Use convert_charseq and free instead of duplicating
8175         its code with a variable-length stack struct.
8177 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
8179         * include/fcntl.h (__libc_creat): Remove declaration.
8180         * io/creat.c (__libc_creat): Rename to creat.
8181         (creat): Do not define as alias.
8182         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
8183         of creat instead of __libc_creat.
8184         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
8185         to creat.
8186         (creat): Do not define as alias.
8187         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
8188         __libc_creat.
8189         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
8190         __libc_creat name.
8191         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
8192         Likewise.
8194 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
8196         * manual/llio.texi: Add comments discussing why write() may be
8197         considered MT-unsafe on Linux.
8199 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
8201         * dl-load.c (local_strdup): Remove.
8202         (expand_dynamic_string_token): Use __strdup.
8203         (decompose_rpath): Likewise.
8204         (_dl_map_object): Likewise.
8206 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
8208         [BZ #14132]
8209         * sysdeps/generic/unwind-dw2-fde.c
8210         (__register_frame_info_bases_internal): Do not declare.
8211         (__register_frame_info_table_bases_internal): Likewise.
8212         (__deregister_frame_info_bases_internal): Likewise.
8213         (__register_frame_info_bases): Declare and use hidden_proto before
8214         definition.  Use hidden_def instead of INTDEF.
8215         (__register_frame_info_table_bases): Likewise.
8216         (__deregister_frame_info_bases): Likewise.
8217         (__register_frame_info): Do not use INTUSE.
8218         (__register_frame): Likewise.
8219         (__register_frame_info_table): Likewise.
8220         (__register_frame_table): Likewise.
8221         (__deregister_frame_info): Likewise.
8222         (__deregister_frame): Likewise.
8224 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
8226         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8227         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
8228         not undefine.
8229         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
8230         Likewise.
8231         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
8232         Likewise.
8234 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
8236         [BZ #14138]
8237         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
8238         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
8239         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
8240         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
8241         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
8242         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
8243         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
8244         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
8245         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
8246         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
8247         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
8248         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
8249         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
8250         syscall.
8251         (setfsuid): Likewise.
8252         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
8253         (setfsuid): Likewise.
8254         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
8255         (setfsuid): Likewise.
8256         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
8257         Likewise.
8258         (setfsuid): Likewise.
8259         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
8260         (setfsuid): Likewise.
8261         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
8262         Likewise.
8263         (setfsuid): Likewise.
8265 2014-10-27  Andreas Schwab  <schwab@suse.de>
8267         [BZ #17501]
8268         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
8269         check for Slow_SSE4_2 feature bit.
8270         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
8271         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8272         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
8273         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
8275 2014-10-24  Roland McGrath  <roland@hack.frob.com>
8277         * configure.ac: Validate compiler version with a empirical test of
8278         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
8279         $CC -v output.
8280         * configure: Regenerated.
8282         * inet/htons.c (htons): Prototypify.
8283         * inet/htonl.c (htonl): Likewise.
8285 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8287         * string/strncat.c (strncat): Improve performance by using strlen.
8289 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8291         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
8293 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8295         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
8296         Call libc_fetestexcept_aarch64.
8298 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8300         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
8301         Call libc_feholdexcept_aarch64.
8303 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8305         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
8306         Call get_rounding_mode.
8308 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8310         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8311         Simplify logic.
8313 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8315         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
8316         Simplify logic.
8318 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
8320         [BZ #14138]
8321         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
8322         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
8323         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
8324         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
8325         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
8326         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
8327         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
8328         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
8329         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
8330         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
8331         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8332         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
8333         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
8334         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
8335         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
8336         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
8337         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
8338         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
8339         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
8340         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
8341         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
8342         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
8343         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
8344         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
8345         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
8346         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
8347         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
8348         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
8349         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
8350         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
8351         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
8352         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
8353         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
8354         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
8355         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
8356         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
8357         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
8358         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
8359         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
8360         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
8361         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
8362         syscall.
8363         (geteuid): Likewise.
8364         (getgid): Likewise.
8365         (getuid): Likewise.
8366         (getresgid): Likewise.
8367         (getresuid): Likewise.
8368         (getgroups): Likewise.
8369         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
8370         (geteuid): Likewise.
8371         (getgid): Likewise.
8372         (getuid): Likewise.
8373         (getresgid): Likewise.
8374         (getresuid): Likewise.
8375         (getgroups): Likewise.
8376         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
8377         (geteuid): Likewise.
8378         (getgid): Likewise.
8379         (getuid): Likewise.
8380         (getresgid): Likewise.
8381         (getresuid): Likewise.
8382         (getgroups): Likewise.
8383         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
8384         Likewise.
8385         (geteuid): Likewise.
8386         (getgid): Likewise.
8387         (getuid): Likewise.
8388         (getresgid): Likewise.
8389         (getresuid): Likewise.
8390         (getgroups): Likewise.
8391         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
8392         (geteuid): Likewise.
8393         (getgid): Likewise.
8394         (getuid): Likewise.
8395         (getresgid): Likewise.
8396         (getresuid): Likewise.
8397         (getgroups): Likewise.
8398         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
8399         Likewise.
8400         (geteuid): Likewise.
8401         (getgid): Likewise.
8402         (getuid): Likewise.
8403         (getgroups): Likewise.
8405         [BZ #14138]
8406         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
8407         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
8408         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
8409         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
8410         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
8411         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
8412         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
8413         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
8414         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
8415         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
8416         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
8417         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
8418         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
8419         __chown.
8420         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
8421         (lchown): Likewise.
8422         (fchown): Likewise.
8423         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
8424         Likewise.
8425         (lchown): Likewise.
8426         (fchown): Likewise.
8427         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
8428         (lchown): Likewise.
8429         (fchown): Likewise.
8430         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
8431         Likewise.
8432         (lchown): Likewise.
8433         (fchown): Likewise.
8435 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
8437         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
8438         Simplify logic.
8440 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
8442         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
8443         Cleanup logic.
8445 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
8447         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
8448         Remove unused include.
8450 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
8452         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
8453         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
8454         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
8455         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
8457 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
8458             Helge Deller <deller@gmx.de>
8460         [BZ #17508]
8461         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
8462         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
8463         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
8465 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
8467         [BZ #14132]
8468         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
8469         Remove macro definition.
8470         (__ashrdi3_v_glibc20): Likewise.
8471         (__lshrdi3_v_glibc20): Likewise.
8472         (__cmpdi2_v_glibc20): Likewise.
8473         (__ucmpdi2_v_glibc20): Likewise.
8474         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
8475         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8476         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8477         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8478         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8479         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
8481 2014-10-22  Roland McGrath  <roland@hack.frob.com>
8483         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
8484         old GNU extension [0] syntax.
8485         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
8486         alloca rather than an array member with variable length.
8487         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
8488         * nscd/nscd.c (invalidate_db): New function, broken out of ...
8489         (parse_opt): ... here.  Likewise use alloca there.
8490         Validate the -i argument before checking for rootness.
8491         (send_shutdown): New function, broken out of ...
8492         (parse_opt): ... here.
8494 2014-10-22  Roland McGrath  <roland@hack.frob.com>
8496         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
8497         macro to get at the _rt_local_ro field.
8498         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
8499         ([PIC] case) or _dl_hwcap ([!PIC] case).
8500         * sysdeps/arm/setjmp.S: Likewise.
8502         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
8503         * sysdeps/arm/configure.ac: New check to define it.
8504         * sysdeps/arm/configure: Regenerated.
8505         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
8506         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
8507         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
8508         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
8509         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
8510         Use move/movt pair instead of a load.
8511         (LDST_GLOBAL): Macro removed.
8512         (LDR_GLOBAL): New macro replaces it.
8513         (LDR_HIDDEN): New macro.
8514         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
8515         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
8517         * setjmp/tst-setjmp-static.c: New file.
8518         * setjmp/Makefile (tests): Add it.
8519         (tests-static): New variable.
8521 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
8523         [BZ #17485]
8524         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
8526 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
8528         [BZ #14132]
8529         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
8531 2014-10-21  Roland McGrath  <roland@hack.frob.com>
8533         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
8535 2014-10-20  Roland McGrath  <roland@hack.frob.com>
8537         * io/fts.c (dirent_not_directory): New function.
8538         (fts_build): Call it.
8540 2014-10-20  Roland McGrath  <roland@hack.frob.com>
8542         * nptl/version.c (__nptl_main): Use normal __write rather than
8543         INTERNAL_SYSCALL.
8544         (banner): Update copyright years.
8546         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
8547         gettimeofday.
8548         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8549         * nptl/pthread_cond_timedwait.c: Likewise.
8550         * nptl/pthread_mutex_timedlock.c: Likewise.
8551         * nptl/sem_timedwait.c: Likewise.
8553         * sysdeps/nptl/bits/libc-lock.h
8554         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8555         (__libc_lock_init_recursive): Return void, not 0.
8556         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
8557         (__libc_rwlock_init): Likewise.
8558         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
8560 2014-10-20  Torvald Riegel  <triegel@redhat.com>
8562         [BZ #15215]
8563         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
8564         (__pthread_once_slow): ... here.
8565         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
8566         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
8568 2014-10-20  Torvald Riegel  <triegel@redhat.com>
8570         [BZ #15215]
8571         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
8572         __PTHREAD_ONCE_FORK_GEN_INCR): New.
8573         * sysdeps/nptl/fork.c (__libc_fork): Use them.
8574         * nptl/pthread_once.c (__pthread_once): Likewise.
8575         Update comments.
8577 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
8579         [BZ #14138]
8580         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
8581         name.
8582         (writev): Use __libc_writev as strong name.
8583         * sysdeps/unix/sysv/linux/readv.c: Remove file.
8584         * sysdeps/unix/sysv/linux/writev.c: Likewise.
8586 2014-10-17  Roland McGrath  <roland@hack.frob.com>
8588         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
8590         * sysdeps/i386/nptl/tls.h
8591         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
8592         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
8593         New macros.
8594         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
8595         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
8596         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
8597         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
8598         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
8599         Call CHECK_THREAD_SYSINFO instead of doing an assert.
8601         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
8602         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
8603         on [__NR_futex].
8604         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
8605         broken out of ...
8606         (__pthread_mutex_init): ... here.  Call it.
8607         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
8608         Conditionalize PI cases on [__NR_futex].
8609         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8610         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8611         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8613         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
8614         conditional on [SIGSETXID].
8615         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
8616         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
8617         is defined.  Likewise for SIGSETXID.
8618         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
8619         Conditionalize definitions on [SIGSETXID].
8620         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
8621         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
8622         unblocking on [SIGCANCEL].
8624         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
8625         [__NR_set_robust_list].
8627 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8629         * string/strcoll_l.c (get_next_seq): Fix up formatting.
8630         (do_compare): Likewise.
8632 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
8634         [BZ #15884]
8635         * string/strcoll_l.c: Don't include stdio.h.
8636         (coll_seq): Remove members idxarr and rulearr.
8637         (get_next_seq_cached): Remove function.
8638         (get_next_seq): Likewise.
8639         (get_next_seq_nocache): Rename to get_next_seq.
8640         (do_compare): Remove function.
8641         (do_compare_nocache): Rename to do_compare.
8642         (STRCOLL): Remove weight and rules cache.
8644 2014-10-16  Roland McGrath  <roland@hack.frob.com>
8646         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
8647         * sysdeps/arm/sfp-machine.h: ... to here.
8648         * sysdeps/arm/Implies: Remove arm/soft-fp.
8650 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
8652         * conform/data/sys/utsname.h-data (*_t): Allow.
8653         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
8654         [POSIX] (WEXITED): Do not expect constant.
8655         [POSIX] (WSTOPPED): Likewise.
8656         [POSIX] (WNOHANG): Likewise.
8657         [POSIX] (WNOWAIT): Likewise.
8658         [POSIX] (siginfo_t): Do not expect type or elements.
8659         [POSIX] (pid_t): Do not expect type.
8660         [POSIX] (signal.h): Do not allow header.
8661         [POSIX] (sys/resource.h): Likewise.
8662         [POSIX] (si_*): Do not allow pattern.
8663         [POSIX] (W*): Likewise.
8664         [POSIX] (P_*): Likewise.
8665         [POSIX] (BUS_*): Likewise.
8666         [POSIX] (CLD_*): Likewise.
8667         [POSIX] (FPE_*): Likewise.
8668         [POSIX] (ILL_*): Likewise.
8669         [POSIX] (POLL_*): Likewise.
8670         [POSIX] (SEGV_*): Likewise.
8671         [POSIX] (SI_*): Likewise.
8672         [POSIX] (TRAP_*): Likewise.
8673         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
8674         variable.
8676 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
8678         [BZ #12926]
8679         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
8680         infinite loop when __recvmsg returns 0.
8682 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
8684         * CANCEL-FCT-WAIVE: Remove file.
8685         * CANCEL-FILE-WAIVE: Likewise.
8687         [BZ #14132]
8688         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
8689         instead of INTVARDEF.
8690         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
8691         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
8692         rtld_hidden_data_def instead of INTVARDEF.
8693         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
8694         * elf/dl-deps.c (expand_dst): Likewise.
8695         * elf/dl-load.c (_dl_dst_count): Likewise.
8696         (_dl_dst_substitute): Likewise.
8697         (decompose_rpath): Likewise.
8698         (_dl_init_paths): Likewise.
8699         (open_path): Likewise.
8700         (_dl_map_object): Likewise.
8701         * elf/rtld.c (dl_main): Likewise.
8702         (process_dl_audit): Likewise.
8703         (process_envvars): Likewise.
8704         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
8705         Remove declaration.
8706         (__libc_enable_secure): Use rtld_hidden_proto.
8708 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8710         * elf/dl-load.c
8711         (add_path): New function broken out of _dl_rtld_di_serinfo.
8712         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
8714 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
8716         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
8717         parentheses around macro arguments.
8718         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
8719         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
8720         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
8721         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
8722         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
8723         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
8724         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
8725         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
8726         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
8727         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
8728         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
8729         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
8730         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
8731         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
8732         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
8733         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
8734         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
8735         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
8736         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
8737         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
8738         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
8739         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
8740         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
8741         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
8742         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
8743         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
8744         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
8745         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
8746         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
8747         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
8748         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
8749         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
8750         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
8751         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
8752         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
8753         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
8754         Likewise.
8755         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
8756         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
8757         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
8758         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
8759         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
8760         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
8761         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
8762         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
8763         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
8764         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
8765         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
8766         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
8767         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
8768         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
8769         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
8770         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
8771         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
8772         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
8773         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
8774         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
8775         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
8776         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
8777         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
8778         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
8779         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
8780         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
8781         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
8782         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
8783         (_FP_FRAC_SRS_1): Likewise.
8784         (_FP_FRAC_CLZ_1): Likewise.
8785         (_FP_MUL_MEAT_1_imm): Likewise.
8786         (_FP_MUL_MEAT_1_wide): Likewise.
8787         (_FP_MUL_MEAT_1_hard): Likewise.
8788         (_FP_SQRT_MEAT_1): Likewise.
8789         (_FP_FRAC_ASSEMBLE_1): Likewise.
8790         (_FP_FRAC_DISASSEMBLE_1): Likewise.
8791         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
8792         (__FP_CLZ_2): Likewise.
8793         (_FP_MUL_MEAT_2_wide): Likewise.
8794         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8795         (_FP_MUL_MEAT_2_gmp): Likewise.
8796         (_FP_MUL_MEAT_2_120_240_double): Likewise.
8797         (_FP_SQRT_MEAT_2): Likewise.
8798         (_FP_FRAC_ASSEMBLE_2): Likewise.
8799         (_FP_FRAC_DISASSEMBLE_2): Likewise.
8800         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
8801         (_FP_FRAC_CLZ_4): Likewise.
8802         (_FP_MUL_MEAT_4_wide): Likewise.
8803         (_FP_MUL_MEAT_4_gmp): Likewise.
8804         (_FP_SQRT_MEAT_4): Likewise.
8805         (_FP_FRAC_ASSEMBLE_4): Likewise.
8806         (_FP_FRAC_DISASSEMBLE_4): Likewise.
8807         * soft-fp/op-common.h (_FP_CMP): Likewise.
8808         (_FP_CMP_EQ): Likewise.
8809         (_FP_CMP_UNORD): Likewise.
8810         (_FP_TO_INT): Likewise.
8811         (_FP_FROM_INT): Likewise.
8812         [!__FP_CLZ] (__FP_CLZ): Likewise.
8813         (_FP_DIV_HELP_imm): Likewise.
8814         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
8815         Likewise.
8816         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
8817         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
8818         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
8819         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
8820         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
8821         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
8822         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
8823         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
8824         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
8825         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
8826         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
8827         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
8828         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
8829         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
8830         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
8831         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
8832         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
8833         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
8834         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
8835         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
8836         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
8837         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
8838         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
8839         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
8840         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
8841         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
8842         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
8843         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
8844         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
8845         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
8846         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
8847         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
8848         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
8849         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
8850         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
8851         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
8852         (FP_UNPACK_RAW_SP): Likewise.
8853         (FP_PACK_RAW_S): Likewise.
8854         (FP_PACK_RAW_SP): Likewise.
8855         (FP_UNPACK_S): Likewise.
8856         (FP_UNPACK_SP): Likewise.
8857         (FP_UNPACK_SEMIRAW_S): Likewise.
8858         (FP_UNPACK_SEMIRAW_SP): Likewise.
8859         (FP_PACK_S): Likewise.
8860         (FP_PACK_SP): Likewise.
8861         (FP_PACK_SEMIRAW_S): Likewise.
8862         (FP_PACK_SEMIRAW_SP): Likewise.
8863         (_FP_SQRT_MEAT_S): Likewise.
8864         (FP_CMP_S): Likewise.
8865         (FP_CMP_EQ_S): Likewise.
8866         (FP_CMP_UNORD_S): Likewise.
8867         (FP_TO_INT_S): Likewise.
8868         (FP_FROM_INT_S): Likewise.
8870         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
8872         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
8873         (FP_EX_INVALID_IMZ): Likewise.
8874         (FP_EX_INVALID_IMZ_FMA): Likewise.
8875         (FP_EX_INVALID_ISI): Likewise.
8876         (FP_EX_INVALID_ZDZ): Likewise.
8877         (FP_EX_INVALID_IDI): Likewise.
8878         (FP_EX_INVALID_SQRT): Likewise.
8879         (FP_EX_INVALID_CVI): Likewise.
8880         (FP_EX_INVALID_VC): Likewise.
8881         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
8882         "invalid" exceptions.
8883         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
8884         (_FP_ADD_INTERNAL): Likewise.
8885         (_FP_MUL): Likewise.
8886         (_FP_FMA): Likewise.
8887         (_FP_DIV): Likewise.
8888         (_FP_CMP_CHECK_NAN): Likewise.
8889         (_FP_SQRT): Likewise.
8890         (_FP_TO_INT): Likewise.
8891         (FP_EXTEND): Likewise.
8893 2014-10-09  Allan McRae  <allan@archlinux.org>
8895         * po/fr.po: Update French translation from translation project.
8897 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
8899         [BZ #14132]
8900         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
8901         of INTDEF.
8902         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
8903         (__cxa_atexit): Use libc_hidden_proto.
8904         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
8906         [BZ #14132]
8907         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
8908         declaration.
8909         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
8910         [!_ISOMAC] (__iswspace_l_internal): Likewise.
8911         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
8912         [!_ISOMAC] (__iswctype_internal): Likewise.
8913         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
8914         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
8915         alias.
8916         (fcntl): Remove __fcntl_internal alias.
8917         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
8918         __connect_internal alias.
8919         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
8920         Likewise.
8922         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
8923         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
8924         FP_DENORM_ZERO.
8925         (_FP_CHECK_FLUSH_ZERO): New macro.
8926         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
8927         (_FP_CMP): Likewise.
8928         (_FP_CMP_EQ): Likewise.
8929         (_FP_TO_INT): Do not set inexact for subnormal arguments if
8930         FP_DENORM_ZERO.
8931         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
8932         (FP_TRUNC): Likewise.
8934         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
8935         treated as invalid conversion, not as normal exponent.
8937         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
8938         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
8939         (_FP_CMP_EQ): Likewise.
8940         (_FP_CMP_UNORD): Likewise.
8941         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
8942         (FP_CMP_EQ_D): Likewise.
8943         (FP_CMP_UNORD_D): Likewise.
8944         * soft-fp/extended.h (FP_CMP_E): Likewise.
8945         (FP_CMP_EQ_E): Likewise.
8946         (FP_CMP_UNORD_E): Likewise.
8947         * soft-fp/quad.h (FP_CMP_Q): Likewise.
8948         (FP_CMP_EQ_Q): Likewise.
8949         (FP_CMP_UNORD_Q): Likewise.
8950         * soft-fp/single.h (FP_CMP_S): Likewise.
8951         (FP_CMP_EQ_S): Likewise.
8952         (FP_CMP_UNORD_S): Likewise.
8953         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
8954         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
8955         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
8956         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
8957         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
8958         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
8959         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
8960         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
8961         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
8962         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
8963         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
8964         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
8965         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
8966         to FP_CMP_Q.
8967         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
8968         FP_CMP_Q.
8969         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
8970         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
8971         FP_CMP_EQ_Q.
8972         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
8973         FP_CMP_Q.
8974         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
8975         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
8976         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
8977         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
8978         FP_CMP_EQ_Q.
8979         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
8980         FP_CMP_Q.
8981         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
8982         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
8983         FP_CMP_EQ_Q.
8984         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
8985         FP_CMP_Q.
8986         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
8987         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
8988         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
8989         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
8990         FP_CMP_EQ_Q.
8992         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
8993         a subnormal result, set the underflow exception if trapping on
8994         underflow is enabled.
8995         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
8996         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
8997         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
8998         redefine to 0.
8999         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
9000         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9001         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9002         * soft-fp/extendxftf2.c (__extendxftf2): Use
9003         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
9005         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
9006         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
9007         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9008         FP_HANDLE_EXCEPTIONS.
9009         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
9010         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9011         FP_HANDLE_EXCEPTIONS.
9012         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
9013         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9014         FP_HANDLE_EXCEPTIONS.
9015         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
9016         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9017         FP_HANDLE_EXCEPTIONS.
9019 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
9021         [BZ #14132]
9022         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
9023         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
9024         use INTUSE.
9025         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
9026         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
9027         Remove alias.
9028         (__adjtimex): Define using libc_hidden_ver.
9029         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
9030         Remove declaration.
9031         (ntp_gettime): Call __adjtimex directly.
9032         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
9033         Remove declaration.
9034         (ntp_gettimex): Call __adjtimex directly.
9035         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
9036         __adjtimex_internal alias.
9038 2014-10-08  Roland McGrath  <roland@hack.frob.com>
9040         [BZ #17460]
9041         * nscd/nscd.c (more_help): Rewrite list of tables collection
9042         using xstrdup and asprintf.
9044         * nscd/nscd_conf.c: Remove local xstrdup declaration.
9046 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9047             Roland McGrath  <roland@hack.frob.com>
9049         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
9050         (do_lookup_unique): ... local function 'enter' here; update callers.
9052 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
9054         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
9055         compat_symbol calls on [SHARED].
9056         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
9057         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
9058         Remove.
9059         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9060         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
9061         (oldsetrlimit): Remove.
9062         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9064         (lchown): New syscall entry.
9065         (oldsetrlimit): Remove.
9066         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9067         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
9068         (oldsetrlimit): Remove.
9069         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9071         [BZ #14138]
9072         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
9073         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
9074         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
9075         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
9076         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9077         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
9078         (fchown): Likewise.
9079         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
9080         (fchown): Likewise.
9081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
9082         Likewise.
9084 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9086         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
9087         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
9088         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
9089         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
9090         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
9091         Likewise.
9092         (__old_sem_post): Likewise.
9094 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
9096         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
9097         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
9098         HAVE_CLOCK_GETTIME_VSYSCALL macros.
9099         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
9100         Use INLINE_VSYSCALL macro.
9101         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
9102         __vdso_clock_gettime.
9103         * sysdeps/unix/sysv/linux/tile/init-first.c
9104         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
9105         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
9106         __vdso_clock_gettime.
9108         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
9109         to set up frame more cleanly.
9111         * sysdeps/tile/memcmp.c: New file.
9113         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
9115         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
9116         * sysdeps/tile/tilegx/strcasestr.c: New file.
9117         * sysdeps/tile/tilegx/strnlen.c: New file.
9118         * sysdeps/tile/tilegx/strstr.c: New file.
9120         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
9122 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
9124         * nptl/tst-setuid3.c: Write errors to stdout.
9126 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9128         * elf/dl-deps.c
9129         (preload): New functions broken out of _dl_map_object_deps.
9130         (_dl_map_object_deps):  Remove a nested function. Update call sites.
9132 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
9134         [BZ #14138]
9135         * sysdeps/unix/sysv/linux/execve.c: Remove file.
9136         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
9138 2014-10-01  Steve Ellcey  <sellcey@mips.com>
9140         * sysdeps/mips/strcmp.S: New.
9142 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
9144         [BZ #14138]
9145         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
9146         (linkat): Likewise.
9147         (mkdirat): Likewise.
9148         (readlinkat): Likewise.
9149         (renameat): Likewise.
9150         (symlinkat): Likewise.
9151         (unlinkat): Likewise.
9152         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
9153         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
9154         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
9155         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
9156         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9157         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
9158         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
9160 2014-09-30  Will Newton  <will.newton@linaro.org>
9162         * math/math.h: Define long double math functions if
9163         _LIBC_TEST is defined.
9164         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
9166         * localedata/Makefile: Move assignment to tests-special
9167         into an ifdef testing run-built-tests.
9168         * timezone/Makefile: Likewise.
9170 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
9172         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
9173         with $(BASH) not $(SHELL).
9175 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
9176             Matthew LeGendre  <legendre1@llnl.gov>
9178         [BZ #17411]
9179         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
9180         l_reloc_result.
9182 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9184         * stdio-common/printf_fp.c
9185         (hack_digit): New function, broken out of ...
9186         (__printf_fp): ... local function here.  Update call sites.
9187         hack_digit now takes an additional parameter that is a pointer
9188         to a struct of the referenced locals.  Those locals moved inside
9189         the struct and references updated.
9191 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
9193         * aclocal.m4: Require autoconf 2.69.
9194         * configure: Regenerated.
9195         * sysdeps/aarch64/configure: Likewise.
9196         * sysdeps/alpha/configure: Likewise.
9197         * sysdeps/arm/armv7/configure: Likewise.
9198         * sysdeps/arm/configure: Likewise.
9199         * sysdeps/ia64/configure: Likewise.
9200         * sysdeps/mach/configure: Likewise.
9201         * sysdeps/mips/configure: Likewise.
9202         * sysdeps/s390/configure: Likewise.
9203         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
9204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
9206         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
9207         file.
9208         * sysdeps/ia64/configure.ac: Likewise.
9210 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
9212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
9213         specify symbol version for ld.so.  Do not include entry for
9214         libpthread.
9215         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9216         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9217         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9219         [BZ #14171]
9220         * Makeconfig [$(build-shared) = yes]
9221         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
9222         makefiles.
9223         [$(build-shared) = yes && $(soversions.mk-done) = t]
9224         ($(common-objpfx)gnu/lib-names.h): Remove rule.
9225         [$(build-shared) = yes && $(soversions.mk-done) = t]
9226         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
9227         to Makerules.
9228         [$(build-shared) = yes && $(soversions.mk-done) = t]
9229         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
9230         here.
9231         [$(build-shared) = yes && $(soversions.mk-done) = t]
9232         (common-generated): Don't append gnu/lib-names.h and
9233         gnu/lib-names.stmp here.
9234         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
9235         (lib-names-h-abi): New variable.
9236         [$(build-shared) = yes && $(soversions.mk-done) = t]
9237         (lib-names-stmp-abi): Likewise.
9238         [$(build-shared) = yes && $(soversions.mk-done) = t &&
9239         abi-variants] (before-compile): Append
9240         $(common-objpfx)$(lib-names-h-abi).
9241         [$(build-shared) = yes && $(soversions.mk-done) = t &&
9242         abi-variants] (common-generated): Append gnu/lib-names.h.
9243         [$(build-shared) = yes && $(soversions.mk-done) = t &&
9244         abi-variants] (install-others-nosubdir): Depend on
9245         $(inst_includedir)/$(lib-names-h-abi).
9246         [$(build-shared) = yes && $(soversions.mk-done) = t &&
9247         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
9248         [$(build-shared) = yes && $(soversions.mk-done) = t]
9249         ($(common-objpfx)$(lib-names-h-abi)): New rule.
9250         [$(build-shared) = yes && $(soversions.mk-done) = t]
9251         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
9252         [$(build-shared) = yes && $(soversions.mk-done) = t]
9253         (common-generated): Append $(lib-names-h-abi) and
9254         $(lib-names-stmp-abi).
9255         * scripts/lib-names.awk: Do not handle multi being set.
9256         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
9257         Remove variable.
9258         (abi-lp64_be-ld-soname): Likewise.
9259         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
9260         Likewise.
9261         (abi-hard-ld-soname): Likewise.
9262         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
9263         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
9264         Remove variable.
9265         (abi-o32_hard-ld-soname): Likewise.
9266         (abi-o32_soft_2008-ld-soname): Likewise.
9267         (abi-o32_hard_2008-ld-soname): Likewise.
9268         (abi-n32_soft-ld-soname): Likewise.
9269         (abi-n32_hard-ld-soname): Likewise.
9270         (abi-n32_soft_2008-ld-soname): Likewise.
9271         (abi-n32_hard_2008-ld-soname): Likewise.
9272         (abi-n64_soft-ld-soname): Likewise.
9273         (abi-n64_hard-ld-soname): Likewise.
9274         (abi-n64_soft_2008-ld-soname): Likewise.
9275         (abi-n64_hard_2008-ld-soname): Likewise.
9276         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
9277         Likewise.
9278         (abi-64-v2-ld-soname): Likewise.
9279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
9280         ld.so entries.
9281         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
9282         variable.
9283         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
9284         entry.
9285         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
9286         variable.
9287         (abi-64-ld-soname): Likewise.
9288         (abi-x32-ld-soname): Likewise.
9289         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
9290         entry.
9291         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9293 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
9295         [BZ #14138]
9296         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
9297         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9298         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
9299         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
9300         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
9301         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
9302         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
9303         syscall entry for GLIBC_2.2 symbol version.
9304         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
9305         Likewise.
9306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9307         (setrlimit): Likewise.
9308         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
9309         Likewise.
9311 2014-09-23  Will Newton  <will.newton@linaro.org>
9313         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
9314         _LINUX_ARM_SYSDEP_H include guard too.
9315         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
9316         define.
9318 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
9320         * sysdeps/unix/sysv/linux/eventfd.c:
9321         Make first argument unsigned.
9322         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
9323         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
9325 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
9327         * socket/recvmmsg.c (recvmmsg): Drop const argument.
9328         * socket/sys/socket.h: Likewise
9329         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
9331 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9333         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
9335 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
9337         * time/tst-ftime.c: New test.
9338         * time/Makefile (tests): Add tst-ftime.
9340 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
9342         * soft-fp/extended.h: Fix comment formatting.
9343         * soft-fp/op-1.h: Likewise.
9344         * soft-fp/op-2.h: Likewise.
9345         * soft-fp/op-4.h: Likewise.
9346         * soft-fp/op-8.h: Likewise.
9347         * soft-fp/op-common.h: Likewise.
9348         * soft-fp/soft-fp.h: Likewise.
9350         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
9352 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
9354         [BZ #6652]
9355         * Makeconfig (soversions-default-setname): Remove variable.
9356         ($(common-objpfx)soversions.i): Don't pass default_setname to
9357         soversions.awk.
9358         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
9359         oldest_abi to abi-versions.awk.
9360         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
9361         * config.make.in (oldest-abi): Remove variable.
9362         * configure.ac (--enable-oldest-abi): Remove configure option.
9363         * configure: Regenerated.
9364         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
9365         text.
9366         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
9367         * scripts/soversions.awk: Do not handle default_setname variable.
9368         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
9369         variable.
9370         * sysdeps/mach/hurd/configure: Regenerated.
9371         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
9372         variable.
9373         * sysdeps/unix/sysv/linux/configure: Regenerated.
9375 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9377         * elf/Makefile (CFLAGS-interp.c): Remove.
9378         ($(elf-objpfx)runtime-linker.h): Generate header with linker
9379         path string.
9380         * elf/interp.c: Include generated runtime-linker.h
9382         * Makerules (lib%.so): Don't include $(+interp) in
9383         prerequisites.
9384         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
9385         * dlfcn/eval.c: Remove file.
9387         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
9388         macros.
9390         [BZ #17266]
9391         * misc/sys/cdefs.h: Define __extern_always_inline for clang
9392         4.2 and newer.
9394         [BZ #17370]
9395         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
9397 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9398             Jakub Jelinek  <jakub@redhat.com>
9400         [BZ #17266]
9401         * libio/stdio.h: Check definition of __fortify_function
9402         instead of __extern_always_inline to include bits/stdio2.h.
9403         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
9404         check if __extern_always_inline is defined.
9405         [__USE_MISC || __USE_XOPEN]: Likewise.
9406         [__USE_ISOC99] Likewise.
9407         * misc/sys/cdefs.h (__fortify_function): Define only if
9408         __extern_always_inline is defined.
9409         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
9410         __extern_always_inline and __extern_inline only for g++-4.3
9411         and newer or a compatible gcc.
9413 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
9415         [BZ #17371]
9416         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9417         last change to handle zero prefix length.
9419 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9421         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
9422         _SC_REGEX_VERSION.
9424         * posix/getconf.c (vars): Add _POSIX_IPV6 and
9425         _POSIX_RAW_SOCKETS.
9427 2014-09-13  Allan McRae  <allan@archlinux.org>
9429         * po/ru.po: Update Russian translation from translation project.
9431 2014-09-12  Roland McGrath  <roland@hack.frob.com>
9433         * locale/programs/locale.c (show_locale_vars): Inline local function
9434         into its sole call site.  Clean up some style nits.
9435         (print_item): New function, broken out of ...
9436         (show_info): ... local function here.  Clean up style nits.
9438         * locale/programs/ld-ctype.c (set_one_default): New function, broken
9439         out of ...
9440         (set_class_defaults): ... local function set_default here.
9441         Define set_default as a macro locally to pass constant parameters.
9442         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
9443         rather than a shared local.
9445         * stdlib/rpmatch.c (try): New function, broken out of ...
9446         (rpmatch): ... local function here.  Also, prototypify definition.
9448 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
9450         * scripts/soversions.awk: Do not handle configuration names.
9451         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
9452         vendor and os variables to soversions.awk.
9453         * configure.ac: Do not modify gnu-* host_os.
9454         * configure: Regenerated
9455         * shlib-versions: Remove first column with configuration names.
9456         * nptl/shlib-versions: Likewise.
9457         * nptl_db/shlib-versions: Likewise.
9458         * sysdeps/hppa/shlib-versions: Likewise.
9459         * sysdeps/m68k/shlib-versions: Likewise.
9460         * sysdeps/mach/hurd/shlib-versions: Likewise.
9461         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
9462         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
9463         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
9464         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
9465         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
9466         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
9467         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
9468         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
9469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
9470         Likewise.
9471         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9472         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
9473         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
9474         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
9475         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
9476         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
9477         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9478         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9481         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
9482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9483         Regenerated.
9484         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
9485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
9486         Condition symbol version definitions on [HAVE_ELFV2_ABI].
9488         * shlib-versions: Remove OS-specific entries.  Moved to files in
9489         sysdeps.
9490         * sysdeps/mach/hurd/shlib-versions: New file.
9491         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
9493         * nptl/shlib-versions: Remove architecture-specific entries.
9494         Moved to files in sysdeps.
9495         * shlib-versions: Likewise.
9496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
9497         file.
9498         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9499         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
9500         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
9501         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
9503         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
9504         (UDP_NO_CHECK6_RX): Likewise.
9506 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9508         * sysdeps/posix/sysconf.c (__sysconf): Spell
9509         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
9511 2014-08-12  Florian Weimer  <fweimer@redhat.com>
9513         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
9514         loading.
9515         * iconv/Versions (__gconv_transliterate): Export for use from
9516         gconv modules.
9517         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
9518         (struct __gconv_trans_data, __gconv_trans_fct,
9519         __gconv_trans_context_fct, __gconv_trans_query_fct,
9520         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
9521         definitions.
9522         (struct __gconv_step_data): Remove __trans member.
9523         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
9524         longer hidden.  Remove unused trans_data argument.
9525         * iconv/gconv_int.h (struct trans_struct): Remove definition.
9526         (__gconv_translit_find): Remove declaration.
9527         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
9528         prototype.
9529         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
9530         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
9531         trans_data argument.  Add hidden definition.
9532         (__gconv_translit_find): Remove.
9533         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
9534         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
9535         * iconv/skeleton.c: Remove transliteration initialization.
9536         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
9537         __gconv_step_data initialization.
9538         * libio/iofwide.c (__libio_translit_): Remove.
9539         (_IO_fwide): Adjust struct __gconv_step_data initialization.
9540         * wcsmbs/btowc.c (__btowc): Likewise.
9541         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9542         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9543         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9544         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9545         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
9546         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9547         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9548         * wcsmbs/wctob.c (wctob): Likewise.
9550 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9552         [BZ #16194]
9553         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
9554         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
9555         register usage.
9556         * sysdeps/x86/Makefile: Adjust.
9558 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9559             Roland McGrath  <roland@hack.frob.com>
9561         * locale/weight.h: Add include guard.
9562         (findidx): Make static rather than auto; take new parameters
9563         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
9564         * locale/weightwc.h: Likewise.
9565         * posix/fnmatch_loop.c
9566         (FCT): Change type of EXTRA from int32_t to wint_t.
9567         Don't include either header inside the function.
9568         Call FINDIDX rather than findidx, and pass new arguments.
9569         #undef FINDIDX at the end of the file.
9570         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
9571         FINDIDX before including fnmatch_loop.c for the non-wide version.
9572         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
9573         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
9574         for the wide version.
9575         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
9576         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
9577         Pass new arguments to findidx.
9578         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
9579         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
9580         Don't #include it inside the function.  Pass new arguments to findidx.
9581         * posix/regex_internal.h
9582         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
9583         (re_string_elem_size_at): Don't #include it inside the function.
9584         Pass new arguments to findidx.
9585         * string/strcoll_l.c: #include WEIGHT_H at top level.
9586         (get_next_seq): Don't #include it inside the function.
9587         Pass new arguments to findidx.
9588         (get_next_seq_nocache): Likewise.
9589         * string/strxfrm_l.c: #include WEIGHT_H at top level.
9590         (STRXFRM): Don't #include it inside the function.
9591         Pass new arguments to findidx.
9593 2014-09-11  Florian Weimer  <fweimer@redhat.com>
9595         [BZ #17344]
9596         * malloc/malloc.c (unlink): Turn asserts into a call to
9597         malloc_printerr.
9599 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
9601         [BZ #17370]
9602         * libio/wfileops (do_ftell_wide): Free OUT.
9604 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
9606         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
9608 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9610         [BZ #17363]
9611         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
9612         group if the current group is empty.
9614 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9616         * benchtests/bench-memset.c (test_main): Add more test from size
9617         from 32 to 512 bytes.
9618         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9619         Add POWER8 memset object.
9620         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9621         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
9622         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
9623         implementation.
9624         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
9625         Likewise.
9626         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
9627         multiarch POWER8 memset optimization.
9628         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
9629         POWER8 memset optimization.
9631         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9632         Remove bzero multiarch objects.
9633         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
9634         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
9635         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
9636         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
9637         Remove define.
9638         [__bzero]: Redefine to specific name.
9639         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
9640         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
9641         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
9642         define.
9643         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9644         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9646 2014-09-10  Florian Weimer  <fweimer@redhat.com>
9648         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
9649         warnings into errors.
9651         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
9652         __cxa_thread_atexit_impl prototype.
9654 2014-09-09  Steve Ellcey  <sellcey@mips.com>
9656         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
9657         Fix capitalization of error message.
9659 2014-09-09  Steve Ellcey  <sellcey@mips.com>
9661         * sysdeps/mips/preconfigure: Modify ABI tests.
9663 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
9665         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
9667 2014-09-07  Roland McGrath  <roland@hack.frob.com>
9668             Carlos O'Donell  <carlos@systemhalted.org>
9670         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
9671         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
9672         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
9673         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
9674         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
9675         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
9676         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
9677         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
9678         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
9679         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
9680         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
9681         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
9682         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
9683         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
9684         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
9685         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
9686         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
9687         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
9688         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
9689         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
9690         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
9691         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
9692         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
9693         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
9694         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
9695         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
9696         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
9697         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
9698         Deconditionalize the code that was previously under [RESET_PID].
9699         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
9700         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
9701         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
9702         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
9703         include sysdep.h.
9705 2014-09-08  Allan McRae  <allan@archlinux.org>
9707         * version.h (RELEASE): Set to "development".
9708         (VERSION): Set to "2.20.90"
9710 2014-09-07  Allan McRae  <allan@archlinux.org
9712         * version.h (RELEASE): Set to "stable".
9713         (VERSION): Set to "2.20"
9714         * include/features.h (__GLIBC_MINOR__): Set to 20.
9716         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
9717         Liebler.
9719         * po/ko.po: Update Korean translation from translation project.
9721 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
9723         [BZ #17354]
9724         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
9725         macro for handling signed relocations.
9727 2014-09-03  Florian Weimer  <fweimer@redhat.com>
9729         [BZ #17325]
9730         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
9731         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
9732         assert.
9733         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
9734         * iconvdata/ibm935.c (BODY): Likewise.
9735         * iconvdata/ibm937.c (BODY): Likewise.
9736         * iconvdata/ibm939.c (BODY): Likewise.
9737         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
9738         assert.
9739         * iconvdata/Makefile (iconv-test.out): Pass module list to test
9740         script.
9741         * iconvdata/run-iconv-test.sh: New test loop for checking for
9742         decoder crashers.
9744 2014-09-02  Khem Raj  <raj.khem@gmail.com>
9746         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
9747         libm_hidden_ver.
9749 2014-09-01  Allan McRae  <allan@archlinux.org>
9751         * po/eo.po: Update Esperanto translation from translation project.
9753         * po/ca.po: Update Catalan translation from translation project.
9755 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9757         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
9758         __proc_dostop call.
9760 2014-08-27  Mark Wielaard  <mjw@redhat.com>
9762         [BZ #17319]
9763         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
9764         to call set_thread_area instead of hand written asm.
9765         (__NR_set_thread_area): Removed define.
9766         (TLS_FLAG_WRITABLE): Likewise.
9767         (__ASSUME_SET_THREAD_AREA): Remove check.
9768         (TLS_EBX_ARG): Remove define.
9769         (TLS_LOAD_EBX): Likewise.
9771 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9773         Simplify atomicity of socket creation in bind.
9775         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
9776         looking up the name after linking the file.
9778 2014-08-27  Allan McRae  <allan@archlinux.org>
9780         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9782 2014-08-26  Florian Weimer  <fweimer@redhat.com>
9784         [BZ #17187]
9785         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
9786         trans_compare, open_translit, __gconv_translit_find):
9787         Remove module loading code.
9789 2014-08-26  Allan McRae  <allan@archlinux.org>
9791         * po/vi.po: Update Vietnamese translation from translation project.
9793         * po/uk.po: Update Ukrainian translation from translation project.
9795         * po/fr.po: Update French translation from translation project.
9797         * po/ru.po: Update Russian translation from translation project.
9799         * po/pl.po: Update Polish translation from translation project.
9801         * po/cs.po: Update Czech translation from translation project.
9803         * po/de.po: Update German translation from translation project.
9805         * po/bg.po: Update Bulgarian translation from translation project.
9807         * po/sv.po: Update Sweedish translation from translation project.
9809         * po/nl.po: Update Dutch translation from translation project.
9811         * po/es.po: Update Spanish translation from translation project.
9813 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9815         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
9817         * catgets/Makefile (CPPFLAGS-gencat): Remove.
9818         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
9819         (CPPFLAGS-iconvconfig): Likewise.
9820         * timezone/Makefile (CPPFLAGS-zic): Likewise.
9822         * include/libc-symbols.h: Remove unnecessary check for
9823         NOT_IN_libc.
9824         * nptl/pthreadP.h: Likewise.
9825         * sysdeps/aarch64/setjmp.S: Likewise.
9826         * sysdeps/alpha/setjmp.S: Likewise.
9827         * sysdeps/arm/sysdep.h: Likewise.
9828         * sysdeps/i386/setjmp.S: Likewise.
9829         * sysdeps/m68k/setjmp.c: Likewise.
9830         * sysdeps/posix/getcwd.c: Likewise.
9831         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9832         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9833         * sysdeps/s390/s390-32/setjmp.S: Likewise.
9834         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9835         * sysdeps/sh/sh3/setjmp.S: Likewise.
9836         * sysdeps/sh/sh4/setjmp.S: Likewise.
9837         * sysdeps/unix/alpha/sysdep.h: Likewise.
9838         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9839         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9840         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9841         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9844         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9845         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9846         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9847         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9848         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9849         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9850         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9851         * sysdeps/x86_64/setjmp.S: Likewise.
9853 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
9855         [BZ #17263]
9856         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
9857         <stdint.h>.
9858         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
9859         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
9861 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9863         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
9865         [BZ #17262]
9866         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
9867         and __x86_64__ when disabling x87 inline functions.
9869 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
9871         [BZ #17259]
9872         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
9873         asm statement with __cpuid_count.
9875 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
9877         * configure.ac: Change __ehdr_start code to dereference the struct.
9878         Run readelf on the output to look for relocations.
9879         * configure: Regenerated.
9881 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
9883         [BZ #17261]
9884         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
9885         value to 0.
9886         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
9888 2014-08-12  Roland McGrath  <roland@hack.frob.com>
9890         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
9892 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
9894         [BZ #16892]
9895         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
9896         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
9898 2014-08-12  Sean Anderson  <seanga2@gmail.com>
9900         * malloc/malloc.c: Fix typo in comment.
9902 2014-08-09  Allan McRae  <allan@archlinux.org>
9904         * Regenerate libc.po.
9906 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
9908         * intl/tst-gettext2.sh: Check every lang file for creation.
9910 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
9912         * sysdeps/aarch64/fpu/math_private.h
9913         (libc_feholdsetround_noex_aarch64_ctx): New function.
9915 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
9917         * sysdeps/arm/armv6/strcpy.S (strcpy):
9918         Fix performance issue in misaligned cases.
9920 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9922         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
9923         Move definition from termios.h.
9924         (struct termio): Likewise.
9925         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9926         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9927         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9928         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9929         Likewise.
9930         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
9931         Move definition to ioctl-types.h
9932         (struct termio): Likewise.
9933         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9934         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9935         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9936         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9937         Likewise.
9939 2014-08-05  Richard Henderson  <rth@redhat.com>
9941         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
9942         exceptions.
9943         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
9944         Add fraiseexcpt.
9945         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
9946         Use __feraiseexcept.
9947         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
9948         Protect libm symbols with IS_IN_libm.
9950         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
9952 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
9954         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
9956 2014-08-04  Will Newton  <will.newton@linaro.org>
9958         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
9959         file.
9961 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
9963         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
9964         variants for each function.
9966 2014-08-04  Roland McGrath  <roland@hack.frob.com>
9968         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
9969         appended ...
9970         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
9971         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
9972         appended ...
9973         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
9974         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
9975         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
9976         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
9977         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
9978         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
9979         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
9980         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
9981         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
9982         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
9983         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
9984         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
9985         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
9986         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
9987         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
9988         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
9989         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
9990         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
9991         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
9992         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
9993         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
9994         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
9995         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
9996         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
9997         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
9998         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
9999         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
10000         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
10001         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
10002         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
10003         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
10004         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
10005         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
10006         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
10007         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
10008         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
10009         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
10010         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
10011         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
10012         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
10013         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
10014         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
10015         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
10016         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
10017         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
10018         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
10019         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
10020         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
10021         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
10022         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
10023         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
10024         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
10025         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
10026         Update #include.
10027         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
10028         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
10030 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10032         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
10033         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
10034         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
10035         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
10036         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
10037         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
10039 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10041         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
10042         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
10043         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10044         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
10046 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10048         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
10049         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
10050         (__libc_vfork): Define function under this name.
10051         (__vfork): Define as an alias.
10052         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
10053         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
10055 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10057         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
10058         that was previously under [RESET_PID].
10059         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
10061 2014-08-04  Andreas Schwab  <schwab@suse.de>
10063         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
10065 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
10067         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
10068         (main): Likewise.
10070 2014-08-01  Roland McGrath  <roland@hack.frob.com>
10072         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
10074 2014-08-01  Richard Henderon  <rth@redhat.com>
10076         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
10077         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
10078         typo in exact zero test.
10079         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10080         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10081         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10083 2014-08-01  Roland McGrath  <roland@hack.frob.com>
10085         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
10086         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
10087         * sysdeps/arm/sysdep.h: ... here.
10088         [!__ASSEMBLER__]: Include <stdint.h>.
10090 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10092         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
10093         (HAVE_WCTYPE_H): Likewise.
10094         (HAVE_ISWCTYPE): Likewise.
10095         (ENABLE_NLS): Likewise.
10096         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
10097         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
10099         * posix/regex_internal.c: Check if DEBUG is defined and is
10100         set.
10102         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
10103         (HAVE_MBSRTOWCS): Likewise.
10104         * posix/fnmatch.c: Include string.h unconditionally.
10106 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
10108         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
10109         reversal.
10111 2014-07-31  Roland McGrath  <roland@hack.frob.com>
10113         * sysdeps/generic/safe-fatal.h: New file.
10114         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
10115         * nptl/forward.c: Include it.
10116         (__pthread_unwind): Use __safe_fatal as default action, rather
10117         than a bogus use of INTERNAL_SYSCALL that could never work.
10119         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
10120         * configure.ac (libc_cv_builtin_trap): New test.
10121         * configure: Regenerated.
10122         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
10123         (ABORT_INSTRUCTION): Define using __builtin_trap.
10125         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
10126         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
10127         * sysdeps/nptl/nptl-signals.h: New file.
10128         * nptl/pthreadP.h: Include <nptl-signals.h>.
10130 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10132         * sysdeps/s390/s390-64/utf16-utf32-z9.c
10133         (ONE_DIRECTION): Define.
10134         * sysdeps/s390/s390-64/utf8-utf16-z9.c
10135         (ONE_DIRECTION): Define.
10136         * sysdeps/s390/s390-64/utf8-utf32-z9.c
10137         (ONE_DIRECTION): Define.
10139 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10141         * sysdeps/s390/Makefile: Delete file.
10142         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
10143         * sysdeps/s390/__longjmp.c: Delete file.
10144         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
10145         Remove fields __flags and __reserved.
10146         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
10147         and add versioning.
10148         * sysdeps/s390/rtld-__longjmp.c: Delete file.
10149         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
10150         * sysdeps/s390/rtld-setjmp.S: Likewise.
10151         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
10152         * sysdeps/s390/s390-32/__longjmp.c: ... here.
10153         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
10154         * sysdeps/s390/s390-32/setjmp.S: ... here.
10155         Add versioning.
10156         (__sigsetjmp): Remove setting __flags field.
10157         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
10158         * sysdeps/s390/s390-64/__longjmp.c: ... here.
10159         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
10160         * sysdeps/s390/s390-64/setjmp.S: ... here.
10161         Add versioning.
10162         (__sigsetjmp): Remove setting __flags field.
10163         * sysdeps/s390/setjmp.S: Delete file.
10164         * sysdeps/s390/sigjmp.c: Likewise.
10165         * sysdeps/s390/v1-longjmp.c: Likewise.
10166         * sysdeps/s390/v1-setjmp.h: Likewise.
10167         * sysdeps/s390/v1-sigjmp.c: Likewise.
10168         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
10169         Remove v1-longjmp_chk.
10170         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
10171         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
10172         Include debug/longjmp_chk.c and add versioning.
10173         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
10174         Include nptl/pt-longjmp.c and add versioning.
10175         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
10176         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
10177         Include __longjmp.c.
10178         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10179         Move to ...
10180         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
10181         (__getcontext): Remove setting __flags field.
10182         Add versioning.
10183         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10184         Don't restore upper high grps.
10185         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
10186         Likewise.
10187         (__swapcontext): Remove setting uc_flags field.
10188         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
10189         Delete file.
10190         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10191         Include __longjmp.c.
10192         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10193         Move to ...
10194         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
10195         (__getcontext): Remove setting __flags field.
10196         Add versioning.
10197         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
10198         (__swapcontext): Remove setting uc_flags field.
10199         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
10200         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
10201         Remove fields uc_high_gprs and __reserved.
10202         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
10203         New file with reverted content.
10204         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
10205         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
10206         Regenerated.
10207         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
10208         Regenerated.
10210 2014-07-31  Andreas Schwab  <schwab@suse.de>
10212         * config.h.in (HAVE_IFUNC): Define to 0.
10213         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
10214         definedness.
10216 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
10218         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10219         memmove-avx-unaligned, memcpy-avx-unaligned and
10220         mempcpy-avx-unaligned.
10221         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10222         Add tests for AVX memcpy functions.
10223         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
10224         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
10225         memcpy_chk.
10226         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
10227         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
10228         memmove_chk.
10229         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
10230         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
10231         mempcpy_chk.
10232         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
10233         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
10234         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
10236 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10238         [BZ #17213]
10239         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
10240         powerpc64le.
10242 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
10244         [BZ #16839]
10245         * manual/llio.texi: Add section about open file description locks.
10246         * manual/examples/ofdlocks.c: Example of open file description
10247         lock usage.
10248         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
10249         F_OFD_SETLK, and F_OFD_SETLKW.
10251 2014-07-23  Allan McRae  <allan@archlinux.org>
10253         * po/es.po: Update Spanish translation from translation project.
10255 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
10257         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
10259 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
10261         [BZ #17078]
10262         * sysdeps/arm/dl-machine.h (elf_machine_rela)
10263         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
10264         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
10266 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
10268         [BZ #17088]
10269         * math/fesetenv.c (__fesetenv)
10270         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
10271         * math/feupdateenv.c (__feupdateenv)
10272         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
10274         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
10275         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10276         (__ASSUME_SOCKETCALL): Do not define.
10278         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
10279         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
10280         (__ASSUME_SOCKETCALL): Do not define.
10281         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
10282         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10283         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10284         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10285         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10286         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
10287         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10288         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10290         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
10291         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
10292         (__ASSUME_SOCKETCALL): Do not define.
10293         (__ASSUME_IPC64): Define unconditionally.
10294         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10295         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10296         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10297         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10298         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
10299         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10300         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
10301         Likewise.
10303         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
10304         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
10305         (__ASSUME_SOCKETCALL): Do not define.
10306         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
10307         (__ASSUME_FUTEX_LOCK_PI): Likewise.
10308         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10309         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10310         (__ASSUME_REQUEUE_PI): Define unconditionally.
10311         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
10312         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10313         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10314         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
10315         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10316         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10318         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
10319         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
10320         (__ASSUME_SOCKETCALL): Do not define.
10321         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
10322         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10323         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10324         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
10325         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10326         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10328         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
10329         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
10330         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10331         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
10332         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10333         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
10334         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10335         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
10336         (__ASSUME_GETCPU_SYSCALL): Likewise.
10338         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
10339         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
10340         cases for individual architectures.
10341         * sysdeps/gnu/configure: Regenerated.
10342         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
10343         LIBC_SLIBDIR_RTLDDIR.
10344         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
10345         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
10346         LIBC_SLIBDIR_RTLDDIR.
10347         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
10348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
10349         LIBC_SLIBDIR_RTLDDIR.
10350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10351         Regenerated.
10352         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
10353         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
10354         file.
10355         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
10356         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
10357         file.
10358         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
10359         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
10360         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
10361         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
10363         * sysdeps/aarch64/shlib-versions: Move to ...
10364         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
10365         * sysdeps/alpha/shlib-versions: Move to ...
10366         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
10367         * sysdeps/arm/shlib-versions: Move to ...
10368         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
10369         * sysdeps/hppa/shlib-versions: Move all contents except for
10370         libgcc_s entry to ...
10371         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
10372         entry from ...
10373         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
10374         * sysdeps/ia64/shlib-versions: Move to ...
10375         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
10376         entry from ...
10377         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
10378         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
10379         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
10380         * sysdeps/microblaze/shlib-versions: Move to ...
10381         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
10382         * sysdeps/mips/shlib-versions: Move to ...
10383         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
10384         entry from ...
10385         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
10386         * sysdeps/tile/shlib-versions: Move to ...
10387         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
10388         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
10389         from ...
10390         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
10391         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
10392         entry from ...
10393         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
10395 2014-07-17  Will Newton  <will.newton@linaro.org>
10397         * sysdeps/arm/bits/atomic.h
10398         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
10399         (__arch_compare_and_exchange_bool_16_int): Likewise.
10400         (__arch_compare_and_exchange_bool_64_int): Likewise.
10402         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
10403         into an #else block.
10405 2014-07-16  Roland McGrath  <roland@hack.frob.com>
10407         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
10408         just Linux configurations.  Test empirically that the compiler sets
10409         __ARM_EABI__, rather than using the tuple to decide.
10410         * sysdeps/arm/preconfigure: Regenerated.
10411         * sysdeps/unix/sysv/linux/arm/configure: File removed.
10412         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
10413         contents appended ...
10414         * sysdeps/arm/configure.ac: ... here.
10415         * sysdeps/arm/configure: Regenerated.
10417 2014-07-15  Roland McGrath  <roland@hack.frob.com>
10419         * nptl/pthread_kill.c: New file.
10420         * nptl/pthread_sigmask.c: New file.
10421         * nptl/pthread_sigqueue.c: New file.
10423         * sysdeps/nptl/lowlevellock.h: New file.
10424         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
10425         * sysdeps/nptl/lowlevellock-futex.h: New file.
10427         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
10428         Remove dead declarations.
10430 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
10432         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
10433         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
10434         config-cflags-avx2.
10435         * sysdeps/x86_64/configure.ac: Likewise.
10436         * sysdeps/i386/configure: Regenerated.
10437         * sysdeps/x86_64/configure: Likewise.
10438         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10439         memset-avx2 only if config-cflags-avx2 is yes.
10440         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10441         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
10442         defined.
10443         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
10444         only if HAVE_AVX2_SUPPORT is defined.
10445         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10447 2014-07-14  Alan Modra  <amodra@gmail.com>
10449         [BZ #17153]
10450         * elf/elf.h (DT_PPC64_NUM): Correct value.
10451         * NEWS: Add to fixed bug list.
10453 2014-07-13  Jim Meyering  <meyering@fb.com>
10455         [BZ 17150]
10456         regex: don't deref NULL upon heap allocation failure
10457         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
10458         failure in one more place.
10459         To trigger the segfault, configure grep -with-included-regex,
10460         build it, and run these commands:
10461         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
10463 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
10465         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10467 2014-07-11  Richard Henderson  <rth@redhat.com>
10469         * sysdeps/aarch64/libm-test-ulps: Update.
10471 2014-07-10  Florian Weimer  <fweimer@redhat.com>
10473         [BZ #17135]
10474         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
10475         * nptl/allocatestack.c (__nptl_setxid_error): New function.
10476         (__nptl_setxid): Initialize error member.  Call
10477         __nptl_setxid_error.
10478         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
10479         * nptl/descr.h (struct xid_command): Add error member.
10480         * nptl/tst-setuid3.c: New file.
10481         * nptl/Makefile (tests): Add it.
10483 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10485         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
10486         New define.
10487         (__lll_trylock): Use __lll_base_trylock.
10488         (__lll_cond_trylock): Likewise.
10490 2014-07-10  Roland McGrath  <roland@hack.frob.com>
10492         * nptl/pthread_create.c (start_thread): Use atomic_or and
10493         lll_futex_wake directly rather than lll_robust_dead.
10494         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10495         (lll_robust_dead): Macro removed.
10496         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
10497         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10498         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10499         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10500         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10501         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10502         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10503         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10504         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10505         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10506         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10507         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10508         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10509         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10510         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10512         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10513         Use atomic_compare_and_exchange_val_acq directly rather than
10514         lll_robust_trylock.
10515         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10516         (__lll_robust_trylock, lll_robust_trylock): Removed.
10517         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10518         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10519         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10520         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10521         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10522         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10523         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10524         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10525         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10526         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10527         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10528         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10529         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10530         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10532 2014-07-02  Florian Weimer  <fweimer@redhat.com>
10534         * manual/locale.texi (Locale Names): New section documenting
10535         locale name syntax.  Adjust menu and node chaining accordingly.
10536         (Choosing Locale): Reference Locale Names, Locale Categories.
10537         Mention setting LC_ALL=C.  Reflect that name syntax is now
10538         documented.
10539         (Locale Categories): New section title.  Reference Locale Names.
10540         LC_ALL is an environment variable, but not a category.
10541         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
10542         description, now in Locale Name.  Reference that section.  Locale
10543         name syntax is now documented.
10545 2014-07-02  Florian Weimer  <fweimer@redhat.com>
10547         [BZ #17137]
10548         * locale/findlocale.c (name_present, valid_locale_name): New
10549         functions.
10550         (_nl_find_locale): Use the loc_name variable to store name
10551         candidates.  Call name_present and valid_locale_name to check and
10552         validate locale names.  Return an error if the locale is invalid.
10554 2014-07-02  Florian Weimer  <fweimer@redhat.com>
10556         * locale/setlocale.c (setlocale): Use strdup for allocating
10557         composite name copy.
10559 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10561         Sync up with gnulib.
10562         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
10563         [!_LIBC && ENABLE_NLS]: Include gettext.h.
10564         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
10565         and _GL_ARG_NONNULL.
10566         [USE_UNLOCKED_IO]: Include unlocked-io.h.
10567         [!_LIBC]: Include code for Windows and Cygwin.
10568         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
10569         Include prototype for int strerror_r.
10570         [!_LIBC] (is_open): New function.
10571         (flush_stdout): New function.
10572         (print_errno_message): Use it.
10573         (error): Likewise.
10574         (error_at_line): Likewise.
10575         (error_tail) Add function attribute macros.  Use
10576         __builtin_expect.
10578         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
10580         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
10582         * io/ftw.c: Include sys/param.h unconditionally.
10584         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
10586         [BZ #17125]
10587         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
10588         libc_freeres_ptr.
10589         (freecache): New function to free CACHE on exit.
10591         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
10592         initialization.
10594 2014-07-09  David S. Miller  <davem@davemloft.net>
10596         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10598         * sysdeps/sparc/nptl/internaltypes.h: Delete.
10599         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
10600         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
10601         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
10602         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
10603         * sysdeps/sparc/nptl/sem_init.c: Likewise.
10604         * sysdeps/sparc/nptl/sem_post.c: Likewise.
10605         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
10606         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
10607         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
10608         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
10609         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
10610         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
10612 2014-07-09  Andreas Schwab  <schwab@suse.de>
10614         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
10615         output.
10616         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
10617         (do_test): Likewise.
10619         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10621 2014-07-09  Will Newton  <will.newton@linaro.org>
10623         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
10624         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
10625         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
10626         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
10627         * sysdeps/hppa/start.S (_start): Likewise.
10629 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
10631         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
10633         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
10634         defined.
10636 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10638         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
10639         after checking that it is non-NULL.
10641         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
10643 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10645         * sysdeps/powerpc/memmove.c: Remove file.
10646         * sysdeps/powerpc/powerpc32/power4/memcopy.h
10647         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
10648         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
10649         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
10650         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
10651         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
10652         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
10653         string memmove instead of removed powerpc one.
10655         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10656         [weak_alias]: Fix compiler warning due trailing data.
10657         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
10658         [weak_alias]: Likewise.
10659         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
10660         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
10662         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10663         (__libc_ifunc_impl_list): Add memmove functions.
10665 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10667         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
10668         Remove code.
10669         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
10670         Likewise
10671         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
10672         Likewise
10673         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
10674         Likewise
10675         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
10676         Likewise
10677         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
10678         Likewise
10679         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
10680         Likewise
10681         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
10682         Likewise
10683         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
10684         Likewise
10685         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
10686         Likewise
10687         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
10688         Likewise
10689         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
10690         Likewise
10691         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
10692         Likewise
10693         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
10694         Likewise
10695         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
10696         Likewise
10697         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
10698         Likewise
10699         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
10700         Likewise
10702 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10704         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
10705         to avoid alignment traps in non-cacheable memory.
10706         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10708         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
10709         multiarch objects.
10710         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
10711         file: multiarch power7 memmove.
10712         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
10713         multiarch default memmove.
10714         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
10715         multiarch memove for powerpc32/power4.
10717         * string/bcopy.c: Use full path to include memmove.c.
10718         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
10719         multiarch objects.
10720         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
10721         bcopy for powerpc64.
10722         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
10723         bcopy for powerpc64.
10724         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
10725         and memmove implementations.
10726         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
10727         optimized multiarch memmove for POWER7/powerpc64.
10728         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
10729         default multiarch memmove for powerpc64.
10730         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
10731         multiarch for powerpc64.
10732         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
10733         for POWER7/powerpc64.
10734         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
10735         memmove for POWER7/powerpc64.
10737         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
10738         glibc default one.
10740         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
10741         __ELF_NATIVE_CLASS equal to 64.
10743 2014-07-07  Roland McGrath  <roland@hack.frob.com>
10745         * sysdeps/nptl/lowlevellock.h: File removed.
10747         * NEWS: NPTL is no longer an add-on!
10748         * nptl/internaltypes.h: Moved ...
10749         * sysdeps/nptl/internaltypes.h: ... here.
10750         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
10751         * sysdeps/nptl/fork.c: Likewise.
10752         * sysdeps/nptl/gai_misc.h: Likewise.
10753         * sysdeps/nptl/librt-cancellation.c: Likewise.
10754         * sysdeps/nptl/jmp-unwind.c: Likewise.
10755         * sysdeps/nptl/setxid.h: Likewise.
10756         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
10757         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
10758         * sysdeps/unix/sysv/linux/arm/Implies: New file.
10759         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
10760         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
10761         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
10762         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
10763         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
10764         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
10765         * sysdeps/unix/sysv/linux/mips/Implies: New file.
10766         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
10767         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
10768         * sysdeps/unix/sysv/linux/sh/Implies: New file.
10769         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
10770         * sysdeps/unix/sysv/linux/tile/Implies: New file.
10771         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
10772         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
10773         * nptl/Makeconfig: Moved ...
10774         * sysdeps/nptl/Makeconfig: ... here.
10775         * nptl/configure: File removed.
10776         * nptl/ANNOUNCE: File removed.
10777         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
10778         * sysdeps/unix/sysv/linux/configure: Regenerated.
10780         * nptl/Makefile (routines): Add libc_pthread_init,
10781         libc_multiple_threads, register-atfork and unregister-atfork.
10782         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
10783         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
10784         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
10785         pthread-pi-defines.sym, structsem.sym.
10786         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
10787         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
10788         [$(subdir) = nptl] (tests): Add tst-setgetname.
10789         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
10790         * sysdeps/unix/sysv/linux/sigaction.c: Just include
10791         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
10792         [!LIBC_SIGACTION]: Remove aliases.
10793         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10794         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10795         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10796         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
10797         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10798         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
10799         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10800         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10801         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10802         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
10803         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
10804         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
10805         __libc_allocate_rtsig_private.
10806         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
10807         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
10808         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
10809         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
10810         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
10811         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
10812         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
10813         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
10814         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
10815         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
10816         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
10817         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
10818         * nptl/internaltypes.h: ... here.
10819         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
10820         * sysdeps/nptl/jmp-unwind.c: ... here.
10821         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
10822         * nptl/libc-lowlevellock.c: ... here.
10823         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
10824         * nptl/libc_multiple_threads.c: ... here.
10825         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
10826         * nptl/libc_pthread_init.c: ... here.
10827         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
10828         * nptl/lowlevelbarrier.sym: ... here.
10829         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
10830         * nptl/lowlevelcond.sym: ... here.
10831         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
10832         * nptl/lowlevellock.c: ... here.
10833         * nptl/lowlevellock.h: Moved ...
10834         * sysdeps/nptl/lowlevellock.h: ... here.
10835         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
10836         * nptl/lowlevelrobustlock.c: ... here.
10837         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
10838         * nptl/lowlevelrobustlock.sym: ... here.
10839         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
10840         * nptl/lowlevelrwlock.sym: ... here.
10841         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
10842         * nptl/pt-fork.c: ... here.
10843         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
10844         * nptl/pthread-pi-defines.sym: ... here.
10845         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
10846         * nptl/pthread_attr_getaffinity.c: ... here.
10847         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
10848         * nptl/pthread_attr_setaffinity.c: ... here.
10849         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
10850         * nptl/pthread_mutex_cond_lock.c: ... here.
10851         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10852         Update #include.
10853         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
10854         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
10855         * nptl/pthread_once.c: ... here, replacing old file.
10856         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
10857         * nptl/pthread_yield.c: ... here.
10858         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
10859         * nptl/register-atfork.c: ... here.
10860         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
10861         * nptl/sem_post.c: ... here.
10862         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
10863         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
10864         * nptl/sem_timedwait.c: ... here.
10865         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
10866         * nptl/sem_trywait.c: ... here.
10867         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
10868         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
10869         * nptl/sem_wait.c: ... here.
10870         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
10871         * nptl/structsem.sym: ... here.
10872         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
10873         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
10874         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
10875         * nptl/unregister-atfork.c: ... here.
10876         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
10877         * nptl/unwindbuf.sym: ... here.
10878         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
10879         * sysdeps/nptl/fork.c: ... here.
10880         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
10881         * sysdeps/nptl/fork.h: ... here.
10882         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
10883         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
10884         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
10885         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
10886         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
10887         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
10888         * sysdeps/unix/sysv/linux/getpid.c: ... here.
10889         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
10890         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
10891         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
10892         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
10893         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
10894         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
10895         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
10896         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
10897         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
10898         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
10899         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
10900         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
10901         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
10902         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
10903         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
10904         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
10905         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
10906         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
10907         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
10908         * sysdeps/unix/sysv/linux/raise.c: ... here.
10909         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
10910         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
10911         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
10912         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
10913         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
10914         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
10915         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
10916         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
10917         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
10918         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
10919         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
10920         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
10921         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
10922         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
10923         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
10925 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10927         * sysdeps/generic/memcopy.h: Add comment for
10928         MEMCPY_OK_FOR_FWD_MEMMOVE.
10930 2014-07-04  Will Newton  <will.newton@linaro.org>
10932         * string/memchr.c: Merge from gnulib.
10933         [_LIBC]: Remove conditionals.
10934         (__ptr_t): Remove define.
10935         (LONG_MAX_32_BITS): Likewise.
10936         (LONG_MAX): Likewise.
10937         (MEMCHR): Use ANSI prototype and optimize algorithm.
10939         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
10941 2014-07-03  Roland McGrath  <roland@hack.frob.com>
10943         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
10944         (lll_futex_timed_wait_bitset): Fix syscall argument count.
10946         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
10947         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
10948         in a bare environment with no <stdlib.h> installed.
10949         * sysdeps/nptl/configure: Regenerated.
10951         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
10953         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
10954         AC_EGREP_CPP for kernel header checks, so they only succeed if
10955         including <linux/version.h> actually works right.
10956         * sysdeps/unix/sysv/linux/configure: Regenerated.
10958         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
10959         value so it's not diagnosed as unused.
10961         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
10962         thing) with "ifeq ($(subdir),rt)".
10964 2014-07-03  Richard Henderson  <rth@redhat.com>
10966         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
10967         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
10968         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
10970         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
10971         (math_force_eval): New.
10973         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
10974         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
10976         * sysdeps/alpha/fpu/s_round.c: Remove file.
10977         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
10979         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
10980         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
10981         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
10982         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
10983         (_dl_start, print_statistics): Likewise.
10984         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
10985         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
10987         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10988         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10989         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10990         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10991         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10992         (HP_SMALL_TIMING_AVAIL): Define.
10993         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10994         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
10995         (HP_SMALL_TIMING_AVAIL): Define.
10996         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10997         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10999         * sysdeps/aarch64/hp-timing.h: New file.
11001         * sysdeps/generic/hp-timing.h: Remove dead comment.
11002         * sysdeps/generic/hp-timing-common.h: New file.
11003         * sysdeps/alpha/hp-timing.h: Include it.
11004         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
11005         * sysdeps/i386/i686/hp-timing.h: Likewise.
11006         * sysdeps/ia64/hp-timing.h: Likewise.
11007         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11008         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11009         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11010         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11011         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
11012         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
11013         (hp_timing_t): New.
11015         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
11016         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
11017         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
11018         * elf/rtld.c (_dl_start_final): Likewise.
11019         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
11020         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11021         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11022         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11023         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11024         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11025         (HP_TIMING_DIFF_INIT): Remove.
11026         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11027         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11028         (HP_TIMING_DIFF_INIT): Remove.
11029         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11030         * sysdeps/i386/i686/hp-timing.c: Remove file.
11031         * sysdeps/x86_64/hp-timing.c: Remove file.
11032         * sysdeps/ia64/hp-timing.c: Remove file.
11033         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
11034         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
11035         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
11036         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
11038         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
11039         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
11040         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
11041         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11042         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11043         (HP_TIMING_ACCUM): Remove.
11044         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11045         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
11046         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11048         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
11049         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
11050         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
11051         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
11052         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
11053         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11054         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
11055         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11057         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
11059 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
11061         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
11063 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11065         Sync up with gettext.
11066         * intl/loadmsgcat.c: Define O_BINARY if not defined.
11067         [_MSC_VER]: Include malloc.h
11068         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
11069         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
11070         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
11071         TEMP_FAILURE_RETRY.  Cast return of alloca.
11072         [!_LIBC] Call gl_rwlock_init.
11073         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
11075 2014-07-02  Roland McGrath  <roland@hack.frob.com>
11077         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
11078         before checking its value.
11080 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11082         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
11084         * debug/memcpy_chk.c: Don't include pagecopy.h.
11085         * debug/mempcpy_chk.c: Likewise.
11086         * string/memcpy.c: Likewise.
11087         * string/memmove.c: Likewise.
11088         * sysdeps/powerpc/memmove.c: Likewise.
11089         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
11090         definition of PAGE_COPY_FWD_MAYBE here...
11091         * sysdeps/generic/pagecopy.h: ... from here.
11092         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
11094 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11095             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11097         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
11098         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
11099         optimizations.
11100         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11101         (__libc_ifunc_impl_list): Likewise.
11102         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
11103         multiarch strcat for PPC64.
11104         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
11105         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
11107 2014-07-02  Roland McGrath  <roland@hack.frob.com>
11109         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
11111 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11113         * intl/loadmsgcat.c: Remove declaration of
11114         get_sysdep_segment_value.
11115         (get_sysdep_segment_value): Use ISO C style.
11116         (_nl_load_domain): Use ISO C style.  Get rid of redundant
11117         semicolon.  Fix typo and formatting in comment.
11118         (_nl_unload_domain): Use ISO C style.
11120         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
11122 2014-07-02  Will Newton  <will.newton@linaro.org>
11124         * malloc/obstack.c: Merge from gnulib master.
11125         [HAVE_CONFIG_H]: Remove conditional code.
11126         [!_LIBC]: Include config.h.
11127         [!ELIDE_CODE]: Don't include inttypes.h, include
11128         stdint.h unconditionally.
11129         (print_and_abort): Mark as _Noreturn.
11130         (_obstack_allocated_p): Mark as __attribute_pure__.
11131         (obstack_free): Rename to __obstack_free.
11132         [!__attribute__]: Remove conditional code.
11133         * malloc/obstack.h: Merge from gnulib master.
11134         [__cplusplus]: Move conditional down.
11135         [!__attribute_pure__]: Define __attribute_pure__ here
11136         if it is not already defined.
11137         (_obstack_memory_used): Mark as __attribute_pure__.
11138         [!__obstack_free]: Define as obstack_free.
11139         [__GNUC__]: Remove check for ancient NeXT gcc.
11141 2014-07-02  Will Newton  <will.newton@linaro.org>
11142             Paul Eggert  <eggert@cs.ucla.edu>
11144         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
11146 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11148         * resolv/gethnamaddr.c: Add comment warning that the file is
11149         not maintained.
11151 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
11153         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
11154         entries.
11156         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
11157         entry for aio_cancel and aio_cancel64.
11158         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
11159         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
11160         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
11161         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
11162         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
11163         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
11164         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
11165         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
11166         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
11167         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
11168         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
11169         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
11170         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
11172 2014-07-01  Roland McGrath  <roland@hack.frob.com>
11174         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
11175         * nptl/pthread_mutex_lock.c: Likewise.
11176         * nptl/pthread_mutex_timedlock.c: Likewise.
11177         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
11179 2014-07-01  Richard henderson  <rth@redhat.com>
11181         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
11182         (__isnan, __isnanl): Remove.
11183         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
11185         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11187 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
11189         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11191 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11193         * resolv/nss_dns/dns-host.c (getanswer_r)
11194         [MULTI_PTRS_ARE_ALIASES]: Remove code.
11196 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
11198         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11199         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
11200         undefine.
11201         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
11202         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
11204 2014-07-01  Roland McGrath <roland@hack.frob.com>
11206         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
11207         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
11209         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
11210         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
11212         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
11213         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
11214         ... here.
11215         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
11216         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
11218         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
11219         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
11220         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
11221         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
11223         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
11224         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
11225         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
11226         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
11227         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
11228         Moved ...
11229         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
11230         ... here.
11231         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
11232         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
11233         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
11234         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
11235         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
11236         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
11237         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
11238         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
11239         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
11240         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
11241         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
11242         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
11243         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
11244         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
11245         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
11246         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
11247         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
11248         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
11249         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
11250         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
11251         ... here.
11252         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
11253         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
11254         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
11255         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
11256         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
11257         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
11258         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
11259         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
11261 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
11263         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
11264         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
11265         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
11266         Add sysdep.
11268 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11270         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11272 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
11274         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11275         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11277         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11279         * sysdeps/arm/libm-test-ulps: Regenerated.
11281 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
11282             Roland McGrath <roland@hack.frob.com>
11284         * test-skeleton.c (signal_handler): Kill the whole process group
11285         before killing the child individually.
11286         (main): Report any failure on `setpgid'.
11288 2014-06-30  Roland McGrath  <roland@hack.frob.com>
11290         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
11291         from _TLS_H to _ARM_NPTL_TLS_H.
11292         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
11293         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
11295 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
11297         [BZ #16539]
11298         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
11299         (__expm1l): Return argument unchanged when small but not
11300         subnormal.
11302         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
11303         include macro name.
11304         (_FP_UNPACK_RAW_1_P): Likewise.
11305         (_FP_PACK_RAW_1): Likewise.
11306         (_FP_PACK_RAW_1_P): Likewise.
11307         (_FP_MUL_MEAT_1_wide): Likewise.
11308         (_FP_MUL_MEAT_DW_1_hard): Likewise.
11309         (_FP_MUL_MEAT_1_hard): Likewise.
11310         (_FP_DIV_MEAT_1_imm): Likewise.
11311         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
11312         (_FP_DIV_MEAT_1_udiv): Likewise.
11313         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
11314         (_FP_UNPACK_RAW_2): Likewise.
11315         (_FP_UNPACK_RAW_2_P): Likewise.
11316         (_FP_PACK_RAW_2): Likewise.
11317         (_FP_PACK_RAW_2_P): Likewise.
11318         (_FP_MUL_MEAT_DW_2_wide): Likewise.
11319         (_FP_MUL_MEAT_2_wide): Likewise.
11320         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
11321         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11322         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
11323         (_FP_MUL_MEAT_2_gmp): Likewise.
11324         (_FP_DIV_MEAT_2_udiv): Likewise.
11325         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
11326         (_FP_FRAC_SRL_4): Likewise.
11327         (_FP_FRAC_SRST_4): Likewise.
11328         (_FP_FRAC_SRS_4): Likewise.
11329         (_FP_UNPACK_RAW_4): Likewise.
11330         (_FP_UNPACK_RAW_4_P): Likewise.
11331         (_FP_PACK_RAW_4): Likewise.
11332         (_FP_PACK_RAW_4_P): Likewise.
11333         (_FP_MUL_MEAT_DW_4_wide): Likewise.
11334         (_FP_MUL_MEAT_4_wide): Likewise.
11335         (_FP_MUL_MEAT_4_gmp): Likewise.
11336         (umul_ppppmnnn): Likewise.
11337         (_FP_DIV_MEAT_4_udiv): Likewise.
11338         (__FP_FRAC_ADD_4): Likewise.
11339         (__FP_FRAC_SUB_3): Likewise.
11340         (__FP_FRAC_SUB_4): Likewise.
11341         (__FP_FRAC_DEC_3): Likewise.
11342         (__FP_FRAC_DEC_4): Likewise.
11343         (__FP_FRAC_ADDI_4): Likewise.
11344         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
11345         (_FP_FRAC_SRL_8): Likewise.
11346         (_FP_FRAC_SRS_8): Likewise.
11348         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
11349         include macro name.
11350         (FP_UNPACK_RAW_EP): Likewise.
11351         (FP_PACK_RAW_E): Likewise.
11352         (FP_PACK_RAW_EP): Likewise.
11353         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
11354         (_FP_ISSIGNAN): Likewise.
11355         (_FP_ADD_INTERNAL): Likewise.
11356         (_FP_FMA): Likewise.
11357         (_FP_CMP): Likewise.
11358         (_FP_SQRT): Likewise.
11359         (_FP_TO_INT): Likewise.
11360         (_FP_FROM_INT): Likewise.
11361         (FP_EXTEND): Likewise.
11362         (_FP_DIV_MEAT_N_loop): Likewise.
11364 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
11366         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
11367         throughout.
11369 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
11371         [BZ #17097]
11372         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
11373         result with correct sign in case of exponents that produce
11374         overflow except for X very close to 1.
11376 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
11378         mktime: merge #if/#ifdef usage from glibc
11379         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
11380         as that works with both Glibc's and Gnulib's style.
11381         See thread starting at Siddhesh Poyarekar's bug report at:
11382         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
11384 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11386         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
11387         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
11388         * sysdeps/tile/tilegx/memmove.c: Remove file.
11390 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
11392         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
11393         abi-name definition.
11394         * scripts/soversions.awk: Do not handle or generate ABI lines.
11395         * shlib-versions: Remove ABI entries.
11396         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
11397         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
11399 2014-06-27  Roland McGrath  <roland@hack.frob.com>
11401         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
11402         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
11403         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
11404         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
11405         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
11406         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
11407         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
11408         Moved ...
11409         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11410         ... here.
11411         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
11412         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
11413         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
11414         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
11415         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
11416         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
11417         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
11418         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
11419         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
11420         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
11421         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
11422         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
11423         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
11424         Moved ...
11425         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
11426         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
11427         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
11428         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
11429         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
11430         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
11431         Moved ...
11432         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
11433         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
11434         Moved ...
11435         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
11436         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
11437         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
11438         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
11439         Moved ...
11440         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
11441         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
11442         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
11443         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
11444         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
11445         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
11446         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
11447         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
11448         Moved ...
11449         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
11450         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
11451         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
11452         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
11453         Moved ...
11454         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
11455         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
11456         Moved ...
11457         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
11458         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
11459         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
11460         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
11461         Moved ...
11462         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11463         ... here.
11464         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
11465         Identical file removed.
11466         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
11467         Moved ...
11468         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
11469         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
11470         Identical file removed.
11471         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
11472         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
11473         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
11474         Moved ...
11475         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
11476         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
11477         Identical file removed.
11478         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
11479         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
11480         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
11481         Identical file removed.
11482         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
11483         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
11484         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
11485         Identical file removed.
11486         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
11487         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
11488         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
11489         Identical file removed.
11490         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
11491         Moved ...
11492         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
11493         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
11494         Identical file removed.
11495         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
11496         Moved ...
11497         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
11498         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
11499         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
11500         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
11501         Identical file removed.
11502         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
11503         Moved ...
11504         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
11505         ... here.
11506         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
11507         Identical file removed.
11508         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
11509         Moved ...
11510         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
11511         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
11512         Identical file removed.
11513         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
11514         Moved ...
11515         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
11516         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
11517         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
11518         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
11519         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
11520         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
11521         Moved ...
11522         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
11523         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
11524         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
11526         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
11527         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
11528         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
11529         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
11530         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
11532 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
11534         [BZ #17092]
11535         * nscd/nscd.c (monitor_child): Return exit status of child
11536         instead of return value from wait syscall.
11538 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
11540         * configure.ac (libc_commonpagesize): Remove variable.
11541         (libc_relro_required): Likewise.
11542         (libc_cv_z_relro): Remove configure test.
11543         * configure: Regenerated.
11544         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
11545         variable.
11546         (libc_relro_required): Likewise.
11547         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
11548         (libc_relro_required): Likewise.
11549         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
11550         (libc_relro_required): Likewise.
11551         * sysdeps/arm/preconfigure: Regenerated.
11552         * sysdeps/ia64/preconfigure: Remove file.
11553         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
11554         variable.
11555         (libc_relro_required): Likewise.
11557         [BZ #16561]
11558         [BZ #16562]
11559         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
11560         (__ieee754_yn): Set FE_TONEAREST mode internally and then
11561         recompute overflowing results in original rounding mode.
11562         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
11563         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
11564         recompute overflowing results in original rounding mode.
11565         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
11566         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11567         recompute overflowing results in original rounding mode.
11568         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
11569         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11570         recompute overflowing results in original rounding mode.
11571         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
11572         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11573         recompute overflowing results in original rounding mode.
11574         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
11575         (libc_feholdsetround_ctx): New macro.
11576         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
11577         * sysdeps/i386/fpu/libm-test-ulps: Update.
11578         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
11580 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
11582         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
11583         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
11584         corresponding .cpsetup call.
11586 2014-06-26  Roland McGrath  <roland@hack.frob.com>
11588         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
11589         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
11590         * sysdeps/arm/Makefile [$(subdir) = csu]
11591         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
11592         (static-only-routines): Add aeabi_read_tp here.
11593         (shared-only-routines): Add libc-aeabi_read_tp here.
11594         (CFLAGS-libc-start.c): Add -fexceptions here.
11595         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
11596         (sysdep_routines, static-only-routines, shared-only-routines):
11597         Don't add to these here.
11598         (CFLAGS-libc-start.c): Likewise.
11600         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
11601         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11602         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
11603         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11604         * sysdeps/arm/Makefile [$(subdir) = rt]
11605         (librt-sysdep_routines, librt-shared-only-routines):
11606         Append rt-aeabi_unwind_cpp_pr1 here.
11607         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
11608         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
11609         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
11610         (libpthread-sysdep_routines, libpthread-shared-only-routines):
11611         Append nptl-aeabi_unwind_cpp_pr1 here.
11612         (tests): Filter out tst-cleanupx4 here.
11613         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
11614         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
11615         Don't do those here.
11617 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
11619         * scripts/list-sources.sh: Do not handle ports specially.
11621 2014-06-26  Roland McGrath  <roland@hack.frob.com>
11623         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
11624         * sysdeps/arm/feupdateenv.c: Likewise.
11626         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
11628 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
11630         * manual/texinfo.tex: Update to version 2014-05-05.10 with
11631         trailing whitespace removed.
11632         * scripts/config.guess: Update to version 2014-03-23.
11633         * scripts/config.sub: Update to version 2014-05-01
11634         * scripts/install-sh: Update to version 2013-12-25.23.
11635         * scripts/move-if-change: Update from gnulib.
11637 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11639         * debug/memmove_chk.c: Remove pagecopy.h include.
11641 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
11643         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
11644         identical to gnulib mktime.
11646 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
11648         * configure.ac: Do not test for machine being rs6000.  Do not test
11649         for powerpc*-*soft.
11650         * configure: Regenerated.
11652         [BZ #11505]
11653         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
11654         test.
11655         * configure: Regenerated.
11656         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
11657         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
11658         Remove configure test.
11659         * sysdeps/arm/configure: Regenerated.
11660         * sysdeps/nptl/configure.ac: Do not check
11661         libc_cv_asm_cfi_directives.
11662         * sysdeps/nptl/configure: Regenerated.
11663         * sysdeps/x86_64/nptl/configure.ac: Remove file.
11664         * sysdeps/x86_64/nptl/configure: Remove generated file.
11665         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
11666         unconditional.
11667         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
11669 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11671         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
11672         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
11673         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
11674         it is defined.
11676         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
11677         instead of whether it is defined.
11678         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
11679         * sysdeps/hppa/dl-machine.h: Likewise.
11680         * sysdeps/ia64/dl-machine.h: Likewise.
11681         * sysdeps/m68k/dl-machine.h: Likewise.
11682         * sysdeps/microblaze/dl-machine.h: Likewise.
11683         * sysdeps/mips/dl-machine.: Likewise.
11684         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11685         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11686         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11687         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11688         * sysdeps/sh/dl-machine.h: Likewise.
11689         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11690         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11691         * sysdeps/tile/dl-machine.h: Likewise.
11692         * sysdeps/x86_64/dl-machine.h: Likewise.
11694         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
11695         code.
11696         (verify_persistent_db): Likewise.
11698 2014-06-26  Roland McGrath  <roland@hack.frob.com>
11700         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
11701         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
11702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
11703         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
11704         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11705         Moved ...
11706         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11707         ... here.
11708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
11709         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
11710         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
11711         Identical file removed.
11712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
11713         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
11714         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
11715         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
11716         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
11717         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
11718         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
11719         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
11720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
11721         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
11722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11723         Moved ...
11724         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
11725         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
11726         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
11727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
11728         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
11729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11730         Moved ...
11731         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
11732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
11733         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
11734         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
11735         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
11736         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11737         Identical file removed.
11738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
11739         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
11740         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
11741         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
11742         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11743         Moved ...
11744         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11745         ... here.
11746         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
11747         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
11748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
11749         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
11750         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
11751         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
11752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
11753         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
11754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
11755         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
11756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11757         Moved ...
11758         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
11759         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
11760         Moved ...
11761         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
11762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
11763         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
11764         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11765         Moved ...
11766         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
11767         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
11768         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
11770         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
11771         folded into ...
11772         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
11773         * sysdeps/unix/sysv/linux/s390/Versions
11774         (libpthread: GLIBC_2.19): New version set.
11775         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
11776         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
11777         (librt: GLIBC_2.3.3): New version set.
11778         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
11779         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
11780         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
11781         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
11782         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
11783         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
11784         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
11785         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
11786         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
11787         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
11788         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
11789         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
11790         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
11791         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
11792         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
11793         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
11794         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
11795         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
11796         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
11797         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
11798         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
11799         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
11800         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
11801         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
11802         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
11803         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
11804         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
11805         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
11806         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
11807         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
11808         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
11809         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
11810         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
11811         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
11812         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
11813         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
11814         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
11815         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
11816         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
11817         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
11818         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
11819         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
11820         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
11821         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
11822         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
11824         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
11825         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
11826         (__libc_vfork): Define the function under this name.
11827         [!NOT_IN_libc] (__vfork): Make this an alias.
11828         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
11829         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
11830         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
11831         (__libc_vfork): Define the function under this name.
11832         [!NOT_IN_libc] (__vfork): Make this an alias.
11833         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
11834         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
11835         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
11836         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
11837         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
11838         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11840         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
11841         code that was previously under [RESET_PID].
11842         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
11843         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
11844         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
11846         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
11847         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
11848         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
11849         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
11850         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
11851         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
11852         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
11853         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
11854         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
11855         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
11856         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
11857         Moved ...
11858         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
11859         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
11860         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
11861         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
11862         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
11863         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
11864         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
11865         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
11866         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
11867         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
11868         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
11869         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
11870         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
11871         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
11872         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
11873         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
11874         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
11875         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
11876         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
11877         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
11878         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
11879         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
11880         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
11881         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
11882         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
11883         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
11884         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
11885         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
11886         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
11888 2014-06-25  Roland McGrath  <roland@hack.frob.com>
11890         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
11891         that was previously under [RESET_PID].
11892         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
11894 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
11896         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
11897         not undefine and redefine.
11898         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
11899         [O_CLOEXEC]: Make code unconditional.
11900         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
11901         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
11902         <kernel-features.h>.
11903         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
11904         conditional variable definition.
11905         (shm_open) [O_CLOEXEC]: Make code unconditional.
11906         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
11907         code.
11909         * configure.ac (USE_REGPARMS): Don't define here.
11910         * configure: Regenerated.
11911         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
11912         * sysdeps/i386/configure: Regenerated.
11914         * nptl/createthread.c: Don't include kernel-features.h.
11915         * nptl/pthread_cancel.c: Likewise.
11916         * nptl/pthread_condattr_setclock.c: Likewise.
11917         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
11918         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
11919         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
11920         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
11921         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
11922         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
11923         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11924         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
11925         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11926         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
11927         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
11928         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
11929         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
11930         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
11931         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
11932         * nscd/gai.c: Likewise.
11933         * nss/nss_db/db-open.c: Likewise.
11934         * sysdeps/generic/ldsodefs.h: Likewise.
11935         * sysdeps/sh/nptl/tls.h: Likewise.
11936         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11937         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
11938         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
11939         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
11940         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
11941         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11942         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
11943         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11944         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11945         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
11946         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
11947         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11948         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
11949         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
11950         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
11951         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
11952         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
11953         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
11954         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
11955         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
11956         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
11957         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
11958         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
11959         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
11960         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
11961         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
11962         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
11963         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
11964         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11965         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
11966         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
11967         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
11968         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
11969         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11970         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11971         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11972         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11973         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
11974         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
11975         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11976         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11977         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
11978         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
11979         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11980         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
11981         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
11982         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
11983         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
11984         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
11985         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
11986         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11987         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
11988         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11989         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11990         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
11991         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
11992         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11993         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
11994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
11996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
11997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
11998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
11999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
12006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
12007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
12008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
12014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
12015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12016         * sysdeps/unix/sysv/linux/pread.c: Likewise.
12017         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
12018         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
12019         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
12020         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
12021         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
12022         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
12023         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
12024         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
12025         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12026         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12027         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12028         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
12029         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
12030         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
12031         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
12032         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12033         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
12034         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
12035         * sysdeps/unix/sysv/linux/system.c: Likewise.
12036         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
12037         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12038         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12039         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12040         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12041         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12042         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12044         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
12045         * configure: Regenerated.
12046         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
12048         * configure.ac (base_machine): Do not set specially for particular
12049         machines here.
12050         * configure: Regenerated.
12051         * sysdeps/powerpc/preconfigure: Move machine and base_machine
12052         settings from configure.ac.
12053         * sysdeps/i386/preconfigure: New file.
12054         * sysdeps/s390/preconfigure: Likewise.
12055         * sysdeps/sh/preconfigure: Likewise.
12056         * sysdeps/sparc/preconfigure: Likewise.
12058 2014-06-25  Roland McGrath  <roland@hack.frob.com>
12060         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
12061         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
12062         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
12063         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
12064         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
12065         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
12066         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
12067         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
12068         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
12069         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
12070         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
12071         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
12072         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
12073         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
12074         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
12075         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
12076         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
12077         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
12078         * sysdeps/sparc/sparc64/Makefile: ... appended here.
12080         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
12081         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
12082         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
12083         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
12084         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
12085         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
12086         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
12087         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
12088         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
12089         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
12090         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
12091         * sysdeps/sparc/sparc32/sem_post.c: ... here.
12092         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
12093         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
12094         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
12095         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
12096         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
12097         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
12098         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
12099         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
12100         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
12101         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
12102         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
12103         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
12104         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
12105         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
12106         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
12107         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
12108         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
12109         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
12110         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
12111         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
12112         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
12113         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
12114         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
12115         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
12116         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
12117         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
12119         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
12120         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
12121         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
12122         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
12123         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12124         Moved ...
12125         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12126         ... here.
12127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
12128         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
12129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
12130         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
12131         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
12132         Moved ...
12133         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
12134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
12135         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
12136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
12137         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
12138         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
12139         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
12140         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12141         Moved ...
12142         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
12143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12144         Moved ...
12145         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
12146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
12147         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
12148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12149         Moved ...
12150         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
12151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
12152         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
12153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
12154         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
12155         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
12156         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
12157         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
12158         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
12159         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12160         Moved ...
12161         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12162         ... here.
12163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
12164         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
12165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
12166         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
12167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
12168         Moved ...
12169         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
12170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
12171         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
12172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
12173         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
12174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
12175         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
12176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12177         Moved ...
12178         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
12179         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12180         Moved ...
12181         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
12182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
12183         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
12184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12185         Moved ...
12186         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
12187         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
12188         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
12189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
12190         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
12192 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
12194         * timezone/checktab.awk: Update from tzcode 2014e.
12195         * timezone/private.h: Likewise.
12196         * timezone/tzfile.h: Likewise.
12197         * timezone/zdump.c: Likewise.
12198         * timezone/zic.c: Likewise.
12200         * sysdeps/unix/sysv/linux/kernel-features.h
12201         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
12202         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
12203         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
12204         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12205         Remove conditional code.
12207 2014-06-25  Will Newton  <will.newton@linaro.org>
12209         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
12210         (_dl_arm_cap_flags): Add HWCAP2 values.
12211         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
12212         (_DL_HWCAP_COUNT): Increase to 37.
12213         (_DL_HWCAP_LAST): New define.
12214         (_DL_HWCAP2_LAST): New define.
12215         (_dl_procinfo): Add support for printing
12216         AT_HWCAP2 entries.
12217         (_dl_string_hwcap): Use _dl_hwcap_string.
12219 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12223 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
12225         * README: Do not mention ports directory.
12227         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
12228         Remove macro.
12229         * sysdeps/unix/sysv/linux/futimes.c: Do not include
12230         <kernel-features.h>.
12231         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
12232         conditional variable definition.
12233         (__futimes): Update comment.
12234         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
12235         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
12237         [BZ #16560]
12238         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
12239         arguments close to 0.
12240         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
12241         Likewise.
12242         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
12243         Likewise.
12244         * math/auto-libm-test-in: Add more tests of exp10.
12245         * math/auto-libm-test-out: Regenerated.
12246         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12248         * sysdeps/unix/sysv/linux/kernel-features.h
12249         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
12250         * sysdeps/unix/sysv/linux/readv.c: Do not include
12251         <kernel-features.h>.
12252         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12253         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12254         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12255         unconditional.
12256         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12257         conditional code.
12258         * sysdeps/unix/sysv/linux/writev.c: Do not include
12259         <kernel-features.h>.
12260         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12261         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12262         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12263         unconditional.
12264         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12265         conditional code.
12267 2014-06-25  Will Newton  <will.newton@linaro.org>
12269         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
12270         comment changes throughout the file.  Remove checks
12271         for HAVE_*_H definitions that are not required.
12272         (__gen_tempname): Call abort if an unknown kind value is
12273         passed.
12275 2014-06-25  Andreas Schwab  <schwab@suse.de>
12277         [BZ #17086]
12278         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
12279         scalbln, scalblnf, scalblnl in libc.
12281 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12283         [BZ #17086]
12284         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
12285         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12286         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12288 2014-06-24  Roland McGrath  <roland@hack.frob.com>
12290         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
12291         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
12292         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
12293         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
12294         Update #include.
12295         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
12296         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
12297         Update #include.
12298         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
12299         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
12300         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
12301         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
12302         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
12303         * sysdeps/x86/bits/pthreadtypes.h: ... here.
12304         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
12305         * sysdeps/x86/bits/semaphore.h: ... here.
12306         * sysdeps/x86/nptl/elide.h: Moved ...
12307         * sysdeps/x86/elide.h: ... here.
12308         * sysdeps/x86_64/nptl/Implies: File removed.
12309         * sysdeps/i386/nptl/Implies: File removed.
12311 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
12313         [BZ #16539]
12314         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
12315         return the argument for normal arguments with exponent below -64.
12316         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12317         Likewise.
12318         * math/auto-libm-test-in: Add another test of expm1.
12319         * math/auto-libm-test-out: Regenerated.
12321         [BZ #16287]
12322         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
12323         calling __erfcl for arguments at least 16.
12324         * math/auto-libm-test-in: Add more tests of erf.
12325         * math/auto-libm-test-out: Regenerated.
12327         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
12328         individual architectures.
12329         * sysdeps/unix/sysv/linux/configure: Regenerated.
12330         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
12331         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
12332         * sysdeps/unix/sysv/linux/powerpc/configure.ac
12333         (ldd_rewrite_script): Define variable.
12334         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
12336         file.
12337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
12338         generated file.
12339         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
12340         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
12341         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
12342         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
12343         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
12344         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
12345         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
12346         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
12348 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12350         [BZ #17084]
12351         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
12352         Rename member __data.d to __data.__elision_data.
12354 2014-06-24  Wilco  <wdijkstr@arm.com>
12356         * NEWS: Add 16918 to fixed bug list.
12358 2014-06-24  Wilco  <wdijkstr@arm.com>
12360         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
12362 2014-06-24  Wilco  <wdijkstr@arm.com>
12364         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
12365         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
12366         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
12367         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
12368         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
12369         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
12370         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
12371         Use _FPU_MASK_RM.
12373 2014-06-24  Wilco  <wdijkstr@arm.com>
12375         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
12377 2014-06-24  Wilco  <wdijkstr@arm.com>
12379         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
12380         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
12381         * sysdeps/arm/fesetround.c (fesetround): Remove space.
12382         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
12384 2014-06-24  Wilco  <wdijkstr@arm.com>
12386         [BZ #16918]
12387         * sysdeps/arm/feupdateenv.c (feupdateenv):
12388         Rewrite to reduce FPSCR accesses and fix return value.
12390 2014-06-24  Wilco  <wdijkstr@arm.com>
12392         * sysdeps/arm/fclrexcpt.c (feclearexcept):
12393         Optimize to avoid unnecessary FPSCR writes.
12394         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
12395         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
12396         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
12397         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
12399 2014-06-24  Wilco  <wdijkstr@arm.com>
12401         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
12402         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
12403         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
12404         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
12405         Call libc_fetestexcept_vfp.
12406         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
12407         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
12408         __SOFTFP__ ifdef so that they can be built for softfp.
12410 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12412         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
12413         argument type signed char.
12415         * Makerules (check-abi): Dump diff of symlist if the test
12416         fails.
12418 2014-06-23  Roland McGrath  <roland@hack.frob.com>
12420         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
12421         using abort.
12423         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12424         Remove unused variable ST.
12426 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
12428         [BZ #16354]
12429         [BZ #17061]
12430         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
12431         small arguments before calling __expm1.
12432         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
12433         small arguments before calling __expm1f.
12434         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
12435         small arguments before calling __expm1l.
12436         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12437         Likewise.
12438         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
12439         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
12440         spurious underflow for some cosh tests.
12441         * math/auto-libm-test-out: Regenerated.
12442         * sysdeps/i386/fpu/libm-test-ulps: Update.
12444         [BZ #17050]
12445         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
12446         (__ieee754_y1): Set errno if return value overflows.
12447         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
12448         (__ieee754_y1f): Set errno if return value overflows.
12449         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
12450         (__ieee754_y1l): Set errno if return value overflows.
12451         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
12452         (__ieee754_y1l): Set errno if return value overflows.
12453         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
12454         * math/auto-libm-test-out: Regenerated.
12456         * math/gen-auto-libm-tests.c: Document use of
12457         ignore-zero-inf-sign.
12458         (input_flag_type): Add value flag_ignore_zero_inf_sign.
12459         (input_flags): Add ignore-zero-inf-sign.
12460         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
12461         * math/gen-libm-test.pl (generate_testfile): Handle
12462         ignore-zero-inf-sign.
12463         * math/auto-libm-test-in: Mark some cpow tests with
12464         ignore-zero-inf-sign and some with xfail-rounding.
12465         * math/auto-libm-test-out: Regenerated.
12466         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
12467         * sysdeps/i386/fpu/libm-test-ulps: Update.
12468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12470         [BZ #16315]
12471         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
12472         overflowing or underflowing operations take place with sign of
12473         result.
12474         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12475         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12476         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
12477         (__ieee754_pow): Recompute overflowing and underflowing results in
12478         original rounding mode.
12479         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
12480         (__powl_helper): Allow negative argument X and scale negated value
12481         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
12482         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
12483         overflowing or underflowing operations take place with sign of
12484         result.
12485         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
12486         Include <math.h>.
12487         * math/auto-libm-test-in: Add more tests of pow.
12488         * math/auto-libm-test-out: Regenerated.
12489         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
12490         (pow_tonearest_test_data): Remove.
12491         (pow_test_tonearest): Likewise.
12492         (pow_towardzero_test_data): Likewise.
12493         (pow_test_towardzero): Likewise.
12494         (pow_downward_test_data): Likewise.
12495         (pow_test_downward): Likewise.
12496         (pow_upward_test_data): Likewise.
12497         (pow_test_upward): Likewise.
12498         (main): Don't call removed functions.
12499         * sysdeps/i386/fpu/libm-test-ulps: Update.
12500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12502 2014-06-23  Roland McGrath  <roland@hack.frob.com>
12504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
12505         Moved ...
12506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
12507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12508         Moved ...
12509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
12510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12511         Moved ...
12512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
12513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12514         Moved ...
12515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
12516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12517         File removed.
12518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12519         File removed.
12520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
12521         File removed.
12522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
12523         File removed.
12524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
12525         File removed.
12526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
12527         File removed.
12528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
12529         File removed.
12530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12531         File removed.
12532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
12533         File removed.
12534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12535         File removed.
12536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
12537         File removed.
12538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
12539         File removed.
12540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
12541         Moved ...
12542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
12543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
12544         Moved ...
12545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12546         ... here.
12547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
12548         Moved ...
12549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
12550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
12551         Moved ...
12552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
12553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
12554         Moved ...
12555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
12556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
12557         Moved ...
12558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
12559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
12560         Moved ...
12561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
12562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
12563         Moved ...
12564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
12565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
12566         Moved ...
12567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
12568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
12569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12570         ... here.
12571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
12572         Moved ...
12573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
12574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12575         Moved ...
12576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12577         ... here.
12578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
12579         Moved ...
12580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12581         ... here.
12582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12583         Moved ...
12584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12585         ... here.
12586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12587         Moved ...
12588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
12589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12590         Moved ...
12591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
12592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
12593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
12594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12595         Moved ...
12596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12597         ... here.
12598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12599         Moved ...
12600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12601         ... here.
12602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12603         Moved ...
12604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
12605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12606         Moved ...
12607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
12608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12609         Moved ...
12610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
12611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12612         Moved ...
12613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
12614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12615         Moved ...
12616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12617         ... here.
12618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12619         Moved ...
12620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
12621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12622         Moved ...
12623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
12624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12625         Moved ...
12626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
12627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12628         Moved ...
12629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
12630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
12631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
12632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12633         Moved ...
12634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
12635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12636         Moved ...
12637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
12638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12639         Moved ...
12640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12641         ... here.
12642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12643         Moved ...
12644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12645         ... here.
12646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12647         Moved ...
12648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12649         ... here.
12650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12651         Moved ...
12652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
12653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12654         Moved ...
12655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
12656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12657         Moved ...
12658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
12659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12660         Moved ...
12661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12662         ... here.
12663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12664         Moved ...
12665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12666         ... here.
12667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12668         Moved ...
12669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12670         ... here.
12671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12672         Moved ...
12673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
12674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
12675         Moved ...
12676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
12678 2014-06-23  Will Newton  <will.newton@linaro.org>
12679             Wilco  <wdijkstr@arm.com>
12681         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
12682         implementation.  Include get-rounding-mode.h.
12683         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
12684         [!libc_feholdsetround_noex_ctx]: Define
12685         libc_feholdsetround_noex_ctx.
12686         [!libc_feholdsetround_noexf_ctx]: Define
12687         libc_feholdsetround_noexf_ctx.
12688         [!libc_feholdsetround_noexl_ctx]: Define
12689         libc_feholdsetround_noexl_ctx.
12690         (libc_feholdsetround_ctx): New function.
12691         (libc_feresetround_ctx): New function.
12692         (libc_feholdsetround_noex_ctx): New function.
12693         (libc_feresetround_noex_ctx): New function.
12695 2014-06-23  Roland McGrath  <roland@hack.frob.com>
12697         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
12698         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
12699         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
12700         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
12701         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
12702         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
12704         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
12705         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
12706         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
12707         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
12708         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
12709         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
12710         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
12711         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
12712         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
12713         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
12714         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
12715         Moved ...
12716         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12717         ... here.
12718         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
12719         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
12720         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
12721         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
12722         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
12723         Moved ...
12724         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
12725         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
12726         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
12727         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
12728         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
12729         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
12730         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
12731         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
12732         Moved ...
12733         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
12734         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
12735         Moved ...
12736         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
12737         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
12738         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
12739         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
12740         Moved ...
12741         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
12742         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
12743         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
12744         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
12745         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
12746         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
12747         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
12748         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
12749         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
12750         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
12751         Moved ...
12752         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12753         ... here.
12754         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
12755         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
12756         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
12757         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
12758         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
12759         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
12760         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
12761         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
12762         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
12763         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
12764         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
12765         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
12766         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
12767         Moved ...
12768         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
12769         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
12770         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
12771         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
12772         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
12773         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
12774         Moved ...
12775         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
12776         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
12777         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
12778         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
12779         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
12781         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
12782         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
12783         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
12784         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
12785         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
12786         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
12787         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
12788         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
12789         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
12790         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
12791         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
12792         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
12793         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
12794         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
12795         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
12796         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
12797         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
12798         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
12799         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
12800         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
12801         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
12802         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
12803         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
12804         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
12805         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
12806         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
12807         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
12808         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
12810 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
12812         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
12813         (FALLOC_FL_COLLAPSE_RANGE): New macro.
12814         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
12815         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
12816         (IPV6_PMTUDISC_INTERFACE): Likewise.
12817         (IPV6_PMTUDISC_OMIT): Likewise.
12819 2014-06-23  Andreas Schwab  <schwab@suse.de>
12821         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
12822         Remove unused errout label.
12824 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12826         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
12827         macro: hardware supports Vector Crypto instructions.
12829 2014-06-23  Will Newton  <will.newton@linaro.org>
12831         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
12832         rather than __builtin_expect.
12834         * elf/dl-lookup.c (undefined_msg): Remove variable.
12835         (_dl_lookup_symbol_x): Replace undefined_msg with string
12836         literal.
12838         * elf/dl-lookup.c (do_lookup_unique): New function.
12839         (do_lookup_x): Move STB_GNU_UNIQUE handling code
12840         to a separate function.
12842 2014-06-23  Andreas Schwab  <schwab@suse.de>
12844         [BZ #17079]
12845         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
12846         before reading the next line.
12848 2014-06-23  Will Newton  <will.newton@linaro.org>
12850         * test-skeleton.c (signal_handler): Use printf and %m
12851         rather than perror.  Use printf rather than fprintf to
12852         stderr.  Use puts rather than fputs to stderr.
12853         (main): Likewise.
12855 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
12857         * nscd/nscd.c (thread_info_t): Remove typedef.
12858         (thread_info): Remove variable.
12860 2014-06-21  Allan McRae  <allan@archlinux.org>
12862         * NEWS: Mention CVE-2014-4043.
12864 2014-06-20  Roland McGrath  <roland@hack.frob.com>
12866         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
12867         * nptl/smp.h: ... here.
12869         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
12871         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
12872         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
12873         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
12874         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
12876         * nptl/allocatestack.c: Include <stack-aliasing.h>.
12877         * nptl/stack-aliasing.h: New file.
12878         * sysdeps/i386/i686/stack-aliasing.h: New file.
12879         * sysdeps/i386/i686/nptl/Makefile: File removed.
12880         * sysdeps/x86_64/stack-aliasing.h: New file.
12881         * sysdeps/x86_64/nptl/Makefile
12882         (CFLAGS-pthread_create.c): Variable removed.
12884         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
12885         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
12886         old file.
12887         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
12888         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
12889         old file.
12891 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
12893         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12894         (__ASSUME_SIGFRAME_V2): Remove macro.
12895         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
12896         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
12897         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
12898         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
12899         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
12900         Declare as function.  Remove conditional macro definitions.
12901         (__default_rt_sa_restorer): Likewise.
12902         (__default_sa_restorer_v1): Remove declaration.
12903         (__default_sa_restorer_v2): Likewise.
12904         (__default_rt_sa_restorer_v1): Likewise.
12905         (__default_rt_sa_restorer_v2): Likewise.
12906         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
12907         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
12908         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
12910 2014-06-20  Roland McGrath  <roland@hack.frob.com>
12912         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
12913         (libpthread-routines): Add sysdep.
12914         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
12915         * sysdeps/unix/sysv/linux/sparc/Versions
12916         (libpthread: GLIBC_2.3.3): New version set.
12917         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
12918         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
12919         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
12920         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
12921         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
12922         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
12923         Moved ...
12924         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
12925         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
12926         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
12927         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
12928         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
12929         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
12930         * sysdeps/sparc/nptl/sem_init.c: ... here.
12931         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
12932         * sysdeps/sparc/nptl/sem_post.c: ... here.
12933         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
12934         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
12935         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
12936         * sysdeps/sparc/nptl/sem_wait.c: ... here.
12937         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
12938         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
12939         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
12940         (libpthread-routines): Add cpu_relax.
12941         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
12942         File removed.
12943         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
12944         (librt: GLIBC_2.3.3): New version set.
12945         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
12946         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
12947         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
12948         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
12949         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
12950         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
12951         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
12952         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
12953         Moved ...
12954         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
12955         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
12956         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
12957         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
12958         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
12959         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
12960         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
12961         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
12962         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
12963         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
12964         Moved ...
12965         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
12966         Update #include.
12967         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
12968         Moved ...
12969         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
12970         Update #include.
12971         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
12972         Moved ...
12973         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
12974         Update #include.
12975         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
12976         Moved ...
12977         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
12978         Update #include.
12979         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
12980         Moved ...
12981         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
12982         Update #include.
12983         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
12984         Moved ...
12985         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
12986         Update #include.
12987         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
12988         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
12989         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
12990         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
12991         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
12992         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
12993         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
12994         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
12995         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
12996         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
12997         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12998         Moved ...
12999         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
13000         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
13001         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
13002         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
13003         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
13005 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
13007         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
13008         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
13009         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13010         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
13011         * nscd/nscd.c: Likewise.
13012         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13013         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13014         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13015         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13017         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
13018         <kernel-features.h>.
13019         (init_mq_netlink): Remove conditional have_sock_cloexec
13020         definitions.  Remove code conditional on have_sock_cloexec < 0.
13021         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
13022         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
13023         * sysdeps/unix/sysv/linux/opensock.c: Do not include
13024         <kernel-features.h>.
13025         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
13026         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
13028 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
13030         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13031         Add tests for memset_chk and memset.
13033         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
13034         with AVX2_Usable.
13036 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
13038         [BZ #16046]
13039         * elf/tst-dl-iter-static.c: New file.
13040         * elf/Makefile (tests-static): Add tst-dl-iter-static.
13042         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
13043         error.
13045 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
13047         * sysdeps/unix/sysv/linux/kernel-features.h
13048         (__ASSUME_F_GETOWN_EX): Remove macro.
13049         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
13050         <kernel-features.h>.
13051         (miss_F_GETOWN_EX): Remove variable or macro.
13052         (do_fcntl): Do not check miss_F_GETOWN_EX.
13053         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
13055         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
13056         Remove macro.
13057         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
13058         [!__ASSUME_AT_RANDOM]: Remove conditional code.
13059         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
13061         * sysdeps/unix/sysv/linux/kernel-features.h
13062         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
13063         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
13064         [ADJ_OFFSET_SS_READ]: Make code unconditional.
13065         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
13067 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
13069         [BZ #17075]
13070         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
13071         Fix calculation of the symbol's value.
13072         * sysdeps/arm/tst-armtlsdescloc.c: New file.
13073         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
13074         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
13075         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
13076         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
13077         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
13078         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
13079         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
13080         (modules-names): Add `tst-armtlsdescmod',
13081         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
13082         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
13083         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13084         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
13085         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
13086         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13087         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
13088         ($(objpfx)tst-armtlsdescloc): New dependency.
13089         ($(objpfx)tst-armtlsdescextnow): Likewise.
13090         ($(objpfx)tst-armtlsdescextlazy): Likewise.
13091         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
13092         TLS scheme support.
13093         * sysdeps/arm/configure: Regenerate.
13095 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
13097         * include/fcntl.h (__atfct_seterrno): Remove prototype.
13098         (__atfct_seterrno_2): Likewise.
13099         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
13100         <kernel-features.h>.
13101         (__ASSUME_ATFCTS): Do not undefine and redefine.
13102         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
13103         (__have_atfcts): Remove conditional definition.
13104         (__fxstatat([__NR_fstatat64]: Make code unconditional.
13105         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
13106         unreachable if [__ASSUME_ATFCTS].
13107         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
13108         not undefine and redefine.
13109         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
13110         <kernel-features.h>.
13111         (faccessat) [__NR_faccessat]: Make code unconditional.
13112         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
13113         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
13114         <kernel-features.h>.
13115         (fchmodat) [__NR_fchmodat]: Make code unconditional.
13116         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13117         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
13118         <kernel-features.h>.
13119         (fchownat) [__NR_fchownat]: Make code unconditional.
13120         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
13121         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
13122         <kernel-features.h>.
13123         (futimesat) [__NR_futimesat]: Make code unconditional.
13124         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
13125         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13126         <kernel-features.h>.
13127         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13128         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13129         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13130         <kernel-features.h>.
13131         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
13132         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13133         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
13134         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13135         <kernel-features.h>.
13136         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
13137         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13138         * sysdeps/unix/sysv/linux/linkat.c: Do not include
13139         <kernel-features.h>.
13140         (linkat) [__NR_linkat]: Make code unconditional.
13141         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13142         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
13143         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
13144         <kernel-features.h>.
13145         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
13146         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13147         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
13148         <kernel-features.h>.
13149         (mkdirat) [__NR_mkdirat]: Make code unconditional.
13150         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
13151         * sysdeps/unix/sysv/linux/openat.c: Do not include
13152         <kernel-features.h>.
13153         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
13154         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
13155         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
13156         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
13157         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
13158         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
13159         <kernel-features.h>.
13160         (readlinkat) [__NR_readlinkat]: Make code unconditional.
13161         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
13162         result of INLINE_SYSCALL directly, not via int variable.
13163         * sysdeps/unix/sysv/linux/renameat.c: Do not include
13164         <kernel-features.h>.
13165         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
13166         (renameat) [__NR_renameat]: Make code unconditional.
13167         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
13168         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
13169         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
13170         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
13171         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
13172         (__ASSUME_ATFCTS): Do not undefine and redefine.
13173         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
13174         <kernel-features.h>.
13175         (symlinkat) [__NR_symlinkat]: Make code unconditional.
13176         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13177         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
13178         <kernel-features.h>.
13179         (unlinkat) [__NR_unlinkat]: Make code unconditional.
13180         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13181         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
13182         (__ASSUME_ATFCTS): Do not undefine and redefine.
13183         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13184         <kernel-features.h>.
13185         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13186         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13187         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13188         <kernel-features.h>.
13189         (__xmknodat) [__NR_mknodat]: Make code unconditional.
13190         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13192 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
13194         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
13196 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
13198         [BZ #17069]
13199         * posix/regcomp.c (parse_reg_exp): Deallocate partially
13200         constructed tree before returning error.
13201         * posix/bug-regexp36.c: Expand test case.
13203 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13205         [BZ #6803]
13206         * math/libm-test.inc (scalbln_test_date):
13207         Add errno expectations.
13208         * math/w_scalblnf.c: New File.
13209         Add wrapper which checks for setting errno to ERANGE.
13210         Add weak_alias for corresponding scalbln function.
13211         * math/w_scalbln.c: Likewise.
13212         * math/w_scalblnl.c: Likewise.
13213         * math/Makefile (libm-calls): Add w_scalbln.
13214         * sysdeps/ieee754/flt-32/s_scalblnf.c:
13215         Remove weak_alias for corresponding scalbln function.
13216         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13217         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13218         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13219         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13220         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
13221         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13222         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
13223         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13224         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
13225         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
13226         Remove long_double_symbol for scalblnl function in libm, libc.
13227         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
13228         Add wrapper which checks for setting errno to ERANGE.
13229         Add long_double_symbol for scalblnl function in libm, libc.
13230         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
13231         Remove long_double_symbol for scalblnl in libm.
13232         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
13233         Add wrapper which checks for setting errno to ERANGE.
13234         Add long_double_symbol for scalblnl function in libm.
13235         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
13236         Do not use wrapper because of own implementation.
13238 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
13240         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
13241         3 bytes for __pad1 for x32.
13242         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
13244 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
13245             H.J. Lu  <hongjiu.lu@intel.com>
13247         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
13248         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
13249         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13250         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13251         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13253 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
13255         [BZ #17069]
13256         * posix/regcomp.c (parse_expression): Deallocate partially
13257         constructed tree before returning error.
13258         * posix/Makefile.c (tests): Add bug-regex36.
13259         (generated): Add bug-regex36.mtrace.
13260         (tests-special): Add $(objpfx)bug-regex36-mem.out
13261         (bug-regex36-ENV): New variable.
13262         ($(objpfx)bug-regex36-mem.out): New rule.
13263         * posix/bug-regex36.c: New file.
13265 2014-06-19  Will Newton  <will.newton@linaro.org>
13267         * malloc/malloc.c (systrim): If extra is zero then return
13268         early.
13270 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13272         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
13274 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
13276         * sysdeps/aarch64/strchr.S: New file.
13278 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
13280         [BZ #17022]
13281         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
13282         from arguments -2 or below.
13283         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13284         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
13286 2014-06-18  Andreas Schwab  <schwab@suse.de>
13288         [BZ #17062]
13289         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
13290         of a bracket expr not to run off the end of the string.
13291         * posix/Makefile (tests): Add tst-fnmatch3.
13292         * posix/tst-fnmatch3.c: New file.
13294 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
13296         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
13297         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13298         [$(cross-compiling) = no]: Likewise.
13299         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13300         [$(cross-compiling) = no]: Likewise.
13302 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13304         [BZ #17031]
13305         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
13306         double, adjusted for any remainder from the high double.
13307         * math/libm-test.inc (nearbyint): Add tests.
13308         (rint): Likewise.
13310 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13312         * nptl/sysdeps/powerpc/Makefile: Moved ...
13313         * sysdeps/powerpc/nptl/Makefile: ... here.
13314         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
13315         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
13316         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
13317         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
13318         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
13319         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
13320         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
13321         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
13322         * nptl/sysdeps/powerpc/tls.h: Moved ...
13323         * sysdeps/powerpc/nptl/tls.h: ... here.
13325 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
13327         [BZ #16681]
13328         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
13329         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13330         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
13331         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
13332         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13333         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
13334         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
13335         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13336         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
13338 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
13340         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13342 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
13344         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
13345         defined operator.
13347         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
13348         $TIMEOUTFACTOR.
13350 2014-06-16  Florian Weimer  <fweimer@redhat.com>
13352         [BZ #17058]
13353         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
13354         non-executed part of the test.
13356 2014-06-16  Andreas Schwab  <schwab@suse.de>
13358         * string/bits/string2.h (strdup, strndup): Update feature guard.
13360 2014-06-14  David S. Miller  <davem@davemloft.net>
13362         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13364 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
13366         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
13367         that was previously under [RESET_PID].
13368         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
13370         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
13371         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
13372         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
13373         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13374         (__libc_vfork): New strong alias.
13375         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
13377 2014-06-14 Andi Kleen  <ak@linux.intel.com>
13379         * sysdeps/generic/elide.h: New file.
13381 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13383         * Makefile (installed-headers): Adjust path of pthread.h header.
13385 2014-06-13  Roland McGrath  <roland@hack.frob.com>
13387         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
13388         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
13389         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
13390         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
13392         * nptl/sysdeps/s390/Makefile: Moved ...
13393         * sysdeps/s390/nptl/Makefile: ... here.
13394         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
13395         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
13396         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
13397         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
13398         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
13399         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
13400         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
13401         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
13402         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
13403         * sysdeps/s390/nptl/pthreaddef.h: ... here.
13404         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
13405         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
13406         * nptl/sysdeps/s390/tls.h: Moved ...
13407         * sysdeps/s390/nptl/tls.h: ... here.
13409         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
13410         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
13412 2014-06-13  David S. Miller  <davem@davemloft.net>
13414         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
13415         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
13416         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
13417         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
13418         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
13419         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
13420         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
13421         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
13422         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
13423         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
13424         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
13425         Remove RESET_PID cpp guards.
13426         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
13427         Remove RESET_PID cpp guards.
13428         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
13430 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
13432         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
13433         __sp to uintptr_t.
13435 2014-06-13  Andi Kleen  <ak@linux.intel.com>
13437         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
13438         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
13439         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
13440         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
13441         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
13442         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
13443         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
13444         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
13445         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
13446         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
13447         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
13448         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
13449         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
13450         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
13451         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
13452         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
13453         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
13454         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
13455         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
13456         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
13458         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
13459         (pthread_rwlock_rdlock): Add elision.
13460         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
13461         (pthread_rwlock_wrlock): Add elision.
13462         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
13463         (pthread_rwlock_trywrlock): Add elision.
13464         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
13465         (pthread_rwlock_tryrdlock): Add elision.
13466         * nptl/pthread_rwlock_unlock.c: Include elide.h.
13467         (pthread_rwlock_tryrdlock): Add elision unlock.
13468         * nptl/sysdeps/pthread/pthread.h:
13469         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
13470         (PTHREAD_RWLOCK_INITIALIZER,
13471         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
13472         Handle new elision field.
13473         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
13474         * sysdeps/arm/nptl/bits/pthreadtypes.h
13475         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13476         * sysdeps/sh/nptl/bits/pthreadtypes.h
13477         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13478         * sysdeps/tile/nptl/bits/pthreadtypes.h
13479         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13480         * sysdeps/a/nptl/bits/pthreadtypes.h
13481         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13482         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13483         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13484         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13485         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13486         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
13487         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13488         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13489         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13490         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13491         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13492         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13493         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13494         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13495         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13496         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
13497         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13498         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
13499         (elision_init): Set try_xbegin to zero when no RTM.
13500         * sysdeps/x86/nptl/bits/pthreadtypes.h
13501         (pthread_rwlock_t): Change __pad1 to __rwelision.
13502         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13504 2014-06-13  Andi Kleen  <ak@linux.intel.com>
13506         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
13507         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
13508         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
13509         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
13511 2014-06-13  Meador Inge  <meadori@codesourcery.com>
13513         [BZ #16996]
13514         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
13515         that the cached result has been set before returning it.
13517 2014-06-12  Roland McGrath  <roland@hack.frob.com>
13519         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
13520         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
13521         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
13522         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
13523         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
13524         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
13526         * nptl/sysdeps/sparc/Makefile: Moved ...
13527         * sysdeps/sparc/nptl/Makefile: ... here.
13528         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
13529         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
13530         * nptl/sysdeps/sparc/tls.h: Moved ...
13531         * sysdeps/sparc/nptl/tls.h: ... here.
13532         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
13533         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
13534         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
13535         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
13536         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
13537         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
13538         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
13539         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
13540         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
13541         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
13542         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
13543         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
13544         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
13545         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
13546         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
13547         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
13548         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
13549         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
13550         Update #include.
13551         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
13552         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
13553         Update #include.
13554         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
13555         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
13556         Update #include.
13557         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
13558         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
13559         Update #include.
13561         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
13563         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
13564         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
13566         * sysdeps/pthread/posix-timer.h: Include <list.h>.
13567         (struct list_links): Type removed.
13568         (struct thread_node, struct timer_node): Replace struct list_links
13569         with struct list_head.
13570         (list_unlink_ip): Likewise.
13571         * sysdeps/pthread/timer_routines.c
13572         (timer_free_list, thread_free_list, thread_active_list): Likewise.
13573         (list_append, list_insbefore): Likewise.
13574         (list_init): Function removed.
13575         (thread_init, init_module): Use INIT_LIST_HEAD instead.
13576         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
13577         * sysdeps/pthread/Makefile: ... here, new file.
13579         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
13580         * sysdeps/nptl/Implies: ... here.
13581         * sysdeps/unix/sysv/linux/Implies: Add nptl.
13582         * nptl/sysdeps/pthread/list.h: Moved ...
13583         * include/list.h: ... here.
13584         * nptl/sysdeps/pthread/createthread.c: Moved ...
13585         * nptl/createthread.c: ... here.
13586         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
13587         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
13588         * nptl/pt-longjmp.c: ... here.
13589         * nptl/sysdeps/pthread/Makefile: Moved ...
13590         * sysdeps/nptl/Makefile: ... here.
13591         * nptl/sysdeps/pthread/Subdirs: Moved ...
13592         * sysdeps/nptl/Subdirs: ... here.
13593         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
13594         * sysdeps/nptl/aio_misc.h: ... here.
13595         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
13596         * sysdeps/nptl/bits/libc-lock.h: ... here.
13597         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
13598         * sysdeps/nptl/bits/libc-lockP.h: ... here.
13599         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
13600         * sysdeps/nptl/bits/stdio-lock.h: ... here.
13601         * nptl/sysdeps/pthread/configure: Moved ...
13602         * sysdeps/nptl/configure: ... here.
13603         * nptl/sysdeps/pthread/configure.ac: Moved ...
13604         * sysdeps/nptl/configure.ac: ... here.
13605         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
13606         * sysdeps/nptl/gai_misc.h: ... here.
13607         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
13608         * sysdeps/nptl/librt-cancellation.c: ... here.
13609         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
13610         * sysdeps/nptl/malloc-machine.h: ... here.
13611         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
13612         * sysdeps/nptl/pthread-functions.h: ... here.
13613         * nptl/sysdeps/pthread/pthread.h: Moved ...
13614         * sysdeps/nptl/pthread.h: ... here.
13615         * nptl/sysdeps/pthread/setxid.h: Moved ...
13616         * sysdeps/nptl/setxid.h: ... here.
13617         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
13618         * sysdeps/nptl/sigfillset.c: ... here.
13619         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
13620         * sysdeps/nptl/tcb-offsets.h: ... here.
13621         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
13622         * sysdeps/nptl/tst-mqueue8x.c: ... here.
13623         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
13624         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
13625         * nptl/sysdeps/pthread/allocalim.h: Moved ...
13626         * sysdeps/pthread/allocalim.h: ... here.
13627         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
13628         * sysdeps/pthread/bits/sigthread.h: ... here.
13629         * nptl/sysdeps/pthread/flockfile.c: Moved ...
13630         * sysdeps/pthread/flockfile.c: ... here.
13631         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
13632         * sysdeps/pthread/ftrylockfile.c: ... here.
13633         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
13634         * sysdeps/pthread/funlockfile.c: ... here.
13635         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
13636         * sysdeps/pthread/posix-timer.h: ... here.
13637         * nptl/sysdeps/pthread/timer_create.c: Moved ...
13638         * sysdeps/pthread/timer_create.c: ... here.
13639         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
13640         * sysdeps/pthread/timer_delete.c: ... here.
13641         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
13642         * sysdeps/pthread/timer_getoverr.c: ... here.
13643         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
13644         * sysdeps/pthread/timer_gettime.c: ... here.
13645         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
13646         * sysdeps/pthread/timer_routines.c: ... here.
13647         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
13648         * sysdeps/pthread/timer_settime.c: ... here.
13649         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
13650         * sysdeps/pthread/tst-timer.c: ... here.
13651         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
13652         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
13654         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
13655         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
13657         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
13658         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
13659         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
13660         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
13661         Update #include target.
13662         * nptl/sysdeps/i386/i686/Makefile: Moved ...
13663         * sysdeps/i386/i686/nptl/Makefile: ... here.
13664         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
13665         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
13666         Update #include target.
13667         * nptl/sysdeps/i386/i686/tls.h: Moved ...
13668         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
13669         * nptl/sysdeps/i386/Makefile: Moved ...
13670         * sysdeps/i386/nptl/Makefile: ... here.
13671         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
13672         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
13673         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
13674         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
13675         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
13676         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
13677         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
13678         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
13679         * sysdeps/i386/nptl/pthreaddef.h: ... here.
13680         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
13681         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
13682         * nptl/sysdeps/i386/tls.h: Moved ...
13683         * sysdeps/i386/nptl/tls.h: ... here.
13685         * sysdeps/sh/Makefile [$(subdir) = csu]
13686         (gen-as-const-headers): Add tcb-offsets.sym.
13687         * nptl/sysdeps/sh/Makefile: File removed.
13688         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
13689         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
13690         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
13691         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
13692         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
13693         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
13694         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
13695         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
13696         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
13697         * sysdeps/sh/nptl/pthreaddef.h: ... here.
13698         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
13699         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
13700         * nptl/sysdeps/sh/tls.h: Moved ...
13701         * sysdeps/sh/nptl/tls.h: ... here.
13702         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
13703         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
13704         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
13705         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
13706         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
13707         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
13708         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
13709         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
13710         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
13711         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
13712         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
13713         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
13714         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
13715         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
13716         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
13717         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
13718         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
13719         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
13720         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
13721         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
13722         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
13723         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
13724         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
13725         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
13726         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
13727         Moved ...
13728         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
13729         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
13730         Moved ...
13731         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
13732         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
13733         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
13734         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
13735         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
13736         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
13737         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
13738         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
13739         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
13740         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
13741         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
13742         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
13743         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
13744         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
13745         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
13746         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
13747         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
13748         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
13749         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
13751 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13753         * posix/spawn_faction_addopen.c: Include string.h.
13755 2014-06-11  Roland McGrath  <roland@hack.frob.com>
13757         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
13758         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
13759         * nptl/sysdeps/x86_64/Makefile: Moved ...
13760         * sysdeps/x86_64/nptl/Makefile: ... here.
13761         * nptl/sysdeps/x86_64/configure: Moved ...
13762         * sysdeps/x86_64/nptl/configure: ... here.
13763         * nptl/sysdeps/x86_64/configure.ac: Moved ...
13764         * sysdeps/x86_64/nptl/configure.ac: ... here.
13765         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
13766         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
13767         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
13768         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
13769         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
13770         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
13771         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
13772         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
13773         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
13774         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
13775         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
13776         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
13777         * nptl/sysdeps/x86_64/tls.h: Moved ...
13778         * sysdeps/x86_64/nptl/tls.h: ... here.
13779         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
13780         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
13781         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
13782         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
13784         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
13786 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13790 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
13792         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
13793         type.
13794         [POSIX] (off_t): Likewise.
13795         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
13796         [POSIX] (S_ISBLK): Require macro.
13797         [POSIX] (S_ISCHR): Likewise.
13798         [POSIX] (S_ISDIR): Likewise.
13799         [POSIX] (S_ISFIFO): Likewise.
13800         [POSIX] (S_ISREG): Likewise.
13801         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
13802         optional-macro.
13803         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
13804         type.
13805         [POSIX] (time_t): Likewise.
13806         [POSIX] (timer_t): Likewise.
13808 2014-06-11  Florian Weimer  <fweimer@redhat.com>
13810         [BZ #17048]
13811         * posix/spawn_int.h (struct __spawn_action): Make the path string
13812         non-const to support deallocation.
13813         * posix/spawn_faction_addopen.c
13814         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
13815         * posix/spawn_faction_destroy.c
13816         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
13817         path in all spawn_do_open actions.
13818         * posix/tst-spawn.c (do_test): Exercise the copy operation in
13819         posix_spawn_file_actions_addopen.
13821 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
13823         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
13824         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
13825         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
13826         conditional code always true.
13827         (__libc_vfork): New alias.
13829 2014-06-11  Roland McGrath  <roland@hack.frob.com>
13831         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13832         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
13834         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
13836         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13837         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
13839         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
13840         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
13842         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13843         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
13845 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13847         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
13848         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
13849         multiarch strcmp for PPC64.
13850         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
13851         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
13852         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
13853         multiarch optimizations.
13854         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13855         (__libc_ifunc_impl_list): Likewise.
13857 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13859         * benchtests/scripts/validate_benchout.py: New script.
13860         * benchtests/Makefile (bench-func): Call it.
13861         * benchtests/scripts/benchout.schema.json: New file.
13863 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
13865         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
13866         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
13867         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
13868         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
13869         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
13870         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
13871         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
13872         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
13873         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
13874         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
13875         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
13876         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
13877         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
13878         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
13879         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
13880         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
13881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
13882         Moved ...
13883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
13884         ... here.
13885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
13886         Moved ...
13887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
13888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
13889         Moved ...
13890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
13891         ... here.
13892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
13893         Moved ...
13894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
13895         ... here.
13896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
13897         Moved ...
13898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
13899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
13900         Moved ...
13901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
13902         ... here.
13903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
13904         Moved ...
13905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
13906         ... here.
13907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
13908         Moved ...
13909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
13910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
13911         Moved ...
13912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
13913         ... here.
13914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
13915         Moved ...
13916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
13917         ... here.
13918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
13919         Moved ...
13920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
13921         ... here.
13922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
13923         Moved ...
13924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
13925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
13926         Moved ...
13927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
13928         ... here.
13929         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
13930         Moved ...
13931         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
13932         ... here.
13933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
13934         Moved ...
13935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
13936         ... here.
13937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
13938         Moved ...
13939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
13940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
13941         Moved ...
13942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
13943         ... here.
13944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
13945         Moved ...
13946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
13947         ... here.
13948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
13949         Moved ...
13950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
13951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
13952         Moved ...
13953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
13954         ... here.
13955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
13956         Moved ...
13957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
13958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
13959         Moved ...
13960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
13961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
13962         Moved ...
13963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
13964         ... here.
13965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
13966         Moved ...
13967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
13968         ... here.
13969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
13970         Moved ...
13971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
13972         ... here.
13973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
13974         Moved ...
13975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
13976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
13977         Moved ...
13978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
13979         ... here.
13980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
13981         Moved ...
13982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
13983         ... here.
13984         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
13985         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
13986         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
13987         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
13988         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
13989         Moved ...
13990         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
13991         ... here.
13992         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
13993         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
13994         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
13995         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
13996         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
13997         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
13998         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
13999         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
14000         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
14001         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
14002         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
14003         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
14004         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
14005         Moved ...
14006         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
14007         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
14008         Moved ...
14009         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
14010         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
14011         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
14012         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
14013         Moved ...
14014         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
14015         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
14016         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
14017         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
14018         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
14019         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
14020         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
14022 2014-06-10  Wilco  <wdijkstr@arm.com>
14024         * math/test-fenv-return.c: New file.
14025         * math/Makefile: Add new test test-fenv-return.
14027 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
14029         [BZ #17042]
14030         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
14031         when x - 1 is zero.
14032         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
14033         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14034         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
14035         0.0L for an argument of 1.0L.
14036         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14037         Likewise.
14038         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
14039         value when x - 1 is zero.
14040         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
14041         * sysdeps/i386/fpu/libm-test-ulps: Update.
14042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14044 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
14046         [BZ #15119]
14047         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
14049 2014-06-09  Roland McGrath  <roland@hack.frob.com>
14051         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
14052         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
14054 2014-06-09  Roland McGrath  <roland@hack.frob.com>
14056         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14057         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
14059         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14060         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
14062         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14063         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
14065         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14066         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
14068         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
14069         if not already defined.
14070         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
14071         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
14072         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
14073         (TLS_INIT_TP): Use it.
14074         (TLS_DEFINE_INIT_TP): New macro.
14075         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
14077 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
14079         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
14080         constant.
14081         [POSIX] (IXANY): Likewise.
14082         [POSIX] (OLCUC): Likewise.
14083         [POSIX || POSIX2008] (CBAUD): Do not allow.
14084         [POSIX || POSIX2008] (DEFECHO): Likewise.
14085         [POSIX || POSIX2008] (ECHOCTL): Likewise.
14086         [POSIX || POSIX2008] (ECHOKE): Likewise.
14087         [POSIX || POSIX2008] (ECHOPRT): Likewise.
14088         [POSIX || POSIX2008] (EXTA): Likewise.
14089         [POSIX || POSIX2008] (EXTB): Likewise.
14090         [POSIX || POSIX2008] (FLUSHO): Likewise.
14091         [POSIX || POSIX2008] (LOBLK): Likewise.
14092         [POSIX || POSIX2008] (PENDIN): Likewise.
14093         [POSIX || POSIX2008] (SWTCH): Likewise.
14094         [POSIX || POSIX2008] (VDISCARD): Likewise.
14095         [POSIX || POSIX2008] (VDSUSP): Likewise.
14096         [POSIX || POSIX2008] (VLNEXT): Likewise.
14097         [POSIX || POSIX2008] (VREPRINT): Likewise.
14098         [POSIX || POSIX2008] (VSTATUS): Likewise.
14099         [POSIX || POSIX2008] (VWERASE): Likewise.
14100         (B*): Change to B[0123456789]*.
14101         * conform/data/time.h-data [POSIX || UNIX98]
14102         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
14103         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14104         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
14105         [POSIX] (tm_*): Do not allow.
14107 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
14109         * Makefile (install): Don't set LANGUAGE.
14110         * Makefile.in (install): Likewise.
14111         * assert/Makefile (test-assert-ENV): Remove variable.
14112         (test-assert-perr-ENV): Likewise.
14113         * elf/Makefile (neededtest4-ENV): Likewise.
14114         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14115         [$(cross-compiling) = no]: Don't set LANGUAGE.
14116         * io/ftwtest-sh (LANG): Remove variable.
14117         * libio/Makefile (tst-widetext-ENV): Likewise.
14118         * manual/install.texi (Running make install): Don't refer to
14119         environment settings for make install.
14120         * INSTALL: Regenerated.
14121         * nptl/tst-tls6.sh: Don't set LANG.
14122         * posix/globtest.sh (LANG): Remove variable.
14123         * string/Makefile (tester-ENV): Likewise.
14124         (inl-tester-ENV): Likewise.
14125         (noinl-tester-ENV): Likewise.
14126         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14127         [$(cross-compiling) = no]: Don't set LANGUAGE.
14128         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
14129         without explicit environment settings.
14131 2014-06-06  Roland McGrath  <roland@hack.frob.com>
14133         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
14134         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
14135         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
14136         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
14138 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
14140         * crypt/crypt-private.h [DOS]: Add some includes taken from the
14141         other files in the crypt directory.
14142         * crypt/crypt.c: Remove duplicate includes.
14143         * crypt/crypt-entry.c: Likewise.
14144         * crypt/crypt_util.c: Likewise.
14146 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
14148         * Makeconfig (run-program-env): New variable.
14149         (run-program-prefix-before-env): Likewise.
14150         (run-program-prefix-after-env): Likewise.
14151         (run-program-prefix): Define in terms of new variables.
14152         (built-program-cmd-before-env): New variable.
14153         (built-program-cmd-after-env): Likewise.
14154         (built-program-cmd): Define in terms of new variables.
14155         (test-program-prefix-before-env): New variable.
14156         (test-program-prefix-after-env): Likewise.
14157         (test-program-prefix): Define in terms of new variables.
14158         (test-program-cmd-before-env): New variable.
14159         (test-program-cmd-after-env): Likewise.
14160         (test-program-cmd): Define in terms of new variables.
14161         * Rules (make-test-out): Use $(run-program-env).
14162         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
14163         (help): Do not mention environment variables.  Mention
14164         --timeoutfactor option.
14165         (timeoutfactor): New variable.
14166         (blacklist_exports): Remove function.
14167         (exports): Remove variable.
14168         (command): Do not include ${exports}.
14169         * manual/install.texi (Configuring and compiling): Do not mention
14170         test wrappers preserving environment variables.  Mention that last
14171         assignment to a variable must take precedence.
14172         * INSTALL: Regenerated.
14173         * benchtests/Makefile (run-bench): Use $(run-program-env).
14174         * catgets/Makefile ($(objpfx)test1.cat): Use
14175         $(built-program-cmd-before-env), $(run-program-env) and
14176         $(built-program-cmd-after-env).
14177         ($(objpfx)test2.cat): Do not specify environment variables
14178         explicitly.
14179         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
14180         $(run-program-env) and $(built-program-cmd-after-env).
14181         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
14182         $(run-program-env) and $(test-program-cmd-after-env).
14183         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
14184         explicitly.
14185         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
14186         run_program_env and test_program_cmd_after_env arguments.
14187         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
14188         * elf/tst-pathopt.sh: Use run_program_env argument.
14189         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
14190         $(test-wrapper-env) and $(run-program-env).
14191         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
14192         run_program_env arguments.
14193         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
14194         * intl/Makefile ($(objpfx)tst-gettext.out): Use
14195         $(test-program-prefix-before-env), $(run-program-env) and
14196         $(test-program-prefix-after-env).
14197         ($(objpfx)tst-gettext2.out): Likewise.
14198         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
14199         run_program_env and test_program_prefix_after_env arguments.
14200         * intl/tst-gettext2.sh: Likewise.
14201         * intl/tst-gettext4.sh: Do not set environment variables
14202         explicitly.
14203         * intl/tst-gettext6.sh: Likewise.
14204         * intl/tst-translit.sh: Likewise.
14205         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
14206         $(test-program-prefix-before-env), $(run-program-env) and
14207         $(test-program-prefix-after-env).
14208         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
14209         run_program_env and test_program_prefix_after_env arguments.
14210         * math/Makefile (run-regen-ulps): Use $(run-program-env).
14211         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
14212         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
14213         explicitly with each use of ${test_wrapper_env}.
14214         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
14215         $(test-program-prefix-before-env), $(run-program-env) and
14216         $(test-program-prefix-after-env).
14217         * posix/tst-getconf.sh: Do not set environment variables
14218         explicitly.
14219         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
14220         run_program_env and test_program_prefix_after_env arguments.
14221         * stdio-common/tst-printf.sh: Do not set environment variables
14222         explicitly.
14223         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
14224         $(test-program-prefix-before-env), $(run-program-env) and
14225         $(test-program-prefix-after-env).
14226         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
14227         run_program_env and test_program_prefix_after_env arguments.
14228         Split $test calls into $test_pre and $test.
14229         * timezone/Makefile (build-testdata): Use
14230         $(built-program-cmd-before-env), $(run-program-env) and
14231         $(built-program-cmd-after-env).
14233 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14235         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
14236         strlen for non SHARED builds.
14238 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14240         * nptl/allocatestack.c (check_list): Inlined function...
14241         (__reclaim_stacks): ... here.
14243 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
14245         [BZ #15698]
14246         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14247         memory overrun.
14249 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
14251         * Rules (make-test-out): Include
14252         LOCPATH=$(common-objpfx)localedata in default environment.
14253         * debug/Makefile (tst-chk1-ENV): Remove variable.
14254         (tst-chk2-ENV): Likewise.
14255         (tst-chk3-ENV): Likewise.
14256         (tst-chk4-ENV): Likewise.
14257         (tst-chk5-ENV): Likewise.
14258         (tst-chk6-ENV): Likewise.
14259         (tst-lfschk1-ENV): Likewise.
14260         (tst-lfschk2-ENV): Likewise.
14261         (tst-lfschk3-ENV): Likewise.
14262         (tst-lfschk4-ENV): Likewise.
14263         (tst-lfschk5-ENV): Likewise.
14264         (tst-lfschk6-ENV): Likewise.
14265         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
14266         (tst-iconv7-ENV): Likewise.
14267         * intl/Makefile (LOCPATH-ENV): Likewise.
14268         (tst-codeset-ENV): Likewise.
14269         (tst-gettext3-ENV): Likewise.
14270         (tst-gettext5-ENV): Likewise.
14271         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
14272         (tst-fopenloc-ENV): Likewise.
14273         (tst-fgetws-ENV): Remove variable.
14274         (tst-ungetwc1-ENV): Likewise.
14275         (tst-ungetwc2-ENV): Likewise.
14276         (bug-ungetwc2-ENV): Likewise.
14277         (tst-swscanf-ENV): Likewise.
14278         (bug-ftell-ENV): Likewise.
14279         (tst-fgetwc-ENV): Likewise.
14280         (tst-fseek-ENV): Likewise.
14281         (tst-ftell-partial-wide-ENV): Likewise.
14282         (tst-ftell-active-handler-ENV): Likewise.
14283         (tst-ftell-append-ENV): Likewise.
14284         * posix/Makefile (tst-fnmatch-ENV): Likewise.
14285         (tst-regexloc-ENV): Likewise.
14286         (bug-regex1-ENV): Likewise.
14287         (tst-regex-ENV): Likewise.
14288         (tst-regex2-ENV): Likewise.
14289         (bug-regex5-ENV): Likewise.
14290         (bug-regex6-ENV): Likewise.
14291         (bug-regex17-ENV): Likewise.
14292         (bug-regex18-ENV): Likewise.
14293         (bug-regex19-ENV): Likewise.
14294         (bug-regex20-ENV): Likewise.
14295         (bug-regex22-ENV): Likewise.
14296         (bug-regex23-ENV): Likewise.
14297         (bug-regex25-ENV): Likewise.
14298         (bug-regex26-ENV): Likewise.
14299         (bug-regex30-ENV): Likewise.
14300         (bug-regex32-ENV): Likewise.
14301         (bug-regex33-ENV): Likewise.
14302         (bug-regex34-ENV): Likewise.
14303         (bug-regex35-ENV): Likewise.
14304         (tst-rxspencer-ENV): Likewise.
14305         (tst-rxspencer-no-utf8-ENV): Likewise.
14306         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
14307         (tst-sscanf-ENV): Likewise.
14308         (tst-swprintf-ENV): Likewise.
14309         (tst-swscanf-ENV): Likewise.
14310         (test-vfprintf-ENV): Likewise.
14311         (scanf13-ENV): Likewise.
14312         (bug14-ENV): Likewise.
14313         (tst-grouping-ENV): Likewise.
14314         * stdlib/Makefile (tst-strtod-ENV): Likewise.
14315         (tst-strtod3-ENV): Likewise.
14316         (tst-strtod4-ENV): Likewise.
14317         (tst-strtod5-ENV): Likewise.
14318         (testmb2-ENV): Likewise./
14319         * string/Makefile (tst-strxfrm-ENV): Likewise.
14320         (tst-strxfrm2-ENV): Likewise.
14321         (bug-strcoll1-ENV): Likewise.
14322         (test-strcasecmp-ENV): Likewise.
14323         (test-strncasecmp-ENV): Likewise.
14324         * time/Makefile (tst-strptime-ENV): Likewise.
14325         (tst-ftime_l-ENV): Likewise.
14326         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
14327         (tst-mbrtowc-ENV): Likewise.
14328         (tst-wcrtomb-ENV): Likewise.
14329         (tst-mbrtowc2-ENV): Likewise.
14330         (tst-c16c32-1-ENV): Likewise.
14331         (tst-mbsnrtowcs-ENV): Likewise.
14333 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
14335         * manual/resource.texi (How to get information about the memory
14336         subsystem?): Fix typo.
14337         Reported by Peon de la Parra Ivan <peon@keba.com>
14339 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
14341         [BZ #16882]
14342         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
14343         (pthread_spin_lock): Branch out of spin loop to proper location.
14344         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
14345         (pthread_spin_lock): Likewise.
14347         * nptl/tst-spin4.c: New test.
14348         * nptl/Makefile (tests): Add tst-spin4.
14350 2014-06-03  Andreas Schwab  <schwab@suse.de>
14352         [BZ #15946]
14353         * resolv/res_send.c (send_dg): Reload file descriptor after
14354         calling reopen.
14356 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
14358         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14360 2014-06-03  Richard Henderson  <rth@redhat.com>
14362         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
14363         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
14364         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
14365         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
14366         in the SAVE_PID block.
14367         (__libc_vfork): New alias.
14368         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
14370         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
14371         child in registers, not on the stack.  Remove RESET_PID conditionals.
14372         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
14374 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14376         * sysdeps/aarch64/libm-test-ulps: Regenerate.
14378 2014-06-03  Wilco  <wdijkstr@arm.com>
14380         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
14381         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
14382         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
14383         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
14384         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
14385         Likewise.
14387 2014-06-03  Wilco  <wdijkstr@arm.com>
14389         * sysdeps/aarch64/fpu/math_private.h
14390         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
14391         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
14392         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
14393         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
14394         Fix declarations.
14396 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14398         * crypt/crypt-private.h: Include ufc-crypt.h.
14399         (__b64_from_24bit): Declare extern.
14400         * crypt/crypt_util.c(__b64_from_24bit): New function.
14401         (b64t): New static const variable.
14402         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
14403         (b64t): Remove variable.
14404         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
14405         * crypt/sha256-crypt.c: Include crypt-private.h.
14406         (b64t): Remove variable.
14407         (__sha256_crypt_r): Remove b64_from_24bit and replace
14408         with __b64_from_24bit.
14409         * crypt/sha512-crypt.c: Likewise.
14411 2014-06-02  Roland McGrath  <roland@hack.frob.com>
14413         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
14414         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
14415         Label the code __libc_vfork rather than __vfork.
14416         [!NOT_IN_libc] (vfork): Define as weak alias.
14417         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
14418         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
14419         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
14421 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14423         * malloc/malloc.c (malloc_info): Fix format specifier for
14424         n_mmaps.
14426 2014-06-02  Wilco  <wdijkstr@arm.com>
14428         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
14429         FPCR write.
14431 2014-06-02  Wilco  <wdijkstr@arm.com>
14433         [BZ #17009]
14434         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
14435         Rewrite to reduce FPCR/FPSR accesses.
14437 2014-06-01  David S. Miller  <davem@davemloft.net>
14439         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14441 2014-05-31  David S. Miller  <davem@davemloft.net>
14443         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
14444         to occur in round to nearest mode when |x| >= 2.0
14446 2014-05-30  Richard Henderson  <rth@twiddle.net>
14448         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
14449         (PSEUDO_RET_NOERRNO): Remove.
14450         (ret): Don't redefine.
14451         (ret_NOERRNO): Define in terms of ret.
14452         (ret_ERRVAL): Likewise.
14454         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
14455         use of PSEUDO_RET; perform the error check directly.
14457 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
14459         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
14460         with __int128_t.
14462 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14464         * malloc/malloc (malloc_info): Fix formatting.
14466 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14467             Roland McGrath  <roland@hack.frob.com>
14469         * malloc/malloc (malloc_info): Also print mmapped statistics.
14471 2014-05-30  Roland McGrath  <roland@hack.frob.com>
14473         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
14474         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
14476 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
14478         * malloc/malloc.c (malloc_info): Inline mi_arena.
14480 2014-05-29  Richard Henderson  <rth@twiddle.net>
14482         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
14483         Remove comma before expanding ASM_ARGS_##nr.
14484         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
14485         Make _x0 a strict output; make _x8 a strict input; adjust expansion
14486         of ASM_ARGS_##nr.
14487         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
14488         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
14489         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
14490         (ASM_ARGS_1): Add leading comma.
14492         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
14493         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
14494         to __errno_location.
14495         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
14496         Remove the expected plt for __errno_location.
14498         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14499         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
14500         call to __read_tp.
14502         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14503         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
14504         it and break it down.
14505         (DOCARGS_0, DOCARGS_1): Do nothing.
14506         (DOCARGS_2): Update to store into the new stack frame.
14507         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
14508         (UNDOCARGS_1): Update to restore from the new stack frame.
14509         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
14510         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
14512         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14513         (SINGLE_THREAD_P): New parameter for result regno.
14514         (PSEUDO): Update to match; use cbz instead of beq.
14516         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14517         Use ENTRY to define the _nocancel entry point.  Share the syscall
14518         and syscall error check paths with the cancel path.
14519         (PSEUDO_END): New.
14521         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
14522         whitespace; tabs before and after asm mnemonics.
14524 2014-05-29  Eric Wong  <normalperson@yhbt.net>
14526         [BZ #15132]
14527         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14528         Call fstat64 or stat64 internally, depending on arguments passed.
14529         Replace stat buffer argument with file descriptor argument.
14530         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
14531         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14532         Pass fd to __internal_statvfs instead of calling fstat64.
14533         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
14534         Pass fd to __internal_statvfs64 instead of calling fstat64.
14535         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
14536         Pass -1 to __internal_statvfs instead of calling stat64.
14537         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
14538         Pass -1 to __internal_statvfs64 instead of calling stat64.
14540 2014-05-28  Roland McGrath  <roland@hack.frob.com>
14542         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
14543         that was previously under [RESET_PID].
14544         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
14546         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
14547         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
14549 2014-05-27  Roland McGrath  <roland@hack.frob.com>
14551         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
14553         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
14554         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
14556 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
14558         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
14560 2014-05-27  Andreas Schwab  <schwab@suse.de>
14562         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
14563         TLS_INIT_TP macro.
14564         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
14565         * elf/rtld.c (init_tls, dl_main): Likewise.
14566         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
14567         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
14568         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
14569         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
14570         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
14571         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
14572         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
14573         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
14574         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
14575         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
14576         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
14577         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
14578         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
14579         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
14580         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
14581         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
14582         * sysdeps/generic/tls.h: Update description.
14584 2014-05-27  Will Newton  <will.newton@linaro.org>
14586         [BZ #16990]
14587         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
14588         and restore r2 rather than just restoring.
14590 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14592         [BZ #16724]
14593         * libio/tst-ftell-append.c: New test case.
14594         * libio/Makefile (tests): Add test case.
14595         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
14596         append mode.
14597         * libio/wfileops.c (do_ftell_wide): Likewise.
14599 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14601         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14603         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
14604         ...
14605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
14606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14607         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
14608         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
14609         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
14610         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
14611         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
14612         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
14613         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
14614         Moved ...
14615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
14616         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
14617         Moved ...
14618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
14619         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
14620         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
14621         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
14622         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
14623         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
14624         ...
14625         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
14626         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
14627         Moved ...
14628         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
14629         here.
14630         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
14631         ...
14632         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
14633         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
14634         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
14636         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
14637         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
14638         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
14639         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
14641         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
14642         merge into ...
14643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
14644         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
14645         ...
14646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
14647         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
14648         ...
14649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
14650         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14651         Moved ...
14652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
14653         here.
14654         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14655         Moved ...
14656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
14657         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14658         Moved ...
14659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
14661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
14662         conditional [RESET_PID].
14663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
14664         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
14665         removed.
14666         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
14667         removed.
14669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
14670         <tcb-offsets.h>.
14671         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14672         (__libc_vfork): New strong alias.
14673         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
14674         removed.
14675         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
14676         Removed.
14678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
14679         <tcb-offsets.h>.
14680         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
14681         (__libc_vfork): New strong alias.
14682         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
14683         removed.
14684         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
14685         removed.
14687 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
14689         * malloc/malloc.c (mi_arena): New function.
14690         (malloc_info): Remove nested function mi_arena. Call non-nosted
14691         function mi_arena.
14693 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14695         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
14696         by insrwi.
14697         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
14698         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
14699         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
14700         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
14701         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
14702         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
14703         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
14705 2014-05-26  Andreas Schwab  <schwab@suse.de>
14707         [BZ #16984]
14708         * locale/programs/repertoire.c (repertoire_read): Add slash
14709         between I18NPATH element and file name.
14710         * locale/programs/locfile.c (locfile_read): Likewise.
14712 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
14714         * nptl/pthread_mutexattr_settype.c
14715         (__pthread_mutexattr_settype):
14716         Disable lock elision for PTHREAD_MUTEX_NORMAL.
14718 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
14720         * nptl/tst-mutex5 (do_test):
14721         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
14723 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14725         * benchtests/README: Document 'init' directive.
14726         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
14727         BENCH_INIT.
14728         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
14729         (parse_file): Recognize 'init' directive.
14731 2014-05-26  Kyle McMartin  <kyle@redhat.com>
14733         [BZ #16796]
14734         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
14735         alignment of struct pthread.
14737 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14739         [BZ #16878]
14740         * nscd/netgroupcache.c (addgetnetgrentX): Look for
14741         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
14742         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
14743         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
14745 2014-05-25  Richard Henderson  <rth@twiddle.net>
14747         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14748         (SINGLE_THREAD_P_PIC): Remove.
14749         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
14750         (SINGLE_THREAD_P_PIC): Remove.
14752         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
14753         branch to syscall error ...
14754         (PSEUDO): ... here.
14755         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
14756         from __local_syscall_error to .Lsyscall_error.
14757         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
14758         (SYSCALL_ERROR): Update label name.
14760         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14761         Do not use DOARGS/UNDOARGS.
14762         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
14763         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
14764         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
14765         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
14766         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
14768         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
14769         block comment.
14771         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
14772         define if !NOT_IN_libc.
14773         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
14774         define with non-default symbol versions.
14776 2014-05-23  Richard Henderson  <rth@twiddle.net>
14778         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
14779         (vfork, __vfork): Define via compat_symbol.
14781         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
14782         [!HAVE_IFUNC] (vfork_compat): Remove.
14783         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
14785 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
14787         [BZ #16978]
14788         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
14789         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
14790         variable.
14792 2014-05-23  Richard Henderson  <rth@twiddle.net>
14794         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
14795         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
14796         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
14797         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
14799         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
14800         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
14801         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
14802         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
14803         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
14804         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
14805         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
14806         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
14807         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
14808         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
14809         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
14810         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
14811         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
14812         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
14813         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
14814         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
14815         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
14816         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
14817         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
14818         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
14819         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
14820         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
14821         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
14822         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
14823         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
14824         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
14825         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
14826         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
14827         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
14828         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
14829         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
14830         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
14831         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
14832         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
14833         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
14834         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
14835         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
14836         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
14837         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
14838         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
14839         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
14840         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
14841         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
14842         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
14843         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
14844         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
14845         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
14846         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
14847         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
14848         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
14849         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
14850         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
14851         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
14852         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
14853         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
14854         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
14856         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
14857         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
14858         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
14859         before exiting on error.
14860         (__libc_vfork): New strong alias.
14861         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
14862         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
14864         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
14865         that was previously under [RESET_PID].
14866         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
14868         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
14870 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
14872         [BZ #16977]
14873         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
14874         value when x - 1 is zero.
14875         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
14876         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
14877         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
14878         0.0L for an argument of 1.0L.
14879         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
14880         Likewise.
14881         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
14882         value when x - 1 is zero.
14883         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
14884         * sysdeps/i386/fpu/libm-test-ulps: Update.
14885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14887 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14889         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
14890         alphasort and versionsort.
14892 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14894         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
14895         macro.
14896         [copysignf]: Likewise.
14898 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14900         * crypt/md5-crypt.c: Fix formatting.
14902 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14904         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
14905         (b64_from_24bit): New function.
14907 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14909         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
14910         libc_hidden_builtin_def to ifunc.
14911         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14912         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
14914 2014-05-21  Roland McGrath  <roland@hack.frob.com>
14916         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
14917         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
14919 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
14921         * nscd/Depend (linuxthreads): Remove.
14922         (nptl): Add.
14923         * resolv/Depend (linuxthreads): Remove.
14924         * rt/Depend (linuxthreads): Remove.
14926         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
14927         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
14928         $(common-objpfx)elf/.
14929         (link-libc-before-gnulib): Likewise.
14930         (elfobjdir): Remove variable.
14931         * Makefile (install): Use $(elf-objpfx) instead of
14932         $(common-objpfx)elf/.
14933         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
14934         $(elfobjdir)/.
14935         (link-libc-deps): Likewise.
14936         ($(common-objpfx)libc.so): Likewise.
14937         ($(common-objpfx)linkobj/libc.so): Likewise.
14938         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
14939         instead of $(common-objpfx)elf/.
14940         (symbolic-link-list): Likewise.
14941         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14942         [$(cross-compiling) = no]: Likewise.
14943         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
14944         $(elfobjdir)/.
14945         (static-gnulib-arch): Likewise.
14946         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14947         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
14948         $(common-objpfx)elf/.
14950 2014-05-21  Richard Henderson  <rth@redhat.com>
14952         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14953         (SINGLE_THREAD_P): Use the correct width load.  Fold
14954         into the ldr offset.
14956         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
14957         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
14959 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
14961         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
14962         (libgcc_s_resume): Use __attribute_used__.
14963         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
14964         Likewise.
14966 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14968         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
14969         optimization when used with float constants.
14971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14973 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
14975         [BZ #16915]
14976         * locale/nl_langinfo_l.c: Make direct reference to every
14977         _nl_current_CATEGORY symbol.
14978         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
14979         (tests-static): Add tst-langinfo-static.
14980         (tests-special): Add tst-langinfo-static.out.
14981         ($(objpfx)tst-langinfo.out): Redirect output.
14982         ($(objpfx)tst-langinfo-static.out): New.
14983         * localedata/tst-langinfo.sh: Send output to stdout.
14984         * localedata/tst-langinfo-static.c: New file.
14986         [BZ #16965]
14987         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
14988         when the shift amount is modulo the limb size.
14990 2014-05-20  Richard Henderson  <rth@redhat.com>
14992         [BZ #16967]
14993         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
14994         Change type of sa_flags from unsigned int to int.
14996         [BZ #16966]
14997         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
14999         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
15001 2014-05-20  Will Newton  <will.newton@linaro.org>
15003         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15004         Test the return value of the system call in the nocancel case.
15006 2014-05-20  Will Newton  <will.newton@linaro.org>
15007             Yvan Roux  <yvan.roux@linaro.org>
15009         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
15010         #include of asm/ptrace.h.
15011         (PTRACE_GET_THREAD_AREA): Remove #undef.
15012         (PTRACE_GETHBPREGS): Likewise.
15013         (PTRACE_SETHBPREGS): Likewise.
15014         (struct user_regs_struct): New structure.
15015         (struct user_fpsimd_struct): New structure.
15016         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
15017         #include of asm/ptrace.h and second #include of sys/user.h.
15018         (PTRACE_GET_THREAD_AREA): Remove #undef.
15019         (PTRACE_GETHBPREGS): Likewise.
15020         (PTRACE_SETHBPREGS): Likewise.
15021         (ELF_NGREG): Use new struct user_regs_struct.
15022         (elf_fpregset_t): Use new struct user_fpsimd_struct.
15024 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15026         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
15027         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
15029 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
15031         [BZ #16958]
15032         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
15033         membar to avoid block loads/stores to overlap previous stores.
15035 2014-05-17  Richard Henderson  <rth@redhat.com>
15037         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
15038         Create the __##syscall_name##_nocancel entry point.
15039         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
15040         Remove; let the sysdep-cancel.h code create it.
15042 2014-05-17  David S. Miller  <davem@davemloft.net>
15044         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
15045         Protect with __USE_GNU.
15046         (TIOCSET_TEMPT): Likewise.
15047         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15048         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
15049         these are already provided in bits/ioctl-types.h
15051 2014-05-16  Roland McGrath  <roland@hack.frob.com>
15053         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
15054         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
15056         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
15057         Use wait4 regardless of [__NR_waitpid].
15059 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
15061         PR libgcc/60166
15062         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15063         (_FP_NANSIGN_Q): Set the quiet bit.
15065 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
15067         * benchtests/Makefile
15068         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
15069         not $(common-objpfx)math/libm.so.
15070         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
15071         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
15072         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
15073         $(common-objpfx)dlfcn/libdl.so.
15074         ($(objpfx)tst-audit8): Depend on $(libm), not
15075         $(common-objpfx)math/libm.so.
15076         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
15077         not $(common-objpfx)dlfcn/libdl.so.
15078         * math/Makefile
15079         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15080         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
15081         [$(build-shared) = yes].
15082         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
15083         $(common-objpfx)nptl/libpthread.so.
15084         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
15085         $(common-objpfx)math/libm.so$(libm.so-version) or
15086         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
15087         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
15088         $(common-objpfx)dlfcn/libdl.so.
15089         * setjmp/Makefile (link-libm): Remove variable.
15090         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
15091         * stdio-common/Makefile (link-libm): Remove variable.
15092         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
15093         * stdlib/Makefile (link-libm): Remove variable.
15094         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
15095         ($(objpfx)tst-strtod-round): Likewise.
15096         ($(objpfx)tst-tininess): Likewise.
15097         ($(objpfx)tst-strtod-underflow): Likewise.
15098         ($(objpfx)tst-strtod6): Likewise.
15099         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
15100         $(libdl), not $(common-objpfx)nptl/libpthread.so and
15101         $(common-objpfx)dlfcn/libdl.so.
15103 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15105         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
15106         BSD terminal modes definitions.
15108 2014-05-16  Roland McGrath  <roland@hack.frob.com>
15110         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
15111         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
15113         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
15114         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
15115         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
15116         Don't do #include_next.
15117         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
15118         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
15119         Don't do #include_next.
15120         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
15121         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
15122         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
15123         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
15125 2014-05-16  Allan McRae  <allan@archlinux.org>
15127         * po/sv.po: Update Swedish translation from translation project.
15129         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
15130         in sed expression.
15132 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
15134         [BZ #16917]
15135         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
15136         errno if the TIOCGPTN ioctl fails with an error different than
15137         EINVAL.
15138         * login/tst-ptsname.c: New file.
15139         * login/Makefile (tests): Add tst-ptsname.
15141         [BZ #16943]
15142         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
15143         and prlimit64.
15145 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15147         [BZ #16849]
15148         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
15149         herrno to return EAI_AGAIN.
15151 2014-05-14  Roland McGrath  <roland@hack.frob.com>
15153         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
15154         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
15155         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
15156         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
15157         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
15158         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
15159         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
15160         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
15161         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
15162         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
15163         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
15164         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
15165         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
15166         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
15167         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
15168         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
15169         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
15170         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
15171         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
15172         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
15173         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
15174         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
15175         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
15176         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
15177         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
15178         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
15179         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
15180         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
15181         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
15182         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
15183         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
15184         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
15185         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
15186         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
15187         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15188         Moved ...
15189         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
15190         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
15191         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
15192         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
15193         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
15194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
15195         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
15196         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
15197         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
15198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
15199         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
15200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
15201         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
15202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
15203         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
15204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
15205         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
15206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
15207         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
15208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
15209         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
15210         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
15211         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
15212         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
15213         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
15214         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
15215         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
15216         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15217         Moved ...
15218         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
15219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
15220         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
15221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
15222         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
15223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
15224         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
15225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
15226         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
15227         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
15228         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
15229         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
15230         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
15231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
15232         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
15233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
15234         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
15235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
15236         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
15237         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15238         Moved ...
15239         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
15240         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
15241         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
15243         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
15244         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
15245         (libpthread-sysdep_routines): Add elision-related stuff here instead.
15246         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
15247         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
15248         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
15249         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
15250         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
15251         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
15252         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
15253         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
15254         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
15255         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
15256         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
15257         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
15258         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
15259         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
15260         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
15261         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
15262         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
15263         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
15264         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
15265         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
15266         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
15267         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
15268         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
15269         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
15270         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
15271         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
15272         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
15273         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
15275         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
15276         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
15278         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
15279         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
15280         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
15281         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
15282         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
15283         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
15284         Moved ...
15285         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
15286         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15287         Moved ...
15288         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
15289         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15290         Moved ...
15291         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
15292         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
15293         Moved ...
15294         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
15295         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
15296         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
15297         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15298         Moved ...
15299         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
15300         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
15301         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
15302         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
15303         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
15304         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
15305         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
15306         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15307         Moved ...
15308         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
15309         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15310         Moved ...
15311         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15312         ... here.
15313         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
15314         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
15315         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
15316         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
15317         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15318         Moved ...
15319         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15320         ... here.
15321         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
15322         Moved ...
15323         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
15324         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
15325         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
15326         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
15327         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
15328         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
15329         Moved ...
15330         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
15331         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15332         Moved ...
15333         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
15334         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15335         Moved ...
15336         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
15337         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
15338         Moved ...
15339         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
15340         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
15341         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
15342         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
15343         Moved ...
15344         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
15345         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
15346         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
15347         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
15348         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
15349         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
15350         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
15351         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
15352         Moved ...
15353         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
15354         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15355         Moved ...
15356         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15357         ... here.
15358         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
15359         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
15360         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
15361         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
15362         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15363         Moved ...
15364         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15365         ... here.
15366         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
15367         Moved ...
15368         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
15369         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
15370         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
15371         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
15372         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
15373         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
15374         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
15375         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
15376         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
15377         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
15378         Moved ...
15379         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
15380         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
15381         Moved ...
15382         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
15383         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
15384         Moved ...
15385         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
15386         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
15387         Moved ...
15388         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
15389         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
15390         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
15391         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
15392         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
15393         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
15394         Moved ...
15395         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
15396         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
15397         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
15398         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
15399         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
15400         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
15401         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
15402         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
15403         Moved ...
15404         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
15405         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
15406         Moved ...
15407         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
15408         ... here.
15409         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
15410         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
15411         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
15412         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
15413         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
15414         Moved ...
15415         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
15416         ... here.
15417         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
15418         Moved ...
15419         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
15420         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
15421         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
15422         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
15423         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
15424         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
15425         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
15426         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
15427         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
15428         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
15429         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
15431         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
15432         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
15434         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
15435         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
15437         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
15438         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
15439         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
15440         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
15441         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
15442         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
15443         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
15444         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
15445         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
15446         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
15447         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
15448         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
15449         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
15450         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
15451         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
15452         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
15453         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
15454         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
15455         Moved ...
15456         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
15457         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
15458         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
15459         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
15460         Moved ...
15461         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
15462         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
15463         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
15464         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
15465         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
15466         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
15467         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
15468         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
15469         Moved ...
15470         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
15471         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
15472         Moved ...
15473         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
15474         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
15475         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
15476         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
15477         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
15478         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
15479         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
15480         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
15481         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
15482         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
15483         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
15484         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
15485         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
15486         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
15487         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
15488         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
15489         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
15491         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
15492         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
15493         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
15494         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
15495         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
15497         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
15498         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
15499         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
15500         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
15501         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
15502         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
15503         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
15504         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
15505         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
15506         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
15508         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
15509         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
15511         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
15512         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
15513         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
15514         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
15515         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
15516         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
15517         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
15518         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
15519         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
15520         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
15521         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
15522         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
15523         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
15524         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
15525         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
15526         Update #include.
15527         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
15528         Likewise.
15529         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15530         Likewise.
15531         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15532         Likewise.
15533         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15534         Likewise.
15535         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
15536         Likewise.
15537         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
15538         Likewise.
15539         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15540         Likewise.
15541         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
15542         Likewise.
15543         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
15544         Likewise.
15545         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
15546         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
15547         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
15548         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
15549         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
15550         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
15551         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
15552         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
15553         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
15554         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
15555         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
15556         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
15557         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
15558         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
15559         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
15561         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
15562         that was previously under [RESET_PID].
15563         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15564         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
15565         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
15567         * sysdeps/i386/nptl/Implies: New file.
15568         * sysdeps/x86_64/nptl/Implies: New file.
15569         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
15570         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
15571         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
15572         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
15574         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
15575         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15576         (__libc_vfork): New strong alias.
15577         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
15578         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
15580         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
15581         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15582         (__libc_vfork): New strong alias.
15583         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
15584         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
15586         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
15587         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15588         (__libc_vfork): New strong alias.
15589         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
15590         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
15591         * nptl/pt-vfork.c: New file.
15592         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
15593         (libpthread: GLIBC_2.20): New version set (empty).
15595 2014-05-14  Will Newton  <will.newton@linaro.org>
15597         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
15598         rather than #if.
15600 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
15602         [BZ #16564]
15603         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
15604         arguments with exponent 65 or above.
15605         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
15606         arguments 0x1p113L or above.
15607         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
15608         to arguments 0x1p107L or above.
15609         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
15610         positive arguments with exponent 65 or above.
15611         * math/auto-libm-test-in: Add more tests of log1p.
15612         * math/auto-libm-test-out: Regenerated.
15614         [BZ #16928]
15615         * math/s_cacos.c (__cacos): Ensure zero real part of result from
15616         non-finite arguments is +0.
15617         * math/s_cacosf.c (__cacosf): Likewise.
15618         * math/s_cacosl.c (__cacosl): Likewise.
15619         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
15620         * sysdeps/i386/fpu/libm-test-ulps: Update.
15621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15623         [BZ #16927]
15624         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
15625         value.
15626         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
15627         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
15628         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
15629         for explicit high bit of mantissa when testing for argument equal
15630         to 1.
15631         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
15632         * sysdeps/i386/fpu/libm-test-ulps: Update.
15633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15635         [BZ #16516]
15636         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
15637         (__erf): Scale by 16 instead of 8 in potentially underflowing
15638         case.  Ensure exception if result actually underflows.
15639         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
15640         (__erff): Scale by 16 instead of 8 in potentially underflowing
15641         case.  Ensure exception if result actually underflows.
15642         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
15643         (efx8): Remove variable.
15644         (__erfl): Scale by 16 instead of 8 in potentially underflowing
15645         case.  Ensure exception if result actually underflows.
15646         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
15647         (efx8): Remove variable.
15648         (__erfl): Scale by 16 instead of 8 in potentially underflowing
15649         case.  Ensure exception if result actually underflows.
15650         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
15651         (efx8): Remove variable.
15652         (__erfl): Scale by 16 instead of 8 in potentially underflowing
15653         case.  Ensure exception if result actually underflows.
15654         * math/auto-libm-test-in: Add more tests of erf.
15655         * math/auto-libm-test-out: Regenerated.
15657 2014-05-14  Andreas Schwab  <schwab@suse.de>
15659         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
15660         Remove code conditionalized on USE___THREAD.
15662         * config.h.in (HAVE_PT_CHOWN): Define as 0.
15663         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
15664         not definedness.
15666 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
15668         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
15669         Define unconditionally.
15670         (__ASSUME_O_CLOEXEC): Likewise.
15671         (__ASSUME_SOCK_CLOEXEC): Likewise.
15672         (__ASSUME_IN_NONBLOCK): Likewise.
15673         (__ASSUME_PIPE2): Likewise.
15674         (__ASSUME_EVENTFD2): Likewise.
15675         (__ASSUME_SIGNALFD4): Likewise.
15676         (__ASSUME_DUP3): Likewise.
15677         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15678         (__ASSUME_DUP3): Do not define.
15679         (__ASSUME_EVENTFD2): Likewise.
15680         (__ASSUME_IN_NONBLOCK): Likewise.
15681         (__ASSUME_O_CLOEXEC): Likewise.
15682         (__ASSUME_PIPE2): Likewise.
15683         (__ASSUME_SIGNALFD4): Likewise.
15684         (__ASSUME_SOCK_CLOEXEC): Likewise.
15685         (__ASSUME_UTIMES): Undefine.
15686         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15687         (__ASSUME_UTIMES): Do not define.
15688         (__ASSUME_O_CLOEXEC): Likewise.
15689         (__ASSUME_SOCK_CLOEXEC): Likewise.
15690         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
15691         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
15692         0x020621].
15693         (__ASSUME_PIPE2): Likewise.
15694         (__ASSUME_EVENTFD2): Likewise.
15695         (__ASSUME_SIGNALFD4): Likewise.
15696         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
15697         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
15698         Do not define.
15699         (__ASSUME_EVENTFD2): Likewise.
15700         (__ASSUME_SIGNALFD4): Likewise.
15701         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15702         (__ASSUME_32BITUIDS): Likewise.
15703         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15704         (__ASSUME_IPC64): Likewise.
15705         (__ASSUME_ST_INO_64_BIT): Likewise.
15706         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
15707         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
15708         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15709         (__ASSUME_UTIMES): Do not define.
15710         (__ASSUME_PSELECT): Likewise.
15711         (__ASSUME_PPOLL): Likewise.
15712         (__ASSUME_O_CLOEXEC): Likewise.
15713         (__ASSUME_SOCK_CLOEXEC): Likewise.
15714         (__ASSUME_IN_NONBLOCK): Likewise.
15715         (__ASSUME_PIPE2): Likewise.
15716         (__ASSUME_EVENTFD2): Likewise.
15717         (__ASSUME_SIGNALFD4): Likewise.
15718         (__ASSUME_DUP3): Likewise.
15719         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15720         (__ASSUME_UTIMES): Likewise.
15721         (__ASSUME_O_CLOEXEC): Likewise.
15722         (__ASSUME_SOCK_CLOEXEC): Likewise.
15723         (__ASSUME_IN_NONBLOCK): Likewise.
15724         (__ASSUME_PIPE2): Likewise.
15725         (__ASSUME_EVENTFD2): Likewise.
15726         (__ASSUME_SIGNALFD4): Likewise.
15727         (__ASSUME_DUP3): Likewise.
15728         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15729         (__ASSUME_UTIMES): Likewise.
15730         (__ASSUME_O_CLOEXEC): Likewise.
15731         (__ASSUME_SOCK_CLOEXEC): Likewise.
15732         (__ASSUME_IN_NONBLOCK): Likewise.
15733         (__ASSUME_PIPE2): Likewise.
15734         (__ASSUME_EVENTFD2): Likewise.
15735         (__ASSUME_SIGNALFD4): Likewise.
15736         (__ASSUME_DUP3): Likewise.
15737         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
15738         Likewise.
15739         (__ASSUME_UTIMES): Likewise.
15740         (__ASSUME_EVENTFD2): Likewise.
15741         (__ASSUME_SIGNALFD4): Likewise.
15742         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15743         (__ASSUME_O_CLOEXEC): Likewise.
15744         (__ASSUME_SOCK_CLOEXEC): Likewise.
15745         (__ASSUME_IN_NONBLOCK): Likewise.
15746         (__ASSUME_PIPE2): Likewise.
15747         (__ASSUME_EVENTFD2): Likewise.
15748         (__ASSUME_SIGNALFD4): Likewise.
15749         (__ASSUME_DUP3): Likewise.
15750         (__ASSUME_UTIMES): Undefine.
15752         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
15753         feclearexcept.  Remove symbol versioning code.
15754         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
15755         symbol versioning code.
15756         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
15757         symbol versioning code.
15758         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
15759         feupdateenv.  Remove symbol versioning code.
15760         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
15761         fegetexceptflag.  Remove symbol versioning code.
15762         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
15763         fesetexceptflag.  Remove symbol versioning code.
15764         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
15765         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
15766         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
15767         (__posix_fadvise64_l32): Remove prototype.
15768         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
15769         code.
15771 2014-05-13  Roland McGrath  <roland@hack.frob.com>
15773         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
15774         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
15775         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
15776         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
15778 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
15780         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
15781         current working directory
15783 2014-05-13  Roland McGrath  <roland@hack.frob.com>
15785         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
15786         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
15787         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
15788         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
15789         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
15790         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
15791         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
15792         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
15793         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
15794         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
15795         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
15796         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
15797         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
15798         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
15799         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
15800         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
15801         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
15802         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
15803         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
15804         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
15805         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
15806         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
15807         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
15808         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
15809         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
15810         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
15811         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
15812         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
15813         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
15814         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
15815         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
15816         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
15817         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
15818         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
15819         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
15820         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
15821         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
15822         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
15823         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
15824         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
15825         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
15826         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
15828         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
15829         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
15831         * sysdeps/unix/sysv/linux/arm/Makefile
15832         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
15833         Add rt-aeabi_unwind_cpp_pr1.
15834         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
15835         Add nptl-aeabi_unwind_cpp_pr1.
15836         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
15837         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
15838         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
15839         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15840         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
15841         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15843         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
15844         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
15845         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
15846         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
15848         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
15849         Deconditionalize the code that was previously under [RESET_PID].
15850         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
15852         * sysdeps/generic/exit-thread.h: New file.
15853         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
15854         * include/unistd.h (__exit_thread): Remove declaration.
15855         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
15856         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
15857         * csu/libc-start.c: Include <exit-thread.h>.
15858         (LIBC_START_MAIN): Pass no argument to __exit_thread.
15859         * nptl/pthread_create.c: Include <exit-thread.h>.
15860         (start_thread): Call __exit_thread in place of __exit_thread_inline.
15861         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
15862         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
15863         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
15864         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
15865         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
15866         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
15867         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
15868         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
15869         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
15870         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
15871         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
15872         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
15873         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
15874         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
15875         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
15876         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
15878 2014-05-13  Andreas Schwab  <schwab@suse.de>
15880         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
15882 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
15884         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15885         (__ASSUME_UTIMES): Do not condition on kernel version.
15886         (__ASSUME_PSELECT): Define unconditionally.
15887         (__ASSUME_PPOLL): Likewise.
15888         (__ASSUME_ATFCTS): Likewise.
15889         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
15890         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
15891         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
15892         (__ASSUME_UTIMENSAT): Define unconditionally.
15893         (__ASSUME_PRIVATE_FUTEX): Likewise.
15894         (__ASSUME_FALLOCATE): Likewise.
15895         (__ASSUME_O_CLOEXEC): Likewise.
15896         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
15897         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
15898         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
15899         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
15900         (__ASSUME_IN_NONBLOCK): Likewise.
15901         (__ASSUME_PIPE2): Likewise.
15902         (__ASSUME_EVENTFD2): Likewise.
15903         (__ASSUME_SIGNALFD4): Likewise.
15904         (__ASSUME_DUP3): Likewise.
15905         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15906         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
15907         (__ASSUME_AT_RANDOM): Likewise.
15908         (__ASSUME_PREADV): Likewise.
15909         (__ASSUME_PWRITEV): Likewise.
15910         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
15911         (__ASSUME_F_GETOWN_EX): Define unconditionally.
15912         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
15913         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15914         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
15915         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15916         (__ASSUME_O_CLOEXEC): Define unconditionally.
15917         (__ASSUME_PSELECT): Do not undefine conditionally.
15918         (__ASSUME_PPOLL): Likewise.
15919         (__ASSUME_ATFCTS): Likewise.
15920         (__ASSUME_SET_ROBUST_LIST): Likewise.
15921         (__ASSUME_UTIMENSAT): Likewise.
15922         (__ASSUME_FDATASYNC): Define unconditionally.
15923         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15924         (__ASSUME_SIGFRAME_V2): Likewise.
15925         )__ASSUME_EVENTFD2): Likewise.
15926         (__ASSUME_SIGNALFD4): Likewise.
15927         (__ASSUME_PSELECT): Do not undefine conditionally.
15928         (__ASSUME_PPOLL): Likewise.
15929         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15930         (__ASSUME_PSELECT): Define unconditionally.
15931         (__ASSUME_PPOLL): Likewise.
15932         (__ASSUME_O_CLOEXEC): Likewise.
15933         (__ASSUME_SOCK_CLOEXEC): Likewise.
15934         (__ASSUME_IN_NONBLOCK): Likewise.
15935         (__ASSUME_PIPE2): Likewise.
15936         (__ASSUME_EVENTFD2): Likewise.
15937         (__ASSUME_SIGNALFD4): Likewise.
15938         (__ASSUME_DUP3): Likewise.
15939         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15940         (__ASSUME_O_CLOEXEC): Likewise.
15941         (__ASSUME_SOCK_CLOEXEC): Likewise.
15942         (__ASSUME_IN_NONBLOCK): Likewise.
15943         (__ASSUME_PIPE2): Likewise.
15944         (__ASSUME_EVENTFD2): Likewise.
15945         (__ASSUME_SIGNALFD4): Likewise.
15946         (__ASSUME_DUP3): Likewise.
15947         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15948         (__ASSUME_EVENTFD2): Likewise.
15949         (__ASSUME_SIGNALFD4): Likewise.
15950         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15952 2014-05-12  Andreas Schwab  <schwab@suse.de>
15954         [BZ #16932]
15955         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
15956         (_nss_nis_gethostbyname4_r): Return error if item length is larger
15957         than maximum RPC packet size.
15958         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
15959         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
15960         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
15961         (_nss_nis_getservbyport_r): Likewise.
15963 2014-05-12  Will Newton  <will.newton@linaro.org>
15965         * malloc/Makefile (tests): Add tst-mallopt.
15966         * malloc/tst-mallopt.c: New file.
15968 2014-05-09  Roland McGrath  <roland@hack.frob.com>
15970         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
15971         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
15973 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15975         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
15976         (tst-tlsmod6.so): Likewise.
15978 2014-05-09  Roland McGrath  <roland@hack.frob.com>
15980         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
15982 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
15984         [BZ #16064]
15985         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
15986         and <dl-procinfo.h>.
15987         (__fegetenv): Save SSE state in envp->__eip if supported.
15988         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
15989         envp->__eip if supported.
15990         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
15991         and <dl-procinfo.h>.
15992         (__fesetenv): Always set __eip, __cs_selector, __opcode,
15993         __data_offset and __data_selector in environment to 0.  Set SSE
15994         state if supported.
15995         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15996         test-fenv-sse.
15997         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
15998         -mfpmath=sse.
15999         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
16001 2014-05-09  Will Newton  <will.newton@linaro.org>
16003         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
16004         and libc_relro_required for ARM.
16005         * sysdeps/arm/preconfigure: Regenerate.
16007 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
16008             Stefan Liebler  <stli@linux.vnet.ibm.com>
16010         * config.make.in (enable-lock-elision): New Makefile variable.
16011         * configure.ac: Likewise.
16012         * configure: Regenerate.
16013         * sysdeps/s390/configure.ac:
16014         Add check for gcc transactions support.
16015         * sysdeps/s390/configure: Regenerate.
16016         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
16017         Build elision files if enabled.
16018         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
16019         Add lock elision support for s390.
16020         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
16021         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
16022         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
16023         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
16024         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
16025         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
16026         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16027         Likewise.
16028         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
16029         Likewise.
16030         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
16031         Likewise.
16032         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
16033         Likewise.
16034         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
16035         (__lll_timedlock_elision, __lll_lock_elision)
16036         (__lll_unlock_elision, __lll_trylock_elision)
16037         (lll_timedlock_elision, lll_lock_elision)
16038         (lll_unlock_elision, lll_trylock_elision): Add.
16039         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16040         (pthread_mutex_t): Add lock elision support for s390.
16042 2014-05-14  Wilco  <wdijkstr@arm.com>
16044         * sysdeps/arm/fclrexcpt.c: Cleanup.
16045         * sysdeps/arm/fedisblxcpt.c: Cleanup.
16046         * sysdeps/arm/feenablxcpt.c: Cleanup.
16047         * sysdeps/arm/fegetenv.c: Cleanup.
16048         * sysdeps/arm/fegetexcept.c: Cleanup.
16049         * sysdeps/arm/fegetround.c: Cleanup.
16050         * sysdeps/arm/feholdexcpt.c: Cleanup.
16051         * sysdeps/arm/fesetenv.c: Cleanup.
16052         * sysdeps/arm/fesetround.c: Cleanup.
16053         * sysdeps/arm/feupdateenv.c: Cleanup.
16054         * sysdeps/arm/fgetexcptflg.c: Cleanup.
16055         * sysdeps/arm/fraiseexcpt.c: Cleanup.
16056         * sysdeps/arm/fsetexcptflg.c: Cleanup.
16057         * sysdeps/arm/ftestexcept.c: Cleanup.
16058         * sysdeps/arm/get-rounding-mode.h: Cleanup.
16059         * sysdeps/arm/setfpucw.c: Cleanup.
16061 2014-05-09  Will Newton  <will.newton@linaro.org>
16063         * sysdeps/arm/armv7/strcmp.S: New file.
16064         * NEWS: Mention addition of ARMv7 optimized strcmp.
16066 2014-05-08  Roland McGrath  <roland@hack.frob.com>
16068         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
16069         look for %.ac rather than %.in.
16071         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
16072         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
16073         * sysdeps/mach/hurd/configure: Regenerated.
16074         * sysdeps/unix/sysv/linux/configure: Regenerated.
16076         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
16078 2014-05-07  Steve Ellcey  <sellcey@mips.com>
16080         [BZ# 16922]
16081         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
16082         (LONG_SUB): Ditto.
16083         (PTR_SUB): Ditto.
16085 2014-05-07  Andreas Schwab  <schwab@suse.de>
16087         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
16088         when skipping over non-matching result from nscd.
16090 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
16092         [BZ #16876]
16093         * nptl/sockperf.c (client): Check socket return value.
16095         [BZ #16877]
16096         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
16097         nscd security class.
16099 2014-05-06  Roland McGrath  <roland@hack.frob.com>
16101         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
16102         * sysdeps/arm/unwind.h: ... here.
16104 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
16106         [BZ# 16916]
16107         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
16108         Define.
16110 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16112         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
16113         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
16114         multiarch strncpy for PPC64.
16115         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
16116         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
16117         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
16118         multiarch optimizations.
16119         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16120         (__libc_ifunc_impl_list): Likewise.
16121         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
16122         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
16123         multiarch stpncpy for PPC64.
16124         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
16125         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
16127 2014-05-06  Andreas Schwab  <schwab@suse.de>
16129         [BZ #16912]
16130         * gmon/mcount.c (_MCOUNT_DECL): Use
16131         atomic_compare_and_exchange_bool_acq instead of
16132         catomic_compare_and_exchange_bool_acq.
16134 2014-05-05  Roland McGrath  <roland@hack.frob.com>
16136         * elf/Makefile (others, install-bin): Remove pldd.
16137         (pldd-modules): Variable removed.
16138         ($(objpfx)pldd): Target removed.
16139         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
16140         (others, install-bin): Append pldd here.
16141         ($(objpfx)pldd): New target.
16143         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
16144         to 0, so the first #if test emitted later doesn't see it undefined.
16145         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
16146         * sysdeps/gnu/errlist.c: Regenerated.
16148 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16150         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16151         [libc_hidden_builtin_def]: Define to empty value.
16152         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
16153         [libc_hidden_builtin_def]: Likewise.
16154         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
16155         [libc_hidden_builtin_def]: Likewise.
16156         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
16157         [libc_hidden_builtin_def]: Likewise.
16158         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
16159         __redirect_memcpy and define ifunc as default hidden symbol.
16160         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
16161         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
16163 2014-05-04  Adam Conrad  <adconrad@0c3.net>
16165         * locale/iso-4217.def: Reintroduce XDR currency.
16167 2014-05-04  Allan McRae  <allan@archlinux.org>
16169         * po/eo.po: Update Esperanto translation from translation project.
16171 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
16173         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
16174         and FEATURE_INDEX_MAX to 1.
16175         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
16177 2014-05-01  Steve Ellcey  <sellcey@mips.com>
16179         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
16180         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
16181         * iconvdata/big5.c (ONE_DIRECTION): Define.
16182         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
16183         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
16184         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
16185         * iconvdata/cp932.c (ONE_DIRECTION): Define.
16186         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
16187         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
16188         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
16189         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
16190         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
16191         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
16192         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
16193         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
16194         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
16195         * iconvdata/gbk.c (ONE_DIRECTION): Define.
16196         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
16197         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
16198         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
16199         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
16200         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
16201         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
16202         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
16203         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
16204         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
16205         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
16206         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
16207         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
16208         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
16209         * iconvdata/iso646.c (ONE_DIRECTION): Define.
16210         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
16211         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
16212         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
16213         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
16214         * iconvdata/johab.c (ONE_DIRECTION): Define.
16215         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
16216         * iconvdata/sjis.c (ONE_DIRECTION): Define.
16217         * iconvdata/t.61.c (ONE_DIRECTION): Define.
16218         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
16219         * iconvdata/tscii.c (ONE_DIRECTION): Define.
16220         * iconvdata/uhc.c (ONE_DIRECTION): Define.
16221         * iconvdata/unicode.c (ONE_DIRECTION): Define.
16222         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
16223         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
16224         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
16226 2014-05-01  Roland McGrath  <roland@hack.frob.com>
16228         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
16229         (_IO_JUMPS_OFFSET): Define to 0.
16231         * nptl/sysdeps/pthread/bits/libc-lock.h
16232         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
16233         (__libc_lock_define_initialized_recursive): Always define using
16234         initializer.  Modern compilers treat uninitialized (implicit zero) and
16235         explicit zero initializers the same (i.e. put the datum in bss).
16237 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
16239         * nscd/nscd-client.h: Include <string.h>.
16241 2014-05-01  David S. Miller  <davem@davemloft.net>
16243         [BZ #16885]
16244         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
16245         multiple zero bytes exist at the end of a string.
16246         Reported by Aurelien Jarno <aurelien@aurel32.net>
16248         * string/test-strcmp.c (check): Add explicit test for situations where
16249         there are multiple zero bytes after the first.
16251 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
16253         [BZ #16890]
16254         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
16255         when compiling wprintf.
16256         * stdio-common/tstdiomisc.c (t3): New function.
16257         (main): Call it.
16259 2014-05-01  Steve Ellcey  <sellcey@mips.com>
16261         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
16262         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
16263         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
16264         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
16266 2014-05-01  Steve Ellcey  <sellcey@mips.com>
16268         * stdlib/longlong.h: Updated from GCC.
16270 2014-05-01  Will Newton  <will.newton@linaro.org>
16271             Bernard Ogden  <bernie.ogden@linaro.org>
16273         * NEWS: Update fixed bug list.
16275         [BZ #15119]
16276         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
16278 2014-04-30  David S. Miller  <davem@davemloft.net>
16280         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
16281         (libc_feholdexcept_setround_sparc_ctx): New function.
16282         (libc_fesetenv_sparc_ctx): Likewise.
16283         (libc_feupdateenv_sparc_ctx): Likewise.
16284         (libc_feholdsetround_sparc_ctx): Likewise.
16285         (libc_feholdexcept_setround_ctx): Define.
16286         (libc_feholdexcept_setroundf_ctx): Likewise.
16287         (libc_feholdexcept_setroundl_ctx): Likewise.
16288         (libc_fesetenv_ctx): Likewise.
16289         (libc_fesetenvf_ctx): Likewise.
16290         (libc_fesetenvl_ctx): Likewise.
16291         (libc_feupdateenv_ctx): Likewise.
16292         (libc_feupdateenvf_ctx): Likewise.
16293         (libc_feupdateenvl_ctx): Likewise.
16294         (libc_feresetround_ctx): Likewise.
16295         (libc_feresetroundf_ctx): Likewise.
16296         (libc_feresetroundl_ctx): Likewise.
16297         (libc_feholdsetround_ctx): Likewise.
16298         (libc_feholdsetroundf_ctx): Likewise.
16299         (libc_feholdsetroundl_ctx): Likewise.
16301         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16302         with __USE_GNU instead of XOPEN cpp guards.
16304         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
16305         0.
16307         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16308         with XOPEN cpp guards.
16310 2014-04-30  Julian Brown  <julian@codesourcery.com>
16312         [BZ #16888]
16313         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
16314         handling.
16316 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
16318         [BZ #9894]
16319         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16320         Change to 2.6.32.
16321         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
16322         * sysdeps/unix/sysv/linux/configure: Regenerated.
16323         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
16324         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
16325         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
16326         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
16327         * README: Update reference to required Linux kernel version.
16328         * manual/install.texi (Linux): Update reference to required Linux
16329         kernel headers version.
16330         * INSTALL: Regenerated.
16332         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
16333         header inclusion.
16334         [POSIX] (limits.h): Likewise.
16335         [POSIX] (math.h): Likewise.
16336         [POSIX] (sys/wait.h): Likewise.
16337         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
16338         function.
16339         [POSIX] (stddef.h): Do not allow header inclusion.
16341 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16343         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
16345 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
16347         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
16348         Return immediately after lll_futex_wake.
16350 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16352         [BZ #16791]
16353         * nscd/nscd-client.h (datahead_init_common): Initialize entire
16354         structure.
16355         (datahead_init_pos): Call datahead_init_common early.
16356         (datahead_init_neg): Likewise.
16358         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
16359         datahead_init_neg): New functions.
16360         * nscd/aicache.c (addhstaiX): Use them.
16361         * nscd/grpcache.c (cache_addgr): Likewise.
16362         * nscd/hstcache.c (cache_addhst): Likewise.
16363         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16364         * nscd/netgroupcache.c (do_notfound): Likewise.
16365         (addgetnetgrentX): Likewise.
16366         (addinnetgrX): Likewise.
16367         * nscd/pwdcache.c (cache_addpw): Likewise.
16368         * nscd/servicescache.c (cache_addserv): Likewise.
16370 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16371             Atsushi Onoe  <atsushi@onoe.org>
16373         [BZ #14308]
16374         [BZ #12994]
16375         [BZ #13651]
16376         * resolv/res_query.c (__libc_res_nsearch): Return if at least
16377         one response is valid.
16378         * resolv/res_send.c (send_dg): Check for validity of other
16379         response if the current response is a referral.
16381 2014-04-29  Steve Ellcey  <sellcey@mips.com>
16383         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
16385 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
16387         [BZ #16823]
16388         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
16389         Always divide by positive zero when computing -Inf result.
16390         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16391         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
16393 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16395         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
16396         FPSCR if value do not change.
16397         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16398         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
16399         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16400         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16401         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
16402         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
16403         function.
16405 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
16407         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
16408         * sysdeps/unix/sysv/linux/hppa: Move directory from
16409         ports/systeps/unix/sysv/linux/hppa.
16410         * README: Update listing for hppa-*-linux-gnu.
16412 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
16414         [BZ #16754]
16415         * manual/stdio.texi (Hook functions): Fix types of stream hook
16416         functions.
16417         [BZ #16854]
16418         * socket/sys/socket.h: Fix typo in comment.
16420 2014-04-28  Wilco  <wdijkstr@arm.com>
16422         * sysdeps/arm/fenv_private.h: New file.
16423         * sysdeps/arm/math_private.h: New file.
16424         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
16426 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
16428         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
16429         with __int128_t.
16430         (La_x86_64_retval): Likewise.
16432 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
16434         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
16435         fpsr if value didn't change.
16436         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
16437         to fpcr if value didn't change.
16438         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
16439         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
16440         fpsr or fpcr if value didn't change.
16441         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16442         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
16443         fpcr if value didn't change.
16444         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
16445         to fpsr if value didn't change.
16447 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16449         * nptl/tst-sem3.c: Use test-skeleton.c
16450         (main): Rename to do_test.  Use return instead of
16451         exit.
16452         * nptl/tst-sem4.c: Use test-skeleton.c
16453         (main): Rename to do_test.
16455 2014-04-22  David S. Miller  <davem@davemloft.net>
16457         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
16458         (struct sigaction): New struct member __glibc_reserved0, change
16459         type of sa_flags to int.
16461 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
16463         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
16464         (COUNT_LEADING_ZEROS_0): Define for AArch64.
16466 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16468         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
16469         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
16471 2014-04-22  Will Newton  <will.newton@linaro.org>
16472             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
16474         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
16475         (__longjmp): Add longjmp and longjmp_target SystemTap
16476         probes.
16477         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
16478         (__sigsetjmp): Add setjmp SystemTap probe.
16480 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
16482         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
16483         match manual order.
16485 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16487         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
16489         * sysdeps/powerpc/fpu/fenv_private.h
16490         (libc_feholdexcept_setroundl_ctx): Define to
16491         libc_feholdexcept_setround_ppc_ctx.
16492         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
16493         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
16494         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
16495         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
16497 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
16499         * sysdeps/aarch64/math-tests.h: New file.
16501 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
16503         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
16504         New.
16505         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16506         Check and set bit_AVX2_Usable.
16507         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
16508         macro.
16509         (bit_AVX2): Likewise.
16510         (index_AVX2_Usable): Likewise.
16511         (CPUID_AVX2): Likewise.
16512         (HAS_AVX2): Likewise.
16514 2014-04-17  Will Newton  <will.newton@linaro.org>
16516         * manual/setjmp.texi (System V contexts): Add note that
16517         calling setcontext on a context created by a call to a
16518         signal handler is undefined.  Update text to note that
16519         setcontext from a signal handler is possible but not
16520         recommended.
16522         [BZ #16629]
16523         * stdlib/tst-setcontext.c: Include signal.h.
16524         (main): Check that the signal stack before and
16525         after swapcontext is the same.
16527         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
16528         Re-implement to restore registers in user code and avoid
16529         rt_sigreturn system call.
16531 2014-04-17  Wilco  <wdijkstr@arm.com>
16533         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
16534         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
16535         * math/test-fenv.c: Skip exception trap tests on targets which only
16536         support non-stop mode.
16538 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
16539             Wilco Dijkstra  <wilco.dijkstra@arm.com>
16541         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
16542         (libc_feholdsetround_aarch64_ctx)
16543         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
16544         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
16545         (libc_feresetround_ctx, libc_feresetroundf_ctx)
16546         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
16547         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
16548         (libc_feresetround_noexl_ctx): Define.
16550 2014-04-16  Richard Henderson  <rth@redhat.com>
16552         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
16554         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
16555         unwind tables.
16557         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
16558         const from the non-libc, non-ldso copy.
16560         * sysdeps/alpha/libm-test-ulps: Regenerate.
16562 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
16563             Wilco Dijkstra  <wilco.dijkstra@arm.com>
16565         * sysdeps/aarch64/fpu/math_private.h: New file.
16567 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16569         * sysdeps/aarch64/libm-test-ulps: Regenerate.
16571 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
16573         [BZ #16275]
16574         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
16575         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
16576         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
16577         Intel MPX bound registers before _dl_profile_fixup.
16578         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
16579         registers after _dl_profile_fixup.  Save and restore bound
16580         registers bnd0/bnd1 when calling _dl_call_pltexit.
16581         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
16582         (LR_BND_OFFSET): Likewise.
16583         (LRV_BND0_OFFSET): Likewise.
16584         (LRV_BND1_OFFSET): Likewise.
16586 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16588         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
16589         to...
16590         * sysdeps/mach/hurd/i386/tls.h: ... here.
16591         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
16592         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
16593         fields.
16595 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16597         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
16599 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16601         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16603 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16605         [BZ #14770]
16606         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
16607         * sysdeps/s390/configure: Regenerate.
16609         [BZ #16824]
16610         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
16611         Set round-to-nearest internally to reduce error accumulation.
16613 2014-04-16  Alan Modra  <amodra@gmail.com>
16615         [BZ #16740]
16616         [BZ #16619]
16617         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
16618         * math/libm-test.inc (frexp_test_data): Add tests.
16619         * NEWS: Update fixed bug list.
16621 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16623         * benchtests/Makefile: Depend on libraries in build directory.
16624         (bench-math): Separate out math tests.
16625         (bench-pthread): Separate out pthread tests.
16626         (bench): Include math and pthread tests.
16628 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
16630         [BZ #16831]
16631         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
16632         _dl_debug_initialize.
16634         * configure.ac: Remove SELinux header check.
16635         * configure: Regenerate.
16636         * nscd/selinux.c (perms): Array of const char* to permission names.
16637         (nscd_request_avc_has_perm): Call security_deny_unknown to find
16638         default policy. Call string_to_security_class and string_to_av_perm to
16639         translate strings. Enforce default policy and call avs_has_perm with
16640         results of translated strings.
16642 2014-04-13  David S. Miller  <davem@davemloft.net>
16644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16646 2014-04-12  Allan McRae  <allan@archlinux.org>
16648         [BZ #16838]
16649         * manual/string.texi (Collation Functions): Fix qsort argument
16650         order in example.
16651         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16653 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
16655         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
16656         Make the test a no-op if there are no exceptions defined.
16658 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16660         * elf/Makefile (tests): make tst-dlopen-aout conditional on
16661         enable-hardcoded-path-in-tests
16663 2014-04-11  Will Newton  <will.newton@linaro.org>
16665         * benchtests/Makefile (extra-objs): Add json-lib.o.
16666         (bench-func): Tidy up JSON output.
16667         * benchtests/bench-skeleton.c: Include json-lib.h.
16668         (main): Use JSON library functions to do output of
16669         benchmark results.
16670         * benchtests/bench-timing-type.c (main): Output the
16671         timing type simply, leaving formatting to the user.
16672         * benchtests/json-lib.c: New file.
16673         * benchtests/json-lib.h: Likewise.
16675 2014-04-11  Torvald Riegel  <triegel@redhat.com>
16677         [BZ #15215]
16678         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
16679         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
16680         memory barriers.  Add comments.
16681         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
16682         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
16683         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
16684         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
16685         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
16686         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
16688 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16690         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
16691         * sysdeps/s390/s390-64/configure.ac: ... this ...
16692         * sysdeps/s390/configure.ac: ... to here.
16693         * sysdeps/s390/s390-32/configure: Delete file.
16694         * sysdeps/s390/s390-64/configure: Delete file.
16695         * sysdeps/s390/configure: Regenerate.
16697 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
16699         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
16701 2014-04-11  Will Newton  <will.newton@linaro.org>
16703         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
16704         to zero if it is not defined elsewhere.  (mtrim): Test
16705         the value of MALLOC_DEBUG with #if rather than #ifdef.
16707 2014-04-10 Torvald Riegel  <triegel@redhat.com>
16709         * benchtests/pthread_once-inputs: New file.
16710         * benchtests/pthread_once-source.c: New file.
16711         * benchtests/README: Update documentation.
16713 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
16714             H.J. Lu  <hongjiu.lu@intel.com>
16716         [BZ #16275]
16717         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
16718         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
16719         * sysdeps/x86_64/configure: Regenerated.
16720         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
16721         macro.
16722         (REGISTER_SAVE_RAX): Likewise.
16723         (REGISTER_SAVE_RCX): Likewise.
16724         (REGISTER_SAVE_RDX): Likewise.
16725         (REGISTER_SAVE_RSI): Likewise.
16726         (REGISTER_SAVE_RDI): Likewise.
16727         (REGISTER_SAVE_R8): Likewise.
16728         (REGISTER_SAVE_R9): Likewise.
16729         (REGISTER_SAVE_BND0): Likewise.
16730         (REGISTER_SAVE_BND1): Likewise.
16731         (REGISTER_SAVE_BND2): Likewise.
16732         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
16733         bound registers when calling _dl_fixup.
16735 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16737         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
16738         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
16739         of its definition.
16740         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
16741         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
16742         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
16743         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
16744         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
16745         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
16746         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
16748 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
16750         [BZ #15514]
16751         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
16752         pathconf(_PC_NAME_MAX).
16754 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16756         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
16757         Remove macro usage.
16758         (__PTHREAD_SPINS): Move definition to ...
16759         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16760         (__PTHREAD_SPINS): ... here.
16761         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16762         (__PTHREAD_SPIN): Likewise.
16763         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
16764         (__PTHREAD_SPIN): Likewise.
16765         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
16766         (__PTHREAD_SPIN): Likewise.
16767         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
16768         (__PTHREAD_SPIN): Likewise.
16769         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16770         (__PTHREAD_SPIN): Likewise.
16771         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16772         (__PTHREAD_SPIN): Likewise.
16773         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
16774         (__PTHREAD_SPIN): Likewise.
16775         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16776         (__PTHREAD_SPIN): Likewise.
16777         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16778         (__PTHREAD_SPIN): Likewise.
16779         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16780         (__PTHREAD_SPIN): Likewise.
16781         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16782         (__PTHREAD_SPIN): Likewise.
16783         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
16784         (__PTHREAD_SPIN): Likewise.
16786         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
16787         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
16788         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
16789         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
16790         imply folder.
16791         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
16792         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
16793         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
16794         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
16795         correct imply path.
16796         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
16797         strlen symbol for non multi-arch builds.
16798         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
16799         missing hidden_def and weak_alias.
16801 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
16803         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
16805 2014-04-07  Will Newton  <will.newton@linaro.org>
16807         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
16808         and contents.  [!_LIBC] Remove #ifndef and contents.
16809         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
16810         * string/memccpy.c (__memccpy): Use ANSI prototype.
16811         * string/memfrob.c (memfrob): Likewise.
16812         * string/strcoll.c (STRCOLL): Likewise.
16813         * string/strlen.c (strlen): Likewise.
16814         * string/strtok.c (STRTOK): Likewise.
16815         * string/strcat.c: Remove unused #include of memcopy.h.
16816         (strcat): Use ANSI prototype.
16817         * string/strchr.c: Remove unused #include of memcopy.h.
16818         (strchr): Use ANSI prototype.
16819         * string/strcmp.c: Remove unused #include of memcopy.h.
16820         (strcmp): Use ANSI prototype.
16821         * string/strcpy.c: Remove unused #include of memcopy.h.
16822         (strcpy): Use ANSI prototype.
16824 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16826         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
16827         * config.make.in (config-extra-cppflags): Set it from
16828         libc_extra_cppflags.
16829         * configure.ac (libc_extra_cflags): Make it accumulate over
16830         configure fragments.
16831         (libc_extra_cppflags): New flag.
16832         * configure. Regenerate.
16833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
16834         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
16835         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
16836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16838         [BZ #16815]
16839         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
16840         result for FE_DOWNWARD rounding mode.
16841         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16842         Likewise.
16843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16845 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
16847         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
16848         in function argument name.
16850 2014-04-03  David Svoboda  <svoboda@cert.org>
16852         [BZ #5666]
16853         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
16854         explicitly.
16856 2014-04-03  Roland McGrath  <roland@hack.frob.com>
16858         * elf/dl-unmap-segments.h: New file.
16859         * sysdeps/generic/ldsodefs.h
16860         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
16861         * elf/dl-close.c: Include <dl-unmap-segments.h>.
16862         * elf/dl-fptr.c: Likewise.
16863         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
16864         * sysdeps/aarch64/tlsdesc.c: Likewise.
16865         * sysdeps/arm/tlsdesc.c: Likewise.
16866         * sysdeps/i386/tlsdesc.c: Likewise.
16867         * sysdeps/tile/dl-runtime.c: Likewise.
16868         * sysdeps/x86_64/tlsdesc.c: Likewise.
16869         * elf/dl-load.h: New file.
16870         * elf/dl-load.c: Include it.
16871         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
16872         Macros moved to dl-load.h.
16873         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
16874         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
16875         Use _dl_unmap_segments in place of __munmap.
16876         Break out segment-mapping loop into ...
16877         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
16879 2014-04-03  Will Newton  <will.newton@linaro.org>
16881         * elf/dl-lookup.c (do_lookup_x): Remove comment
16882         referring to nested function and move variable
16883         declarations down to before first use.
16885 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
16887         [BZ #16799]
16888         [BZ #16800]
16889         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
16890         with 0 numerator.
16891         * math/s_catanf.c (__catanf): Likewise.
16892         * math/s_catanh.c (__catanh): Likewise.
16893         * math/s_catanhf.c (__catanhf): Likewise.
16894         * math/s_catanhl.c (__catanhl): Likewise.
16895         * math/s_catanl.c (__catanl): Likewise.
16896         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
16897         by positive zero when computing -Inf result.
16898         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
16899         (catanh_test): Likewise.
16900         * sysdeps/i386/fpu/libm-test-ulps: Update.
16901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16903         [BZ #16789]
16904         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
16905         instead of using underflowing value in computing result.
16906         * math/s_clog10.c (__clog10): Likewise.
16907         * math/s_clog10f.c (__clog10f): Likewise.
16908         * math/s_clog10l.c (__clog10l): Likewise.
16909         * math/s_clogf.c (__clogf): Likewise.
16910         * math/s_clogl.c (__clogl): Likewise.
16911         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
16912         (clog10_test): Likewise.
16913         * sysdeps/i386/fpu/libm-test-ulps: Update.
16914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16916 2014-04-02  Alan Modra  <amodra@gmail.com>
16918         [BZ #16739]
16919         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
16920         output when value is near a power of two.  Use int64_t for lx and
16921         remove casts.  Use decimal rather than hex exponent constants.
16922         Don't use long double multiplication when double will suffice.
16923         * math/libm-test.inc (nextafter_test_data): Add tests.
16924         * NEWS: Add 16739 and 16786 to bug list.
16926         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
16928         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
16930 2014-04-01  Will Newton  <will.newton@linaro.org>
16932         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
16933         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
16935 2014-04-01  Florian Weimer  <fweimer@redhat.com>
16937         [BZ #13347]
16938         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
16939         * nptl/tst-setuid2.c: New file.
16940         * nptl/Makefile (xtests): Add tst-setuid2.
16942 2014-04-01  Alan Modra  <amodra@gmail.com>
16944         [BZ #16786]
16945         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
16947 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
16949         [BZ #6803]
16950         [BZ #6804]
16951         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
16952         set errno as appropriate.
16953         * math/w_scalbf.c (__scalbf): Likewise.
16954         * math/w_scalbl.c (__scalbl): Likewise.
16955         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
16956         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
16957         * math/libm-test.inc (scalb_test_data): Add errno expectations.
16958         Add more NaN tests.
16960         [BZ #16349]
16961         * math/w_atan2.c: Include <errno.h>.
16962         (__atan2): Set errno for result underflowing to zero.
16963         * math/w_atan2f.c: Include <errno.h>.
16964         (__atan2f): Set errno for result underflowing to zero.
16965         * math/w_atan2l.c: Include <errno.h>.
16966         (__atan2l): Set errno for result underflowing to zero.
16967         * math/auto-libm-test-in: Don't allow missing errno for some atan2
16968         tests.
16969         * math/auto-libm-test-out: Regenerated.
16971 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16973         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
16974         Encode instruction correctly in little endian.
16975         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
16976         Likewise.
16977         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
16978         Likewise.
16979         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
16980         Likewise.
16981         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
16982         Likewise.
16984 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
16986         [BZ #9894]
16987         * sysdeps/unix/sysv/linux/kernel-features.h
16988         [__sparc__ && !__arch64__ && !__sparc_v9__]
16989         (__ASSUME_SET_ROBUST_LIST): Do not define.
16990         [__sparc__ && !__arch64__ && !__sparc_v9__]
16991         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16992         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
16993         Likewise.
16994         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16995         (__ASSUME_FUTEX_LOCK_PI): Undefine.
16996         (__ASSUME_REQUEUE_PI): Likewise.
16997         (__ASSUME_SET_ROBUST_LIST): Likewise.
16998         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16999         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
17000         Undefine.
17001         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17002         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
17003         Likewise.
17004         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
17005         Likewise.
17006         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
17007         Likewise.
17008         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17009         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
17010         Undefine.
17011         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
17012         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
17013         Likewise.
17015         [BZ #16648]
17016         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17017         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
17018         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
17020 2014-03-31  Will Newton  <will.newton@linaro.org>
17022         * benchtests/Makefile (bench): Add ffs and ffsll to list
17023         of tests.
17024         * benchtests/ffs-inputs: New file.
17025         * benchtests/ffsll-inputs: Likewise.
17027 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
17029         [BZ #16770]
17030         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
17031         too large before casting to int.
17032         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
17033         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
17034         * math/libm-test.inc (scalb_test_data): Add more tests.
17036 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17038         * benchtests/Makefile (DETAILED_OPT): New make option.
17039         (bench-func): Run benchmark program with -d if DETAILED_OPT is
17040         set.
17041         * benchtests/bench-skeleton.c: Include stdbool.h.
17042         (main): Store and print timings per input.
17043         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
17044         member to each argument value.
17045         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
17046         (_print_arg_data): Initialize per-input timing to 0.
17048         * benchtests/Makefile (timing-type): New binary.
17049         (bench-clean): Also remove bench-timing-type.
17050         (bench): New target for timing-type.
17051         (bench-func): Print output in JSON format.
17052         * benchtests/bench-skeleton.c (main): Print output in JSON
17053         format.
17054         * benchtests/bench-timing-type.c: New file.
17055         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
17056         (TIMING_PRINT_STATS): Remove.
17057         * benchtests/scripts/bench.py (_print_arg_data): Store variant
17058         name separately.
17060         * benchtests/bench-modf.c: Remove.
17061         * benchtests/modf-inputs: New inputs file.
17063 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
17065         [BZ #16362]
17066         * math/s_clog10.c (M_PI_LOG10E): New macro.
17067         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
17068         imaginary parts are 0.
17069         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
17070         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
17071         imaginary parts are 0.
17072         * math/s_clog10l.c (M_PI_LOG10El): New macro.
17073         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
17074         imaginary parts are 0.
17075         * math/libm-test.inc (clog10_test_data): Update expected results
17076         for when real and imaginary parts are 0.
17078 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
17080         * elf/dl-load.c: Finish conversion of __builtin_expect into
17081         __glibc_{un}likely.
17083 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
17085         [BZ #16348]
17086         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
17087         1+x for argument with exponent below -67.
17088         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
17089         Likewise.
17090         * math/auto-libm-test-in: Add more tests of exp.
17091         * math/auto-libm-test-out: Regenerated.
17093 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17095         [BZ #16759]
17096         * inet/getnetgrent_r.c (get_nonempty_val): New function.
17097         (nscd_getnetgrent): Use it.
17099         [BZ #16760]
17100         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
17101         of stpcpy.
17103 2014-03-27  Andi Kleen  <ak@linux.intel.com>
17105         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
17106         (lll_robust_lock, lll_cond_lock, lll_timedlock)
17107         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17108         (lll_robust_unlock): Remove out of line section. Use cfi
17109         intrinsics.
17110         (LLL_STUB_UNWIND_INFO*): Remove.
17111         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
17112         (lll_robust_lock, lll_cond_lock, lll_timedlock)
17113         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17114         (lll_robust_unlock): Remove out of line section. Use cfi
17115         intrinsics.
17116         (LLL_STUB_UNWIND_INFO*): Remove.
17118 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17120         [BZ #16758]
17121         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
17122         blank values.
17124 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
17126         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
17128 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
17130         [BZ #16198]
17131         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
17132         fnstenv.
17133         * math/test-fenv-preserve.c: New file.
17134         * math/Makefile (tests): Add test-fenv-preserve.
17136 2014-03-26  Will Newton <will.newton@linaro.org>
17138         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
17140 2014-03-25  Roland McGrath  <roland@hack.frob.com>
17142         * scripts/versionlist.awk: Partition the version sets and emit all
17143         GLIBC_* (sorted) before all others (sorted).
17145 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
17147         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
17148         GLIBC_2.2.5 version.
17150 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17152         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
17153         calls.
17155         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
17156         previous change.
17158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17160 2014-03-25  Andreas Schwab  <schwab@suse.de>
17162         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
17163         label to be used after in6ailist is initialized.
17165 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17167         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17168         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17170 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
17172         [BZ #16357]
17173         [BZ #16599]
17174         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
17175         min_plus_half.
17176         (fp_formats): Update initializers.
17177         (init_fp_formats): Initialize new field.
17178         (output_for_one_input_case): Allow underflow for results up to
17179         min_plus_half.
17180         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
17181         * math/auto-libm-test-in: Don't mark some underflows from asin and
17182         atanh as spurious.
17183         * math/auto-libm-test-out: Regenerated.
17184         * sysdeps/i386/fpu/libm-test-ulps: Update.
17185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17187 2014-03-25  Andreas Schwab  <schwab@suse.de>
17189         * libio/Makefile (tst-ftell-partial-wide-ENV)
17190         (tst-ftell-active-handler-ENV): Define.
17192 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
17194         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
17196 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
17198         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
17200 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
17202         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
17203         * sysdeps/x86_64/fpu/multiarch/e_exp.c
17204         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17206 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
17208         [BZ #16634]
17209         * elf/dl-load.c (open_verify): Add mode parameter.
17210         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
17211         (open_path): Change from boolean 'secure' to complete flag 'mode'
17212         (_dl_map_object): Adjust.
17213         * elf/Makefile (tests): Add tst-dlopen-aout.
17214         * elf/tst-dlopen-aout.c: New test.
17216 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
17218         [BZ #16714]
17219         * sysdeps/unix/sysv/linux/s390/bits/stat.h
17220         (struct stat): Rename member pad0 to __glibc_reserved0.
17222         [BZ #16712]
17223         * sysdeps/s390/s390-32/bits/wordsize.h
17224         (__WORDSIZE32_SIZE_ULONG): New define.
17225         * sysdeps/s390/s390-64/bits/wordsize.h
17226         (__WORDSIZE32_SIZE_ULONG): Likewise.
17227         * sysdeps/generic/stdint.h (SIZE_MAX):
17228         Define as UL if __WORDSIZE32_SIZE_ULONG.
17230         [BZ #16713]
17231         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
17232         (__glibc_reserved0): New variable.
17233         (sa_flags): Change type to int.
17235         * posix/Makefile (before-compile): Use += before-compile instead
17236         of a :=.
17238         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17239         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17241 2014-03-20  Andreas Schwab  <schwab@suse.de>
17243         [BZ #16743]
17244         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
17245         non-matching result from nscd.
17247 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17249         * scripts/bench.py: Moved to ...
17250         * benchtests/scripts/bench.py: ... here.
17251         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
17253 2014-03-24  Andreas Schwab  <schwab@suse.de>
17255         [BZ #16002]
17256         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
17257         alloca_account and account alloca use for struct in6ailist.
17259 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
17261         [BZ #16284]
17262         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
17263         rounding mode to recompute results that overflow to infinity or
17264         underflow to zero.
17265         * math/auto-libm-test-in: Don't mark tests as expected to fail for
17266         bug 16284.
17267         * math/auto-libm-test-out: Regenerated.
17268         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
17269         (ccosh_test): Likewise.
17270         (csin_test_data): Use plus_oflow.
17271         (csin_test): Use ALL_RM_TEST.
17272         (csinh_test_data): Use plus_oflow.
17273         (csinh_test): Use ALL_RM_TEST.
17274         * sysdeps/i386/fpu/libm-test-ulps: Update.
17275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17277 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
17279         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
17280         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
17281         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
17283         [BZ #16731]
17284         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
17285         when x - 1 is zero.
17286         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
17287         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
17288         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17289         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
17290         argument is 1.
17291         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
17292         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
17293         zero.
17294         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
17295         * sysdeps/i386/fpu/libm-test-ulps: Update.
17296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17298 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17300         * scripts/bench.pl: Remove file.
17301         * scripts/bench.py: New benchmark script.
17302         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
17303         * benchtests/README: Mention python dependency.
17304         * scripts/pylintrc: New file.
17305         * scripts/pylint: New file.
17307         * bits/mathdef.h: Use #ifdef instead of #if.
17308         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
17309         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17310         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
17311         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17312         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
17313         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17315 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17316             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17318         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
17319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
17320         and strpbrk-ppc64 objects.
17321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17322         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
17323         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
17324         multiarch strpbrk for POWER7.
17325         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
17326         multiarch strpbrk for PPC64.
17327         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
17328         ifunc selector.
17329         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
17330         strpbrk for POWER7.
17332 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
17334         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
17335         (atan_test): Likewise.
17336         (atanh_test_data): Use NO_TEST_INLINE for two tests.
17337         (atanh_test): Use ALL_RM_TEST.
17338         (atan2_test_data): Likewise.
17339         (cabs_test): Likewise.
17340         (cacosh_test): Likewise.
17341         (carg_test): Likewise.
17342         (casin_test): Likewise.
17343         (casinh_test): Likewise.
17344         (cbrt_test): Likewise.
17345         (csqrt_test): Likewise.
17346         (erf_test): Likewise.
17347         (erfc_test): Likewise.
17348         (pow10_test): Likewise.
17349         (exp2_test): Likewise.
17350         (hypot_test): Likewise.
17351         (j0_test): Likewise.
17352         (j1_test): Likewise.
17353         (lgamma_test): Likewise.
17354         (gamma_test): Likewise.
17355         (sincos_test): Likewise.
17356         (tanh_test): Likewise.
17357         (y0_test): Likewise.
17358         (y1_test): Likewise.
17359         * sysdeps/i386/fpu/libm-test-ulps: Update.
17360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17362 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17364         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
17365         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
17366         and strcspn-ppc64 objects.
17367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17368         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
17369         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
17370         multiarch strcspn for POWER7.
17371         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
17372         multiarch strcspn for PPC64.
17373         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
17374         ifunc selector.
17375         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
17376         strcspn for POWER7.
17378 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
17380         * math/gen-libm-test.pl (generate_testfile): Expect only function
17381         name as argument to AUTO_TESTS_* and pass results for all rounding
17382         modes to parse_args.
17383         (parse_auto_input): Separate inputs of automatic tests from
17384         outputs before storing in %auto_tests.
17385         * math/libm-test.inc (acos_test_data): Update call to
17386         AUTO_TESTS_f_f.
17387         (acos_test): Use ALL_RM_TEST.
17388         (acos_tonearest_test_data): Remove.
17389         (acos_test_tonearest): Likewise.
17390         (acos_towardzero_test_data): Likewise.
17391         (acos_test_towardzero): Likewise.
17392         (acos_downward_test_data): Likewise.
17393         (acos_test_downward): Likewise.
17394         (acos_upward_test_data): Likewise.
17395         (acos_test_upward): Likewise.
17396         (acosh_test_data): Update call to AUTO_TESTS_f_f.
17397         (asin_test_data): Likewise.
17398         (asin_test): Use ALL_RM_TEST.
17399         (asin_tonearest_test_data): Remove.
17400         (asin_test_tonearest): Likewise.
17401         (asin_towardzero_test_data): Likewise.
17402         (asin_test_towardzero): Likewise.
17403         (asin_downward_test_data): Likewise.
17404         (asin_test_downward): Likewise.
17405         (asin_upward_test_data): Likewise.
17406         (asin_test_upward): Likewise.
17407         (asinh_test_data): Update call to AUTO_TESTS_f_f.
17408         (atan_test_data): Likewise.
17409         (atanh_test_data): Likewise.
17410         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
17411         (cabs_test_data): Update call to AUTO_TESTS_c_f.
17412         (carg_test_data): Likewise.
17413         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
17414         (ccos_test_data): Update call to AUTO_TESTS_c_c.
17415         (ccosh_test_data): Likewise.
17416         (cexp_test_data): Likewise.
17417         (clog_test_data): Likewise.
17418         (clog10_test_data): Likewise.
17419         (cos_test_data): Update call to AUTO_TESTS_f_f.
17420         (cos_test): Use ALL_RM_TEST.
17421         (cos_tonearest_test_data): Remove.
17422         (cos_test_tonearest): Likewise.
17423         (cos_towardzero_test_data): Likewise.
17424         (cos_test_towardzero): Likewise.
17425         (cos_downward_test_data): Likewise.
17426         (cos_test_downward): Likewise.
17427         (cos_upward_test_data): Likewise.
17428         (cos_test_upward): Likewise.
17429         (cosh_test_data): Update call to AUTO_TESTS_f_f.
17430         (cosh_test): Use ALL_RM_TEST.
17431         (cosh_tonearest_test_data): Remove.
17432         (cosh_test_tonearest): Likewise.
17433         (cosh_towardzero_test_data): Likewise.
17434         (cosh_test_towardzero): Likewise.
17435         (cosh_downward_test_data): Likewise.
17436         (cosh_test_downward): Likewise.
17437         (cosh_upward_test_data): Likewise.
17438         (cosh_test_upward): Likewise.
17439         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
17440         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
17441         (ctan_test_data): Likewise.
17442         (ctan_test): Use ALL_RM_TEST.
17443         (ctan_tonearest_test_data): Remove.
17444         (ctan_test_tonearest): Likewise.
17445         (ctan_towardzero_test_data): Likewise.
17446         (ctan_test_towardzero): Likewise.
17447         (ctan_downward_test_data): Likewise.
17448         (ctan_test_downward): Likewise.
17449         (ctan_upward_test_data): Likewise.
17450         (ctan_test_upward): Likewise.
17451         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
17452         (ctanh_test): Use ALL_RM_TEST.
17453         (ctanh_tonearest_test_data): Remove.
17454         (ctanh_test_tonearest): Likewise.
17455         (ctanh_towardzero_test_data): Likewise.
17456         (ctanh_test_towardzero): Likewise.
17457         (ctanh_downward_test_data): Likewise.
17458         (ctanh_test_downward): Likewise.
17459         (ctanh_upward_test_data): Likewise.
17460         (ctanh_test_upward): Likewise.
17461         (erf_test_data): Update call to AUTO_TESTS_f_f.
17462         (erfc_test_data): Likewise.
17463         (exp_test_data): Likewise.
17464         (exp_test): Use ALL_RM_TEST.
17465         (exp_tonearest_test_data): Remove.
17466         (exp_test_tonearest): Likewise.
17467         (exp_towardzero_test_data): Likewise.
17468         (exp_test_towardzero): Likewise.
17469         (exp_downward_test_data): Likewise.
17470         (exp_test_downward): Likewise.
17471         (exp_upward_test_data): Likewise.
17472         (exp_test_upward): Likewise.
17473         (exp10_test_data): Update call to AUTO_TESTS_f_f.
17474         (exp10_test): Use ALL_RM_TEST.
17475         (exp10_tonearest_test_data): Remove.
17476         (exp10_test_tonearest): Likewise.
17477         (exp10_towardzero_test_data): Likewise.
17478         (exp10_test_towardzero): Likewise.
17479         (exp10_downward_test_data): Likewise.
17480         (exp10_test_downward): Likewise.
17481         (exp10_upward_test_data): Likewise.
17482         (exp10_test_upward): Likewise.
17483         (exp2_test_data): Update call to AUTO_TESTS_f_f.
17484         (expm1_test_data): Likewise.
17485         (expm1_test): Use ALL_RM_TEST.
17486         (expm1_tonearest_test_data): Remove.
17487         (expm1_test_tonearest): Likewise.
17488         (expm1_towardzero_test_data): Likewise.
17489         (expm1_test_towardzero): Likewise.
17490         (expm1_downward_test_data): Likewise.
17491         (expm1_test_downward): Likewise.
17492         (expm1_upward_test_data): Likewise.
17493         (expm1_test_upward): Likewise.
17494         (fma_test_data): Update call to AUTO_TESTS_fff_f.
17495         (fma_test): Use ALL_RM_TEST.
17496         (fma_towardzero_test_data): Remove.
17497         (fma_test_towardzero): Likewise.
17498         (fma_downward_test_data): Likewise.
17499         (fma_test_downward): Likewise.
17500         (fma_upward_test_data): Likewise.
17501         (fma_test_upward): Likewise.
17502         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
17503         (j0_test_data): Update call to AUTO_TESTS_f_f.
17504         (j1_test_data): Likewise.
17505         (jn_test_data): Update call to AUTO_TESTS_if_f.
17506         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
17507         (log_test_data): Update call to AUTO_TESTS_f_f.
17508         (log10_test_data): Likewise.
17509         (log1p_test_data): Likewise.
17510         (log2_test_data): Likewise.
17511         (pow_test_data): Update call to AUTO_TESTS_ff_f.
17512         (pow_tonearest_test_data): Likewise.
17513         (sin_test_data): Update call to AUTO_TESTS_f_f.
17514         (sin_test): Use ALL_RM_TEST.
17515         (sin_tonearest_test_data): Remove.
17516         (sin_test_tonearest): Likewise.
17517         (sin_towardzero_test_data): Likewise.
17518         (sin_test_towardzero): Likewise.
17519         (sin_downward_test_data): Likewise.
17520         (sin_test_downward): Likewise.
17521         (sin_upward_test_data): Likewise.
17522         (sin_test_upward): Likewise.
17523         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
17524         (sinh_test_data): Update call to AUTO_TESTS_f_f.
17525         (sinh_test): Use ALL_RM_TEST.
17526         (sinh_tonearest_test_data): Remove.
17527         (sinh_test_tonearest): Likewise.
17528         (sinh_towardzero_test_data): Likewise.
17529         (sinh_test_towardzero): Likewise.
17530         (sinh_downward_test_data): Likewise.
17531         (sinh_test_downward): Likewise.
17532         (sinh_upward_test_data): Likewise.
17533         (sinh_test_upward): Likewise.
17534         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
17535         (sqrt_test): Use ALL_RM_TEST.
17536         (sqrt_tonearest_test_data): Remove.
17537         (sqrt_test_tonearest): Likewise.
17538         (sqrt_towardzero_test_data): Likewise.
17539         (sqrt_test_towardzero): Likewise.
17540         (sqrt_downward_test_data): Likewise.
17541         (sqrt_test_downward): Likewise.
17542         (sqrt_upward_test_data): Likewise.
17543         (sqrt_test_upward): Likewise.
17544         (tan_test_data): Update call to AUTO_TESTS_f_f.
17545         (tan_test): Use ALL_RM_TEST.
17546         (tan_tonearest_test_data): Remove.
17547         (tan_test_tonearest): Likewise.
17548         (tan_towardzero_test_data): Likewise.
17549         (tan_test_towardzero): Likewise.
17550         (tan_downward_test_data): Likewise.
17551         (tan_test_downward): Likewise.
17552         (tan_upward_test_data): Likewise.
17553         (tan_test_upward): Likewise.
17554         (tanh_test_data): Update call to AUTO_TESTS_f_f.
17555         (tgamma_test_data): Likewise.
17556         (y0_test_data): Likewise.
17557         (y1_test_data): Likewise.
17558         (yn_test_data): Update call to AUTO_TESTS_if_f.
17559         (main): Do not call removed functions.
17561 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
17563         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
17564         (ldexp_test_data): Remove.
17565         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
17566         scalbn_test_data.
17567         (scalb_test): Use ALL_RM_TEST.
17569 2014-03-19  Andreas Schwab  <schwab@suse.de>
17571         * nscd/nscd.service: Also invalidate netgroup cache on reload.
17573 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
17575         [BZ #16649]
17576         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17577         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
17578         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
17579         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17580         (__ASSUME_PREADV): Undefine.
17581         (__ASSUME_PWRITEV): Likewise.
17583 2014-03-18  Roland McGrath  <roland@hack.frob.com>
17585         * bits/mman-linux.h: Add comment about non-Linux use.
17586         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
17587         bits/mman-linux.h resting place.
17589         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
17590         * bits/mman-linux.h: ... here.
17592 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17594         * conform/conformtest.pl: Add standard definition when calling C
17595         preprocessor on data files.
17596         (checknamespace): Remove unused variable.
17598 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
17600         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
17601         minus_oflow, plus_uflow and minus_uflow in expected results.
17602         * math/libm-test.inc (scalbn_test_data): Add more tests of
17603         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
17604         minus_uflow.
17605         (scalbn_test): Use ALL_RM_TEST.
17606         (scalbln_test_data): Add more tests of negative arguments.  Use
17607         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
17608         (scalbln_test): Use ALL_RM_TEST.
17610 2014-03-18  Roland McGrath  <roland@hack.frob.com>
17612         * scripts/abilist.awk: Ignore symbols marked with .hidden.
17614 2014-03-18  Will Newton  <will.newton@linaro.org>
17616         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
17617         inaccurate comment.
17619 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
17621         * Makerules [!subdir] (check-abi): Exit with error status if a
17622         test failed.
17624 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
17626         * math/libm-test.inc (nearbyint_test_data): Include all tests used
17627         for rint.  Include results for all rounding modes.
17628         (nearbyint_test): Use ALL_RM_TEST.
17629         (rint_test_data): Include all tests used for nearbyint.
17631 2014-03-17  Will Newton  <will.newton@linaro.org>
17633         * nptl/sysdeps/pthread/pthread.h: Revert previous
17634         change.
17636         * sysdeps/generic/ldsodefs.h: Revert previous
17637         change.
17639         * libio/genops.c: Revert previous change.
17640         * libio/libioP.h: Likewise.
17641         * stdio-common/vfprintf.c: Likewise.
17643         * sysdeps/generic/math_private.h: Revert previous
17644         change.
17646         * sysdeps/generic/math_private.h: Check whether
17647         HAVE_RM_CTX is defined with #ifdef rather
17648         than #if.
17650         * argp/argp-fmtstream.h: Check whether
17651         __STRICT_ANSI__ is defined with #ifdef rather
17652         than #if.
17653         * argp/argp.h: Likewise.
17655         * libio/genops.c: Check whether
17656         _IO_JUMPS_OFFSET is defined with #ifdef rather
17657         than #if.
17658         * libio/libioP.h: Likewise.
17659         * stdio-common/vfprintf.c: Likewise.
17661         * sysdeps/generic/ldsodefs.h: Check whether
17662         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
17663         than #if.
17665         * nptl/sysdeps/pthread/pthread.h: Check
17666         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
17667         its value.
17669 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17671         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
17672         setting O_APPEND.
17673         * libio/tst-ftell-active-handler.c (do_append_test): Add a
17674         test case.
17676         [BZ #16680]
17677         * libio/fileops.c (_IO_file_open): Seek to end of file but
17678         don't cache the offset.
17679         (get_file_offset): Remove function.
17680         (do_ftell): Use cached offset when available.
17681         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
17682         don't cache the offset.
17683         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
17684         case.
17685         (do_one_test): Call it.
17686         (do_ftell_test): Fix up expected old offset for a+ mode.
17687         * libio/wfileops.c (do_ftell_wide): Used cached offset when
17688         available.
17690         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
17691         up test status with function return status.
17692         (do_write_test): Likewise.
17693         (do_append_test): Likewise.
17695         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
17696         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
17697         Remove.
17699 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
17701         * math/gen-libm-test.pl (parse_args): Handle results specified for
17702         each rounding mode separately.
17703         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
17704         tests and results from lrint_tonearest_test_data,
17705         lrint_towardzero_test_data, lrint_downward_test_data and
17706         lrint_upward_test_data.
17707         (lrint_test): Use ALL_RM_TEST.
17708         (lrint_tonearest_test_data): Remove.
17709         (lrint_test_tonearest): Likewise.
17710         (lrint_towardzero_test_data): Likewise.
17711         (lrint_test_towardzero): Likewise.
17712         (lrint_downward_test_data): Likewise.
17713         (lrint_test_downward): Likewise.
17714         (lrint_upward_test_data): Likewise.
17715         (lrint_test_upward): Likewise.
17716         (llrint_test_data): Merge in per-rounding-mode tests and results
17717         from llrint_tonearest_test_data, llrint_towardzero_test_data,
17718         llrint_downward_test_data and llrint_upward_test_data.
17719         (llrint_test): Use ALL_RM_TEST.
17720         (llrint_tonearest_test_data): Remove.
17721         (llrint_test_tonearest): Likewise.
17722         (llrint_towardzero_test_data): Likewise.
17723         (llrint_test_towardzero): Likewise.
17724         (llrint_downward_test_data): Likewise.
17725         (llrint_test_downward): Likewise.
17726         (llrint_upward_test_data): Likewise.
17727         (llrint_test_upward): Likewise.
17728         (rint_test_data): Merge in per-rounding-mode tests and results
17729         from rint_tonearest_test_data, rint_towardzero_test_data,
17730         rint_downward_test_data and rint_upward_test_data.  Add
17731         per-rounding-mode results for tests not in those arrays.
17732         (rint_test): Use ALL_RM_TEST.
17733         (rint_tonearest_test_data): Remove.
17734         (rint_test_tonearest): Likewise.
17735         (rint_towardzero_test_data): Likewise.
17736         (rint_test_towardzero): Likewise.
17737         (rint_downward_test_data): Likewise.
17738         (rint_test_downward): Likewise.
17739         (rint_upward_test_data): Likewise.
17740         (rint_test_upward): Likewise.
17741         (main): Don't call removed functions.
17743 2014-03-14  Roland McGrath  <roland@hack.frob.com>
17745         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
17746         "Compiled on ..." crapola.  It is anti-useful.
17748 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
17750         * scripts/evaluate-test.sh: Handle fourth argument to determine
17751         whether test run should stop on failure.
17752         * Makeconfig (stop-on-test-failure): New variable.
17753         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
17754         $(stop-on-test-failure).
17755         * Makefile (tests): Give a summary of results from testing and
17756         exit with failure status if they include an ERROR or FAIL.
17757         (xtests): Likewise.
17758         * manual/install.texi (Configuring and compiling): Mention
17759         stop-on-test-failure=y.
17760         * INSTALL: Regenerated.
17762 2014-03-14  Roland McGrath  <roland@hack.frob.com>
17764         * scripts/versionlist.awk: New file.
17765         * Makerules [$(build-shared) = yes]
17766         (postclean-generated): Add Versions.def, not Versions.def.v and
17767         Versions.def.v.i.
17768         ($(common-objpfx)Versions.def.v.i): Target removed.
17769         ($(common-objpfx)Versions.def): New target.
17770         ($(common-objpfx)Versions.all): Depend on that rather that
17771         $(common-objpfx)Versions.def.v.
17772         * Versions.def: File removed.
17774         * Makeconfig (+gccwarn): Add -Wundef.
17775         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
17776         a dl-sysdep.h breaking its contract.
17777         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
17778         * include/stackinfo.h: New file.
17779         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
17780         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
17781         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
17782         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
17783         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
17784         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
17785         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17786         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17787         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17788         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17789         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17790         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
17791         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17792         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17793         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17795 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17797         [BZ #16707]
17798         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
17799         implementation.
17800         * math/libm-test.inc (round_test_data): Add more tests.
17802         [BZ #16706]
17803         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
17804         implementation.
17805         * math/libm-test.inc (nearbyint_test_data): Add more tests.
17807         [BZ #16701]
17808         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
17809         implementation.
17810         * math/libm-test.inc (ceil_test_data): Add more tests.
17812         * math/libm-test.inc (trunc_test_data): Add more tests related to
17813         BZ#16414.
17815 2014-03-14  Roland McGrath  <roland@hack.frob.com>
17817         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
17818         with #if rather than #ifdef.
17819         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
17821 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
17823         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
17824         first.  Disable AVX-512 GCC support if assembler doesn't support
17825         it.
17826         * sysdeps/x86_64/configure: Regenerated.
17828 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
17830         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
17831         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
17832         (__old_pthread_attr_setstack): Likewise.
17833         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
17834         [!_STACK_GROWS_DOWN]: Likewise.
17836 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
17838         * config.make.in (have-bash2): Delete.
17839         * configure.ac (libc_cv_have_bash2): Delete.
17840         * configure: Regenerate.
17841         * elf/Makefile (common-ldd-rewrite): Rename to ...
17842         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
17843         (sh-ldd-rewrite): Delete.
17844         (bash-ldd-rewrite): Delete.
17845         (have-bash2): Delete checks.
17846         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
17847         ldd-rewrite.
17849         * config.make.in (have-ksh): Delete.
17850         (KSH): Delete.
17851         * configure.ac (libc_cv_have_ksh): Delete.
17852         * configure: Regenerate.
17854         * elf/Makefile: Delete $(have-ksh) check.
17855         ($(objpfx)sotruss): Change KSH to BASH.
17856         * elf/sotruss.ksh: Rename to ...
17857         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
17858         function style to match POSIX.  Drop ksh vim mode setting.
17860         * manual/time.texi (Specifying the Time Zone with TZ): Change
17861         Tuesday to Thursday.
17863         * debug/tst-longjmp_chk2.c: Update header comment.
17864         (stackoverflow_handler): Add comment.  Call assert on pass value.
17866 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
17868         [BZ #16194]
17869         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
17870         (HAVE_AVX512_ASM_SUPPORT): Likewise.
17871         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
17872         (La_x86_64_vector): Add zmm.
17873         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
17874         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
17875         ($(objpfx)tst-audit10): New target.
17876         ($(objpfx)tst-audit10.out): Likewise.
17877         (tst-audit10-ENV): New.
17878         (AVX512-CFLAGS): Likewise.
17879         (CFLAGS-tst-audit10.c): Likewise.
17880         (CFLAGS-tst-auditmod10a.c): Likewise.
17881         (CFLAGS-tst-auditmod10b.c): Likewise.
17882         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
17883         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
17884         * sysdeps/x86_64/configure: Regenerated.
17885         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
17886         AVX-512 zmm register support.
17887         (_dl_x86_64_save_sse): Likewise.
17888         (_dl_x86_64_restore_sse): Likewise.
17889         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
17890         size vector registers.
17891         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
17892         (ZMM_SIZE): Likewise.
17893         * sysdeps/x86_64/tst-audit10.c: New file.
17894         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
17895         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
17897 2014-03-13  Roland McGrath  <roland@hack.frob.com>
17899         * configure.ac (HAVE_EHDR_START): New check.
17900         * configure: Regenerated.
17901         * config.h.in (HAVE_EHDR_START): New #undef.
17902         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
17903         assuming the lowest-addressed segment maps the start of the file.
17905 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
17907         * INSTALL: Regenerated.
17909 2014-03-13  Will Newton  <will.newton@linaro.org>
17911         * manual/setjmp.texi (System V contexts): Improve
17912         clarity and grammar of documentation.
17914 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17916         [BZ #16381]
17917         * elf/Makefile (tests): Add tst-pie2.
17918         (tests-pie): Add tst-pie2.
17919         * elf/tst-pie2.c: New file.
17920         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
17921         for ET_EXEC.
17922         * elf/rtld.c (map_doit): Load executable as lt_executable.
17923         (dl_main): Likewise.
17925 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
17927         [BZ #16642]
17928         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17929         (__ASSUME_PSELECT): Undefine.
17931 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17933         [BZ #16689]
17934         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
17935         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
17936         static build.
17937         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
17938         selector for static builds.
17940 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17942         [BZ #16695]
17943         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
17944         key in the buffer.
17946 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17948         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
17949         IFUNC selector for static builds.
17951 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
17953         * sysdeps/mips/math_private.h [__mips_hard_float]
17954         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
17955         libc_feresetround_mips_ctx.
17956         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
17957         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
17958         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
17960         [BZ #16677]
17961         * math/s_nextafter.c (__nextafter): Do not return value from
17962         overflowing computation.
17963         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
17964         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
17965         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
17966         Likewise.
17967         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
17968         Likewise.
17969         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
17970         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
17972 2014-03-11  Roland McGrath  <roland@hack.frob.com>
17974         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
17975         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
17976         Move sfi_sp use from the load-multiple (that no longer sets sp) to
17977         the new mov targetting sp.
17979 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17981         [BZ #16683]
17982         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
17983         Define it for static builds as well.
17984         (NO_BZERO_IMPL): Likewise.
17986 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17988         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
17989         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
17990         multiarch strspn for PPC64.
17991         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
17992         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
17993         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17994         (__libc_ifunc_impl_list): Likewise.
17995         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
17996         multiarch optimizations
17997         * string/strspn.c (strspn): Using macro to redefine symbol name.
17999 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18000             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18002         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
18003         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
18004         multiarch strncat for PPC64.
18005         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
18006         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
18007         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18008         (__libc_ifunc_impl_list): Likewise.
18009         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
18010         multiarch optimizations
18012 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18014         [BZ #16639]
18015         * nscd/nscd.service: Make service type forking.
18017 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18019         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
18020         sign in non default rounding modes.
18021         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
18023 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
18025         * math/libm-test.inc (ALL_RM_TEST): New macro.
18026         (ceil_test): Use ALL_RM_TEST.
18027         (cimag_test): Likewise.
18028         (conj_test): Likewise.
18029         (copysign_test): Likewise.
18030         (cproj_test): Likewise.
18031         (creal_test): Likewise.
18032         (fabs_test): Likewise.
18033         (floor_test): Likewise.
18034         (fmax_test): Likewise.
18035         (fmin_test): Likewise.
18036         (fmod_test): Likewise.
18037         (fpclassify_test): Likewise.
18038         (frexp_test): Likewise.
18039         (ilogb_test): Likewise.
18040         (isfinite_test): Likewise.
18041         (finite_test): Likewise.
18042         (isgreater_test): Likewise.
18043         (isgreaterequal_test): Likewise.
18044         (isinf_test): Likewise.
18045         (isless_test): Likewise.
18046         (islessequal_test): Likewise.
18047         (islessgreater_test): Likewise.
18048         (isnan_test): Likewise.
18049         (isnormal_test): Likewise.
18050         (issignaling_test): Likewise.
18051         (isunordered_test): Likewise.
18052         (logb_test): Likewise.
18053         (logb_downward_test_data): Remove.
18054         (logb_test_downward): Likewise.
18055         (lround_test): Use ALL_RM_TEST.
18056         (llround_test): Likewise.
18057         (modf_test): Likewise.
18058         (nexttoward_test): Likewise.
18059         (remainder_test): Likewise.
18060         (drem_test): Likewise.
18061         (remainder_tonearest_test_data): Likewise.
18062         (remainder_test_tonearest): Likewise.
18063         (drem_test_tonearest): Likewise.
18064         (remainder_towardzero_test_data): Likewise.
18065         (remainder_test_towardzero): Likewise.
18066         (drem_test_towardzero): Likewise.
18067         (remainder_downward_test_data): Likewise.
18068         (remainder_test_downward): Likewise.
18069         (drem_test_downward): Likewise.
18070         (remainder_upward_test_data): Likewise.
18071         (remainder_test_upward): Likewise.
18072         (drem_test_upward): Likewise.
18073         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
18074         (round_test): Use ALL_RM_TEST.
18075         (signbit_test): Likewise.
18076         (trunc_test): Likewise.
18077         (significand_test): Likewise.
18078         (main): Don't call removed functions.
18080 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
18082         [BZ #16674]
18083         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
18084         || __USE_XOPEN2K8].
18085         (ILL_ILLOPN): Likewise.
18086         (ILL_ILLADR): Likewise.
18087         (ILL_ILLTRP): Likewise.
18088         (ILL_PRVOPC): Likewise.
18089         (ILL_PRVREG): Likewise.
18090         (ILL_COPROC): Likewise.
18091         (ILL_BADSTK): Likewise.
18092         (FPE_INTDIV): Likewise.
18093         (FPE_INTOVF): Likewise.
18094         (FPE_FLTDIV): Likewise.
18095         (FPE_FLTOVF): Likewise.
18096         (FPE_FLTUND): Likewise.
18097         (FPE_FLTRES): Likewise.
18098         (FPE_FLTINV): Likewise.
18099         (FPE_FLTSUB): Likewise.
18100         (SEGV_MAPERR): Likewise.
18101         (SEGV_ACCERR): Likewise.
18102         (BUS_ADRALN): Likewise.
18103         (BUS_ADRERR): Likewise.
18104         (BUS_OBJERR): Likewise.
18105         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18106         (TRAP_TRACE): Likewise.
18107         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18108         __USE_XOPEN2K8].
18109         (CLD_KILLED): Likewise.
18110         (CLD_DUMPED): Likewise.
18111         (CLD_TRAPPED): Likewise.
18112         (CLD_STOPPED): Likewise.
18113         (CLD_CONTINUED): Likewise.
18114         (POLL_IN): Likewise.
18115         (POLL_OUT): Likewise.
18116         (POLL_MSG): Likewise.
18117         (POLL_ERR): Likewise.
18118         (POLL_PRI): Likewise.
18119         (POLL_HUP): Likewise.
18120         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
18121         Likewise.
18122         (ILL_ILLOPN): Likewise.
18123         (ILL_ILLADR): Likewise.
18124         (ILL_ILLTRP): Likewise.
18125         (ILL_PRVOPC): Likewise.
18126         (ILL_PRVREG): Likewise.
18127         (ILL_COPROC): Likewise.
18128         (ILL_BADSTK): Likewise.
18129         (FPE_INTDIV): Likewise.
18130         (FPE_INTOVF): Likewise.
18131         (FPE_FLTDIV): Likewise.
18132         (FPE_FLTOVF): Likewise.
18133         (FPE_FLTUND): Likewise.
18134         (FPE_FLTRES): Likewise.
18135         (FPE_FLTINV): Likewise.
18136         (FPE_FLTSUB): Likewise.
18137         (SEGV_MAPERR): Likewise.
18138         (SEGV_ACCERR): Likewise.
18139         (BUS_ADRALN): Likewise.
18140         (BUS_ADRERR): Likewise.
18141         (BUS_OBJERR): Likewise.
18142         (BUS_MCEERR_AR): Likewise.
18143         (BUS_MCEERR_AO): Likewise.
18144         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18145         (TRAP_TRACE): Likewise.
18146         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18147         __USE_XOPEN2K8].
18148         (CLD_KILLED): Likewise.
18149         (CLD_DUMPED): Likewise.
18150         (CLD_TRAPPED): Likewise.
18151         (CLD_STOPPED): Likewise.
18152         (CLD_CONTINUED): Likewise.
18153         (POLL_IN): Likewise.
18154         (POLL_OUT): Likewise.
18155         (POLL_MSG): Likewise.
18156         (POLL_ERR): Likewise.
18157         (POLL_PRI): Likewise.
18158         (POLL_HUP): Likewise.
18159         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
18160         (ILL_ILLOPN): Likewise.
18161         (ILL_ILLADR): Likewise.
18162         (ILL_ILLTRP): Likewise.
18163         (ILL_PRVOPC): Likewise.
18164         (ILL_PRVREG): Likewise.
18165         (ILL_COPROC): Likewise.
18166         (ILL_BADSTK): Likewise.
18167         (FPE_INTDIV): Likewise.
18168         (FPE_INTOVF): Likewise.
18169         (FPE_FLTDIV): Likewise.
18170         (FPE_FLTOVF): Likewise.
18171         (FPE_FLTUND): Likewise.
18172         (FPE_FLTRES): Likewise.
18173         (FPE_FLTINV): Likewise.
18174         (FPE_FLTSUB): Likewise.
18175         (SEGV_MAPERR): Likewise.
18176         (SEGV_ACCERR): Likewise.
18177         (BUS_ADRALN): Likewise.
18178         (BUS_ADRERR): Likewise.
18179         (BUS_OBJERR): Likewise.
18180         (BUS_MCEERR_AR): Likewise.
18181         (BUS_MCEERR_AO): Likewise.
18182         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18183         (TRAP_TRACE): Likewise.
18184         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18185         __USE_XOPEN2K8].
18186         (CLD_KILLED): Likewise.
18187         (CLD_DUMPED): Likewise.
18188         (CLD_TRAPPED): Likewise.
18189         (CLD_STOPPED): Likewise.
18190         (CLD_CONTINUED): Likewise.
18191         (POLL_IN): Likewise.
18192         (POLL_OUT): Likewise.
18193         (POLL_MSG): Likewise.
18194         (POLL_ERR): Likewise.
18195         (POLL_PRI): Likewise.
18196         (POLL_HUP): Likewise.
18197         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
18198         Likewise.
18199         (ILL_ILLOPN): Likewise.
18200         (ILL_ILLADR): Likewise.
18201         (ILL_ILLTRP): Likewise.
18202         (ILL_PRVOPC): Likewise.
18203         (ILL_PRVREG): Likewise.
18204         (ILL_COPROC): Likewise.
18205         (ILL_BADSTK): Likewise.
18206         (ILL_BADIADDR): Likewise.
18207         (ILL_BREAK): Likewise.
18208         (FPE_INTDIV): Likewise.
18209         (FPE_INTOVF): Likewise.
18210         (FPE_FLTDIV): Likewise.
18211         (FPE_FLTOVF): Likewise.
18212         (FPE_FLTUND): Likewise.
18213         (FPE_FLTRES): Likewise.
18214         (FPE_FLTINV): Likewise.
18215         (FPE_FLTSUB): Likewise.
18216         (FPE_DECOVF): Likewise.
18217         (FPE_DECDIV): Likewise.
18218         (FPE_DECERR): Likewise.
18219         (FPE_INVASC): Likewise.
18220         (FPE_INVDEC): Likewise.
18221         (SEGV_MAPERR): Likewise.
18222         (SEGV_ACCERR): Likewise.
18223         (SEGV_PSTKOVF): Likewise.
18224         (BUS_ADRALN): Likewise.
18225         (BUS_ADRERR): Likewise.
18226         (BUS_OBJERR): Likewise.
18227         (BUS_MCEERR_AR): Likewise.
18228         (BUS_MCEERR_AO): Likewise.
18229         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18230         (TRAP_TRACE): Likewise.
18231         (TRAP_BRANCH): Likewise.
18232         (TRAP_HWBKPT): Likewise.
18233         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18234         __USE_XOPEN2K8].
18235         (CLD_KILLED): Likewise.
18236         (CLD_DUMPED): Likewise.
18237         (CLD_TRAPPED): Likewise.
18238         (CLD_STOPPED): Likewise.
18239         (CLD_CONTINUED): Likewise.
18240         (POLL_IN): Likewise.
18241         (POLL_OUT): Likewise.
18242         (POLL_MSG): Likewise.
18243         (POLL_ERR): Likewise.
18244         (POLL_PRI): Likewise.
18245         (POLL_HUP): Likewise.
18246         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
18247         (ILL_ILLOPN): Likewise.
18248         (ILL_ILLADR): Likewise.
18249         (ILL_ILLTRP): Likewise.
18250         (ILL_PRVOPC): Likewise.
18251         (ILL_PRVREG): Likewise.
18252         (ILL_COPROC): Likewise.
18253         (ILL_BADSTK): Likewise.
18254         (FPE_INTDIV): Likewise.
18255         (FPE_INTOVF): Likewise.
18256         (FPE_FLTDIV): Likewise.
18257         (FPE_FLTOVF): Likewise.
18258         (FPE_FLTUND): Likewise.
18259         (FPE_FLTRES): Likewise.
18260         (FPE_FLTINV): Likewise.
18261         (FPE_FLTSUB): Likewise.
18262         (SEGV_MAPERR): Likewise.
18263         (SEGV_ACCERR): Likewise.
18264         (BUS_ADRALN): Likewise.
18265         (BUS_ADRERR): Likewise.
18266         (BUS_OBJERR): Likewise.
18267         (BUS_MCEERR_AR): Likewise.
18268         (BUS_MCEERR_AO): Likewise.
18269         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18270         (TRAP_TRACE): Likewise.
18271         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18272         __USE_XOPEN2K8].
18273         (CLD_KILLED): Likewise.
18274         (CLD_DUMPED): Likewise.
18275         (CLD_TRAPPED): Likewise.
18276         (CLD_STOPPED): Likewise.
18277         (CLD_CONTINUED): Likewise.
18278         (POLL_IN): Likewise.
18279         (POLL_OUT): Likewise.
18280         (POLL_MSG): Likewise.
18281         (POLL_ERR): Likewise.
18282         (POLL_PRI): Likewise.
18283         (POLL_HUP): Likewise.
18284         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
18285         (ILL_ILLOPN): Likewise.
18286         (ILL_ILLADR): Likewise.
18287         (ILL_ILLTRP): Likewise.
18288         (ILL_PRVOPC): Likewise.
18289         (ILL_PRVREG): Likewise.
18290         (ILL_COPROC): Likewise.
18291         (ILL_BADSTK): Likewise.
18292         (FPE_INTDIV): Likewise.
18293         (FPE_INTOVF): Likewise.
18294         (FPE_FLTDIV): Likewise.
18295         (FPE_FLTOVF): Likewise.
18296         (FPE_FLTUND): Likewise.
18297         (FPE_FLTRES): Likewise.
18298         (FPE_FLTINV): Likewise.
18299         (FPE_FLTSUB): Likewise.
18300         (SEGV_MAPERR): Likewise.
18301         (SEGV_ACCERR): Likewise.
18302         (BUS_ADRALN): Likewise.
18303         (BUS_ADRERR): Likewise.
18304         (BUS_OBJERR): Likewise.
18305         (BUS_MCEERR_AR): Likewise.
18306         (BUS_MCEERR_AO): Likewise.
18307         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18308         (TRAP_TRACE): Likewise.
18309         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18310         __USE_XOPEN2K8].
18311         (CLD_KILLED): Likewise.
18312         (CLD_DUMPED): Likewise.
18313         (CLD_TRAPPED): Likewise.
18314         (CLD_STOPPED): Likewise.
18315         (CLD_CONTINUED): Likewise.
18316         (POLL_IN): Likewise.
18317         (POLL_OUT): Likewise.
18318         (POLL_MSG): Likewise.
18319         (POLL_ERR): Likewise.
18320         (POLL_PRI): Likewise.
18321         (POLL_HUP): Likewise.
18322         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
18323         (ILL_ILLOPN): Likewise.
18324         (ILL_ILLADR): Likewise.
18325         (ILL_ILLTRP): Likewise.
18326         (ILL_PRVOPC): Likewise.
18327         (ILL_PRVREG): Likewise.
18328         (ILL_COPROC): Likewise.
18329         (ILL_BADSTK): Likewise.
18330         (FPE_INTDIV): Likewise.
18331         (FPE_INTOVF): Likewise.
18332         (FPE_FLTDIV): Likewise.
18333         (FPE_FLTOVF): Likewise.
18334         (FPE_FLTUND): Likewise.
18335         (FPE_FLTRES): Likewise.
18336         (FPE_FLTINV): Likewise.
18337         (FPE_FLTSUB): Likewise.
18338         (SEGV_MAPERR): Likewise.
18339         (SEGV_ACCERR): Likewise.
18340         (BUS_ADRALN): Likewise.
18341         (BUS_ADRERR): Likewise.
18342         (BUS_OBJERR): Likewise.
18343         (BUS_MCEERR_AR): Likewise.
18344         (BUS_MCEERR_AO): Likewise.
18345         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18346         (TRAP_TRACE): Likewise.
18347         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18348         __USE_XOPEN2K8].
18349         (CLD_KILLED): Likewise.
18350         (CLD_DUMPED): Likewise.
18351         (CLD_TRAPPED): Likewise.
18352         (CLD_STOPPED): Likewise.
18353         (CLD_CONTINUED): Likewise.
18354         (POLL_IN): Likewise.
18355         (POLL_OUT): Likewise.
18356         (POLL_MSG): Likewise.
18357         (POLL_ERR): Likewise.
18358         (POLL_PRI): Likewise.
18359         (POLL_HUP): Likewise.
18360         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
18361         (ILL_ILLOPN): Likewise.
18362         (ILL_ILLADR): Likewise.
18363         (ILL_ILLTRP): Likewise.
18364         (ILL_PRVOPC): Likewise.
18365         (ILL_PRVREG): Likewise.
18366         (ILL_COPROC): Likewise.
18367         (ILL_BADSTK): Likewise.
18368         (ILL_DBLFLT): Likewise.
18369         (ILL_HARDWALL): Likewise.
18370         (FPE_INTDIV): Likewise.
18371         (FPE_INTOVF): Likewise.
18372         (FPE_FLTDIV): Likewise.
18373         (FPE_FLTOVF): Likewise.
18374         (FPE_FLTUND): Likewise.
18375         (FPE_FLTRES): Likewise.
18376         (FPE_FLTINV): Likewise.
18377         (FPE_FLTSUB): Likewise.
18378         (SEGV_MAPERR): Likewise.
18379         (SEGV_ACCERR): Likewise.
18380         (BUS_ADRALN): Likewise.
18381         (BUS_ADRERR): Likewise.
18382         (BUS_OBJERR): Likewise.
18383         (BUS_MCEERR_AR): Likewise.
18384         (BUS_MCEERR_AO): Likewise.
18385         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18386         (TRAP_TRACE): Likewise.
18387         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18388         __USE_XOPEN2K8].
18389         (CLD_KILLED): Likewise.
18390         (CLD_DUMPED): Likewise.
18391         (CLD_TRAPPED): Likewise.
18392         (CLD_STOPPED): Likewise.
18393         (CLD_CONTINUED): Likewise.
18394         (POLL_IN): Likewise.
18395         (POLL_OUT): Likewise.
18396         (POLL_MSG): Likewise.
18397         (POLL_ERR): Likewise.
18398         (POLL_PRI): Likewise.
18399         (POLL_HUP): Likewise.
18400         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
18401         (ILL_ILLOPN): Likewise.
18402         (ILL_ILLADR): Likewise.
18403         (ILL_ILLTRP): Likewise.
18404         (ILL_PRVOPC): Likewise.
18405         (ILL_PRVREG): Likewise.
18406         (ILL_COPROC): Likewise.
18407         (ILL_BADSTK): Likewise.
18408         (FPE_INTDIV): Likewise.
18409         (FPE_INTOVF): Likewise.
18410         (FPE_FLTDIV): Likewise.
18411         (FPE_FLTOVF): Likewise.
18412         (FPE_FLTUND): Likewise.
18413         (FPE_FLTRES): Likewise.
18414         (FPE_FLTINV): Likewise.
18415         (FPE_FLTSUB): Likewise.
18416         (SEGV_MAPERR): Likewise.
18417         (SEGV_ACCERR): Likewise.
18418         (BUS_ADRALN): Likewise.
18419         (BUS_ADRERR): Likewise.
18420         (BUS_OBJERR): Likewise.
18421         (BUS_MCEERR_AR): Likewise.
18422         (BUS_MCEERR_AO): Likewise.
18423         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18424         (TRAP_TRACE): Likewise.
18425         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18426         __USE_XOPEN2K8].
18427         (CLD_KILLED): Likewise.
18428         (CLD_DUMPED): Likewise.
18429         (CLD_TRAPPED): Likewise.
18430         (CLD_STOPPED): Likewise.
18431         (CLD_CONTINUED): Likewise.
18432         (POLL_IN): Likewise.
18433         (POLL_OUT): Likewise.
18434         (POLL_MSG): Likewise.
18435         (POLL_ERR): Likewise.
18436         (POLL_PRI): Likewise.
18437         (POLL_HUP): Likewise.
18438         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
18439         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
18441         [BZ #16670]
18442         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
18443         before #include of <time.h>.
18444         [!__USE_XOPEN2K] (__need_timespec): Likewise.
18445         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
18446         (test-xfail-UNIX98/sched.h/conform): Likewise.
18448 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18450         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
18451         error absence of trapping exception support.
18452         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18454 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
18456         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
18457         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
18458         * timezone/Makefile (testdata): Move definition above include of
18459         Rules.
18460         (test-zones): New variable.
18461         (tests-special): Add zone files.
18462         (build-testdata): Use $(evaluate-test).
18464         * elf/Makefile (tests-special): Rename tests to end with .out.
18465         ($(objpfx)noload-mem): Likewise.
18466         ($(objpfx)tst-leaks1-mem): Likewise.
18467         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
18468         * iconv/Makefile (xtests-special): Change test-iconvconfig to
18469         $(objpfx)test-iconvconfig.out.
18470         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
18471         set -e inside subshell and redirect output to file.
18472         * iconvdata/Makefile (generated): Rename tests to end with .out.
18473         Correct type.
18474         (tests-special): Rename tests to end with .out.
18475         ($(objpfx)mtrace-tst-loading): Likewise.
18476         * intl/Makefile (generated): Likewise.
18477         (tests-special): Likewise.
18478         ($(objpfx)mtrace-tst-gettext): Likewise.
18479         * misc/Makefile (generated): Likewise.
18480         (tests-special): Likewise.
18481         ($(objpfx)tst-error1-mem): Likewise.
18482         * nptl/Makefile (tests-special): Likewise.
18483         ($(objpfx)tst-stack3-mem): Likewise.
18484         (generated): Likewise.
18485         * posix/Makefile (generated): Likewise.
18486         (tests-special): Likewise.
18487         (xtests-special): Likewise.
18488         ($(objpfx)tst-fnmatch-mem): Likewise.
18489         ($(objpfx)bug-regex2-mem): Likewise.
18490         ($(objpfx)bug-regex14-mem): Likewise.
18491         ($(objpfx)bug-regex21-mem): Likewise.
18492         ($(objpfx)bug-regex31-mem): Likewise.
18493         ($(objpfx)tst-vfork3-mem): Likewise.
18494         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18495         ($(objpfx)tst-pcre-mem): Likewise.
18496         ($(objpfx)tst-boost-mem): Likewise.
18497         ($(objpfx)bug-ga2-mem): Likewise.
18498         ($(objpfx)bug-glob2-mem): Likewise.
18499         * resolv/Makefile (generate): Likewise.
18500         (tests-special): Likewise.
18501         (xtests-special): Likewise.
18502         (generated): Likewise.
18503         ($(objpfx)mtrace-tst-leaks): Likewise.
18504         ($(objpfx)mtrace-tst-leaks2): Likewise.
18506         * scripts/merge-test-results.sh: New file.
18507         * Makefile (tests-special-notdir): New variable.
18508         (tests): Run merge-test-results.sh.
18509         (xtests): Likewise.
18510         * Rules (tests-special-notdir): New variable.
18511         (xtests-special-notdir): Likewise.
18512         (tests): Run merge-test-results.sh
18513         (xtests): Likewise.
18515         * Makeconfig (test-xfail-name): New variable.
18516         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
18517         compute variable name for expected failures.
18518         * conform/Makefile (conformtest-headers-data): New variable.
18519         (conformtest-standards): Likewise.
18520         (conformtest-headers-ISO): Likewise.
18521         (conformtest-headers-ISO99): Likewise.
18522         (conformtest-headers-ISO11): Likewise.
18523         (conformtest-headers-POSIX): Likewise.
18524         (conformtest-headers-XPG3): Likewise.
18525         (conformtest-headers-XPG4): Likewise.
18526         (conformtest-headers-UNIX98): Likewise.
18527         (conformtest-headers-XOPEN2K): Likewise.
18528         (conformtest-headers-POSIX2008): Likewise.
18529         (conformtest-headers-XOPEN2K8): Likewise.
18530         (conformtest-header-list-base): Likewise.
18531         (conformtest-header-list-tests): Likewise.
18532         (conformtest-header-base): Likewise.
18533         (conformtest-header-tests): Likewise.
18534         (tests-special): Add $(conformtest-header-list-tests).  If
18535         [$(fast-check) && !$(cross-compiling)], add
18536         $(conformtest-header-tests) instead of
18537         $(objpfx)run-conformtest.out.
18538         (generated): Add $(conformtest-header-list-base).  If
18539         [$(fast-check) && !$(cross-compiling)], add
18540         $(conformtest-header-base).  Remove previous setting.
18541         ($(conformtest-header-list-tests)): New target.
18542         (test-xfail-run-conformtest): Remove variable.
18543         ($(objpfx)run-conformtest.out): Remove target.
18544         (test-xfail-ISO11/complex.h/conform): New variable.
18545         (test-xfail-ISO11/stdalign.h/conform): Likewise.
18546         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
18547         (test-xfail-XPG3/varargs.h/conform): Likewise.
18548         (test-xfail-XPG4/varargs.h/conform): Likewise.
18549         (test-xfail-UNIX98/varargs.h/conform): Likewise.
18550         (test-xfail-XPG4/ndbm.h/conform): Likewise.
18551         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
18552         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
18553         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
18554         (test-xfail-XPG3/fcntl.h/conform): Likewise.
18555         (test-xfail-XPG3/ftw.h/conform): Likewise.
18556         (test-xfail-XPG3/grp.h/conform): Likewise.
18557         (test-xfail-XPG3/langinfo.h/conform): Likewise.
18558         (test-xfail-XPG3/limits.h/conform): Likewise.
18559         (test-xfail-XPG3/pwd.h/conform): Likewise.
18560         (test-xfail-XPG3/search.h/conform): Likewise.
18561         (test-xfail-XPG3/signal.h/conform): Likewise.
18562         (test-xfail-XPG3/stdio.h/conform): Likewise.
18563         (test-xfail-XPG3/stdlib.h/conform): Likewise.
18564         (test-xfail-XPG3/string.h/conform): Likewise.
18565         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
18566         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
18567         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18568         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18569         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
18570         (test-xfail-XPG3/sys/types.h/conform): Likewise.
18571         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
18572         (test-xfail-XPG3/termios.h/conform): Likewise.
18573         (test-xfail-XPG3/time.h/conform): Likewise.
18574         (test-xfail-XPG3/unistd.h/conform): Likewise.
18575         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
18576         (test-xfail-XPG4/fcntl.h/conform): Likewise.
18577         (test-xfail-XPG4/langinfo.h/conform): Likewise.
18578         (test-xfail-XPG4/netdb.h/conform): Likewise.
18579         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
18580         (test-xfail-XPG4/signal.h/conform): Likewise.
18581         (test-xfail-XPG4/stdio.h/conform): Likewise.
18582         (test-xfail-XPG4/stdlib.h/conform): Likewise.
18583         (test-xfail-XPG4/stropts.h/conform): Likewise.
18584         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18585         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18586         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18587         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18588         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18589         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
18590         (test-xfail-XPG4/sys/time.h/conform): Likewise.
18591         (test-xfail-XPG4/sys/types.h/conform): Likewise.
18592         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
18593         (test-xfail-XPG4/termios.h/conform): Likewise.
18594         (test-xfail-XPG4/ucontext.h/conform): Likewise.
18595         (test-xfail-XPG4/unistd.h/conform): Likewise.
18596         (test-xfail-XPG4/utmpx.h/conform): Likewise.
18597         (test-xfail-POSIX/sched.h/conform): Likewise.
18598         (test-xfail-POSIX/signal.h/conform): Likewise.
18599         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
18600         (test-xfail-POSIX/tar.h/conform): Likewise.
18601         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
18602         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
18603         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
18604         (test-xfail-UNIX98/netdb.h/conform): Likewise.
18605         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
18606         (test-xfail-UNIX98/sched.h/conform): Likewise.
18607         (test-xfail-UNIX98/signal.h/conform): Likewise.
18608         (test-xfail-UNIX98/stdio.h/conform): Likewise.
18609         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
18610         (test-xfail-UNIX98/stropts.h/conform): Likewise.
18611         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18612         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
18613         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18614         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
18615         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18616         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
18617         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
18618         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
18619         (test-xfail-UNIX98/unistd.h/conform): Likewise.
18620         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
18621         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
18622         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
18623         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
18624         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
18625         (test-xfail-XOPEN2K/math.h/conform): Likewise.
18626         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
18627         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
18628         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
18629         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
18630         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
18631         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
18632         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
18633         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18634         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18635         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
18636         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18637         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18638         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18639         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
18640         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
18641         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
18642         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
18643         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18644         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
18645         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18646         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
18647         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
18648         (test-xfail-POSIX2008/signal.h/conform): Likewise.
18649         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18650         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
18651         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
18652         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18653         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18654         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
18655         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
18656         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18657         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18658         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
18659         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
18660         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18661         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18662         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18663         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
18664         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18665         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18666         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18667         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18668         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
18669         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
18670         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
18671         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
18672         (conformtest-cc-flags): Likewise.
18673         ($(conformtest-header-tests): New target.
18674         * conform/check-header-lists.sh: New file.
18675         * conform/run-conformtest.sh: Remove.
18677         * conform/conformtest.pl: Allow ' and \ in values given for
18678         constants.
18679         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
18680         inclusion.
18681         [POSIX] (sys/types.h): Likewise.
18682         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
18683         inclusion.
18684         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
18685         inclusion.
18686         * conform/data/signal.h-data (SIGIO): Remove expectation.
18687         [XPG3] (SIGBUS): Do not expect.
18688         [POSIX || XPG3] (SIGPOLL): Likewise.
18689         [POSIX || XPG3] (SIGPROF): Likewise.
18690         [POSIX || XPG3] (SIGSYS): Likewise.
18691         [XPG3] (SIGTRAP): Likewise.
18692         [POSIX || XPG3] (SIGURG): Likewise.
18693         [POSIX || XPG3] (SIGVTALRM): Likewise.
18694         [POSIX || XPG3] (SIGXCPU): Likewise.
18695         [POSIX || XPG3] (SIGXFSZ): Likewise.
18696         [POSIX] (SA_SIGINFO): Expect.
18697         [XPG3] (siginfo_t): Do not expect type or contents.
18698         [POSIX] (si_pid): Do not expect element.
18699         [POSIX] (si_uid): Likewise.
18700         [POSIX] (si_addr): Likewise.
18701         [POSIX] (si_status): Likewise.
18702         [POSIX] (si_band): Likewise.
18703         [XPG4] (si_value): Likewise.
18704         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
18705         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
18706         [POSIX || XPG3] (ILL_ILLADR): Likewise.
18707         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
18708         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
18709         [POSIX || XPG3] (ILL_PRVREG): Likewise.
18710         [POSIX || XPG3] (ILL_COPROC): Likewise.
18711         [POSIX || XPG3] (ILL_BADSTK): Likewise.
18712         [POSIX || XPG3] (FPE_INTDIV): Likewise.
18713         [POSIX || XPG3] (FPE_INTOVF): Likewise.
18714         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
18715         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
18716         [POSIX || XPG3] (FPE_FLTUND): Likewise.
18717         [POSIX || XPG3] (FPE_FLTRES): Likewise.
18718         [POSIX || XPG3] (FPE_FLTINV): Likewise.
18719         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
18720         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
18721         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
18722         [POSIX || XPG3] (BUS_ADRALN): Likewise.
18723         [POSIX || XPG3] (BUS_ADRERR): Likewise.
18724         [POSIX || XPG3] (BUS_OBJERR): Likewise.
18725         [POSIX || XPG3] (CLD_EXITED): Likewise.
18726         [POSIX || XPG3] (CLD_KILLED): Likewise.
18727         [POSIX || XPG3] (CLD_DUMPED): Likewise.
18728         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
18729         [POSIX || XPG3] (CLD_STOPPED): Likewise.
18730         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
18731         [POSIX || XPG3] (POLL_IN): Likewise.
18732         [POSIX || XPG3] (POLL_OUT): Likewise.
18733         [POSIX || XPG3] (POLL_MSG): Likewise.
18734         [POSIX || XPG3] (POLL_ERR): Likewise.
18735         [POSIX || XPG3] (POLL_PRI): Likewise.
18736         [POSIX || XPG3] (POLL_HUP): Likewise.
18737         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
18738         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
18739         (SIG*): Do not allow.
18740         [XPG3] (si_*): Likewise.
18741         [XPG3] (SI_*): Likewise.
18742         [XPG3 || XPG4] (sigev_*): Likewise.
18743         [XPG3 || XPG4] (SIGEV_*): Likewise.
18744         [XPG3 || XPG4] (sival_*): Likewise.
18745         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
18746         [POSIX || XPG3] (BUS_*): Likewise.
18747         [POSIX || XPG3] (CLD_*): Likewise.
18748         [POSIX || XPG3] (FPE_*): Likewise.
18749         [POSIX || XPG3] (ILL_*): Likewise.
18750         [POSIX || XPG3] (POLL_*): Likewise.
18751         [POSIX || XPG3] (SEGV_*): Likewise.
18752         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
18753         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
18754         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
18755         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
18756         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
18757         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
18758         Specify type and value.
18759         (TVERSLEN): Likewise.
18760         (REGTYPE): Likewise.
18761         (AREGTYPE): Likewise.
18762         (LNKTYPE): Likewise.
18763         (SYMTYPE): Likewise.
18764         (CHRTYPE): Likewise.
18765         (BLKTYPE): Likewise.
18766         (DIRTYPE): Likewise.
18767         (FIFOTYPE): Likewise.
18768         (CONTTYPE): Likewise.
18769         (TSUID): Likewise.
18770         (TSGID): Likewise.
18771         (TSVTX): Likewise.
18772         (TUREAD): Likewise.
18773         (TUWRITE): Likewise.
18774         (TUEXEC): Likewise.
18775         (TGREAD): Likewise.
18776         (TGWRITE): Likewise.
18777         (TGEXEC): Likewise.
18778         (TOREAD): Likewise.
18779         (TOWRITE): Likewise.
18780         (TOEXEC): Likewise.
18781         [POSIX] (TSVTX): Expect constant.
18783 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
18785         * Makefile (tests): Change dependencies to ....
18786         (tests-special): ... additions to this variable.
18787         (tests): Depend on $(tests-special).
18788         * Makerules (check-abi-list): New variable.
18789         (check-abi): Depend on $(check-abi-list).
18790         [$(subdir) = elf] (tests-special): Add
18791         $(objpfx)check-abi-libc.out.
18792         [$(build-shared) = yes && subdir] (tests-special): Add
18793         $(check-abi-list).
18794         [$(build-shared) = yes && subdir] (tests): Do not depend on
18795         check-abi.
18796         * Rules (tests): Depend on $(tests-special).
18797         (xtests): Depend on $(xtests-special).
18798         * catgets/Makefile (tests): Change dependencies to ....
18799         (tests-special): ... additions to this variable.
18800         * conform/Makefile (tests): Change dependencies to ....
18801         (tests-special): ... additions to this variable.
18802         * elf/Makefile (tests): Change dependencies to ....
18803         (tests-special): ... additions to this variable.
18804         * grp/Makefile (tests): Change dependencies to ....
18805         (tests-special): ... additions to this variable.
18806         * iconv/Makefile (xtests): Change dependencies to ....
18807         (xtests-special): ... additions to this variable.
18808         * iconvdata/Makefile (tests): Change dependencies to ....
18809         (tests-special): ... additions to this variable.
18810         * intl/Makefile (tests): Change dependencies to ....
18811         (tests-special): ... additions to this variable.  Also add
18812         $(objpfx)tst-gettext.out.
18813         * io/Makefile (tests): Change dependencies to ....
18814         (tests-special): ... additions to this variable.
18815         * libio/Makefile (tests): Change dependencies to ....
18816         (tests-special): ... additions to this variable.
18817         * malloc/Makefile (tests): Change dependencies to ....
18818         (tests-special): ... additions to this variable.
18819         * misc/Makefile (tests): Change dependencies to ....
18820         (tests-special): ... additions to this variable.
18821         * nptl/Makefile (tests): Change dependencies to ....
18822         (tests-special): ... additions to this variable.
18823         * nptl_db/Makefile (tests): Change dependencies to ....
18824         (tests-special): ... additions to this variable.
18825         * posix/Makefile (tests): Change dependencies to ....
18826         (tests-special): ... additions to this variable.
18827         (xtests): Change dependencies to ....
18828         (xtests-special): ... additions to this variable.
18829         * resolv/Makefile (tests): Change dependencies to ....
18830         (tests-special): ... additions to this variable.
18831         (xtests): Change dependencies to ....
18832         (xtests-special): ... additions to this variable.
18833         * stdio-common/Makefile (tests): Change dependencies to ....
18834         (tests-special): ... additions to this variable.
18835         (do-tst-unbputc): Remove target.
18836         (do-tst-printf): Likewise.
18837         * stdlib/Makefile (tests): Change dependencies to ....
18838         (tests-special): ... additions to this variable.
18839         * string/Makefile (tests): Change dependencies to ....
18840         (tests-special): ... additions to this variable.
18841         * sysdeps/x86/Makefile (tests): Change dependencies to ....
18842         (tests-special): ... additions to this variable.
18844         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
18845         whole file.
18846         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
18847         whole file.
18848         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
18849         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
18851         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
18852         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
18853         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
18854         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
18855         * conform/data/libgen.h-data [XPG3]: Likewise.
18856         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
18857         * conform/data/ndbm.h-data [XPG3]: Likewise.
18858         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
18859         * conform/data/netdb.h-data [XPG3]: Likewise.
18860         * conform/data/netinet/in.h-data [XPG3]: Likewise.
18861         * conform/data/poll.h-data [XPG3]: Likewise.
18862         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
18863         * conform/data/strings.h-data [XPG3]: Likewise.
18864         * conform/data/stropts.h-data [XPG3]: Likewise.
18865         * conform/data/sys/mman.h-data [XPG3]: Likewise.
18866         * conform/data/sys/resource.h-data [XPG3]: Likewise.
18867         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
18868         Likewise.
18869         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
18870         * conform/data/sys/time.h-data [XPG3]: Likewise.
18871         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
18872         * conform/data/sys/uio.h-data [XPG3]: Likewise.
18873         * conform/data/sys/un.h-data [XPG3]: Likewise.
18874         * conform/data/syslog.h-data [XPG3]: Likewise.
18875         * conform/data/ucontext.h-data [XPG3]: Likewise.
18876         * conform/data/utmpx.h-data [XPG3]: Likewise.
18877         * conform/data/varargs.h-data [UNIX98]: Enable file.
18879         * manual/Makefile (INSTALL_INFO): Remove variable setting.
18881         * math/libm-test.inc (struct test_f_f_data): Move expected results
18882         into structure for each rounding mode.
18883         (struct test_ff_f_data): Likewise.
18884         (struct test_ff_f_data_nexttoward): Likewise.
18885         (struct test_fi_f_data): Likewise.
18886         (struct test_fl_f_data): Likewise.
18887         (struct test_if_f_data): Likewise.
18888         (struct test_fff_f_data): Likewise.
18889         (struct test_c_f_data): Likewise.
18890         (struct test_f_f1_data): Likewise.
18891         (struct test_fF_f1_data): Likewise.
18892         (struct test_ffI_f1_data): Likewise.
18893         (struct test_c_c_data): Likewise.
18894         (struct test_cc_c_data): Likewise.
18895         (struct test_f_i_data): Likewise.
18896         (struct test_ff_i_data): Likewise.
18897         (struct test_f_l_data): Likewise.
18898         (struct test_f_L_data): Likewise.
18899         (struct test_fFF_11_data): Likewise.
18900         (RM_): New macro.
18901         (RM_FE_DOWNWARD): Likewise.
18902         (RM_FE_TONEAREST): Likewise.
18903         (RM_FE_TOWARDZERO): Likewise.
18904         (RM_FE_UPWARD): Likewise.
18905         (RUN_TEST_LOOP_f_f): Update references to expected results.
18906         (RUN_TEST_LOOP_2_f): Likewise.
18907         (RUN_TEST_LOOP_fff_f): Likewise.
18908         (RUN_TEST_LOOP_c_f): Likewise.
18909         (RUN_TEST_LOOP_f_f1): Likewise.
18910         (RUN_TEST_LOOP_fF_f1): Likewise.
18911         (RUN_TEST_LOOP_fI_f1): Likewise.
18912         (RUN_TEST_LOOP_ffI_f1): Likewise.
18913         (RUN_TEST_LOOP_c_c): Likewise.
18914         (RUN_TEST_LOOP_cc_c): Likewise.
18915         (RUN_TEST_LOOP_f_i): Likewise.
18916         (RUN_TEST_LOOP_f_i_tg): Likewise.
18917         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18918         (RUN_TEST_LOOP_f_b): Likewise.
18919         (RUN_TEST_LOOP_f_b_tg): Likewise.
18920         (RUN_TEST_LOOP_f_l): Likewise.
18921         (RUN_TEST_LOOP_f_L): Likewise.
18922         (RUN_TEST_LOOP_fFF_11): Likewise.
18923         * math/gen-libm-test.pl (parse_args): Output four copies of
18924         expected results for each test.
18926         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18927         (__ASSUME_UTIMES): Remove.
18928         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18929         (__ASSUME_UTIMES): Likewise.
18931         * math/gen-auto-libm-tests.c: Update comment on output format.
18932         (output_for_one_input_case): Generate before-rounding and
18933         after-rounding information as conditions on output flags not
18934         floating-point format.
18935         * math/auto-libm-test-out: Regenerated.
18936         * math/gen-libm-test.pl (cond_value): New function.
18937         (or_cond_value): Use cond_value.
18938         (generate_testfile): Handle conditional exceptions.
18940 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
18942         * math/libm-test.inc (max_valid_error): New variable.
18943         (init_max_error): Take new argument specifying whether function
18944         results are exactly determined.  Set max_valid_error and bound
18945         other variables for errors based on this argument.
18946         (set_max_error): Do not record results above max_valid_error.
18947         (check_float_internal): Only accept errors of up to 0.5ulps if
18948         also at most max_valid_error.
18949         (START): Take new argument EXACT and pass it to init_max_error.
18950         (acos_test): Update call to START.
18951         (acos_test_tonearest): Likewise.
18952         (acos_test_towardzero): Likewise.
18953         (acos_test_downward): Likewise.
18954         (acos_test_upward): Likewise.
18955         (acosh_test): Likewise.
18956         (asin_test): Likewise.
18957         (asin_test_tonearest): Likewise.
18958         (asin_test_towardzero): Likewise.
18959         (asin_test_downward): Likewise.
18960         (asin_test_upward): Likewise.
18961         (asinh_test): Likewise.
18962         (atan_test): Likewise.
18963         (atanh_test): Likewise.
18964         (atan2_test): Likewise.
18965         (cabs_test): Likewise.
18966         (cacos_test): Likewise.
18967         (cacosh_test): Likewise.
18968         (carg_test): Likewise.
18969         (casin_test): Likewise.
18970         (casinh_test): Likewise.
18971         (catan_test): Likewise.
18972         (catanh_test): Likewise.
18973         (cbrt_test): Likewise.
18974         (ccos_test): Likewise.
18975         (ccosh_test): Likewise.
18976         (ceil_test): Likewise.
18977         (cexp_test): Likewise.
18978         (cimag_test): Likewise.
18979         (clog_test): Likewise.
18980         (clog10_test): Likewise.
18981         (conj_test): Likewise.
18982         (copysign_test): Likewise.
18983         (cos_test): Likewise.
18984         (cos_test_tonearest): Likewise.
18985         (cos_test_towardzero): Likewise.
18986         (cos_test_downward): Likewise.
18987         (cos_test_upward): Likewise.
18988         (cosh_test): Likewise.
18989         (cosh_test_tonearest): Likewise.
18990         (cosh_test_towardzero): Likewise.
18991         (cosh_test_downward): Likewise.
18992         (cosh_test_upward): Likewise.
18993         (cpow_test): Likewise.
18994         (cproj_test): Likewise.
18995         (creal_test): Likewise.
18996         (csin_test): Likewise.
18997         (csinh_test): Likewise.
18998         (csqrt_test): Likewise.
18999         (ctan_test): Likewise.
19000         (ctan_test_tonearest): Likewise.
19001         (ctan_test_towardzero): Likewise.
19002         (ctan_test_downward): Likewise.
19003         (ctan_test_upward): Likewise.
19004         (ctanh_test): Likewise.
19005         (ctanh_test_tonearest): Likewise.
19006         (ctanh_test_towardzero): Likewise.
19007         (ctanh_test_downward): Likewise.
19008         (ctanh_test_upward): Likewise.
19009         (erf_test): Likewise.
19010         (erfc_test): Likewise.
19011         (exp_test): Likewise.
19012         (exp_test_tonearest): Likewise.
19013         (exp_test_towardzero): Likewise.
19014         (exp_test_downward): Likewise.
19015         (exp_test_upward): Likewise.
19016         (exp10_test): Likewise.
19017         (exp10_test_tonearest): Likewise.
19018         (exp10_test_towardzero): Likewise.
19019         (exp10_test_downward): Likewise.
19020         (exp10_test_upward): Likewise.
19021         (pow10_test): Likewise.
19022         (exp2_test): Likewise.
19023         (expm1_test): Likewise.
19024         (expm1_test_tonearest): Likewise.
19025         (expm1_test_towardzero): Likewise.
19026         (expm1_test_downward): Likewise.
19027         (expm1_test_upward): Likewise.
19028         (fabs_test): Likewise.
19029         (fdim_test): Likewise.
19030         (floor_test): Likewise.
19031         (fma_test): Likewise.
19032         (fma_test_towardzero): Likewise.
19033         (fma_test_downward): Likewise.
19034         (fma_test_upward): Likewise.
19035         (fmax_test): Likewise.
19036         (fmin_test): Likewise.
19037         (fmod_test): Likewise.
19038         (fpclassify_test): Likewise.
19039         (frexp_test): Likewise.
19040         (hypot_test): Likewise.
19041         (ilogb_test): Likewise.
19042         (isfinite_test): Likewise.
19043         (finite_test): Likewise.
19044         (isgreater_test): Likewise.
19045         (isgreaterequal_test): Likewise.
19046         (isinf_test): Likewise.
19047         (isless_test): Likewise.
19048         (islessequal_test): Likewise.
19049         (islessgreater_test): Likewise.
19050         (isnan_test): Likewise.
19051         (isnormal_test): Likewise.
19052         (issignaling_test): Likewise.
19053         (isunordered_test): Likewise.
19054         (j0_test): Likewise.
19055         (j1_test): Likewise.
19056         (jn_test): Likewise.
19057         (ldexp_test): Likewise.
19058         (lgamma_test): Likewise.
19059         (gamma_test): Likewise.
19060         (lrint_test): Likewise.
19061         (lrint_test_tonearest): Likewise.
19062         (lrint_test_towardzero): Likewise.
19063         (lrint_test_downward): Likewise.
19064         (lrint_test_upward): Likewise.
19065         (llrint_test): Likewise.
19066         (llrint_test_tonearest): Likewise.
19067         (llrint_test_towardzero): Likewise.
19068         (llrint_test_downward): Likewise.
19069         (llrint_test_upward): Likewise.
19070         (log_test): Likewise.
19071         (log10_test): Likewise.
19072         (log1p_test): Likewise.
19073         (log2_test): Likewise.
19074         (logb_test): Likewise.
19075         (logb_test_downward): Likewise.
19076         (lround_test): Likewise.
19077         (llround_test): Likewise.
19078         (modf_test): Likewise.
19079         (nearbyint_test): Likewise.
19080         (nextafter_test): Likewise.
19081         (nexttoward_test): Likewise.
19082         (pow_test): Likewise.
19083         (pow_test_tonearest): Likewise.
19084         (pow_test_towardzero): Likewise.
19085         (pow_test_downward): Likewise.
19086         (pow_test_upward): Likewise.
19087         (remainder_test): Likewise.
19088         (drem_test): Likewise.
19089         (remainder_test_tonearest): Likewise.
19090         (drem_test_tonearest): Likewise.
19091         (remainder_test_towardzero): Likewise.
19092         (drem_test_towardzero): Likewise.
19093         (remainder_test_downward): Likewise.
19094         (drem_test_downward): Likewise.
19095         (remainder_test_upward): Likewise.
19096         (drem_test_upward): Likewise.
19097         (remquo_test): Likewise.
19098         (rint_test): Likewise.
19099         (rint_test_tonearest): Likewise.
19100         (rint_test_towardzero): Likewise.
19101         (rint_test_downward): Likewise.
19102         (rint_test_upward): Likewise.
19103         (round_test): Likewise.
19104         (scalb_test): Likewise.
19105         (scalbn_test): Likewise.
19106         (scalbln_test): Likewise.
19107         (signbit_test): Likewise.
19108         (sin_test): Likewise.
19109         (sin_test_tonearest): Likewise.
19110         (sin_test_towardzero): Likewise.
19111         (sin_test_downward): Likewise.
19112         (sin_test_upward): Likewise.
19113         (sincos_test): Likewise.
19114         (sinh_test): Likewise.
19115         (sinh_test_tonearest): Likewise.
19116         (sinh_test_towardzero): Likewise.
19117         (sinh_test_downward): Likewise.
19118         (sinh_test_upward): Likewise.
19119         (sqrt_test): Likewise.
19120         (sqrt_test_tonearest): Likewise.
19121         (sqrt_test_towardzero): Likewise.
19122         (sqrt_test_downward): Likewise.
19123         (sqrt_test_upward): Likewise.
19124         (tan_test): Likewise.
19125         (tan_test_tonearest): Likewise.
19126         (tan_test_towardzero): Likewise.
19127         (tan_test_downward): Likewise.
19128         (tan_test_upward): Likewise.
19129         (tanh_test): Likewise.
19130         (tgamma_test): Likewise.
19131         (trunc_test): Likewise.
19132         (y0_test): Likewise.
19133         (y1_test): Likewise.
19134         (yn_test): Likewise.
19135         (significand_test): Likewise.
19137         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
19138         individual tests in comment.
19139         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
19140         (prev_max_error): New variable.
19141         (prev_real_max_error): Likewise.
19142         (prev_imag_max_error): Likewise.
19143         (compare_ulp_data): Don't refer to test names in comment.
19144         (find_test_ulps): Remove function.
19145         (find_function_ulps): Likewise.
19146         (find_complex_function_ulps): Likewise.
19147         (init_max_error): Take function name as argument.  Look up ulps
19148         for that function.
19149         (print_ulps): Remove function.
19150         (print_max_error): Use prev_max_error instead of calling
19151         find_function_ulps.
19152         (print_complex_max_error): Use prev_real_max_error and
19153         prev_imag_max_error instead of calling find_complex_function_ulps.
19154         (check_float_internal): Take max_ulp parameter instead of calling
19155         find_test_ulps.  Don't call print_ulps.
19156         (check_float): Update call to check_float_internal.
19157         (check_complex): Update calls to check_float_internal.
19158         (START): Pass argument to init_max_error.
19159         * math/gen-libm-test.pl (%results): Don't include "kind"
19160         information.
19161         (parse_ulps): Don't handle ulps of individual tests.
19162         (print_ulps_file): Likewise.
19163         (output_ulps): Likewise.
19164         * math/README.libm-test: Update.
19165         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
19166         individual tests.
19167         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
19168         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
19169         * sysdeps/arm/libm-test-ulps: Likewise.
19170         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19171         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
19172         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
19173         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
19174         * sysdeps/microblaze/libm-test-ulps: Likewise.
19175         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19176         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19177         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19178         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19179         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19180         * sysdeps/sh/libm-test-ulps: Likewise.
19181         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19182         * sysdeps/tile/libm-test-ulps: Likewise.
19183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19185 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
19187         * math/libm-test.inc (print_complex_max_error): Check separately
19188         whether real and imaginary errors are within allowed range and
19189         pass 0 to print_complex_function_ulps instead of value within
19190         allowed range.
19192 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19194         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
19195         formatting.
19196         (get_handles_fopen): Likewise.
19197         (do_write_test): Likewise.
19199         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
19201         * libio/fileops.c (do_ftell): Use cached offset when
19202         available.
19203         * libio/iofwide.c (do_ftell_wide): Likewise.
19204         * libio/iofdopen.c (_IO_new_fdopen): Don't use
19205         _IO_file_attach.
19206         * libio/wfileops.c (_IO_fwide): Don't cache offset.
19208         [BZ #16532]
19209         * libio/libioP.h (get_file_offset): New function.
19210         * libio/fileops.c (get_file_offset): Likewise.
19211         (do_ftell): Likewise.
19212         (_IO_new_file_seekoff): Split out ftell logic.
19213         * libio/wfileops.c (do_ftell_wide): Likewise.
19214         (_IO_wfile_seekoff): Split out ftell logic.
19215         * libio/tst-ftell-active-handler.c: New test case.
19216         * libio/Makefile (tests): Add it.
19218 2014-03-03  Roland McGrath  <roland@hack.frob.com>
19220         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
19221         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
19223 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19225         [BZ #16639]
19226         * nscd/connections.c (nscd_init): Call do_exit.
19227         (start_threads): Call do_exit and notify_parent.
19228         (begin_drop_privileges): Call do_exit.
19229         (finish_drop_privileges): Likewise.
19230         * nscd/selinux.c (preserve_capabilities): Likewise.
19231         (install_real_capabilities): Likewise.
19232         (nscd_selinux_enabled): Likewise.
19233         (avc_create_thread): Likewise.
19234         (avc_alloc_lock): Likewise.
19235         (nscd_avc_init): Likewise.
19236         * nscd/nscd.c (parent_fd): New static variable.
19237         (main): Create a pipe between parent and child processes.
19238         Skip closing parent_fd.
19239         (monitor_child): New function.
19240         (do_exit): Likewise.
19241         (notify_parent): Likewise.
19242         * nscd/nscd.h (notify_parent): Likewise.
19243         (do_exit): Likewise.
19245 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
19247         * malloc/malloc.c (__libc_calloc): Revert last change.
19249 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19253 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19255         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
19256         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
19257         implementation.
19258         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19259         (__libc_ifunc_impl_list): Likewise.
19260         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
19261         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
19262         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
19263         * string/strrchr.c: Define STRRCHR.
19265 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
19267         * benchtest/bench-strtok.c (simple_strtok): Delete.
19268         (strtok_string): Use as benchmark.
19269         * string/strtok (STRTOK): New macro.
19271 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
19273         * manual/threads.texi: Add header and standard comments to all
19274         functions.
19276         * elf/dl-lookup.c (check_match): New function.
19277         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
19278         (do_lookup_x): Remove nested function check_match. Use non-nested
19279         function check_match.
19281 2014-02-28  Roland McGrath  <roland@hack.frob.com>
19283         * csu/Makefile (generated, before-compile): Use += rather than =.
19284         * catgets/Makefile (generated, generated-dirs): Likewise.
19285         * debug/Makefile (generated): Likewise.
19286         * dlfcn/Makefile (generated): Likewise.
19287         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
19288         * iconvdata/Makefile (before-compile, generated): Likewise.
19289         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
19290         * libio/Makefile (generated): Likewise.
19291         * malloc/Makefile (generated): Likewise.
19292         * manual/Makefile (generated, generated-dirs): Likewise.
19293         * misc/Makefile (generated): Likewise.
19294         * posix/Makefile (generated): Likewise.
19295         * resolv/Makefile (generated): Likewise.
19296         * sunrpc/Makefile (generated, generated-dirs): Likewise.
19297         * timezone/Makefile (generated, generated-dirs): Likewise.
19299         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
19301 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19303         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19304         power8 implementation.
19305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
19306         file: POWER8 llround ifunc implementation.
19307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19308         (__lllround): Add POWER8 implementation.
19309         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
19310         POWER8 llround implementation.
19312         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
19313         power8 implementation.
19314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
19315         file: POWER8 llrint ifunc implementation.
19316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
19317         Add POWER8 implementation.
19318         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
19319         POWER8 llrint implementation.
19321         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
19322         power8 implementation.
19323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
19324         file: POWER8 finite ifunc implementation.
19325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
19326         Add POWER8 implementation.
19327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
19328         Likewise.
19329         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
19330         POWER8 finite implementation.
19331         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
19333         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
19334         power8 implementation.
19335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
19336         file: POWER8 isinf ifunc implementation.
19337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
19338         POWER8 implementation.
19339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
19340         Likewise.
19341         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
19342         isinf implementation.
19343         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
19345         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19346         (INIT_ARCH): Add hwcap2 initialization.
19347         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19348         power8 implementation.
19349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
19350         file: POWER8 isnan ifunc implementation.
19351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
19352         POWER8 implementation.
19353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
19354         Likewise.
19355         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
19356         isnan implementation.
19357         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
19359 2014-02-27  Joey Ye  <joey.ye@arm.com>
19361         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19362         (_FP_NANFRAC_Q): Set to zero.
19364 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19366         [BZ #16623]
19367         * math/auto-libm-test-in: New test inputs.
19368         * math/auto-libm-test-out: Regenerate.
19369         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
19370         and DA.
19371         (__cos): Likewise.
19372         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19374 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
19376         * scripts/evaluate-test.sh: Take new argument indicating whether
19377         failure is expected.
19378         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
19379         indicating whether failure is expected.
19380         * conform/Makefile (test-xfail-run-conformtest): New variable.
19381         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
19382         level.
19383         * posix/Makefile (test-xfail-annexc): New variable.
19384         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
19386 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
19388         * argp/Makefile: Include Makeconfig immediately after defining
19389         subdir.
19390         * assert/Makefile: Likewise.
19391         * benchtests/Makefile: Likewise.
19392         * catgets/Makefile: Likewise.
19393         * conform/Makefile: Likewise.
19394         * crypt/Makefile: Likewise.
19395         * csu/Makefile: Likewise.
19396         (all): Remove target.
19397         * ctype/Makefile: Include Makeconfig immediately after defining
19398         subdir.
19399         * debug/Makefile: Likewise.
19400         * dirent/Makefile: Likewise.
19401         * dlfcn/Makefile: Likewise.
19402         * gmon/Makefile: Likewise.
19403         * gnulib/Makefile: Likewise.
19404         * grp/Makefile: Likewise.
19405         * gshadow/Makefile: Likewise.
19406         * hesiod/Makefile: Likewise.
19407         * hurd/Makefile: Likewise.
19408         (all): Remove target.
19409         * iconvdata/Makefile: Include Makeconfig immediately after
19410         defining subdir.
19411         * inet/Makefile: Likewise.
19412         * intl/Makefile: Likewise.
19413         * io/Makefile: Likewise.
19414         * libio/Makefile: Likewise.
19415         (all): Remove target.
19416         * locale/Makefile: Include Makeconfig immediately after defining
19417         subdir.
19418         * login/Makefile: Likewise.
19419         * mach/Makefile: Likewise.
19420         (all): Remove target.
19421         * malloc/Makefile: Include Makeconfig immediately after defining
19422         subdir.
19423         (all): Remove target.
19424         * manual/Makefile: Include Makeconfig immediately after defining
19425         subdir.
19426         * math/Makefile: Likewise.
19427         * misc/Makefile: Likewise.
19428         * nis/Makefile: Likewise.
19429         * nss/Makefile: Likewise.
19430         * po/Makefile: Likewise.
19431         (all): Remove target.
19432         * posix/Makefile: Include Makeconfig immediately after defining
19433         subdir.
19434         * pwd/Makefile: Likewise.
19435         * resolv/Makefile: Likewise.
19436         * resource/Makefile: Likewise.
19437         * rt/Makefile: Likewise.
19438         * setjmp/Makefile: Likewise.
19439         * shadow/Makefile: Likewise.
19440         * signal/Makefile: Likewise.
19441         * socket/Makefile: Likewise.
19442         * soft-fp/Makefile: Likewise.
19443         * stdio-common/Makefile: Likewise.
19444         * stdlib/Makefile: Likewise.
19445         * streams/Makefile: Likewise.
19446         * string/Makefile: Likewise.
19447         * sunrpc/Makefile: Likewise.
19448         (all): Remove target.
19449         * sysvipc/Makefile: Include Makeconfig immediately after defining
19450         subdir.
19451         * termios/Makefile: Likewise.
19452         * time/Makefile: Likewise.
19453         * timezone/Makefile: Likewise.
19454         (all): Remove target.
19455         * wcsmbs/Makefile: Include Makeconfig immediately after defining
19456         subdir.
19457         * wctype/Makefile: Likewise.
19459 2014-02-26  Steve Ellcey  <sellcey@mips.com>
19461         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
19462         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
19463         (libc_feholdexcept_setround_mips): Ditto.
19464         (libc_feholdsetround): New.
19465         (libc_feholdsetroundf): New.
19466         (libc_feholdsetroundl): New.
19467         (libc_feupdateenv_test_mips): New.
19468         (libc_feupdateenv_test): New.
19469         (libc_feupdateenv_testf): New.
19470         (libc_feupdateenv_testl): New.
19471         (libc_feresetround): New.
19472         (libc_feresetroundf): New.
19473         (libc_feresetroundl): New.
19474         (libc_fetestexcept_mips): New.
19475         (libc_fetestexcept): New.
19476         (libc_fetestexceptf): New.
19477         (libc_fetestexceptl): New.
19478         (HAVE_RM_CTX): New.
19479         (libc_feholdexcept_setround_mips_ctx): New.
19480         (libc_feholdexcept_setround_ctx): New.
19481         (libc_feholdexcept_setroundf_ctx): New.
19482         (libc_feholdexcept_setroundl_ctx): New.
19483         (libc_fesetenv_mips_ctx): New.
19484         (libc_fesetenv_ctx): New.
19485         (libc_fesetenv_ctxf): New.
19486         (libc_fesetenv_ctxl): New.
19487         (libc_feupdateenv_mips_ctx): New.
19488         (libc_feupdateenv_ctx): New.
19489         (libc_feupdateenvf_ctx): New.
19490         (libc_feupdateenvl_ctx): New.
19491         (libc_feholdsetround_mips_ctx): New.
19492         (libc_feholdsetround_ctx): New.
19493         (libc_feholdsetroundf_ctx): New.
19494         (libc_feholdsetroundl_ctx): New.
19495         (libc_feresetround_mips_ctx): New.
19496         (libc_feresetround_ctx): New.
19497         (libc_feresetroundf_ctx): New.
19498         (libc_feresetroundl_ctx): New.
19500 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
19502         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
19504         * manual/ipc.texi: New file.
19505         * manual/Makefile (chapters): Add ipc.
19506         * manual/job.texi: Add "Inter-Process Communication" to next.
19507         * manual/process.texi: Add "Inter-Process Communication" to prev.
19509 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19511         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19513 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
19515         * malloc/malloc.c (__libc_calloc): Simplify implementation.
19517         * manual/arith.texi: Fix spaces after sentences.
19518         * manual/charset.texi: Likewise.
19519         * manual/errno.texi: Likewise.
19520         * manual/install.texi: Likewise.
19521         * manual/llio.texi: Likewise.
19522         * manual/locale.texi: Likewise.
19523         * manual/maint.texi: Likewise.
19524         * manual/math.texi: Likewise.
19525         * manual/memory.texi: Likewise.
19526         * manual/message.texi: Likewise.
19527         * manual/probes.texi: Likewise.
19528         * manual/resource.texi: Likewise.
19529         * manual/signal.texi: Likewise.
19530         * manual/socket.texi: Likewise.
19531         * manual/stdio.texi: Likewise.
19532         * manual/string.texi: Likewise.
19533         * manual/time.texi: Likewise.
19534         * manual/users.texi: Likewise.
19536 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
19538         [BZ #16632]
19539         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
19540         _DEFAULT_SOURCE is defined.
19542 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
19543             Carlos O'Donell  <carlos@redhat.com>
19545         [BZ #16613]
19546         * elf/dl-tls.c (_dl_count_modids): New function.
19547         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
19548         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
19549         audit library and increment generation counter.
19550         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
19551         * elf/tst-audit9.c: New file.
19552         * elf/tst-auditmod9a.c: New file.
19553         * elf/tst-auditmod9b.c: New file.
19554         * elf/Makefile: Add rules to build and run tst-audit9.
19556 2014-02-25  Florian Weimer  <fweimer@redhat.com>
19558         [BZ #15347]
19559         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
19561 2014-02-25  Will Newton  <will.newton@linaro.org>
19563         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
19564         (__longjmp): Restore sp and lr before restoring callee
19565         saved registers.  Add longjmp and longjmp_target
19566         SystemTap probe point.
19567         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
19568         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
19569         Define to zero to match jmpbuf layout.
19570         * sysdeps/arm/setjmp.S: Include stap-probe.h.
19571         (__sigsetjmp): Save sp and lr before saving callee
19572         saved registers.  Add setjmp SystemTap probe point.
19574 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19576         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19578 2014-02-24  Andreas Schwab  <schwab@suse.de>
19580         [BZ #15804]
19581         * elf/pldd.c (wait_for_ptrace_stop): New function.
19582         (main): Call it after attaching.
19584 2014-02-22  Roland McGrath  <roland@hack.frob.com>
19586         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
19587         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
19588         Versions files is now verboten.
19589         * hurd/Versions (libc: GLIBC_2.0):
19590         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
19591         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
19592         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
19593         * mach/Versions: Likewise.
19595         * csu/Versions: Remove unused %include.
19596         * resolv/Versions: Likewise.
19598 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
19600         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
19601         ($(objpfx)check-local-headers.out): Likewise.
19602         ($(objpfx)begin-end-check.out): Likewise.
19603         * Makerules (check-abi-%.out): Likewise.
19604         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
19605         ($(objpfx)test2.cat): Likewise.
19606         ($(objpfx)de/libc.cat): Likewise.
19607         ($(objpfx)test-gencat.out): Likewise.
19608         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
19609         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
19610         ($(objpfx)noload-mem): Likewise.
19611         ($(objpfx)tst-pathopt.out): Likewise.
19612         ($(objpfx)tst-rtld-load-self.out): Likewise.
19613         ($(objpfx)tst-array1-cmp.out): Likewise.
19614         ($(objpfx)tst-array1-static-cmp.out): Likewise.
19615         ($(objpfx)tst-array2-cmp.out): Likewise.
19616         ($(objpfx)tst-array3-cmp.out): Likewise.
19617         ($(objpfx)tst-array4-cmp.out): Likewise.
19618         ($(objpfx)tst-array5-cmp.out): Likewise.
19619         ($(objpfx)tst-array5-static-cmp.out): Likewise.
19620         ($(objpfx)check-textrel.out): Likewise.
19621         ($(objpfx)check-execstack.out): Likewise.
19622         ($(objpfx)check-localplt.out): Likewise.
19623         ($(objpfx)order2-cmp.out): Likewise.
19624         ($(objpfx)tst-leaks1-mem): Likewise.
19625         ($(objpfx)tst-leaks1-static-mem): Likewise.
19626         ($(objpfx)tst-initorder-cmp.out): Likewise.
19627         ($(objpfx)tst-initorder2-cmp.out): Likewise.
19628         ($(objpfx)tst-unused-dep.out): Likewise.
19629         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
19630         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
19631         * iconv/Makefile (test-iconvconfig): Likewise.
19632         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
19633         ($(objpfx)iconv-test.out): Likewise.
19634         ($(objpfx)tst-tables.out): Likewise.
19635         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
19636         ($(objpfx)tst-gettext.out): Likewise.
19637         ($(objpfx)tst-translit.out): Likewise.
19638         ($(objpfx)tst-gettext2.out): Likewise.
19639         ($(objpfx)tst-gettext4.out): Likewise.
19640         ($(objpfx)tst-gettext6.out): Likewise.
19641         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
19642         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
19643         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
19644         ($(objpfx)tst-fopenloc-mem.out): Likewise.
19645         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
19646         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
19647         * posix/Makefile ($(objpfx)globtest.out): Likewise.
19648         ($(objpfx)wordexp-tst.out): Likewise.
19649         ($(objpfx)annexc.out): Likewise.
19650         ($(objpfx)tst-fnmatch-mem): Likewise.
19651         ($(objpfx)bug-regex2-mem): Likewise.
19652         ($(objpfx)bug-regex14-mem): Likewise.
19653         ($(objpfx)bug-regex21-mem): Likewise.
19654         ($(objpfx)bug-regex31-mem): Likewise.
19655         ($(objpfx)tst-vfork3-mem): Likewise.
19656         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19657         ($(objpfx)tst-pcre-mem): Likewise.
19658         ($(objpfx)tst-boost-mem): Likewise.
19659         ($(objpfx)tst-getconf.out): Likewise.
19660         ($(objpfx)bug-ga2-mem): Likewise.
19661         ($(objpfx)bug-glob2-mem): Likewise.
19662         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
19663         ($(objpfx)mtrace-tst-leaks2): Likewise.
19664         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
19665         ($(objpfx)tst-printf.out): Likewise.
19666         ($(objpfx)tst-setvbuf1.out): Likewise.
19667         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
19668         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
19669         ($(objpfx)tst-fmtmsg.out): Likewise.
19670         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
19671         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
19673         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
19674         * bits/sigaction.h [__USE_MISC]: Likewise.
19675         * bits/waitstatus.h: Update #endif comments.
19676         * ctype/ctype.h: Likewise.
19677         * dirent/dirent.h: Likewise.
19678         [__USE_MISC]: Remove redundant conditionals.
19679         * grp/grp.h: Update #endif comments.
19680         [__USE_GNU]: Remove redundant conditionals.
19681         [__USE_MISC]: Likewise.
19682         * inet/netinet/in.h [__USE_GNU]: Likewise.
19683         * io/sys/stat.h [__USE_MISC]: Likewise.
19684         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
19685         * libio/bits/stdio.h: Update #endif comments.
19686         [__USE_MISC]: Remove redundant conditionals.
19687         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
19688         * libio/stdio.h: Update #endif comments.
19689         [__USE_MISC]: Remove redundant conditionals.
19690         * math/bits/math-finite.h [__USE_MISC]: Likewise.
19691         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
19692         * math/math.h: Update #else and #endif comments.
19693         [__USE_MISC]: Remove redundant conditionals.
19694         * misc/sys/uio.h: Update #endif comments.
19695         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
19696         * posix/glob.h [__USE_MISC]: Likewise.
19697         * posix/sys/types.h: Update #endif comments.
19698         [__USE_MISC]: Remove redundant conditionals.
19699         * posix/sys/wait.h: Update #endif comments.
19700         [__USE_MISC]: Remove redundant conditionals.
19701         * posix/unistd.h: Update #endif comments.
19702         [__USE_MISC]: Remove redundant conditionals.
19703         * pwd/pwd.h [__USE_GNU]: Likewise.
19704         [__USE_MISC]: Likewise.
19705         * resolv/netdb.h [__USE_GNU]: Likewise.
19706         * signal/signal.h: Update #endif comments.
19707         [__USE_MISC]: Remove redundant conditionals.
19708         * stdlib/stdlib.h: Update #else and #endif comments.
19709         [__USE_MISC]: Remove redundant conditionals.
19710         [__USE_GNU]: Likewise.
19711         * string/bits/string2.h [__USE_MISC]: Likewise.
19712         * string/string.h: Update #endif comments.
19713         [__USE_MISC]: Remove redundant conditionals.
19714         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
19715         Likewise.
19716         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
19717         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
19718         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
19719         Likewise.
19720         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
19721         Likewise.
19722         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
19723         comments.
19724         [__USE_MISC]: Remove redundant conditionals.
19725         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
19726         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
19727         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
19728         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
19729         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
19730         Likewise.
19731         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
19732         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
19733         Likewise.
19734         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
19735         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
19736         Likewise.
19737         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
19738         Likewise.
19739         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
19740         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
19741         Likewise.
19742         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
19743         Likewise.
19744         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
19745         * sysdeps/x86/bits/string.h: Update #endif comments.
19746         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
19747         conditionals.
19748         * time/sys/time.h: Update #endif comments.
19749         * time/time.h: Likewise.
19750         [__USE_MISC]: Remove redundant conditionals.
19752 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
19754         [BZ #16600]
19755         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
19757 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
19759         * Versions.def (librt): Add GLIBC_2.17.
19761 2014-02-21  Adam Conrad  <adconrad@0c3.net>
19763         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
19764         synonym for _SYS_AUXV_H to allow direct inclusion.
19765         * sysdeps/sparc/bits/hwcap.h: Likewise.
19766         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
19767         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
19768         * sysdeps/sparc/sysdep.h: Likewise.
19770 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19772         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
19774 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19776         * benchtests/bench-strrchr.c: Print length instead of position.
19778 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
19780         [BZ #16611]
19781         * sysdeps/unix/sysv/linux/kernel-features.h
19782         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
19783         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
19784         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
19785         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
19786         Likewise.
19787         [__i386__ || __powerpc__ || __sh__ || __sparc__]
19788         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19789         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
19790         (__ASSUME_SENDMMSG): Define instead of using previous
19791         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
19792         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19793         (__ASSUME_SENDMMSG_SYSCALL): Define.
19794         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19795         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
19796         Likewise.
19797         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19798         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19799         Likewise.
19800         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19801         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19802         Likewise.
19803         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
19804         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
19805         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
19806         [__ASSUME_SENDMMSG]: Change conditionals to
19807         [__ASSUME_SENDMMSG_SOCKETCALL].
19808         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19809         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
19810         Define.
19811         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19812         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
19813         Likewise.
19814         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
19815         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
19816         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
19817         [!__ASSUME_SENDMMSG]: Change conditional to
19818         [!__ASSUME_SENDMMSG_SOCKETCALL].
19819         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19820         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19821         Define.
19823         [BZ #16610]
19824         * sysdeps/unix/sysv/linux/kernel-features.h
19825         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
19826         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
19827         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
19828         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
19829         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19830         [__i386__ || __sparc__]
19831         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19832         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
19833         (__ASSUME_RECVMMSG): Define instead of using previous
19834         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
19835         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19836         (__ASSUME_RECVMMSG_SYSCALL): Define.
19837         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19838         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19839         Likewise.
19840         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19841         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19842         Likewise.
19843         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19844         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19845         Likewise.
19846         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
19847         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
19848         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
19849         [__ASSUME_RECVMMSG]: Change condition to
19850         [__ASSUME_RECVMMSG_SOCKETCALL].
19851         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19852         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19853         Define.
19854         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19855         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19856         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19857         Likewise.
19858         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
19859         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
19860         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
19861         [!__ASSUME_RECVMMSG]: Change condition to
19862         [!__ASSUME_RECVMMSG_SOCKETCALL].
19863         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19864         (__ASSUME_RECVMMSG_SYSCALL): Define.
19866         [BZ #16609]
19867         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
19868         __powerpc__ || __s390__ || __sh__ || __sparc__]
19869         (__ASSUME_SOCKETCALL): Define.
19870         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
19871         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
19872         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
19873         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
19874         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19875         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
19876         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
19877         (__ASSUME_ACCEPT4): Define instead of using previous
19878         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
19879         __powerpc__ || __sparc__ || __s390__)] condition.
19880         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19881         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
19882         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
19883         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
19884         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
19885         [!__ASSUME_ACCEPT4]: Change condition to
19886         [!__ASSUME_ACCEPT4_SOCKETCALL].
19887         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19888         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
19889         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
19890         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19891         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
19892         __ASSUME_ACCEPT4_SYSCALL.
19893         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
19894         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
19895         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19896         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
19897         __ASSUME_ACCEPT4_SYSCALL.
19898         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
19899         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
19900         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
19901         [__ASSUME_ACCEPT4]: Change condition to
19902         [__ASSUME_ACCEPT4_SOCKETCALL].
19903         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19904         (__ASSUME_SOCKETCALL): Define.
19905         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
19906         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19907         (__ASSUME_SOCKETCALL): Define.
19908         (__ASSUME_ACCEPT4): Remove.
19909         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
19910         Define.
19911         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19912         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
19913         Likewise.
19914         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19915         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
19917         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
19918         macro.
19919         (HWCAP_ARM_LPAE): Likewise.
19920         (HWCAP_ARM_EVTSTRM): Likewise.
19921         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
19922         Add vpfd32, lpae and evtstrm.
19923         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
19924         Increase to 22.
19926 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
19928         * math/auto-libm-test-in: Add tests of clog10.
19929         * math/auto-libm-test-out: Regenerated.
19930         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
19931         * sysdeps/i386/fpu/libm-test-ulps: Update.
19932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19934 2014-02-18  Andreas Schwab  <schwab@suse.de>
19936         [BZ #16574]
19937         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
19938         Store non-zero if the second buffer was newly allocated.
19939         (send_dg): Likewise.
19940         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
19941         to send_vc and send_dg.
19942         (res_nsend): Pass NULL for ansp2_malloced.
19943         * resolv/res_query.c (__libc_res_nquery): Add parameter
19944         answerp2_malloced and pass it down to __libc_res_nsend.
19945         (res_nquery): Pass additional NULL to __libc_res_nquery.
19946         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
19947         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
19948         second answer buffer if answerp2_malloced was set.
19949         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
19950         (__libc_res_nquerydomain): Add parameter
19951         answerp2_malloced and pass it down to __libc_res_nquery.
19952         (res_nquerydomain): Pass additional NULL to
19953         __libc_res_nquerydomain.
19954         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
19955         additional NULL to __libc_res_nsend and __libc_res_nquery.
19956         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
19957         additional NULL to __libc_res_nsearch.
19958         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
19959         parameter of __libc_res_nsearch to check for separately allocated
19960         second buffer.
19961         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
19962         __libc_res_nquery.
19963         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
19964         additional NULL to __libc_res_nquery.
19965         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
19966         __libc_res_nsearch.
19967         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
19968         * include/resolv.h: Update prototypes of __libc_res_nquery,
19969         __libc_res_nsearch, __libc_res_nsend.
19971 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
19973         * math/auto-libm-test-in: Add tests of fma.
19974         * math/auto-libm-test-out: Regenerated.
19975         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
19976         (fma_towardzero_test_data): Likewise.
19977         (fma_downward_test_data): Likewise.
19978         (fma_upward_test_data): Likewise.
19979         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
19980         mpc_mode.
19981         (rounding_modes): Add values for new field.
19982         (func_calc_method): Add value mpfr_fff_f.
19983         (func_calc_desc): Add mpfr_fff_f union field.
19984         (test_function): Add field exact_args.
19985         (FUNC): Add macro argument EXACT_ARGS.
19986         (FUNC_mpfr_f_f): Update call to FUNC.
19987         (FUNC_mpfr_f_f): Likewise.
19988         (FUNC_mpfr_ff_f): Likewise.
19989         (FUNC_mpfr_if_f): Likewise.
19990         (FUNC_mpc_c_f): Likewise.
19991         (FUNC_mpc_c_c): Likewise.
19992         (test_functions): Add fma.  Update calls to FUNC.
19993         (handle_input_arg): Add argument exact_args.
19994         (add_test): Update call to handle_input_arg.
19995         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
19996         (output_for_one_input_case): Update call to calc_generic_results.
19997         Recalculate exact zero results in each rounding mode.
19999         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
20000         non-negative before setting low bit.
20001         * math/auto-libm-test-in: Mark one asin test possibly having
20002         spurious underflow.
20003         * math/auto-libm-test-out: Regenerated.
20004         * sysdeps/i386/fpu/libm-test-ulps: Update.
20005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20007 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
20009         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
20010         * sysdeps/unix/sysv/linux/microblaze: Move directory from
20011         ports/sysdeps/unix/sysv/linux/microblaze.
20012         * README: Add missing listing for microblaze*-*-linux-gnu.
20014 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
20016         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
20017         duplicate code
20019 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
20021         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
20022         * sysdeps/unix/sysv/linux/ia64: Move directory from
20023         ports/sysdeps/unix/sysv/linux/ia64.
20024         * README: Update listing for ia64-*-linux-gnu.
20026 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
20027             Joseph Myers  <joseph@codesourcery.com>
20029         * Makeconfig (test-name): New variable.
20030         (evaluate-test): Likewise.
20031         * Makerules (do-test-clean): Remove .test-result files.
20032         (common-mostlyclean): Likewise.
20033         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
20034         * scripts/evaluate-test.sh: New file.
20036 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
20038         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
20039         separate $(objpfx)tst-fopenloc-cmp.out and
20040         $(objpfx)tst-fopenloc-mem.out targets.
20041         (tests): Update dependencies.
20042         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
20043         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
20044         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
20045         (tst-rxspencer-no-utf8-ARGS): New variable.
20046         (tst-rxspencer-no-utf8-ENV): Likewise.
20047         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
20048         instead of $(objpfx)tst-rxspencer-mem.
20049         ($(objpfx)tst-rxspencer-mem): Change target to
20050         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
20051         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
20052         * posix/tst-rxspencer-no-utf8.c: New file.
20054         * elf/Makefile ($(objpfx)order.out): Remove rule.
20055         [$(run-built-tests) = yes] (tests): Depend on
20056         $(objpfx)order-cmp.out.
20057         ($(objpfx)order-cmp.out): New rule.
20058         [$(run-built-tests) = yes] (tests): Depend on
20059         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
20060         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
20061         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
20062         $(objpfx)tst-array5-static-cmp.out.
20063         ($(objpfx)tst-array1.out): Remove rule.
20064         ($(objpfx)tst-array1-cmp.out): New rule.
20065         ($(objpfx)tst-array1-static.out): Remove rule.
20066         ($(objpfx)tst-array1-static-cmp.out): New rule.
20067         ($(objpfx)tst-array2.out): Remove rule.
20068         ($(objpfx)tst-array2-cmp.out): New rule.
20069         ($(objpfx)tst-array3.out): Remove rule.
20070         ($(objpfx)tst-array3-cmp.out): New rule.
20071         ($(objpfx)tst-array4.out): Remove rule.
20072         ($(objpfx)tst-array4-cmp.out): New rule.
20073         ($(objpfx)tst-array5.out): Remove rule.
20074         ($(objpfx)tst-array5-cmp.out): New rule.
20075         ($(objpfx)tst-array5-static.out): Remove rule.
20076         ($(objpfx)tst-array5-static-cmp.out): New rule.
20077         [$(run-built-tests) = yes] (tests): Depend on
20078         $(objpfx)order2-cmp.out.
20079         ($(objpfx)order2.out): Remove rule.
20080         ($(objpfx)order2-cmp.out): New rule.
20081         ($(objpfx)tst-initorder.out): Remove rule.
20082         [$(run-built-tests) = yes] (tests): Depend on
20083         $(objpfx)tst-initorder-cmp.out.
20084         ($(objpfx)tst-initorder-cmp.out): New rule.
20085         ($(objpfx)tst-initorder2.out): Remove rule.
20086         [$(run-built-tests) = yes] (tests): Depend on
20087         $(objpfx)tst-initorder2-cmp.out.
20088         ($(objpfx)tst-initorder2-cmp.out): New rule.
20089         [$(run-built-tests) = yes] (tests): Depend on
20090         $(objpfx)tst-unused-dep-cmp.out.
20091         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
20092         ($(objpfx)tst-unused-dep-cmp.out): New rule.
20093         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
20094         on $(objpfx)tst-setvbuf1-cmp.out.
20095         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
20096         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
20097         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
20098         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
20099         ($(objpfx)tst-svc.out): Remove rule.
20100         ($(objpfx)tst-svc-cmp.out): New rule.
20102 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
20104         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
20105         * ctype/ctype.h [__USE_MISC]: Likewise.
20106         * dirent/dirent.h [__USE_MISC]: Likewise.
20107         * grp/grp.h [__USE_MISC]: Likewise.
20108         * io/fcntl.h [__USE_MISC]: Likewise.
20109         * io/sys/stat.h [__USE_MISC]: Likewise.
20110         * libio/stdio.h [__USE_MISC]: Likewise.
20111         * posix/unistd.h [__USE_MISC]: Likewise.
20112         * pwd/pwd.h [__USE_MISC]: Likewise.
20113         * stdlib.h [__USE_MISC]: Likewise.
20114         * string/bits/string2.h [__USE_MISC]: Likewise.
20115         * string/string.h [__USE_MISC]: Likewise.
20116         * time/time.h [__USE_MISC]: Likewise.
20118 2014-02-13  Andreas Schwab  <schwab@suse.de>
20120         [BZ #16574]
20121         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
20122         second answer buffer if it was separately allocated.
20124 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
20126         * sysdeps/mips/math-tests.h: Include <features.h>.
20127         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20128         (ROUNDING_TESTS_long_double): Do not define.
20129         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20130         (EXCEPTION_TESTS_long_double): Likewise.
20131         * sysdeps/mips/mips64/libm-test-ulps: Update.
20133         * include/features.h (__USE_BSD): Remove macro definitions.
20134         (__USE_SVID): Likewise.
20135         (_BSD_SOURCE): Likewise.
20136         (_SVID_SOURCE): Likewise.
20137         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
20138         from definition of _DEFAULT_SOURCE.
20139         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
20140         [_DEFAULT_SOURCE].
20141         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
20142         * bits/mman.h [__USE_BSD]: Likewise.
20143         * bits/termios.h [__USE_BSD]: Likewise.
20144         * bits/waitstatus.h [__USE_BSD]: Likewise.
20145         * ctype/ctype.h [__USE_SVID]: Likewise.
20146         * dirent/dirent.h [__USE_BSD]: Likewise.
20147         * grp/grp.h [__USE_SVID]: Likewise.
20148         [__USE_BSD]: Likewise.
20149         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
20150         * io/fcntl.h [__USE_BSD]: Likewise.
20151         * io/ftw.h [__USE_BSD]: Likewise.
20152         * io/sys/stat.h [__USE_BSD]: Likewise.
20153         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
20154         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
20155         * libio/stdio.h [__USE_SVID]: Likewise.
20156         [__USE_BSD]: Likewise.
20157         * math/math.h [__USE_SVID]: Likewise.
20158         [__USE_BSD]: Likewise.
20159         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
20160         * misc/bits/syslog.h [__USE_BSD]: Likewise.
20161         * misc/search.h [__USE_SVID]: Likewise.
20162         * misc/sys/mman.h [__USE_BSD]: Likewise.
20163         * misc/sys/syslog.h [__USE_BSD]: Likewise.
20164         * misc/sys/uio.h [__USE_BSD]: Likewise.
20165         * posix/bits/unistd.h [__USE_BSD]: Likewise.
20166         * posix/glob.h [__USE_BSD]: Likewise.
20167         * posix/regex.h [__USE_BSD]: Likewise.
20168         * posix/sys/types.h [__USE_BSD]: Likewise.
20169         [__USE_SVID]: Likewise.
20170         * posix/sys/utsname.h [__USE_SVID]: Likewise.
20171         * posix/sys/wait.h [__USE_BSD]: Likewise.
20172         [__USE_SVID]: Likewise.
20173         * posix/unistd.h [__USE_BSD]: Likewise.
20174         [__USE_SVID]: Likewise.
20175         * pwd/pwd.h [__USE_SVID]: Likewise.
20176         * resolv/netdb.h [__USE_BSD]: Likewise.
20177         * setjmp/setjmp.h [__USE_BSD]: Likewise.
20178         * signal/signal.h [__USE_BSD]: Likewise.
20179         [__USE_SVID]: Likewise.
20180         * socket/sys/socket.h [__USE_BSD]: Likewise.
20181         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
20182         * stdlib/stdlib.h [__USE_BSD]: Likewise.
20183         [__USE_SVID]: Likewise.
20184         * string/bits/string2.h [__USE_BSD]: Likewise.
20185         [__USE_SVID]: Likewise.
20186         * string/bits/string3.h [__USE_BSD]: Likewise.
20187         * string/endian.h [__USE_BSD]: Likewise.
20188         * string/string.h [__USE_SVID]: Likewise.
20189         [__USE_BSD]: Likewise.
20190         * string/strings.h [__USE_BSD]: Likewise.
20191         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
20192         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
20193         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
20194         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
20195         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
20196         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
20197         Likewise.
20198         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
20199         Likewise.
20200         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
20201         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
20202         Likewise.
20203         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
20204         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
20205         Likewise.
20206         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
20207         Likewise.
20208         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
20209         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
20210         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
20211         Likewise.
20212         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
20213         Likewise.
20214         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
20215         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
20216         * termios/termios.h [__USE_BSD]: Likewise.
20217         * time/sys/time.h [__USE_BSD]: Likewise.
20218         * time/time.h [__USE_BSD]: Likewise.
20219         [__USE_SVID]: Likewise.
20221         * Makefile (subdir_targets): Remove subdir_lint.out.
20223         * stdio-common/Makefile (do-tst-unbputc): Remove target.
20224         (do-tst-printf): Likewise.
20225         (tests): Depend directly on $(objpfx)tst-unbputc.out and
20226         $(objpfx)tst-printf.out.
20228         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
20230         * Makerules (check-abi-%): Change target to
20231         $(objpfx)check-abi-%.out.
20232         (check-abi target): Update dependencies.
20233         (check-abi-pattern variable): Redirect output of diff to $@.
20234         (check-abi variable): Likewise.
20235         * elf/Makefile (check-abi): Update dependencies.
20237         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
20238         unused.
20239         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
20240         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
20241         subnormal range.
20242         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
20243         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
20244         value has largest subnormal exponent.
20245         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
20246         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
20247         * sysdeps/aarch64/soft-fp/sfp-machine.h
20248         (_FP_TININESS_AFTER_ROUNDING): New macro.
20249         * sysdeps/alpha/soft-fp/sfp-machine.h
20250         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20251         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20252         Likewise.
20253         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
20254         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20255         * sysdeps/mips/soft-fp/sfp-machine.h
20256         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20257         * sysdeps/powerpc/soft-fp/sfp-machine.h
20258         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20259         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20260         Likewise.
20261         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20262         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20263         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20264         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20265         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20266         Likewise.
20268 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
20270         [BZ #16545]
20271         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
20272         model 1.
20274 2014-02-12  Richard Henderson  <rth@redhat.com>
20276         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
20277         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
20278         * sysdeps/unix/sysv/linux/alpha: Move directory from
20279         ports/sysdeps/unix/sysv/linux/alpha.
20280         * README: Update listing for alpha-*-linux-gnu.
20282 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
20284         * include/features.h: Update comment documenting feature test
20285         macros.
20286         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
20287         _DEFAULT_SOURCE.
20288         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
20289         (_SVID_SOURCE): Likewise.
20290         (_DEFAULT_SOURCE): Update description of default features.
20291         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
20292         with _GNU_SOURCE.
20293         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
20294         (S_ISVTX): Likewise.
20295         * manual/math.texi (Mathematical Constants): Likewise.
20296         * manual/signal.texi (Interrupted Primitives): Likewise.
20297         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
20298         * math/test-matherr.c (_SVID_SOURCE): Do not define.
20299         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
20300         Don't refer to _SVID_SOURCE in warning text.
20302         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20304         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
20305         already defined.
20306         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
20307         * sysdeps/mips/dl-lookup.c: Remove.
20308         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
20310 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20312         [BZ #16447]
20313         * math/auto-libm-test-in: Add testcase for expl.
20314         * math/auto-libm-test-out: Regenerate.
20315         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
20316         calculation of unsafe.
20317         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
20319 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20321         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
20322         * sysdeps/unix/sysv/linux/aarch64: Move directory from
20323         ports/sysdeps/unix/sysv/linux/aarch64.
20324         * README: Update listing for aarch64*-*-linux-gnu.
20326 2014-02-11  Will Newton  <will.newton@linaro.org>
20328         * manual/probes.texi (Mathematical Function Probes): Use
20329         "triggered" instead of "hit".
20331         * manual/probes.texi (Internal Probes): Add documentation
20332         of setjmp, longjmp and longjmp_target probes.
20334         * include/stap-probe.h: Add comment about probe argument
20335         format.
20337         * malloc/mtrace.c (attribute_hidden): Remove unused macro
20338         definition.  (tr_where, tr_freehook, tr_mallochook,
20339         tr_reallochook, tr_memalignhook): Use ANSI protoype.
20341 2014-02-11  David S. Miller  <davem@davemloft.net>
20343         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
20344         processing int_tests.
20346 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
20348         * sysdeps/mips: Move directory from ports/sysdeps/mips.
20349         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
20350         * sysdeps/unix/sysv/linux/mips: Move directory from
20351         ports/sysdeps/unix/sysv/linux/mips.
20352         * README: Update listing for mips-*-linux-gnu and
20353         mips64-*-linux-gnu.
20355 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
20357         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
20358         * sysdeps/unix/sysv/linux/m68k: Move directory from
20359         ports/sysdeps/unix/sysv/linux/m68k.
20360         * README: Update listing for m68k-*-linux-gnu.
20362 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
20364         * sysdeps/tile: Move directory from ports/sysdeps/tile.
20365         * sysdeps/unix/sysv/linux/generic: Move directory from
20366         ports/sysdeps/unix/sysv/linux/generic.
20367         * sysdeps/unix/sysv/linux/tile: Move directory from
20368         ports/sysdeps/unix/sysv/linux/tile.
20369         * README: Update listing for tile*-*-linux-gnu.
20371 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
20373         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
20374         __builtin_expect.
20375         * benchtests/bench-memmem.c (simple_memmem): Likewise.
20376         * catgets/open_catalog.c (__open_catalog): Likewise.
20377         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
20378         * debug/confstr_chk.c: Likewise.
20379         * debug/fread_chk.c (__fread_chk): Likewise.
20380         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
20381         * debug/getgroups_chk.c: Likewise.
20382         * debug/mbsnrtowcs_chk.c: Likewise.
20383         * debug/mbsrtowcs_chk.c: Likewise.
20384         * debug/mbstowcs_chk.c: Likewise.
20385         * debug/memcpy_chk.c: Likewise.
20386         * debug/memmove_chk.c: Likewise.
20387         * debug/mempcpy_chk.c: Likewise.
20388         * debug/memset_chk.c: Likewise.
20389         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20390         * debug/strcat_chk.c (__strcat_chk): Likewise.
20391         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
20392         * debug/strncat_chk.c (__strncat_chk): Likewise.
20393         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
20394         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
20395         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
20396         * debug/wcpncpy_chk.c: Likewise.
20397         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20398         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
20399         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
20400         * debug/wcsncpy_chk.c: Likewise.
20401         * debug/wcsnrtombs_chk.c: Likewise.
20402         * debug/wcsrtombs_chk.c: Likewise.
20403         * debug/wcstombs_chk.c: Likewise.
20404         * debug/wmemcpy_chk.c: Likewise.
20405         * debug/wmemmove_chk.c: Likewise.
20406         * debug/wmempcpy_chk.c: Likewise.
20407         * debug/wmemset_chk.c: Likewise.
20408         * dirent/scandirat.c (SCANDIRAT): Likewise.
20409         * dlfcn/dladdr1.c (dladdr1): Likewise.
20410         * dlfcn/dladdr.c (dladdr): Likewise.
20411         * dlfcn/dlclose.c (dlclose_doit): Likewise.
20412         * dlfcn/dlerror.c (__dlerror): Likewise.
20413         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
20414         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
20415         * dlfcn/dlopen.c (dlopen_doit): Likewise.
20416         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20417         * dlfcn/dlsym.c (dlsym_doit): Likewise.
20418         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
20419         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
20420         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
20421         Likewise.
20422         * elf/dl-conflict.c: Likewise.
20423         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
20424         * elf/dl-dst.h: Likewise.
20425         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
20426         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
20427         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
20428         * elf/dl-init.c (call_init, _dl_init): Likewise.
20429         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
20430         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
20431         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
20432         Likewise.
20433         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
20434         Likewise.
20435         * elf/dl-minimal.c (__libc_memalign): Likewise.
20436         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
20437         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20438         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
20439         * elf/dl-sym.c (do_sym): Likewise.
20440         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
20441         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
20442         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
20443         * elf/dl-writev.h (_dl_writev): Likewise.
20444         * elf/ldconfig.c (search_dir): Likewise.
20445         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
20446         (dl_main): Likewise.
20447         * elf/setup-vdso.h (setup_vdso): Likewise.
20448         * grp/compat-initgroups.c (compat_call): Likewise.
20449         * grp/fgetgrent.c (fgetgrent): Likewise.
20450         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
20451         * grp/putgrent.c (putgrent): Likewise.
20452         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20453         Likewise.
20454         * hurd/hurdinit.c: Likewise.
20455         * iconvdata/8bit-gap.c (struct): Likewise.
20456         * iconvdata/ansi_x3.110.c : Likewise.
20457         * iconvdata/big5.c : Likewise.
20458         * iconvdata/big5hkscs.c : Likewise.
20459         * iconvdata/cp1255.c: Likewise.
20460         * iconvdata/cp1258.c : Likewise.
20461         * iconvdata/cp932.c : Likewise.
20462         * iconvdata/euc-cn.c: Likewise.
20463         * iconvdata/euc-jisx0213.c : Likewise.
20464         * iconvdata/euc-jp.c: Likewise.
20465         * iconvdata/euc-jp-ms.c : Likewise.
20466         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
20467         * iconvdata/gb18030.c : Likewise.
20468         * iconvdata/gbbig5.c (const): Likewise.
20469         * iconvdata/gbgbk.c: Likewise.
20470         * iconvdata/gbk.c : Likewise.
20471         * iconvdata/ibm1364.c : Likewise.
20472         * iconvdata/ibm930.c : Likewise.
20473         * iconvdata/ibm932.c: Likewise.
20474         * iconvdata/ibm933.c : Likewise.
20475         * iconvdata/ibm935.c : Likewise.
20476         * iconvdata/ibm937.c : Likewise.
20477         * iconvdata/ibm939.c : Likewise.
20478         * iconvdata/ibm943.c: Likewise.
20479         * iconvdata/iso_11548-1.c: Likewise.
20480         * iconvdata/iso-2022-cn.c : Likewise.
20481         * iconvdata/iso-2022-cn-ext.c : Likewise.
20482         * iconvdata/iso-2022-jp-3.c: Likewise.
20483         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
20484         * iconvdata/iso-2022-kr.c : Likewise.
20485         * iconvdata/iso646.c (gconv_end): Likewise.
20486         * iconvdata/iso_6937-2.c : Likewise.
20487         * iconvdata/iso_6937.c : Likewise.
20488         * iconvdata/iso8859-1.c: Likewise.
20489         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
20490         * iconvdata/shift_jisx0213.c : Likewise.
20491         * iconvdata/sjis.c : Likewise.
20492         * iconvdata/t.61.c : Likewise.
20493         * iconvdata/tcvn5712-1.c : Likewise.
20494         * iconvdata/tscii.c: Likewise.
20495         * iconvdata/uhc.c : Likewise.
20496         * iconvdata/unicode.c (gconv_end): Likewise.
20497         * iconvdata/utf-16.c (gconv_end): Likewise.
20498         * iconvdata/utf-32.c (gconv_end): Likewise.
20499         * iconvdata/utf-7.c (base64): Likewise.
20500         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
20501         * iconv/gconv_close.c (__gconv_close): Likewise.
20502         * iconv/gconv_open.c (__gconv_open): Likewise.
20503         * iconv/gconv_simple.c (internal_ucs4_loop_single)
20504         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
20505         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
20506         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
20507         (ucs4le_internal_loop_single): Likewise.
20508         * iconv/iconv.c (iconv): Likewise.
20509         * iconv/iconv_close.c: Likewise.
20510         * iconv/loop.c (SINGLE): Likewise.
20511         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
20512         * include/atomic.h: Likewise.
20513         * inet/inet6_option.c (option_alloc): Likewise.
20514         * intl/bindtextdom.c (set_binding_values): Likewise.
20515         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
20516         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
20517         * intl/localealias.c (read_alias_file): Likewise.
20518         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20519         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
20520         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
20521         * libio/fmemopen.c (fmemopen): Likewise.
20522         * libio/iofgets.c (_IO_fgets): Likewise.
20523         * libio/iofgets_u.c (fgets_unlocked): Likewise.
20524         * libio/iofgetws.c (fgetws): Likewise.
20525         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
20526         * libio/iogetdelim.c (_IO_getdelim): Likewise.
20527         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
20528         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
20529         * locale/findlocale.c (_nl_find_locale): Likewise.
20530         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
20531         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
20532         Likewise.
20533         * locale/setlocale.c (setlocale): Likewise.
20534         * login/programs/pt_chown.c (main): Likewise.
20535         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
20536         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
20537         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
20538         (mmap, mmap64, mremap, munmap): Likewise.
20539         * math/e_exp2l.c: Likewise.
20540         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
20541         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
20542         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
20543         * math/s_catan.c (__catan): Likewise.
20544         * math/s_catanf.c (__catanf): Likewise.
20545         * math/s_catanh.c (__catanh): Likewise.
20546         * math/s_catanhf.c (__catanhf): Likewise.
20547         * math/s_catanhl.c (__catanhl): Likewise.
20548         * math/s_catanl.c (__catanl): Likewise.
20549         * math/s_ccosh.c (__ccosh): Likewise.
20550         * math/s_ccoshf.c (__ccoshf): Likewise.
20551         * math/s_ccoshl.c (__ccoshl): Likewise.
20552         * math/s_cexp.c (__cexp): Likewise.
20553         * math/s_cexpf.c (__cexpf): Likewise.
20554         * math/s_cexpl.c (__cexpl): Likewise.
20555         * math/s_clog10.c (__clog10): Likewise.
20556         * math/s_clog10f.c (__clog10f): Likewise.
20557         * math/s_clog10l.c (__clog10l): Likewise.
20558         * math/s_clog.c (__clog): Likewise.
20559         * math/s_clogf.c (__clogf): Likewise.
20560         * math/s_clogl.c (__clogl): Likewise.
20561         * math/s_csin.c (__csin): Likewise.
20562         * math/s_csinf.c (__csinf): Likewise.
20563         * math/s_csinh.c (__csinh): Likewise.
20564         * math/s_csinhf.c (__csinhf): Likewise.
20565         * math/s_csinhl.c (__csinhl): Likewise.
20566         * math/s_csinl.c (__csinl): Likewise.
20567         * math/s_csqrt.c (__csqrt): Likewise.
20568         * math/s_csqrtf.c (__csqrtf): Likewise.
20569         * math/s_csqrtl.c (__csqrtl): Likewise.
20570         * math/s_ctan.c (__ctan): Likewise.
20571         * math/s_ctanf.c (__ctanf): Likewise.
20572         * math/s_ctanh.c (__ctanh): Likewise.
20573         * math/s_ctanhf.c (__ctanhf): Likewise.
20574         * math/s_ctanhl.c (__ctanhl): Likewise.
20575         * math/s_ctanl.c (__ctanl): Likewise.
20576         * math/w_pow.c: Likewise.
20577         * math/w_powf.c: Likewise.
20578         * math/w_powl.c: Likewise.
20579         * math/w_scalb.c (sysv_scalb): Likewise.
20580         * math/w_scalbf.c (sysv_scalbf): Likewise.
20581         * math/w_scalbl.c (sysv_scalbl): Likewise.
20582         * misc/error.c (error_tail): Likewise.
20583         * misc/pselect.c (__pselect): Likewise.
20584         * nis/nis_callback.c (__nis_create_callback): Likewise.
20585         * nis/nis_call.c (__nisfind_server): Likewise.
20586         * nis/nis_creategroup.c (nis_creategroup): Likewise.
20587         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
20588         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
20589         * nis/nis_getservlist.c (nis_getservlist): Likewise.
20590         * nis/nis_lookup.c (nis_lookup): Likewise.
20591         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
20592         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
20593         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
20594         * nis/nis_xdr.c (xdr_endpoint): Likewise.
20595         * nis/nss_compat/compat-grp.c (getgrent_next_file)
20596         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
20597         * nis/nss_compat/compat-initgroups.c (add_group)
20598         (internal_getgrent_r): Likewise.
20599         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
20600         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
20601         * nis/nss_compat/compat-spwd.c (getspent_next_file)
20602         (internal_getspnam_r): Likewise.
20603         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
20604         (_nss_nis_getaliasbyname_r): Likewise.
20605         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
20606         (_nss_nis_getntohost_r): Likewise.
20607         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
20608         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
20609         (_nss_nis_getgrgid_r): Likewise.
20610         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
20611         (internal_nis_gethostent_r, internal_gethostbyname2_r)
20612         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
20613         (_nss_nis_gethostbyname4_r): Likewise.
20614         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
20615         (initgroups_netid): Likewise.
20616         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
20617         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
20618         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
20619         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
20620         (_nss_nis_getprotobynumber_r): Likewise.
20621         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
20622         (_nss_nis_getsecretkey): Likewise.
20623         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
20624         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
20625         (_nss_nis_getpwuid_r): Likewise.
20626         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
20627         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
20628         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
20629         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
20630         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
20631         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
20632         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
20633         Likewise.
20634         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
20635         (_nss_nisplus_getntohost_r): Likewise.
20636         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
20637         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
20638         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
20639         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
20640         Likewise.
20641         * nis/nss_nisplus/nisplus-initgroups.c
20642         (_nss_nisplus_initgroups_dyn): Likewise.
20643         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
20644         (_nss_nisplus_getnetbyaddr_r): Likewise.
20645         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
20646         (_nss_nisplus_getprotobynumber_r): Likewise.
20647         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
20648         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
20649         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
20650         Likewise.
20651         * nis/nss_nisplus/nisplus-service.c
20652         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
20653         (_nss_nisplus_getservbyport_r): Likewise.
20654         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
20655         (_nss_nisplus_getspnam_r): Likewise.
20656         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
20657         Likewise.
20658         * nscd/aicache.c (addhstaiX): Likewise.
20659         * nscd/cache.c (cache_search, prune_cache): Likewise.
20660         * nscd/connections.c (register_traced_file, send_ro_fd)
20661         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
20662         (main_loop_epoll): Likewise.
20663         * nscd/grpcache.c (addgrbyX): Likewise.
20664         * nscd/hstcache.c (addhstbyX): Likewise.
20665         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20666         * nscd/mem.c (gc, mempool_alloc): Likewise.
20667         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
20668         (addinnetgrX): Likewise.
20669         * nscd/nscd-client.h (__nscd_acquire_maplock)
20670         (__nscd_drop_map_ref): Likewise.
20671         * nscd/nscd_getai.c (__nscd_getai): Likewise.
20672         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
20673         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
20674         Likewise.
20675         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
20676         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20677         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
20678         (__nscd_get_map_ref): Likewise.
20679         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
20680         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
20681         Likewise.
20682         * nscd/pwdcache.c (addpwbyX): Likewise.
20683         * nscd/selinux.c (preserve_capabilities): Likewise.
20684         * nscd/servicescache.c (addservbyX): Likewise.
20685         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
20686         * posix/fnmatch.c (fnmatch): Likewise.
20687         * posix/getopt.c (_getopt_internal_r): Likewise.
20688         * posix/glob.c (glob, glob_in_dir): Likewise.
20689         * posix/wordexp.c (exec_comm_child): Likewise.
20690         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
20691         (getanswer_r, gaih_getanswer_slice): Likewise.
20692         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
20693         * resolv/res_init.c: Likewise.
20694         * resolv/res_mkquery.c (res_nmkquery): Likewise.
20695         * resolv/res_query.c (__libc_res_nquery): Likewise.
20696         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
20697         Likewise.
20698         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
20699         * stdio-common/perror.c (perror): Likewise.
20700         * stdio-common/printf_fp.c (___printf_fp): Likewise.
20701         * stdio-common/tmpnam.c (tmpnam): Likewise.
20702         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20703         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
20704         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20705         Likewise.
20706         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
20707         * stdlib/putenv.c (putenv): Likewise.
20708         * stdlib/setenv.c (__add_to_environ): Likewise.
20709         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20710         * stdlib/strtol_l.c (INTERNAL): Likewise.
20711         * string/memmem.c (memmem): Likewise.
20712         * string/strerror.c (strerror): Likewise.
20713         * string/strnlen.c (__strnlen): Likewise.
20714         * string/test-memmem.c (simple_memmem): Likewise.
20715         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
20716         * sunrpc/pm_getport.c (__get_socket): Likewise.
20717         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
20718         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
20719         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
20720         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
20721         Likewise.
20722         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
20723         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20724         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
20725         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
20726         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20727         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
20728         Likewise.
20729         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
20730         Likewise.
20731         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
20732         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
20733         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20734         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20735         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20736         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
20737         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20738         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
20739         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
20740         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
20741         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20742         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20743         Likewise.
20744         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
20745         Likewise.
20746         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
20747         Likewise.
20748         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
20749         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20750         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
20751         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
20752         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
20753         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
20754         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20755         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
20756         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
20757         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
20758         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
20759         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20760         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20761         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20762         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20763         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
20764         Likewise.
20765         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
20766         Likewise.
20767         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
20768         Likewise.
20769         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
20770         Likewise.
20771         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20772         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20773         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
20774         Likewise.
20775         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
20776         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
20777         * sysdeps/posix/opendir.c (__opendirat): Likewise.
20778         * sysdeps/posix/sleep.c: Likewise.
20779         * sysdeps/posix/tempname.c: Likewise.
20780         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
20781         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20782         Likewise.
20783         * sysdeps/powerpc/powerpc32/dl-machine.h
20784         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
20785         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20786         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20787         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
20788         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
20789         Likewise.
20790         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
20791         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
20792         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
20793         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
20794         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
20795         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
20796         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
20797         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
20798         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20799         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
20800         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
20801         (elf_machine_lazy_rel): Likewise.
20802         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20803         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
20804         (elf_machine_lazy_rel): Likewise.
20805         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
20806         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
20807         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
20808         * sysdeps/unix/grantpt.c (grantpt): Likewise.
20809         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
20810         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
20811         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
20812         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20813         Likewise.
20814         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20815         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20816         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
20817         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
20818         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20819         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20820         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
20821         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
20822         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
20823         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20824         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
20825         Likewise.
20826         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
20827         (__posix_fallocate64_l64): Likewise.
20828         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
20829         (posix_fallocate): Likewise.
20830         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
20831         Likewise.
20832         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20833         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
20834         (getifaddrs_internal): Likewise.
20835         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
20836         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
20837         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
20838         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
20839         * sysdeps/unix/sysv/linux/posix_fallocate64.c
20840         (__posix_fallocate64_l64): Likewise.
20841         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
20842         Likewise.
20843         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
20844         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
20845         (__get_clockfreq): Likewise.
20846         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
20847         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20848         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
20849         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20850         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20851         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
20852         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
20853         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
20854         Likewise.
20855         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
20856         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
20857         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
20858         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
20859         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20860         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
20861         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
20862         Likewise.
20863         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20864         (posix_fallocate): Likewise.
20865         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20866         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
20867         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
20868         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
20869         (elf_machine_rela, elf_machine_rela_relative)
20870         (elf_machine_lazy_rel): Likewise.
20871         * time/asctime.c (asctime_internal): Likewise.
20872         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
20873         * time/tzset.c (__tzset_parse_tz): Likewise.
20874         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20875         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
20876         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
20877         * wcsmbs/wcsmbsload.h: Likewise.
20879         [BZ #15894]
20880         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
20882         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
20883         (arena_get2): Remove THREAD_STATS conditionals.
20884         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
20885         (__malloc_stats, int): Likewise.
20887 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
20889         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
20890         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
20892         * manual/setjmp.texi: Fix typos/grammar errors.
20894         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
20895         Only return early when n is <= 0.  Delete unused return statement.
20897         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
20898         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20899         * debug/tst-longjmp_chk3.c: New file.
20901         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
20902         (test_main): Replace code with set_fortify_handler call.
20903         * debug/test-strcpy_chk.c: Likewise.
20904         * debug/tst-chk1.c: Likewise.
20905         * debug/tst-longjmp_chk.c: Likewise.
20906         * test-skeleton.c: Include fcntl.h & paths.h
20907         (set_fortify_handler): Define.
20909         * debug/tst-longjmp_chk.c: Add header comment and include
20910         ../test-skeleton.c.
20911         (do_test): Mark static.
20912         (TEST_FUNCTION): Define.
20914         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
20915         (IP_PMTUDISC_INTERFACE): Likewise.
20916         (IP_MULTICAST_IF): Likewise.
20917         (IP_MULTICAST_TTL): Likewise.
20918         (IP_MULTICAST_LOOP): Likewise.
20919         (IP_ADD_MEMBERSHIP): Likewise.
20920         (IP_DROP_MEMBERSHIP): Likewise.
20921         (IP_UNBLOCK_SOURCE): Likewise.
20922         (IP_BLOCK_SOURCE): Likewise.
20923         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
20924         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
20925         (IP_MSFILTER): Likewise.
20926         (MCAST_JOIN_GROUP): Likewise.
20927         (MCAST_BLOCK_SOURCE): Likewise.
20928         (MCAST_UNBLOCK_SOURCE): Likewise.
20929         (MCAST_LEAVE_GROUP): Likewise.
20930         (MCAST_JOIN_SOURCE_GROUP): Likewise.
20931         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20932         (MCAST_MSFILTER): Likewise.
20933         (IP_MULTICAST_ALL): Likewise.
20934         (IP_UNICAST_IF): Likewise.
20936         * timezone/Makefile: Delete $(have-ksh) check.
20937         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
20938         * timezone/tzselect.ksh: Add +x mode bits.
20940         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
20941         (ANON_INODE_FS_MAGIC): Likewise.
20942         (BDEVFS_MAGIC): Likewise.
20943         (BINFMTFS_MAGIC): Likewise.
20944         (BTRFS_TEST_MAGIC): Likewise.
20945         (CRAMFS_MAGIC_WEND): Likewise.
20946         (DEBUGFS_MAGIC): Likewise.
20947         (ECRYPTFS_SUPER_MAGIC): Likewise.
20948         (EXT3_SUPER_MAGIC): Likewise.
20949         (EXT4_SUPER_MAGIC): Likewise.
20950         (FUTEXFS_SUPER_MAGIC): Likewise.
20951         (HOSTFS_SUPER_MAGIC): Likewise.
20952         (HUGETLBFS_MAGIC): Likewise.
20953         (MINIX3_SUPER_MAGIC): Likewise.
20954         (MTD_INODE_FS_MAGIC): Likewise.
20955         (NILFS_SUPER_MAGIC): Likewise.
20956         (OPENPROM_SUPER_MAGIC): Likewise.
20957         (PIPEFS_MAGIC): Likewise.
20958         (PSTOREFS_MAGIC): Likewise.
20959         (QNX6_SUPER_MAGIC): Likewise.
20960         (RAMFS_MAGIC): Likewise.
20961         (REISERFS_SUPER_MAGIC_STRING): Likewise.
20962         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
20963         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
20964         (SECURITYFS_MAGIC): Likewise.
20965         (SELINUX_MAGIC): Likewise.
20966         (SMACK_MAGIC): Likewise.
20967         (SOCKFS_MAGIC): Likewise.
20968         (SQUASHFS_MAGIC): Likewise.
20969         (STACK_END_MAGIC): Likewise.
20970         (TMPFS_MAGIC): Likewise.
20971         (USBDEVICE_SUPER_MAGIC): Likewise.
20972         (V9FS_MAGIC): Likewise.
20973         (XENFS_SUPER_MAGIC): Likewise.
20974         (CRAMFS_MAGIC): Fix typo in comment.
20975         (EXT2_SUPER_MAGIC): Update comment.
20976         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
20978 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
20980         * sysdeps/arm: Move directory from ports/sysdeps/arm.
20981         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
20982         * sysdeps/unix/sysv/linux/arm: Move directory from
20983         ports/sysdeps/unix/sysv/linux/arm.
20984         * README: Update listing for arm-*-linux-gnueabi.
20986         * README: Remove mention of am33.
20988 2014-02-07  Roland McGrath  <roland@hack.frob.com>
20990         * bits/sigset.h (__sigemptyset): Use a statement expression rather
20991         than the comma operator, to avoid "rhs of comma has no effect"
20992         compiler warnings.
20993         (__sigfillset, __sigandset, __sigorset): Likewise.
20994         * include/signal.h (__sigemptyset): Likewise.
20995         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
20997 2014-02-07  Allan McRae  <allan@archlinux.org>
20999         * version.h (RELEASE): Set to "development".
21000         (VERSION): Set to "2.19.90"
21001         * NEWS: Add 2.20 section.
21003 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
21005         [BZ #16529]
21006         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
21008 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21010         * manual/contrib.texi: Update entry for Carlos O'Donell,
21011         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
21013 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
21015         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
21017         * sysdeps/unix/sysv/linux/kernel-features.h
21018         [__LINUX_KERNEL_VERSION >= 0x020621]
21019         (__ASSUME_PROC_PID_TASK_COMM): Define.
21021 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21023         [BZ #16398]
21024         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
21025         conversion when destination buffer does not have enough space.
21026         * libio/tst-ftell-partial-wide.c: New test case.
21027         * libio/Makefile (tests): Add tst-ftell-partial-wide.
21029         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
21030         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
21031         Leonard and Allan McRae.
21033 2014-02-04  David S. Miller  <davem@davemloft.net>
21035         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
21036         32-bit.
21038 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21041         New file
21042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21043         New file
21044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21045         New file.
21046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21047         New file.
21048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21049         New file.
21050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21051         New file.
21052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21053         New file.
21054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21055         New file.
21056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21057         New file.
21058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21059         New file.
21060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21061         New file.
21062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21063         New file.
21064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21065         New file.
21067 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21069         * nptl/shlib-versions: Change powerpc*le start to 2.17.
21070         * shlib-versions: Likewise.
21072 2014-02-04  Roland McGrath  <roland@hack.frob.com>
21073             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21075         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
21076         (abilist-pattern): New variable, set to %-le.abilist.
21078         * Makerules (abilist-pattern): New variable.
21079         (vpath): Use $(abilist-pattern) in place of %.abilist.
21080         (check-abi-% pattern rule): Likewise.
21081         (check-abi, update-abi): Likewise.
21083 2014-02-04  Eric Wong  <normalperson@yhbt.net>
21085         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21087 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
21089         * manual/startup.texi: Add next, previous, and top entries for
21090         the `Program Arguments' and `Environment Variables' nodes.
21092 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
21094         * manual/macros.texi: Add comments before MTASC-safety macros.
21096         * manual/users.texi: Document MTASC-safety properties.
21098         * manual/threads.texi (pthread_key_create, pthread_key_delete)
21099         (pthread_getspecific, pthread_setspecific): Format with
21100         @deftypefun, and add @safety note.
21101         * manual/signal.texi: Move comments that analyze the above
21102         functions to their home place.
21104 2014-02-03  Allan McRae  <allan@archlinux.org>
21106         * po/sl.po: Update Slovenian translation from translation project.
21108 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
21110         * manual/time.texi (timegm): Add missing blank after @c.
21111         Reported by Joseph Myers <joseph@codesourcery.com>.
21113 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
21115         * manual/check-safety.sh: New.
21116         * manual/Makefile ($(objpfx)stamp-summary): Run it.
21118         * manual/terminal.texi: Document MTASC-safety properties.
21120         * manual/filesys.texi: Document MTASC-safety properties.
21122         * manual/errno.texi: Document MTASC-safety properties.
21124         * manual/intro.texi: Document safety identifiers and
21125         conditionals.
21127         * manual/string.texi (wcstok): Fix prototype.
21128         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
21130         * manual/time.texi: Document MTASC-safety properties.
21132         * manual/string.texi: Document MTASC-safety properties.
21134         * manual/threads.texi: Document MTASC-safety properties.
21136         * manual/stdio.texi: Document MTASC-safety properties.
21138         * manual/syslog.texi: Document MTASC-safety properties.
21140         * manual/sysinfo.texi: Document MTASC-safety properties.
21142         * manual/startup.texi: Document MTASC-safety properties.
21144         * manual/socket.texi: Document MTASC-safety properties.
21146         * manual/signal.texi: Document MTASC-safety properties.
21148 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
21150         * manual/setjmp.texi: Document MTASC-safety properties.
21152         * manual/search.texi: Document MTASC-safety properties.
21154         * manual/resource.texi: Document MTASC-safety properties.
21156         * manual/process.texi: Document MTASC-safety properties.
21158         * manual/platform.texi: Document MTASC-safety properties.
21160         * manual/pipe.texi: Document MTASC-safety properties.
21162         * manual/pattern.texi: Document MTASC-safety properties.
21164         * manual/message.texi: Document MTASC-safety properties.
21166         [BZ #12751]
21167         * manual/memory.texi: Document MTASC-safety properties.
21169         * manual/math.texi: Document MTASC-safety properties.
21171         * manual/locale.texi: Document MTASC-safety properties.
21173         * manual/llio.texi: Document MTASC-safety properties.
21175         * manual/libdl.texi: New.
21177         * manual/lang.texi: Document MTASC-safety properties.
21179         * manual/job.texi: Document MTASC-safety properties.
21181         * manual/getopt.texi: Document MTASC-safety properties.
21183         * manual/ctype.texi: Document MTASC-safety properties.
21185 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
21187         [BZ #16046]
21188         * csu/libc-tls.c (static_map): Remove variable.
21189         (__libc_setup_tls): Use main executable's link map for TLS data.
21190         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
21191         casing for LM_ID_BASE and GL(dl_nns).
21192         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
21193         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
21194         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
21195         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
21196         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
21197         member.
21198         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
21199         l_phnum members.
21201 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
21203         * manual/debug.texi: Document MTASC-safety properties.
21205 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
21207         [BZ #16510]
21208         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
21209         of __x86_64__ when disabling x87 inline functions.
21211 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
21213         * manual/charset.texi: Document MTASC-safety properties.
21215         * manual/crypt.texi: Document MTASC-safety properties.
21217         * manual/conf.texi: Document MTASC-safety properties.
21219         * manual/arith.texi: Document MTASC-safety properties.
21221         * manual/argp.texi: Document MTASC-safety properties.
21223         * manual/macros.texi: Introduce macros to document multi
21224         thread, asynchronous signal and asynchronous cancellation
21225         safety properties.
21226         * manual/intro.texi: Introduce the properties themselves.
21228 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21230         * sysdeps/sh/sh4/Makefile: New file.
21232 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
21234         * math/gen-libm-test.pl ($srcdir): New variable.
21235         ($auto_input): Use it.
21237 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21239         [BZ #16506]
21240         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
21241         access beyond array bounds when parsing netgroups file.
21243         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
21244         the old buffer before realloc.
21246 2014-01-27  Allan McRae  <allan@archlinux.org>
21248         * po/fr.po: Update French translation from translation project.
21250 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21252         * sysdeps/sh/libm-test-ulps: Regenerate.
21254 2014-01-24  David S. Miller  <davem@davemloft.net>
21256         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
21258 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21260         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
21261         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
21263 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21265         [BZ #16474]
21266         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
21267         string pointers after reallocation.
21269 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21271         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
21272         __SH4A__ instead of __SH_FPU_ANY__.
21274 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21276         * sysdeps/sh/fpu_control.h: New file.
21277         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
21278         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
21279         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
21280         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
21281         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
21282         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
21283         * sysdeps/sh/sys/ucontext.h: Remove.
21284         * sysdeps/sh/sys: Remove directory.
21286 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21288         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
21289         s390/sys/ucontext.h.
21290         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
21291         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
21293 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
21295         [BZ #15605]
21296         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
21298 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21300         [BZ#16431]
21301         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21302         Adjust the vDSO correctly for internal calls.
21303         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
21305 2014-01-20  Allan McRae  <allan@archlinux.org>
21307         * po/ca.po: Update Catalan translation from translation project.
21309 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
21311         * sysdeps/s390/sotruss-lib.c: New file.
21313 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21315         [BZ#16430]
21316         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
21317         (__GI___gettimeofday): Alias for a different internal symbol to avoid
21318         local calls issues by not having a PLT stub required for IFUNC calls.
21319         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
21321 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
21323         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
21324         * math/test-fpucw-static.c: Likewise.
21326 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21328         [BZ #16453]
21329         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
21331 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21333         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
21334         implementation for powerpc.
21336 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
21338         [BZ #14782]
21339         * sysdeps/posix/system.c (__libc_system): Do not enable
21340         asynchronous cancellation.
21342 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21344         [BZ #16427]
21345         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
21346         handling only for numbers special also in the IEEE case.
21348 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21350         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21352 2014-01-11  Allan McRae  <allan@archlinux.org>
21354         * po/bg.po: Update Bulgarian translation from translation project.
21356         * po/de.po: Update German translation from translation project.
21358 2014-01-10  Roland McGrath  <roland@hack.frob.com>
21360         * sysdeps/generic/gcc-compat.h: New file.
21362 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21364         * benchtests/asin-inputs: Correct slow inputs.
21365         * benchtests/acos-inputs: Likewise.
21367 2014-01-10  Allan McRae  <allan@archlinux.org>
21369         * po:sv.po: Update Swedish translation from translation project.
21371         * po/vi.po: Update Vietnamese translation from translation project.
21373         * po/eo.po: Update Esperanto translation from translation project.
21375         * po/cs.po: Update Czech translation from translation project.
21377         * po/nl.po: Update Dutch translation from translation project.
21379         * po/pl.po: Update Polish translation from translation project.
21381         * po/ru.po: Update Russian translation from translation project.
21383         * po/uk.po: Update Ukrainian translation from translation project.
21385 2014-01-08  Brooks Moses  <bmoses@google.com>
21387         * elf/dl-load.c: Fix comment typo.
21389 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
21391         * po/header.pot: Rename to...
21392         * po/pot.header: ... this.
21393         * po/Makefile: Use pot.header.
21395 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
21396             Maxim Kuvyrkov  <maxim@kugelworks.com>
21398         [BZ #16394]
21399         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
21400         SRC and DEST against LEN.
21402 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21404         [BZ #16414]
21405         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
21406         implementation.
21407         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
21409 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21411         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21413 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
21415         [BZ #16408]
21416         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
21417         for large positive arguments.
21419 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
21421         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21423         * math/auto-libm-test-in: Mark various tests with
21424         xfail-rounding:ldbl-128ibm.
21425         * math/auto-libm-test-out: Regenerated.
21427         [BZ #16407]
21428         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
21429         Increase overflow threshold.
21431 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
21433         [BZ #14286]
21434         * stdio-common/vfprintf.c: Check for integer overflow.
21436 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21438         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
21439         the first argument and return value of __tls_get_addr_internal.
21441 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21443         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
21444         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
21446 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21448         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
21449         * sysdeps/s390/rtld-global-offsets.sym: New file.
21450         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
21451         GLIBC_2.19 symbol.
21452         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
21453         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
21454         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
21455         ... this.
21456         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
21457         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
21458         ... this.
21459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21460         Regenerate.
21461         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21462         Regenerate.
21463         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
21464         halfs of GPRs for high_gprs contexts.
21465         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
21466         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
21467         field.
21468         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
21469         uc_flags field.
21470         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
21471         64 bit versions:
21472         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
21473         for high GPRs (uc_high_gprs) and for future extensions
21474         (__reserved).
21475         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
21476         for future extensions (__reserved).
21477         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
21478         64 bit versions:
21479         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
21480         SC_HIGHGPRS offset definition.
21481         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
21482         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
21484         * Versions.def: Add GLIBC_2.19 for libpthread.
21485         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
21486         siglongjmp for libpthread with GLIBC_2.19 symver.
21487         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
21488         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
21489         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
21490         * sysdeps/s390/__longjmp.c: New file.
21491         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
21492         * sysdeps/s390/longjmp.c: New file.
21493         * sysdeps/s390/setjmp.S: New file.
21494         * sysdeps/s390/sigjmp.S: New file.
21495         * sysdeps/s390/v1-longjmp.c: New file.
21496         * sysdeps/s390/v1-setjmp.h: New file.
21497         * sysdeps/s390/v1-sigjmp.c: New file.
21498         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
21499         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
21500         GLIBC_2.19 version.
21501         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
21502         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
21503         versioned symbols for ____longjmp_chk.
21504         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21505         Likewise.
21506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21507         Regenerate.
21508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21509         Regenerate.
21510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21511         Regenerate.
21512         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21513         Regenerate.
21514         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
21515         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
21516         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
21517         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
21518         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
21519         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
21520         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
21521         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
21522         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
21523         * sysdeps/s390/rtld-__longjmp.c: New file.
21524         * sysdeps/s390/rtld-setjmp.S: New file.
21526 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
21528         [BZ #16400]
21529         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21530         Return -__logl (x) for small positive arguments without evaluating
21531         a polynomial.
21533 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
21535         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
21536         Rename to ...
21537         (__ptrace_peeksiginfo_args): ... this.
21538         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21539         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21540         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21542 2014-01-06  Allan McRae  <allan@archlinux.org>
21544         * inet/netinet/in.h: Fix typo in comment.
21546 2014-01-05  Andreas Jaeger  <aj@suse.de>
21548         * sysdeps/i386/fpu/libm-test-ulps: Update.
21550 2014-01-05  Allan McRae  <allan@archlinux.org>
21552         * po/libc.pot: Regenerated.
21554         * malloc/memusagestat.c: Fix gettext call formatting.
21556 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
21558         * nscd/nscd.c: Improve usage() output.
21560 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
21562         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
21563         * sysdeps/unix/sysv/linux/configure: Regenerated.
21564         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
21565         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
21567 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
21569         [BZ #16390]
21570         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21571         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
21573 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21575         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
21576         extra tokens at end of #undef directive.
21577         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
21578         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
21579         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
21581 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
21583         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21585         * math/auto-libm-test-in: Mark various tests with
21586         xfail-rounding:ldbl-128ibm.
21587         * math/auto-libm-test-out: Regenerated.
21589 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
21591         [BZ #16386]
21592         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
21593         numbers with subnormal high part when calculating exponent.
21595         [BZ #16385]
21596         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
21597         fabs.
21599         [BZ #16384]
21600         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
21601         M_LN2l.
21602         (__ieee754_acoshl): Use __log1pl not __log1p.
21604 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
21606         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
21607         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
21608         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
21609         (grow_heap, heap_trim, _int_new_arena, get_free_list)
21610         (reused_arena, arena_get2): Convert to GNU style.
21611         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
21612         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
21613         (memalign_check, __malloc_set_state): Likewise.
21614         * malloc/mallocbug.c (main): Likewise.
21615         * malloc/malloc.c (__malloc_assert, malloc_init_state)
21616         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
21617         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
21618         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
21619         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
21620         (__posix_memalign, malloc_info): Likewise.
21621         * malloc/malloc.h: Likewise.
21622         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
21623         (mallochook, memalignhook, reallochook, mabort): Likewise.
21624         * malloc/mcheck.h: Likewise.
21625         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
21626         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
21627         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
21628         * malloc/morecore.c (__default_morecore): Likewise.
21629         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
21630         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
21631         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
21632         (print_and_abort): Likewise.
21633         * malloc/obstack.h: Likewise.
21634         * malloc/set-freeres.c (__libc_freeres): Likewise.
21635         * malloc/tst-mallocstate.c (main): Likewise.
21636         * malloc/tst-mtrace.c (main): Likewise.
21637         * malloc/tst-realloc.c (do_test): Likewise.
21639 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21641         [BZ #16366]
21642         * nscd/netgroupcache.c (do_notfound): New function.
21643         (addgetnetgrentX): Use it.
21645         [BZ # 16365]
21646         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
21647         NSS_STATUS_NOTFOUND.
21649 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
21651         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21654 2014-01-01  Allan McRae  <allan@archlinux.org>
21656         * scripts/update-copyrights: Update configure input file suffix.
21658         * NEWS: Update copyright year.
21659         * catgets/gencat.c: Likewise.
21660         * csu/version.c: Likewise.
21661         * debug/catchsegv.sh: Likewise.
21662         * debug/pcprofiledump.c: Likewise.
21663         * debug/xtrace.sh: Likewise.
21664         * elf/ldconfig.c: Likewise.
21665         * elf/ldd.bash.in: Likewise.
21666         * elf/pldd.c: Likewise.
21667         * elf/sotruss.ksh: Likewise.
21668         * elf/sprof.c: Likewise.
21669         * iconv/iconv_prog.c: Likewise.
21670         * iconv/iconvconfig.c: Likewise.
21671         * locale/programs/locale.c: Likewise.
21672         * locale/programs/localedef.c: Likewise.
21673         * login/programs/pt_chown.c: Likewise.
21674         * malloc/memusage.sh: Likewise.
21675         * malloc/memusagestat.c: Likewise.
21676         * malloc/mtrace.pl: Likewise.
21677         * manual/libc.texinfo: Likewise.
21678         * nscd/nscd.c: Likewise.
21679         * nss/getent.c: Likewise.
21680         * nss/makedb.c: Likewise.
21681         * posix/getconf.c: Likewise.
21682         * scripts/test-installation.pl: Likewise.
21684         * All files with FSF copyright notices: Update copyright dates
21685         using scripts/update-copyrights.
21686         * intl/plural.c: Regenerated.
21687         * locale/programs/charmap-kw.h: Likewise.
21688         * locale/programs/locfile-kw.h: Likewise.
21690 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
21692         * sysdeps/unix/sysv/linux/configure: Regenerated.
21693         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
21694         the linux/fanotify.h header.
21695         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
21696         HAVE_LINUX_FANOTIFY_H is defined.
21698 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21700         * benchtests/cos-inputs: New inputs.
21701         * benchtests/sin-inputs: Likewise.
21703         * benchtests/atan-inputs: New inputs. Fix name of multiple
21704         precision fallback inputs.
21706         * benchtests/atanh-inputs: New inputs.
21707         * benchtests/tanh-inputs: Likewise.
21709         * benchtests/acosh-inputs: New inputs.
21710         * benchtests/asinh-inputs: Likewise.
21712         * benchtests/cosh-inputs: New inputs.
21713         * benchtests/sinh-inputs: Likewise.
21715         * benchtests/acos-inputs: Add more inputs.
21716         * benchtests/asin-inputs: Likewise.
21718 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
21720         [BZ #16375]
21721         * manual/arith.texi: Fix spelling.
21722         * manual/charset.texi: Likewise.
21723         * manual/errno.texi: Likewise.
21724         * manual/filesys.texi: Likewise.
21725         * manual/lang.texi: Likewise.
21726         * manual/llio.texi: Likewise.
21727         * manual/locale.texi: Likewise.
21728         * manual/message.texi: Likewise.
21729         * manual/resource.texi: Likewise.
21730         * manual/search.texi: Likewise.
21731         * manual/setjmp.texi: Likewise.
21732         * manual/stdio.texi: Likewise.
21733         * manual/string.texi: Likewise.
21734         * manual/sysinfo.texi: Likewise.
21735         * manual/time.texi: Likewise.
21737 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
21739         * po/sl.po: New file.
21741 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
21743         * .gitignore: Add core/.gdbinit/.gdb_history.
21745 2013-12-27  Allan McRae  <allan@archlinux.org>
21747         [BZ #16369]
21748         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
21749         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
21751 2013-12-24  Brooks Moses  <bmoses@google.com>
21753         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
21754         all compilers that claim C++98 compliance, not just GCC.
21755         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
21756         Likewise.
21758 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
21760         * NEWS: Restore accidentally deleted bug-fix entries.
21762 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
21763             Ondřej Bílka  <neleai@seznam.cz>
21765         [BZ #15073]
21766         * malloc/malloc.c (_int_free): Perform sanity check only if we
21767         have_lock.
21769 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
21771         [BZ #12986]
21772         * manual/stdio.texi (String Input Conversions): Clarify that character
21773         classes are not supported.
21775 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21779 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
21781         [BZ #16337]
21782         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21783         Calculate results for small negative arguments directly rather
21784         than using reflection formula with special underflow handling.
21786         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
21787         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
21788         sysdeps/unix/bsd/bsd4.4/syscalls.list.
21789         (fchflags): Likewise.
21790         (revoke): Likewise.
21791         (setlogin): Likewise.
21792         (sigaltstack): Likewise.
21793         (wait4): Likewise.
21794         (sigblock): Remove.
21795         (sigsetmask): Likewise.
21796         (wait3): Likewise.
21797         (waitpid): Likewise.
21798         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
21799         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
21800         file.
21801         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
21802         * sysdeps/unix/bsd/Makefile: ... here.
21803         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
21804         * sysdeps/unix/bsd/Versions: ... here.
21805         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
21806         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
21807         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
21808         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
21809         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
21810         * sysdeps/unix/bsd/sigblock.c: ... here.
21811         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
21812         * sysdeps/unix/bsd/sigsetmask.c: ... here.
21813         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
21814         * sysdeps/unix/bsd/sigvec.c: ... here.
21815         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
21816         * sysdeps/unix/bsd/tcdrain.c: ... here.
21817         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
21818         * sysdeps/unix/bsd/tcgetattr.c: ... here.
21819         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
21820         * sysdeps/unix/bsd/tcsetattr.c: ... here.
21821         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
21822         * sysdeps/unix/bsd/wait.c: ... here.
21823         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
21824         * sysdeps/unix/bsd/wait3.c: ... here.
21825         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
21826         * sysdeps/unix/bsd/waitpid.c: ... here.
21828 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
21830         [BZ #16356]
21831         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
21832         round-to-nearest for [!USE_AS_EXPM1L].
21833         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
21834         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
21835         more tests of exp and exp10.  Expect some exp10 tests to miss
21836         exceptions or fail in directed rounding modes.
21837         * math/auto-libm-test-out: Regenerated.
21838         * math/libm-test.inc (exp10_tonearest_test_data): New array.
21839         (exp10_test_tonearest): New function.
21840         (exp10_towardzero_test_data): New array.
21841         (exp10_test_towardzero): New function.
21842         (exp10_downward_test_data): New array.
21843         (exp10_test_downward): New function.
21844         (exp10_upward_test_data): New array.
21845         (exp10_test_upward): New function.
21846         (main): Call the new functions.
21847         * sysdeps/i386/fpu/libm-test-ulps: Update.
21848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21850 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
21852         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21853         asinh, atan, atan2, atanh, cbrt, cos and cosh.
21854         * math/auto-libm-test-out: Regenerated.
21855         * math/libm-test.inc (acosh_test_data): Add more tests.
21856         (atanh_test_data): Likewise.
21857         (ceil_test_data): Likewise.
21858         (copysign_test_data): Likewise.
21859         * sysdeps/i386/fpu/libm-test-ulps: Update.
21860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21862         * timezone/checktab.awk: Update from tzcode 2013i.
21863         * timezone/private.h: Likewise.
21864         * timezone/scheck.c: Likewise.
21865         * timezone/tzfile.h: Likewise.
21866         * timezone/tzselect.ksh: Likewise.
21867         * timezone/zdump.c: Likewise.
21868         * timezone/zic.c: Likewise.
21870         * math/auto-libm-test-in: Add tests of cpow.
21871         * math/auto-libm-test-out: Regenerated.
21872         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
21873         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21874         mpc_cc_c.
21875         (func_calc_desc): Add mpc_cc_c union field.
21876         (test_functions): Add cpow.
21877         (special_fill_2pi): New function.
21878         (special_real_inputs): Add 2pi.
21879         (calc_generic_results): Handle mpc_cc_c.
21880         * sysdeps/i386/fpu/libm-test-ulps: Update.
21881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21883         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
21884         csqrt, ctan and ctanh.
21885         * math/auto-libm-test-out: Regenerated.
21886         * math/libm-test.inc (TEST_COND_x86_64): New macro.
21887         (TEST_COND_x86): Likewise.
21888         (ccos_test_data): Use AUTO_TESTS_c_c.
21889         (ccosh_test_data): Likewise.
21890         (cexp_test_data): Likewise.
21891         (clog_test_data): Likewise.
21892         (csqrt_test_data): Likewise.
21893         (ctan_test_data): Likewise.
21894         (ctan_tonearest_test_data): Likewise.
21895         (ctan_towardzero_test_data): Likewise.
21896         (ctan_downward_test_data): Likewise.
21897         (ctan_upward_test_data): Likewise.
21898         (ctanh_test_data): Likewise.
21899         (ctanh_tonearest_test_data): Likewise.
21900         (ctanh_towardzero_test_data): Likewise.
21901         (ctanh_downward_test_data): Likewise.
21902         (ctanh_upward_test_data): Likewise.
21903         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21904         mpc_c_c.
21905         (func_calc_desc): Add mpc_c_c union field.
21906         (FUNC_mpc_c_c): New macro.
21907         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
21908         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
21909         ctanh.
21910         (special_fill_min_subnorm_p120): New function.
21911         (special_real_inputs): Add min_subnorm_p120.
21912         (calc_generic_results): Handle mpc_c_c.
21913         * sysdeps/i386/fpu/libm-test-ulps: Update.
21914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21916 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21918         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
21919         (do_sin_slow): New functions.
21920         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
21921         (cslow2, csloww1, csloww2): Use the new functions.
21923         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
21924         Use M to change sign of result instead of X.  Assume X is
21925         positive.
21926         (csloww1): Likewise.
21927         (__sin): Adjust.
21928         (__cos): Adjust.
21930         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
21931         arguments A and DA.
21932         (__sin): Adjust.
21933         (__cos): Likewise.
21935         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
21936         (__cos): Likewise.
21937         (sloww1): Don't adjust sign of DX.
21938         (csloww1): Likewise.
21939         (sloww2): Use X directly and don't adjust sign of DX.
21940         (csloww2): Likewise.
21942 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
21944         * math/auto-libm-test-in: Add tests of cabs and carg.
21945         * math/auto-libm-test-out: Regenerated.
21946         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
21947         (carg_test_data): Likewise.
21948         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21949         mpc_c_f.
21950         (func_calc_desc): Add mpc_c_f union field.
21951         (test_functions): Add cabs and carg.
21952         (calc_generic_results): Handle mpc_c_f.
21954         * sysdeps/powerpc/powerpc32/libgcc-compat.S
21955         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
21956         as a macro and a compat symbol.
21957         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
21958         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
21959         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
21960         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
21961         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
21962         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
21963         not use .hidden.
21964         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
21965         Likewise.
21966         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
21967         Likewise.
21968         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
21969         Likewise.
21970         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
21971         Likewise.
21972         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
21973         Likewise.
21974         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
21975         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
21976         from GLIBC_2.3.2.
21978 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21982 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
21984         * manual/texinfo.tex: Update to version 2013-11-26.10 with
21985         trailing whitespace removed.
21986         * scripts/config.guess: Update to version 2013-11-29.
21987         * scripts/config.sub: Update to version 2013-10-01.
21989         * math/auto-libm-test-in: Add tests of sincos.
21990         * math/auto-libm-test-out: Regenerated.
21991         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
21992         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21993         mpfr_f_11.
21994         (func_calc_desc): Add mpfr_f_11 union field.
21995         (test_functions): Add sincos.
21996         (calc_generic_results): Handle mpfr_f_11.
21997         * sysdeps/i386/fpu/libm-test-ulps: Update.
21998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22000 2013-12-19  Andreas Schwab  <schwab@suse.de>
22002         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
22003         CALL_MCOUNT.
22004         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22005         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
22006         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
22008 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
22010         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
22011         * sysdeps/i386/fpu/libm-test-ulps: Update.
22012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22014         [BZ #16293]
22015         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
22016         round-to-nearest mode when using frndint.
22017         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
22018         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22019         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22020         Likewise.
22021         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
22022         sinh test to fail.
22023         * math/auto-libm-test-out: Regenerated.
22024         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
22025         (TEST_COND_x86): Likewise.
22026         (expm1_tonearest_test_data): New array.
22027         (expm1_test_tonearest): New function.
22028         (expm1_towardzero_test_data): New array.
22029         (expm1_test_towardzero): New function.
22030         (expm1_downward_test_data): New array.
22031         (expm1_test_downward): New function.
22032         (expm1_upward_test_data): New array.
22033         (expm1_test_upward): New function.
22034         (main): Run the new test functions.
22035         * sysdeps/i386/fpu/libm-test-ulps: Update.
22036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22038         * include/features.h: Update comment documenting feature test
22039         macros.  Mention _DEFAULT_SOURCE in comment.
22040         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
22041         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
22042         _BSD_SOURCE and _SVID_SOURCE.
22043         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
22044         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
22045         !_SVID_SOURCE]: Likewise.
22046         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22047         (__USE_POSIX_IMPLICITLY): Define.
22048         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22049         (_POSIX_SOURCE): Undefine and redefine.
22050         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22051         (_POSIX_C_SOURCE): Likewise.
22052         * manual/creature.texi (_DEFAULT_SOURCE): Document.
22053         (Feature Test Macros): Update documentation of default features.
22055 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22057         * benchtests/Makefile: Add bench-strtok.
22058         * benchtests/bench-strtok.c: New file: strtok benchtest.
22060 2013-12-19  Allan McRae  <allan@archlinux.org>
22062         * manual/install.texi: Suppress menu for plain text output.
22063         * INSTALL: Regenerated.
22065 2013-12-18  Brooks Moses  <bmoses@google.com>
22067         [BZ #15846]
22068         * misc/getauxval.c: Include errno.h.
22069         (__getauxval): Set errno to ENOENT if the requested type is not
22070         found.
22071         * misc/sys/auxv.h (getauxval): Document that it may set errno;
22072         don't declare with __attribute_const__.
22073         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
22074         * manual/startup.texi: Document that getauxval sets errno.
22076 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
22078         * math/auto-libm-test-in: Add tests of jn and yn.
22079         * math/auto-libm-test-out: Regenerated.
22080         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
22081         (yn_test_data): Likewise.
22082         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22083         mpfr_if_f.
22084         (func_calc_desc): Add mpfr_if_f union field.
22085         (FUNC_mpfr_if_f): New macro.
22086         (test_functions): Add jn and yn.
22087         (calc_generic_results): Assert type of second input for
22088         mpfr_ff_f.  Handle mpfr_if_f.
22089         (output_for_one_input_case): Disable all checking for arguments
22090         fitting floating-point types in case of an integer argument.
22091         * sysdeps/i386/fpu/libm-test-ulps: Update.
22092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22095         Don't expect fegetround reference in libm.so.
22097 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22099         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
22100         $(config-cflags-nofma).
22102 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
22104         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
22105         * math/auto-libm-test-out: Regenerated.
22107         [BZ #16338]
22108         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
22109         to determine exponent and adjust argument to have exponent of -1.
22110         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
22111         log2.
22112         * math/auto-libm-test-out: Regenerated.
22113         * sysdeps/i386/fpu/libm-test-ulps: Update.
22114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22116 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
22118         * manual/probes.texi: Remove cases when per-thread arenas are
22119         disabled.
22121 2013-12-18  Andreas Schwab  <schwab@suse.de>
22123         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
22124         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
22125         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
22126         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
22127         * sysdeps/i386/i686/multiarch/Makefile: Update.
22128         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
22130 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
22132         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
22133         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
22135 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
22137         [BZ #15968]
22138         Support TZ transition times < 00:00:00.
22139         This is needed for version-3 tz-format files; it supports time
22140         stamps past 2037 for America/Godthab (the only entry in the tz
22141         database for which this change is relevant).
22142         * manual/time.texi (TZ Variable): Document transition times
22143         from -167:59:59 through -00:00:01.
22144         * time/tzset.c (tz_rule): Time of day is now signed.
22145         (__tzset_parse_tz): Parse negative time of day.
22147         Document TZ transition times >= 25:00:00.
22148         * manual/time.texi (TZ Variable): Document transition times from
22149         25:00:00 through 167:59:59.  These are already supported, and this
22150         support will help with version-3 tz-format files.
22152         * manual/time.texi (TZ Variable): Modernize North America example
22153         to reflect current (i.e., 2007-and-later) daylight saving rules.
22155         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
22157 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
22159         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
22160         * sysdeps/unix/bsd/bits/stat.h: Likewise.
22161         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
22162         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22163         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
22164         * sysdeps/unix/bsd/bsdstat.h: Likewise.
22165         * sysdeps/unix/bsd/clock.c: Likewise.
22166         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
22167         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
22168         * sysdeps/unix/bsd/init-posix.c: Likewise.
22169         * sysdeps/unix/bsd/poll.c: Likewise.
22170         * sysdeps/unix/bsd/ptsname.c: Likewise.
22171         * sysdeps/unix/bsd/seekdir.c: Likewise.
22172         * sysdeps/unix/bsd/setegid.c: Likewise.
22173         * sysdeps/unix/bsd/seteuid.c: Likewise.
22174         * sysdeps/unix/bsd/setgid.c: Likewise.
22175         * sysdeps/unix/bsd/setrgid.c: Likewise.
22176         * sysdeps/unix/bsd/setruid.c: Likewise.
22177         * sysdeps/unix/bsd/setsid.c: Likewise.
22178         * sysdeps/unix/bsd/setuid.c: Likewise.
22179         * sysdeps/unix/bsd/sigaction.c: Likewise.
22180         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
22181         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
22182         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
22183         * sysdeps/unix/bsd/telldir.c: Likewise.
22184         * sysdeps/unix/bsd/times.c: Likewise.
22185         * sysdeps/unix/bsd/usleep.c: Likewise.
22187         * misc/Makefile (install-lib): Remove libbsd-compat.a.
22188         ($(objpfx)libbsd-compat.a): Remove rule.
22190         * include/features.h (__FAVOR_BSD): Do not define.
22191         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
22192         features conflicting with POSIX.
22193         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
22194         (_BSD_SOURCE): Remove description of not being a subset of other
22195         feature test macros.
22196         * manual/job.texi (getpgrp): Do not document BSD version.
22197         (getpgid): Do not document by reference to BSD getpgrp.
22198         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
22199         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
22200         * signal/signal.h [__FAVOR_BSD]: Likewise.
22201         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
22202         instead of making contents conditional on [__FAVOR_BSD].
22203         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
22205 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22209 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
22211         [BZ #16314]
22212         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
22213         values below 2**-450, not 2**-500.
22214         * math/auto-libm-test-in: Don't allow spurious underflow from
22215         hypot.
22216         * math/auto-libm-test-out: Regenerated.
22218         [BZ #16316]
22219         [BZ #16330]
22220         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
22221         values of ha and hb and sort them after adjusting subnormal
22222         arguments.
22223         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
22224         Likewise.
22225         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
22226         values of ea and eb and sort them after adjusting subnormal
22227         arguments.
22228         * math/auto-libm-test-in: Do not expect some hypot tests of
22229         subnormals to fail.  Add more hypot tests.
22230         * math/auto-libm-test-out: Regenerated.
22232 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22234         [BZ #13304]
22235         * sysdeps/sh/s_fma.c: New file.
22236         * sysdeps/sh/s_fmaf.c: New file.
22237         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
22238         version.
22239         * sysdeps/sh/Implies: Add sh/soft-fp.
22241 2013-12-16  Roland McGrath  <roland@hack.frob.com>
22243         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
22244         level of indirection to members `objname', `errstring', `malloced'.
22245         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
22246         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
22247         it as the __longjmp argument (just pass 1 instead).
22248         (_dl_catch_error): Initialize C with argument pointers and address of
22249         volatile local ERRCODE rather than copying values out of C at return.
22251 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
22253         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
22254         * math/auto-libm-test-out: Regenerated.
22255         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
22256         (hypot_test_data): Likewise.
22257         (pow_test_data): Likewise.
22258         (pow_tonearest_test_data): Likewise.
22259         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22260         mpfr_ff_f.
22261         (func_calc_desc): Add mpfr_ff_f union field.
22262         (FUNC_mpfr_ff_f): New macro.
22263         (test_functions): Add atan2, hypot and pow.
22264         (special_fill_min): New function.
22265         (special_fill_minus_min): Likewise.
22266         (special_fill_min_subnorm): Likewise.
22267         (special_fill_minus_min_subnorm): Likewise.
22268         (special_real_inputs): Add min, -min, min_subnorm and
22269         -min_subnorm.
22270         (calc_generic_results): Handle mpfr_ff_f.
22271         * sysdeps/i386/fpu/libm-test-ulps: Update.
22272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22274 2013-12-16  Will Newton  <will.newton@linaro.org>
22276         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
22277         (Aligned Memory Blocks): Add documentation for aligned_alloc
22278         and suggest it as an alternative to posix_memalign.
22279         (Hooks for Malloc): Document __memalign_hook is also called
22280         for aligned_alloc.  (Summary of Malloc): Add summary for
22281         aligned alloc.  Document __memalign_hook is also called
22282         for aligned_alloc.
22284 2013-12-16  Will Newton  <will.newton@linaro.org>
22286         * manual/memory.texi (Malloc Examples): Clarify default
22287         alignment documentation.  Suggest posix_memalign rather
22288         than memalign or valloc.
22289         (Aligned Memory Blocks): Remove suggestion to use memalign
22290         or valloc.  Remove obsolete comment about BSD.
22291         Document memalign errno values and mark the function obsolete.
22292         Document posix_memalign returned error codes.  Mark valloc
22293         as obsolete.  (Hooks for Malloc): __memalign_hook is also
22294         called for posix_memalign and valloc.
22295         (Summary of Malloc): Add posix_memalign to function summary.
22296         __memalign_hook is also called for posix_memalign and valloc.
22298 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22300         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
22301         TAYLOR_SIN.
22302         (__sin): Adjust.
22303         (__cos): Likewise.
22304         (sloww): Use mynumber union.  Expand ternary operator into
22305         if-else statements.
22306         (cslow): use mynumber union.
22308 2013-12-16  Allan McRae  <allan@archlinux.org>
22310         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
22311         * configure: Regenerated.
22313         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
22315         [BZ #14120]
22316         * configure.ac: Added --enable-maintainer-mode. Check for
22317         autoconf when enabled.
22318         * configure: Regenerated.
22320         * nscd/nscd.service: New file.
22321         * nscd/nscd.tmpfiles: New file.
22323 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
22325         [BZ #12100]
22326         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
22327         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
22328         * sysdeps/x86_64/multiarch/strstr.c: ... here.
22329         (strstr): Add __strstr_sse2_unaligned ifunc.
22330         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
22331         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
22332         (strcasestr): Remove __strcasestr_sse42 ifunc.
22333         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
22334         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22335         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22337 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22339         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
22340         * sysdeps/sh/bits/fenv.h: ... here.
22341         * sysdeps/sh/sh4/fpu/bits: Remove directory.
22343 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22345         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
22347         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
22348         hypotf multiarch implementations.
22349         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
22350         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
22351         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
22352         multiarch hypot for PPC64.
22353         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
22354         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
22355         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
22356         multiarch hypotf for PPC64.
22358         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
22359         modff multiarch implementations.
22360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
22361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
22362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
22363         multiarch modf for PPC64.
22364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
22365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
22366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
22367         multiarch modff for PPC64.
22369         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
22370         and logl multiarch implementations.
22371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
22372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
22373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
22374         multiarch logb for PPC64.
22375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
22376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
22377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
22378         multiarch logb for PPC64.
22379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
22380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
22381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
22382         multiarch logb for PPC64.
22384         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
22385         isinff multiarch implementation.
22386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
22387         file.
22388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
22389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
22390         multiarch isinf for PPC64.
22391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
22392         file.
22393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
22394         multiarch isinff for PPC64.
22396         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
22397         finitef multiarch implementation.
22398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
22399         file.
22400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
22401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
22402         multiarch finite for PPC64.
22403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
22404         file.
22405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
22406         multiarch finitef for PPC64.
22408         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
22409         lrint multiarch implementation.
22410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
22411         file.
22412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
22413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
22414         multiarch llrint for PPC64.
22415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
22416         multiarch lrint for PPC64.
22418         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
22419         copysignf multiarch implementation.
22420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
22421         file.
22422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
22423         file.
22424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
22425         multiarch copysign for PPC64.
22426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
22427         multiarch copysignf for PPC64.
22429         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
22430         multiarch implementation.
22431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
22432         file.
22433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
22434         file.
22435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
22436         file.
22437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
22438         file.
22439         multiarch llround for PPC64.
22440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
22441         multiarch trunc for PPC64.
22442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
22443         multiarch truncf for PPC64.
22445         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
22446         multiarch implementation.
22447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
22448         file.
22449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
22450         file.
22451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
22452         file.
22453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
22454         file.
22455         multiarch llround for PPC64.
22456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
22457         multiarch round for PPC64.
22458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
22459         multiarch roundf for PPC64.
22461         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
22462         multiarch implementation.
22463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
22464         file.
22465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
22466         file.
22467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
22468         file.
22469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
22470         file.
22471         multiarch llround for PPC64.
22472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
22473         multiarch floor for PPC64.
22474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
22475         multiarch floorf for PPC64.
22477         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
22478         multiarch implementation.
22479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
22480         file.
22481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
22482         file.
22483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
22484         file.
22485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
22486         file.
22487         multiarch llround for PPC64.
22488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
22489         multiarch ceil for PPC64.
22490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
22491         multiarch ceilf for PPC64.
22493         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22494         multiarch implementation.
22495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
22496         file.
22497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
22498         file.
22499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
22500         file.
22501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
22502         multiarch llround for PPC64.
22503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
22504         multiarch lround for PPC64.
22506         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22507         multiarch implementation.
22508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
22509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
22510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
22511         file.
22512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
22513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
22514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
22515         multiarch isnan for PPC64.
22516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
22517         multiarch isnanf for PPC64.
22519         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
22520         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
22521         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
22522         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
22523         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
22524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
22526         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
22527         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22528         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22529         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22531         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
22532         multiarch implementations.
22533         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22534         (__libc_ifunc_impl_list): Likewise.
22535         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22536         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
22537         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
22538         multiarch stpcpy for PPC64.
22540         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
22541         multiarch implementations.
22542         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22543         (__libc_ifunc_impl_list): Likewise.
22544         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
22545         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
22546         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
22547         multiarch strcpy for PPC64.
22549         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
22550         redefine function name.
22551         (_wordcopy_fwd_dest_aligned): Likewise.
22552         (_wordcopy_bwd_aligned): Likewise.
22553         (_wordcopy_bwd_dest_aligned): Likewise.
22554         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
22555         multiarch implementations.
22556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22557         (__libc_ifunc_impl_list): Likewise.
22558         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
22559         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
22560         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
22561         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
22562         multiarch wcscpy for PPC64.
22564         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
22565         multiarch implementations.
22566         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22567         (__libc_ifunc_impl_list): Likewise.
22568         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
22569         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
22570         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
22571         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
22572         multiarch wcscpy for PPC64.
22574         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
22575         multiarch implementations.
22576         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22577         (__libc_ifunc_impl_list): Likewise.
22578         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
22579         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
22580         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
22581         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
22582         multiarch wcsrchr for PPC64.
22584         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
22585         multiarch implementations.
22586         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22587         (__libc_ifunc_impl_list): Likewise.
22588         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
22589         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
22590         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
22591         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
22592         multiarch wcschr for PPC64.
22594         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
22595         multiarch implementations.
22596         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22597         (__libc_ifunc_impl_list): Likewise.
22598         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
22599         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
22600         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
22601         multiarch strchrnul for PPC64.
22603         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
22604         implementations.
22605         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22606         (__libc_ifunc_impl_list): Likewise.
22607         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
22608         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
22609         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
22610         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
22611         strchr for PPC64.
22613         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
22614         implementations.
22615         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22616         (__libc_ifunc_impl_list): Likewise.
22617         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
22618         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
22619         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
22620         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
22621         strncmp for PPC64.
22623         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
22624         multiarch implementations.
22625         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22626         (__libc_ifunc_impl_list): Likewise.
22627         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
22628         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
22629         strncasecmp for PPC64.
22630         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
22631         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
22632         multiarch strncasecmp_l for PPC64.
22634         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
22635         multiarch implementations.
22636         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22637         (__libc_ifunc_impl_list): Likewise.
22638         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
22639         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
22640         multiarch strcasecmp for PPC64.
22641         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
22642         file.
22643         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
22644         multiarch strcasecmp_l for PPC64.
22646         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
22647         implementations.
22648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22649         (__libc_ifunc_impl_list): Likewise.
22650         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
22651         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
22652         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
22653         strnlen for PPC64.
22655         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
22656         implementations.
22657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22658         (__libc_ifunc_impl_list): Likewise.
22659         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
22660         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
22661         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
22662         strlen for PPC64.
22664         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
22665         implementations.
22666         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22667         (__libc_ifunc_impl_list): Likewise.
22668         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
22669         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
22670         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
22671         rawmemrchr for PPC64.
22673         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
22674         implementation.
22675         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22676         (__libc_ifunc_impl_list): Likewise.
22677         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
22678         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
22679         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
22680         memrchr for PPC64.
22682         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
22683         implementation.
22684         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22685         (__libc_ifunc_impl_list): Likewise.
22686         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
22687         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
22688         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
22689         memchr for PPC64.
22691         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
22692         implementation.
22693         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22694         (__libc_ifunc_impl_list): Likewise.
22695         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
22696         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
22697         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
22698         mempcpy for PPC64.
22700         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
22701         avoid cretion of __bzero symbol.
22702         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
22703         Likewise.
22704         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
22705         Likewise.
22706         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
22707         Likewise.
22708         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
22709         multiarch implementations.
22710         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22711         (__libc_ifunc_impl_list): Likewise.
22712         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
22713         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
22714         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
22715         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
22716         bzero for PPC32.
22717         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
22718         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
22719         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
22720         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
22721         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
22722         memset for PPC64.
22723         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
22725         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
22726         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
22727         implementations.
22728         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22729         (__libc_ifunc_impl_list): Likewise.
22730         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
22731         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
22732         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
22733         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
22734         memcmp for PPC64.
22736         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
22737         multiarch for POWER/PPC64.
22738         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
22739         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
22740         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
22741         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
22742         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
22743         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
22744         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
22745         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
22746         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
22747         memcpy for PPC64.
22749         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
22750         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
22751         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
22752         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
22753         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
22754         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
22755         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
22756         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
22757         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
22758         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
22759         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
22760         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
22761         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
22762         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
22763         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
22764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
22765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
22766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
22767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
22768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
22769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
22770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
22772 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22774         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
22776 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22778         * benchtests/Makefile (bench): Add exp2 and log2.
22779         (LDLIBS-bench-exp2): Add -lm.
22780         (LDLIBS-bench-log2): Likewise.
22781         * benchtests/exp2-inputs: New inputs file.
22782         * benchtests/log2-inputs: New inputs file.
22783         * benchtests/log-inputs: Add new inputs.
22784         * benchtests/tan-inputs: Likewise.
22786 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22788         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
22789         definition...
22790         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
22791         (csloww2): ... from here.
22793         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
22794         instead of structures.
22795         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
22796         (POLYNOMIAL): Likewise.
22797         (TAYLOR_SLOW): Likewise.
22798         (__sin): Likewise.
22799         (__cos): Likewise.
22800         (slow1): Likewise.
22801         (slow2): Likewise.
22802         (sloww): Likewise.
22803         (sloww1); Likewise.
22804         (sloww2): Likewise.
22805         (bsloww1): Likewise.
22806         (bsloww2): Likewise.
22807         (cslow2): Likewise.
22808         (csloww): Likewise.
22809         (csloww1): Likewise.
22810         (csloww2): Likewise.
22812 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
22814         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
22815         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
22816         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
22817         * malloc/hooks.c (realloc_check): Likewise.
22819         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
22820         * malloc/arena.c: Remove PER_THREAD conditional.
22821         [!PER_THREAD]: Remove code.
22822         (ptmalloc_unlock_all2): Likewise.
22823         (ptmalloc_init): Likewise.
22824         (_int_new_arena): Likewise.
22825         (arena_get2): Likewise.
22826         * malloc/hooks.c (__malloc_get_state): Likewise.
22827         (__malloc_set_state): Likewise.
22828         * malloc/malloc.c: Likewise.
22829         (struct malloc_state): Likewise.
22830         (struct malloc_par): Likewise.
22831         (__libc_realloc): Likewise.
22832         (__libc_mallopt): Likewise.
22834 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22836         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
22838 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
22840         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
22841         macro to a function.  Check for zero perturb_byte.
22842         (_int_malloc, _int_free): Remove zero perturb_byte checks.
22844         * malloc/malloc.c: (force_reg): Remove.
22845         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
22846         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
22847         force_reg by atomic_forced_read.
22848         * malloc/arena.c (ptmalloc_init): Likewise.
22849         * malloc/hooks.c (top_check): Likewise.
22851 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22853         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22855 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
22857         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22859 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
22861         * math/auto-libm-test-in: Add tests of lgamma.
22862         * math/auto-libm-test-out: Regenerated.
22863         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
22864         (M_LOG_2_SQRT_PIl): Likewise.
22865         (lgamma_test_data): Use AUTO_TESTS_f_f1.
22866         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22867         mpfr_f_f1.
22868         (func_calc_desc): Add mpfr_f_f1 union field.
22869         (ARGS1): New macro.
22870         (ARGS2): Likewise.
22871         (ARGS3): Likewise.
22872         (ARGS4): Likewise.
22873         (RET1): Likewise.
22874         (RET2): Likewise.
22875         (CALC): Likewise.
22876         (FUNC): Likewise.
22877         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
22878         (test_functions): Add lgamma.
22879         (calc_generic_results): Handle mpfr_f_f1.
22880         * sysdeps/i386/fpu/libm-test-ulps: Update.
22881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22883 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22885         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
22886         __mpn_add_n for PowerPC64/POWER7.
22887         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
22888         __mpn_sub_n for PowerPC64/POWER7.
22890         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
22891         __mpn_addmul_1 for PowerPC64.
22892         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
22893         __mpn_submul_1 for PowerPC64.
22894         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
22895         for PowerPC64.
22896         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
22897         for PowerPC64.
22899 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
22901         [BZ #15089]
22902         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
22904 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22906         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
22908         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
22909         add multiarch folders.
22910         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
22911         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
22912         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
22913         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
22914         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
22915         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
22916         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
22917         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
22918         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
22919         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
22920         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
22921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
22922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
22923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
22924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
22925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
22926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
22928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
22929         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
22930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
22931         New file.
22932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
22933         New file.
22934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
22935         multiarch __ieee754_hypot for PowerPC32.
22936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
22937         New file.
22938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
22939         New file.
22940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
22941         multiarch __ieee754_hypotf for PowerPC32.
22943         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
22944         long_double_symbol only if __logbl is defined.
22945         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
22946         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
22947         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
22948         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
22949         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
22950         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
22951         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
22952         path for implementation.
22953         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
22954         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
22955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
22956         logb, and logbl multiarch implementations for PowerPC32.
22957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
22958         file.
22959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
22960         file.
22961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
22962         multiarch logb for PowerPC32.
22963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
22964         file.
22965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
22966         file.
22967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
22968         multiarch logbf for PowerPC32.
22969         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
22970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
22971         file.
22972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
22973         multiarch logbl implementation for PowerPC32.
22975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
22976         and modff multiarch implementations.
22977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
22978         New file.
22979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
22980         New file.
22981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
22982         multiarch modf for PowerPC32.
22983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
22984         New file.
22985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
22986         New file.
22987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
22988         multiarch modff for PowerPC32.
22990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
22991         and lrintf multiarch implementations.
22992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
22993         New file.
22994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
22995         New file.
22996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
22997         multiarch lrint for PowerPC32.
22998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
22999         file: multiarch lrintf for PowerPC32.
23001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
23002         and lroundf multiarch implementations.
23003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
23004         New file.
23005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
23006         New file.
23007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
23008         New file.
23009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
23010         multiarch lround for PowerPC32.
23011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
23012         file: multiarch lroundf for PowerPC32.
23014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23015         copysign and copysignf multiarch implementations.
23016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
23017         New file.
23018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
23019         New file.
23020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
23021         file: multiarch copysign for PowerPC32.
23022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
23023         file: multiarch copysignf for PowerPC32.
23025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
23026         and truncf multiarch implementations.
23027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
23028         New file.
23029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
23030         file.
23031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
23032         multiarch trunc for PowerPC32.
23033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
23034         New file.
23035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
23036         New file.
23037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
23038         multiarch truncf for PowerPC32.
23040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
23041         and roundf multiarch implementations.
23042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
23043         New file.
23044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
23045         file.
23046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
23047         multiarch round for PowerPC32.
23048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
23049         New file.
23050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
23051         New file.
23052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
23053         multiarch roundf for PowerPC32.
23055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
23056         and floorf multiarch implementations.
23057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
23058         New file.
23059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
23060         file.
23061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
23062         multiarch floor for PowerPC32.
23063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
23064         New file.
23065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
23066         New file.
23067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
23068         multiarch floorf for PowerPC32.
23070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
23071         and ceilf multiarch implementations.
23072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
23073         New file.
23074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
23075         file.
23076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
23077         multiarch ceil for PowerPC32.
23078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
23079         New file.
23080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
23081         file.
23082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
23083         multiarch ceilf for PowerPC32.
23085         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
23086         is defined.
23087         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
23088         FINITEF is defined.
23089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
23090         and finitef multiarch implementations.
23091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
23092         New file.
23093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
23094         file.
23095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
23096         multiarch finite for PowerPC32.
23097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
23098         New file.
23099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
23100         file: multiarch finitef for PowerPC32.
23102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
23103         and isinff multiarch implementations.
23104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
23105         file.
23106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
23107         file.
23108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
23109         multiarch isinf for PowerPC32.
23110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
23111         New file.
23112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
23113         multiarch isinff for PowerPC32.
23115         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
23116         alias when __isnan is defined.
23117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
23118         and isnanf multiarch implementations.
23119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
23120         file.
23121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
23122         file.
23123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
23124         file.
23125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
23126         file.
23127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
23128         multiarch isnan for PowerPC32.
23129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
23130         New file.
23131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
23132         New file.
23133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
23134         multiarch isnanf for PowerPC32.
23136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
23137         and sqrtf multiarch implementations.
23138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
23139         file.
23140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
23141         file.
23142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
23143         multiarch sqrt for PowerPC32.
23144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
23145         file.
23146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
23147         file.
23148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
23149         multiarch sqrtf for PowerPC32.
23151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
23152         and llroundf multiarch implementations.
23153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
23154         New file.
23155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
23156         New file.
23157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
23158         New file.
23159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
23160         file: multiarch llround for PowerPC32.
23161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
23162         file: multiarch llroundf for PowerPC32.
23164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
23165         multiarch PowerPC32 fpu implementations.
23166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
23167         New file.
23168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
23169         New file.
23170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
23171         multiarch llrint for PowerPC32.
23172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
23173         New file.
23174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
23175         New file.
23176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
23177         file.
23179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
23181         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
23182         file.
23183         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
23184         file.
23185         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
23186         file.
23187         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
23188         multiarch wordcopy for PPC32.
23189         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23190         wordcopy objects.
23191         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23192         (__libc_ifunc_impl_list): Likewise.
23193         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
23194         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
23195         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
23196         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
23197         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
23198         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
23200         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
23201         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
23202         file.
23203         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
23204         file.
23205         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
23206         file.
23207         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
23208         multiarch wcscpy for PPC32.
23209         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23210         multiarch objects.
23211         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23212         (__libc_ifunc_impl_list): Likewise.
23213         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23214         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23215         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
23216         sysdeps/powerpc/power6/wcscpy.c.
23218         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
23219         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
23220         file.
23221         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
23222         file.
23223         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
23224         file.
23225         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
23226         multiarch wcsrchr for PPC32.
23227         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23228         multiarch objects.
23229         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23230         (__libc_ifunc_impl_list): Likewise.
23231         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23232         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23233         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
23234         sysdeps/powerpc/power6/wcsrchr.c.
23236         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
23237         file.
23238         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
23239         file.
23240         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
23241         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
23242         multiarch wcschr for PPc32.
23243         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23244         multiarch objects.
23245         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23246         (__libc_ifunc_impl_list): Likewise.
23247         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
23248         * sysdeps/powerpc/power6/wcschr.c: ... to here.
23249         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
23250         sysdeps/powerpc/power6/wcschr.c.
23252         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
23253         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
23254         file.
23255         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
23256         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
23257         file: multiarch strchr for PPC32.
23258         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
23259         multiarch objects.
23260         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23261         (__libc_ifunc_impl_list): Likewise.
23263         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
23264         name.
23265         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
23266         file.
23267         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
23268         file.
23269         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
23270         multiarch strchrnul for PPC32.
23271         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
23272         multiarch objects.
23273         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23274         (__libc_ifunc_impl_list): Likewise.
23276         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
23277         file.
23278         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
23279         multiarch strncasecmp for PPC32.
23280         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
23281         file.
23282         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
23283         multiarch strncasecmp_l for PPC32.
23284         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
23285         strncasecmp multiarch objects.
23286         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23287         (__libc_ifunc_impl_list): Likewise.
23289         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
23290         file.
23291         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
23292         multiarch strncasecmp for PPC32.
23293         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23294         New file.
23295         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
23296         multiarch strcasecmp_l for PPC32.
23297         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
23298         multiarch objects.
23299         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23300         (__libc_ifunc_impl_list): Likewise.
23302         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
23303         file.
23304         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
23305         file.
23306         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
23307         multiarch strncmp for PPC32.
23308         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
23309         multiarch objects.
23310         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23311         (__libc_ifunc_impl_list): Likewise.
23313         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
23314         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
23315         file.
23316         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
23317         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
23318         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
23319         multiarch objects.
23320         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23321         (__libc_ifunc_impl_list): Likewise.
23323         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
23324         file.
23325         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
23326         file.
23327         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
23328         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
23329         multiarch objects.
23330         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23331         (__libc_ifunc_impl_list): Likewise.
23333         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
23334         file.
23335         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
23336         file.
23337         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
23338         multiarch rawmemchr for PPC32.
23339         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
23340         multiarch objects.
23341         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23342         (__libc_ifunc_impl_list): Likewise.
23344         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
23345         file.
23346         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
23347         file.
23348         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
23349         file: memrchr multiarch for PPC32.
23350         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
23351         multiarch objects.
23352         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23353         (__libc_ifunc_impl_list): Likewise.
23355         * string/memchr.c (__memchr): Using macro to redefine symbol name.
23356         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
23357         file.
23358         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
23359         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
23360         multiarch memchr for PPC32.
23361         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
23362         multiarch objects.
23363         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23364         (__libc_ifunc_impl_list): Likewise.
23366         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
23367         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
23368         file.
23369         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
23370         file.
23371         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
23372         file: multiarch mempcpy for PPC32.
23373         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
23374         multiarch objects.
23375         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23376         (__libc_ifunc_impl_list): Likewise.
23378         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
23379         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
23380         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
23381         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
23382         multiarch bzero for PPC32.
23383         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
23384         file.
23385         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
23386         file.
23387         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
23388         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
23389         file: multiarch memset for PPC32.
23390         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
23391         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
23392         memset multiarch objects.
23393         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23394         (__libc_ifunc_impl_list): Likewise.
23396         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
23397         file.
23398         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
23399         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
23400         memcmp for PPC32.
23401         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
23402         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
23403         multiarch objects.
23404         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23405         (__libc_ifunc_impl_list): Likewise.
23407         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
23408         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
23409         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
23410         file.
23411         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
23412         file.
23413         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
23414         file.
23415         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
23416         multiarch memcpy for PPC32.
23417         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
23418         multiarch objects.
23419         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23420         (__libc_ifunc_impl_list): Likewise.
23422         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
23423         support multiarch for POWER/PPC32.
23424         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
23425         Likewise.
23426         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
23427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
23428         Implies file to make multiarch folder appers before the fpu and
23429         default folder for power4 configuration.
23431 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23433         * scripts/bench.pl: Append volatile keyword to type.
23435 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23437         * sysdeps/sh/sotruss-lib.c: New file.
23438         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
23440 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23444 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
23446         [BZ #6810]
23447         * math/w_tgamma.c: Include <errno.h>.
23448         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
23449         * math/w_tgammaf.c: Include <errno.h>.
23450         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
23451         * math/w_tgammal.c: Include <errno.h>.
23452         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
23453         * math/auto-libm-test-in: Do not allow missing errno on tgamma
23454         underflow.  Add more tgamma tests.
23455         * math/auto-libm-test-out: Regenerated.
23456         * sysdeps/i386/fpu/libm-test-ulps: Update.
23457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23459         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
23460         sin, sinh, tan, tanh, tgamma, y0 and y1.
23461         * math/auto-libm-test-out: Regenerated.
23462         * math/libm-test.inc (TEST_COND_x86_64): New macro.
23463         (TEST_COND_x86): Likewise.
23464         (M_E2l): Remove macro.
23465         (M_E3l): Likewise.
23466         (M_2_SQRT_PIl): Likewise.
23467         (M_SQRT_PIl): Likewise.
23468         (M_1_DIV_El): Likewise.
23469         (log_test_data): Use AUTO_TESTS_f_f.
23470         (log10_test_data): Likewise.
23471         (log1p_test_data): Likewise.
23472         (log2_test_data): Likewise.
23473         (sin_test_data): Likewise.
23474         (sin_tonearest_test_data): Likewise.
23475         (sin_towardzero_test_data): Likewise.
23476         (sin_downward_test_data): Likewise.
23477         (sin_upward_test_data): Likewise.
23478         (sinh_test_data): Likewise.
23479         (sinh_tonearest_test_data): Likewise.
23480         (sinh_towardzero_test_data): Likewise.
23481         (sinh_downward_test_data): Likewise.
23482         (sinh_upward_test_data): Likewise.
23483         (tan_test_data): Likewise.
23484         (tan_tonearest_test_data): Likewise.
23485         (tan_towardzero_test_data): Likewise.
23486         (tan_downward_test_data): Likewise.
23487         (tan_upward_test_data): Likewise.
23488         (tanh_test_data): Likewise.
23489         (tgamma_test_data): Likewise.
23490         (y0_test_data): Likewise.
23491         (y1_test_data): Likewise.
23492         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
23493         (special_real_inputs): Add pi/4.
23494         * sysdeps/i386/fpu/libm-test-ulps: Update.
23495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23497 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23499         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
23500         "longjmp_target" static probes.
23501         (__longjmp): Rename to __longjmp_symbol.
23502         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23503         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
23504         on which longjmp to generate.
23505         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23506         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
23507         probe.
23508         (__sigsetjmp): Rename to __sigsetjmp_symbol.
23509         (__sigjmp_save): Rename to __sigjmp_save_symbol.
23510         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23511         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
23512         and __sigjmp_save_symbol based on which sigsetjmp to generated.
23513         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
23514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
23515         __longjmp_symbol based on which __longjmp to generate.
23516         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
23517         probe.
23518         (setjmp): Rename to setjmp_symbol.
23519         (__sigsetjmp): Rename to __sigsetjmp_symbol.
23520         (_setjmp): Rename to _setjmp_symbol.
23521         (__sigsetjmp): Rename to __sigsetjmp_symbol.
23522         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
23523         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
23524         which setjmp to generate.
23525         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
23526         "longjmp_target" static probes.
23528 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23530         * benchtests/README: Add note about output arguments.
23531         * benchtests/bench-sincos.c: Remove file.
23532         * benchtests/sincos-inputs: New file.
23533         * scripts/bench.pl: Identify output arguments and define
23534         static variables for them.
23536         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
23538         [BZ #15941]
23539         * Makefile (INSTALL): Add install-plain.texi as the primary
23540         dependency.
23541         * manual/install-plain.texi: New file.
23542         * manual/install.texi: Include node directive only for
23543         non-plaintext output.
23545 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
23547         * stdlib/longlong.h: Update from GCC.
23549         [BZ #6807]
23550         [BZ #15901]
23551         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
23552         * math/w_j0f.c (y0f): Likewise.
23553         * math/w_j0l.c (__y0l): Likewise.
23554         * math/w_j1.c (y1): Likewise.
23555         * math/w_j1f.c (y1f): Likewise.
23556         * math/w_j1l.c (__y1l): Likewise
23557         * math/w_jn.c (yn): Likewise.
23558         * math/w_jnf.c (ynf): Likewise.
23559         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
23560         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
23561         value for Bessel function domain errors outside _SVID_ mode.
23562         Adjust sign of return value for yn (negative integer, 0).
23563         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
23564         by zero in return for negative x and set sign appropriately for
23565         negative n.
23566         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
23567         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23568         * math/libm-test.inc (y0_test_data): Add more tests and adjust
23569         expectations in error cases.
23570         (y1_test_data): Likewise.
23571         (yn_test_data): Likewise.
23572         * sysdeps/i386/fpu/libm-test-ulps: Update.
23573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23575 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23577         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
23578         "64" to "64-v1".  Add "64-v2".
23579         (abi-64-options): Rename to ...
23580         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
23581         (abi-64-condition): Rename to ...
23582         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
23583         (abi-64-ld-soname): Rename to ...
23584         (abi-64-v1-ld-soname): ... this.
23585         (abi-64-v2-options): Define.
23586         (abi-64-v2-condition): Likewise.
23587         (abi-64-v2-ld-soname): Likewise.
23588         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
23589         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
23590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
23591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
23592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
23594 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23595             Alan Modra  <amodra@gmail.com>
23597         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
23598         New versions for use with the ELFv2 ABI.
23599         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
23600         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
23601         declaration.
23602         (struct La_ppc64v2_retval): Likewise.
23603         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
23604         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
23605         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
23606         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
23607         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
23608         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23609         Do not save or restore CR.
23610         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
23611         (_dl_profile_resolve): Do no save or restore CR.  Support extended
23612         return values for ELFv2 ABI.  Fix location of FPR return registers.
23613         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
23614         updated values for _CALL_ELF == 2.
23615         (La_regs, La_retval, int_retval): Likewise.
23617 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23619         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
23620         (FRAME_MIN_SIZE_PARM): Likewise.
23621         (FRAME_BACKCHAIN): Likewise.
23622         (FRAME_CR_SAVE): Likewise.
23623         (FRAME_LR_SAVE): Likewise.
23624         (FRAME_TOC_SAVE): Likewise.
23625         (FRAME_PARM_SAVE): Likewise.
23626         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
23627         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
23628         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
23629         (call_mcount_parm_offset): New macro.
23630         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
23631         (PROF): Use symbolic stack frame offsets.
23632         (TAIL_CALL_SYSCALL_ERROR): Likewise.
23633         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
23634         Redefine in terms of FRAME_MIN_SIZE.
23635         (_dl_runtime_resolve): Use symbolic stack frame offsets.
23636         (_dl_profile_resolve): Likewise.  Update comment.
23637         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
23638         symbols stack frame offsets.
23639         (__sigsetjmp): Likewise.
23640         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
23641         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
23642         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
23643         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
23645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
23646         (FRAME_BACKCHAIN): Remove.
23647         (FRAME_CR_SAVE): Likewise.
23648         (FRAME_LR_SAVE): Likewise.
23649         (FRAME_COMPILER_DW): Likewise.
23650         (FRAME_LINKER_DW): Likewise.
23651         (FRAME_TOC_SAVE): Likewise.
23652         (FRAME_PARM_SAVE): Likewise.
23653         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
23654         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
23655         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
23656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
23657         (CHECK_SP): Use symbolic stack frame offsets.
23658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
23659         zone" instead of caller's parameter save area for temp storage.
23660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23661         Likewise.  Also, use symbolic stack frame offsets.
23662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
23663         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
23664         our own stack frame instead of the caller's.
23665         (__socket): Use symbolic stack frame offsets.
23667 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23668             Alan Modra  <amodra@gmail.com>
23670         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
23671         Define.
23672         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
23673         (PPC64_LOCAL_ENTRY_OFFSET): Define.
23674         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
23675         New function.
23676         (elf_machine_fixup_plt): Call it.
23677         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
23678         reloc arguments.
23679         (elf_machine_rela): Update call to elf_machine_plt_conflict.
23680         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
23681         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
23682         r2 before calling target.
23684 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23685             Alan Modra  <amodra@gmail.com>
23687         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
23688         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
23689         versions of macros to support ELFv2 ABI.
23690         (LOCALENTRY): New macro.
23691         (ENTRY, EALIGN): Use it.
23692         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
23693         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
23694         fall through into ENTRY entry point.
23695         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
23696         Only define if _CALL_ELF != 2.
23698         (elf_machine_matches_host): Verify ABI version matches.
23699         (RTLD_START): Use LOCALENTRY.
23700         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
23701         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
23702         (PLT_ENTRY_WORDS): New macro.
23703         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
23704         (elf_machine_runtime_setup): Support ELFv2 ABI.
23705         (elf_machine_fixup_plt): Likewise.
23706         (elf_machine_plt_conflict): Likewise.
23707         (resolve_ifunc): Likewise.
23708         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23709         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23710         Likewise.
23711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
23712         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
23713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23714         (makecontext): Support ELFv2 ABI.
23715         * elf/elf.h (EF_PPC64_ABI): Define.
23717 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23719         * sysdeps/powerpc/powerpc64/sysdep.h
23720         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
23721         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
23722         (ENTRY) [ASSEMBLER]: ... but instead here ...
23723         (EALIGN) [ASSEMBLER]: ... and here.
23724         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
23725         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
23726         (ENTRY_2) [!ASSEMBLER]: Use it.
23727         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
23728         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
23729         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
23730         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
23731         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
23732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
23733         Use PPC64_LOAD_FUNCPTR.
23735         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
23737 2013-12-04  Alan Modra  <amodra@gmail.com>
23739         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
23740         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
23741         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
23742         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
23744         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
23745         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
23746         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
23747         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
23748         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
23749         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
23751 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23754         (__makecontext): Fix incorrect CFI when backtracing out of
23755         context created via makecontext.
23756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
23757         (__setcontext): Fix incorrect CFI during switch to new context.
23758         (__novec_setcontext): Likewise.
23760 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
23762         [BZ #4772]
23763         * time/strptime_l.c (__strptime_internal): Allow modifiers
23764         in strptime.
23765         * time/tst-strptime.c (day_tests): Add testcase.
23767 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23769         * scripts/bench.pl: Skip over blank lines.
23771 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
23773         [BZ #926]
23774         * manual/time.texi (Calendar Time): Clarify what timezone functions
23775         use.
23777 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23781 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
23783         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
23784         implementation.
23785         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
23786         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
23787         * debug/memset_chk.c (__memset_chk): Likewise.
23788         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
23789         * debug/strncpy_chk.c: Likewise.
23791 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
23793         [BZ #15268]
23794         [BZ #15425]
23795         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
23796         (__ieee754_exp): For possibly underflowing results, check size of
23797         result and force underflow exception if required.
23798         * math/auto-libm-test-in: Add more tests of exp.
23799         * math/auto-libm-test-out: Regenerated.
23800         * sysdeps/i386/fpu/libm-test-ulps: Update.
23801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23803         [BZ #16283]
23804         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
23805         * math/w_exp2f.c (__exp2f): Likewise.
23806         * math/w_exp2l.c (__exp2l): Likewise.
23807         * math/auto-libm-test-in: Do not allow missing errno on exp2
23808         underflow.
23809         * math/auto-libm-test-out: Regenerated.
23811 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
23813         [BZ #16274]
23814         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
23815         handle filename validation.
23816         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
23817         (do_open): Delete.
23819 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
23821         [BZ #6786]
23822         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
23823         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
23824         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
23825         <float.h>.
23826         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
23827         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
23828         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23829         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
23830         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23831         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
23832         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23833         * math/auto-libm-test-in: Don't allow missing errno from erfc.
23834         Add more erfc tests.
23835         * math/auto-libm-test-out: Regenerated.
23836         * sysdeps/i386/fpu/libm-test-ulps: Update.
23837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23839         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
23840         exp2, expm1, j0 and j1.
23841         * math/auto-libm-test-out: Regenerated.
23842         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
23843         (erfc_test_data): Likewise.
23844         (exp_test_data): Likewise.
23845         (exp_tonearest_test_data): Likewise.
23846         (exp_towardzero_test_data): Likewise.
23847         (exp_downward_test_data): Likewise.
23848         (exp_upward_test_data): Likewise.
23849         (exp10_test_data): Likewise.
23850         (exp2_test_data): Likewise.
23851         (expm1_test_data): Likewise.
23852         (j0_test_data): Likewise.
23853         (j1_test_data): Likewise.
23854         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
23855         (input_flag_type): Add flag_xfail_rounding.
23856         (input_flags): Add xfail-rounding.
23857         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
23858         (output_for_one_input_case): Handle flag_xfail_rounding.
23859         * sysdeps/i386/fpu/libm-test-ulps: Update.
23860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23862 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
23864         [BZ #16289]
23865         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
23866         division by 0.
23868 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23870         [BZ #16195]
23871         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
23872         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
23873         (STAP_PROBE0): New macro.
23874         (STAP_PROBE1): Likewise.
23875         (STAP_PROBE2): Likewise.
23876         (STAP_PROBE3): Likewise.
23877         (STAP_PROBE4): Likewise.
23879 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
23881         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
23883 2013-12-02  Steve Ellcey  <sellcey@mips.com>
23885         * benchtests/Makefile (bench): Add sqrt.
23886         (LDLIBS-bench-sqrt): New.
23887         * benchtests/sqrt-input: New.
23889 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
23891         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
23892         (GAIH_EAI): Likewise.
23893         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
23894         (gaih_inet): Likewise.
23895         (getaddrinfo): Don't use GAIH_EAI.
23897         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
23898         (struct gaih): Remove definition.
23900 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23902         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
23903         Use HERRNOP directly.
23905 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23907         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23909 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
23911         * math/gen-auto-libm-tests.c (test_functions): Add more
23912         single-argument functions.
23913         (special_fill_pi_2): New function.
23914         (special_fill_minus_pi_2): Likewise.
23915         (special_fill_pi_6): Likewise.
23916         (special_fill_minus_pi_6): Likewise.
23917         (special_fill_pi_3): Likewise.
23918         (special_fill_2pi_3): Likewise.
23919         (special_fill_e): Likewise.
23920         (special_fill_1_e): Likewise.
23921         (special_fill_e_minus_1): Likewise.
23922         (special_real_inputs): Add more special inputs.
23923         (output_for_one_input_case): Do not require ERANGE on underflow to
23924         zero if round-to-nearest result does not underflow to zero, unless
23925         exact results required.
23926         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
23927         atan, atanh, cbrt, cos and cosh.
23928         * math/auto-libm-test-out: Regenerated.
23929         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
23930         (acos_tonearest_test_data): Likewise.
23931         (acos_towardzero_test_data): Likewise.
23932         (acos_downward_test_data): Likewise.
23933         (acos_upward_test_data): Likewise.
23934         (acosh_test_data): Likewise.
23935         (asin_test_data): Likewise.
23936         (asin_tonearest_test_data): Likewise.
23937         (asin_towardzero_test_data): Likewise.
23938         (asin_upward_test_data): Likewise.
23939         (asinh_test_data): Likewise.
23940         (atan_test_data): Likewise.
23941         (atanh_test_data): Likewise.
23942         (cbrt_test_data): Likewise.
23943         (cos_test_data): Likewise.
23944         (cos_tonearest_test_data): Likewise.
23945         (cos_towardzero_test_data): Likewise.
23946         (cos_downward_test_data): Likewise.
23947         (cos_upward_test_data): Likewise.
23948         (cosh_test_data): Likewise.
23949         (cosh_tonearest_test_data): Likewise.
23950         (cosh_towardzero_test_data): Likewise.
23951         (cosh_downward_test_data): Likewise.
23952         (cosh_upward_test_data): Likewise.
23953         * sysdeps/i386/fpu/libm-test-ulps: Update.
23954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23956 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
23958         [BZ #6787]
23959         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
23960         * math/w_exp10f.c (__exp10f): Likewise.
23961         * math/w_exp10l.c (__exp10l): Likewise.
23962         * math/libm-test.inc (exp10_test_data): Add more tests and expect
23963         errno settings in existing tests.
23965         [BZ #14032]
23966         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
23967         precision control set to double precision.
23968         * sysdeps/i386/fpu/w_sqrt.c: New file.
23969         * math/auto-libm-test-in: Add more tests.
23970         * math/auto-libm-test-out: Update.
23972         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
23973         (sqrt_test_tonearest): New function.
23974         (sqrt_towardzero_test_data): New variable.
23975         (sqrt_test_towardzero): New function.
23976         (sqrt_downward_test_data): New variable.
23977         (sqrt_test_downward): New function.
23978         (sqrt_upward_test_data): New variable.
23979         (sqrt_test_upward): New function.
23980         (main): Call the new functions.
23982         * math/gen-auto-libm-tests.c: New file.
23983         * math/auto-libm-test-in: Likewise.
23984         * math/auto-libm-test-out: New generated file.
23985         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
23986         variables.
23987         (%beautify): Add generated representations of zero.
23988         (top level): Set $auto_input and call parse_auto_input.
23989         (beautify): Remove trailing "f" from hex float constants.
23990         (parse_args): Handle XFAIL_TEST.
23991         (convert_condition): New function.
23992         (or_value): Likewise.
23993         (or_cond_value): Likewise.
23994         (generate_testfile): Handle AUTO_TESTS_* lines.
23995         (parse_auto_input): New function.
23996         * math/libm-test.inc (XFAIL_TEST): New macro.
23997         (ERRNO_UNCHANGED): Update value.
23998         (ERRNO_EDOM): Likewise.
23999         (ERRNO_ERANGE): Likewise.
24000         (IGNORE_RESULT): Likewise.
24001         (TEST_COND_flt_32): New macro.
24002         (TEST_COND_dbl_64): Likewise.
24003         (TEST_COND_ldbl_96_intel): Likewise.
24004         (TEST_COND_ldbl_96_m68k): Likewise.
24005         (TEST_COND_ldbl_128): Likewise.
24006         (TEST_COND_ldbl_128ibm): Likewise.
24007         (TEST_COND_long32): Likewise.
24008         (TEST_COND_long64): Likewise.
24009         (TEST_COND_before_rounding): Likewise.
24010         (TEST_COND_after_rounding): Likewise.
24011         (enable_test): Handle XFAIL_TEST flag.
24012         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
24013         with finite results.
24014         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
24015         auto-libm-test-out.
24017 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24018             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24020         [BZ #16214]
24021         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
24022         __tls_get_addr_internal instead of __tls_get_offset in order to
24023         avoid GOT pointer dependency.  Make rtld export
24024         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
24025         __tls_get_addr since we are a __tls_get_offset platform.
24026         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
24027         GOT pointer being set up before.
24028         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
24030 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
24032         * manual/math.texi (Errors in Math Functions): Document accuracy
24033         goals.
24035         [BZ #15004]
24036         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
24037         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
24038         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24039         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24040         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24041         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24042         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24043         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24044         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24045         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24046         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24047         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24048         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24049         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24050         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24051         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24053         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
24054         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
24055         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
24056         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
24057         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
24058         Likewise.
24059         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
24060         Likewise.
24061         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
24062         Likewise.
24063         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
24064         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
24065         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
24066         atomic-feupdateenv and flt-rounds.
24067         * sysdeps/powerpc/nofpu/Versions (libc): Add
24068         __atomic_feholdexcept, __atomic_feclearexcept,
24069         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
24070         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
24071         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
24072         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
24073         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
24074         here.
24075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24076         Update.
24078         * manual/arith.texi (FP Exceptions): Document that exceptions may
24079         not be raised when matherr is used.
24080         (Math Error Reporting): Document overflow in directed rounding
24081         modes.  Document that errno may not be set when finite values are
24082         returned on overflow.  Document intent to set errno on underflow
24083         only for underflow to zero.
24085         [BZ #16271]
24086         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
24087         round-to-nearest then adjust result for other rounding modes.
24088         * include/fenv.h (fegetround): Use libm_hidden_proto.
24089         * math/fegetround.c (fegetround): Use libm_hidden_def.
24090         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24091         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24092         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24093         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24094         Likewise.
24095         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
24096         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24097         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24098         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
24100 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24102         [BZ #16077]
24103         * nss/Versions (libnss_files): Add
24104         _nss_files_gethostbyname3_r.
24105         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
24106         New function.
24107         (HOST_DB_LOOKUP): Remove macro.
24108         (_nss_files_gethostbyname_r): Implement function without the
24109         HOST_DB_LOOKUP macro.
24110         (_nss_files_gethostbyname2_r): Likewise.
24112 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
24114         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
24116 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
24118         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
24119         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
24120         warning.
24122 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24124         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
24125         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
24126         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
24127         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24128         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
24129         __fe_nomask_env_priv and attribute_hidden.
24130         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
24131         (libc_feupdateenv_test_ppc): Likewise.
24132         (libc_feresetround_ppc): Likewise.
24133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24134         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
24135         compat_symbol macro.
24136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24137         (__fe_nomask_env): Likewise.
24138         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
24140 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24142         * string/Makefile: Remove ifunc tests.
24143         * string/test-string.h: Define TEST_IFUNC.
24144         * string/test-bcopy-ifunc.c: Remove.
24145         * string/test-bzero-ifunc.c: Likewise.
24146         * string/test-memccpy-ifunc.c: Likewise.
24147         * string/test-memchr-ifunc.c: Likewise.
24148         * string/test-memcmp-ifunc.c: Likewise.
24149         * string/test-memcpy-ifunc.c: Likewise.
24150         * string/test-memmem-ifunc.c: Likewise.
24151         * string/test-memmove-ifunc.c: Likewise.
24152         * string/test-mempcpy-ifunc.c: Likewise.
24153         * string/test-memrchr-ifunc.c: Likewise.
24154         * string/test-memset-ifunc.c: Likewise.
24155         * string/test-rawmemchr-ifunc.c: Likewise.
24156         * string/test-stpcpy-ifunc.c: Likewise.
24157         * string/test-stpncpy-ifunc.c: Likewise.
24158         * string/test-strcasecmp-ifunc.c: Likewise.
24159         * string/test-strcasestr-ifunc.c: Likewise.
24160         * string/test-strcat-ifunc.c: Likewise.
24161         * string/test-strchr-ifunc.c: Likewise.
24162         * string/test-strchrnul-ifunc.c: Likewise.
24163         * string/test-strcmp-ifunc.c: Likewise.
24164         * string/test-strcpy-ifunc.c: Likewise.
24165         * string/test-strcspn-ifunc.c: Likewise.
24166         * string/test-strlen-ifunc.c: Likewise.
24167         * string/test-strncasecmp-ifunc.c: Likewise.
24168         * string/test-strncat-ifunc.c: Likewise.
24169         * string/test-strncmp-ifunc.c: Likewise.
24170         * string/test-strncpy-ifunc.c: Likewise.
24171         * string/test-strnlen-ifunc.c: Likewise.
24172         * string/test-strpbrk-ifunc.c: Likewise.
24173         * string/test-strrchr-ifunc.c: Likewise.
24174         * string/test-strspn-ifunc.c: Likewise.
24175         * string/test-strstr-ifunc.c: Likewise.
24177 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24179         * benchtests/Makefile: Remove ifunc tests.
24180         * benchtests/bench-string.h: Define TEST_IFUNC.
24181         * benchtests/bench-bcopy-ifunc.c: Remove.
24182         * benchtests/bench-bzero-ifunc.c: Likewise.
24183         * benchtests/bench-memccpy-ifunc.c: Likewise.
24184         * benchtests/bench-memchr-ifunc.c: Likewise.
24185         * benchtests/bench-memcmp-ifunc.c: Likewise.
24186         * benchtests/bench-memcpy-ifunc.c: Likewise.
24187         * benchtests/bench-memmem-ifunc.c: Likewise.
24188         * benchtests/bench-memmove-ifunc.c: Likewise.
24189         * benchtests/bench-mempcpy-ifunc.c: Likewise.
24190         * benchtests/bench-memrchr-ifunc.c: Likewise.
24191         * benchtests/bench-memset-ifunc.c: Likewise.
24192         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
24193         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
24194         * benchtests/bench-stpcpy-ifunc.c: Likewise.
24195         * benchtests/bench-stpncpy-ifunc.c: Likewise.
24196         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
24197         * benchtests/bench-strcasestr-ifunc.c: Likewise.
24198         * benchtests/bench-strcat-ifunc.c: Likewise.
24199         * benchtests/bench-strchr-ifunc.c: Likewise.
24200         * benchtests/bench-strchrnul-ifunc.c: Likewise.
24201         * benchtests/bench-strcmp-ifunc.c: Likewise.
24202         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
24203         * benchtests/bench-strcpy-ifunc.c: Likewise.
24204         * benchtests/bench-strcspn-ifunc.c: Likewise.
24205         * benchtests/bench-strlen-ifunc.c: Likewise.
24206         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
24207         * benchtests/bench-strncat-ifunc.c: Likewise.
24208         * benchtests/bench-strncmp-ifunc.c: Likewise.
24209         * benchtests/bench-strncpy-ifunc.c: Likewise.
24210         * benchtests/bench-strnlen-ifunc.c: Likewise.
24211         * benchtests/bench-strpbrk-ifunc.c: Likewise.
24212         * benchtests/bench-strrchr-ifunc.c: Likewise.
24213         * benchtests/bench-strsep-ifunc.c: Likewise.
24214         * benchtests/bench-strspn-ifunc.c: Likewise.
24215         * benchtests/bench-strstr-ifunc.c: Likewise.
24217 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24219         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
24221 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24223         * resolv/netdb.h: Use __glibc_reserved instead __unused.
24224         * rt/aio.h: Likewise.
24225         * sysdeps/gnu/bits/utmp.h: Likewise.
24226         * sysdeps/gnu/bits/utmpx.h: Likewise.
24227         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24228         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
24229         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
24230         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
24231         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
24232         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
24233         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
24234         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
24235         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
24236         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
24237         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
24238         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
24239         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
24240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
24241         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24242         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
24243         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
24244         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
24245         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
24246         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
24247         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
24248         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
24249         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
24250         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24251         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
24252         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24253         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
24254         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
24255         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
24256         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
24257         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
24258         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
24259         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
24260         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24261         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
24262         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
24263         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
24264         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
24265         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
24266         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
24267         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
24268         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24270 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
24272         [BZ #16245]
24273         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
24274         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
24276 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
24278         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
24279         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24280         Likewise.
24282 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24284         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
24285         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
24286         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
24287         (__fesetround): Remove define.
24288         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
24289         rounding and exceptions handling.
24290         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
24291         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
24292         (__fe_nomask_env): Likewise.
24293         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
24294         __fegetround instead of fegetround.
24295         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24296         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
24298 2013-11-21  Roland McGrath  <roland@hack.frob.com>
24300         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
24301         it's there.
24303         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
24305 2013-11-21  Meador Inge  <meadori@codesourcery.com>
24307         [BZ #11157]
24308         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
24309         (encrypt_r): Likewise.
24310         * malloc/obstack.h (obstack_free): Likewise.
24311         * posix/unistd.h (encrypt): Likewise.
24313 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
24315         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
24316         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
24317         DL_CALL_DT_FINI() that call the functions directly.
24318         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
24319         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
24320         * elf/dl-fini.c: Likewise.
24322 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
24324         * malloc/hooks.c (memalign_check): Add alignment rounding.
24325         * malloc/malloc.c (_mid_memalign): New function.
24326         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
24327         Implement by calling _mid_memalign.
24328         * manual/probes.texi (Memory Allocation Probes): Remove
24329         memory_valloc_retry and memory_pvalloc_retry.
24331 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24333         * locale/programs/locarchive.c (open_archive): Add const
24334         qualifier to ARCHIVEFNAME and copy default fname to
24335         DEFAULT_FNAME.
24337         [BZ #15601]
24338         * libio/tst-widetext.input: Rename Oriya to Odia.
24339         * locale/iso-639.def: Likewise.
24341         * manual/probes.texi (Mathematical Function Probes): Add
24342         documentation for sin, cos, asin and acos probes.
24343         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
24344         (__sin32): Add slowasin probe.
24345         (__cos32): Add slowacos probe.
24346         (__mpsin): Add slowsin probe.
24347         (__mpcos): Add slowcos probe.
24349 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
24351         [BZ #15483]
24352         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
24353         thread-local __sim_exceptions_thread and global
24354         __sim_exceptions_global.
24355         (__sim_disabled_exceptions): Change to thread-local
24356         __sim_disabled_exceptions_thread and global
24357         __sim_disabled_exceptions_global.
24358         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24359         and global __sim_round_mode_global.
24360         (__simulate_exceptions): Use thread-local floating-point state and
24361         set global state from it as needed.
24362         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
24363         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
24364         __sim_round_mode_thread.
24365         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
24366         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
24367         and global __sim_exceptions_global.
24368         (__sim_disabled_exceptions): Change to thread-local
24369         __sim_disabled_exceptions_thread and global
24370         __sim_disabled_exceptions_global.
24371         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24372         and global __sim_round_mode_global.
24373         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
24374         (SIM_SET_GLOBAL): Likewise.
24375         * sysdeps/powerpc/soft-fp/sfp-machine.h
24376         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
24377         __sim_round_mode_thread.
24378         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
24379         __sim_disabled_exceptions_thread.
24380         (__sim_exceptions): Change to __sim_exceptions_thread.
24381         (__sim_disabled_exceptions): Change to
24382         __sim_disabled_exceptions_thread.
24383         (__sim_round_mode): Change to __sim_round_mode_thread.
24384         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
24385         thread-local floating-point state and set global state from it as
24386         needed.
24387         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
24388         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
24389         (__sim_disabled_exceptions): Remove extern declaration.
24390         (feenableexcept): Use thread-local floating-point state and set
24391         global state from it as needed.
24392         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
24393         extern declaration.
24394         (__sim_disabled_exceptions): Likewise.
24395         (__sim_round_mode): Likewise.
24396         (__fegetenv): Use thread-local floating-point state.
24397         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
24398         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24399         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
24400         floating-point state and set global state from it as needed.
24401         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
24402         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24403         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
24404         Likewise.
24405         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
24406         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
24407         Likewise.
24408         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
24409         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
24410         Use __sim_round_mode_thread.
24411         * math/test-fenv-tls.c: New file.
24412         * math/Makefile (tests): Add test-fenv-tls.
24413         ($(objpfx)test-fenv-tls): Depend on
24414         $(common-objpfx)nptl/libpthread.so.
24416 2013-11-19  Andreas Schwab  <schwab@suse.de>
24418         * locale/programs/locale.c (show_info): Decode wordarray elements.
24419         * locale/categories.def (LC_MONETARY): Add element for
24420         _NL_MONETARY_CRNCYSTR.
24421         * locale/C-monetary.c (conversion_rate): New variable.
24422         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
24423         element.
24425 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
24427         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
24428         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
24430 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
24432         * elf/Makefile (tst-auxv): New test.
24433         * elf/tst-auxv.c: New
24434         * elf/rtld.c (dl_main): Adjust AT_EXECFN
24436 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
24438         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
24439         (hidden_proto): Caller changed.
24440         (hidden_tls_proto): New macro.
24441         (libc_hidden_tls_proto): Likewise.
24442         (rtld_hidden_tls_proto): Likewise.
24443         (libm_hidden_tls_proto): Likewise.
24444         (libresolv_hidden_tls_proto): Likewise.
24445         (librt_hidden_tls_proto): Likewise.
24446         (libdl_hidden_tls_proto): Likewise.
24447         (libnss_files_hidden_tls_proto): Likewise.
24448         (libnsl_hidden_tls_proto): Likewise.
24449         (libnss_nisplus_hidden_tls_proto): Likewise.
24450         (libutil_hidden_tls_proto): Likewise.
24452 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
24454         [BZ #10253]
24455         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
24456         (decompose_rpath): Defer expansion to fillin_rpath.
24457         (_dl_init_paths): Pass linkmap to fillin_rpath.
24459 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24461         * benchtests/Makefile: Add strsep.
24462         * benchtests/bench-strsep.c: New file: strsep benchtest.
24463         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
24465 2013-11-18  Andreas Schwab  <schwab@suse.de>
24467         * locale/programs/locale.c (show_info) [case byte]: Check for
24468         '\377' instead of '\177'.
24469         * locale/C-monetary.c (not_available): Always use "\377".
24470         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
24471         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
24472         detect unavailable sign_posn locale elements.
24473         * locale/localeconv.c (__localeconv): For grouping and
24474         mon_grouping handle "\177" and "\377" like no grouping.
24475         (INT_ELEM): New macro.  Use it to set all numeric members.
24476         * locale/programs/ld-monetary.c (monetary_read)
24477         <tok_mon_grouping>: Normalize single -1 to the empty string.
24478         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
24479         Likewise.
24481 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
24483         [BZ #16055]
24484         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
24485         when we match (nil).
24486         * stdio-common/tst-sscanf.c (struct test): Add testcase.
24488 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
24490         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
24491         (NO_TEST_INLINE): Update value.
24492         (ERRNO_UNCHANGED): Likewise.
24493         (ERRNO_EDOM): Likewise.
24494         (ERRNO_ERANGE): Likewise.
24495         (IGNORE_RESULT): Likewise.
24496         (check_float_internal): Check signs of NaN results if
24497         TEST_NAN_SIGN used.
24498         (check_complex): Pass TEST_NAN_SIGN flag through to second
24499         check_float_internal call.
24500         (copysign_test_data): Add tests with quiet NaNs as second
24501         argument.  Use TEST_NAN_SIGN.
24502         (fabs_test_data): Add test of negative quiet NaN argument.  Use
24503         TEST_NAN_SIGN.
24504         (signbit_test_data): Add tests of quiet NaN argument.
24505         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
24507         * math/gen-libm-test.pl (show_exceptions): Take extra argument
24508         $ignore_result.
24509         (parse_args): Handle function results specified as IGNORE.
24510         * math/libm-test.inc (IGNORE_RESULT): New macro.
24511         (check_float_internal): Do not check numerical result if flag
24512         IGNORE_RESULT set.
24513         (check_complex): Pass through IGNORE_RESULT to second
24514         check_float_internal call.
24515         (check_int): Do not check numerical result if flag IGNORE_RESULT
24516         set.
24517         (check_long): Likewise.
24518         (check_bool): Likewise.
24519         (check_longlong): Likewise.
24520         (lrint_test_data): Add tests of infinite and NaN arguments.
24521         (lrint_tonearest_test_data): Likewise.
24522         (lrint_towardzero_test_data): Likewise.
24523         (lrint_downward_test_data): Likewise.
24524         (lrint_upward_test_data): Likewise.
24525         (llrint_test_data): Likewise.
24526         (llrint_tonearest_test_data): Likewise.
24527         (llrint_towardzero_test_data): Likewise.
24528         (llrint_downward_test_data): Likewise.
24529         (llrint_upward_test_data): Likewise.
24530         (lround_test_data): Likewise.
24531         (llround_test_data): Likewise.
24533         * math/libm-test.inc (NO_TEST_INLINE): New macro.
24534         (ERRNO_UNCHANGED): Update value.
24535         (ERRNO_EDOM): Likewise.
24536         (ERRNO_ERANGE): Likewise.
24537         (NO_TEST_INLINE_FLOAT): New macro.
24538         (NO_TEST_INLINE_DOUBLE): Likewise.
24539         (enable_test): New function.
24540         (RUN_TEST_f_f): Check enable_test before running test.
24541         (RUN_TEST_2_f): Likewise.
24542         (RUN_TEST_fff_f): Likewise.
24543         (RUN_TEST_c_f): Likewise.
24544         (RUN_TEST_f_f1): Likewise.
24545         (RUN_TEST_fF_f1): Likewise.
24546         (RUN_TEST_fI_f1): Likewise.
24547         (RUN_TEST_ffI_f1): Likewise.
24548         (RUN_TEST_c_c): Likewise.
24549         (RUN_TEST_cc_c): Likewise.
24550         (RUN_TEST_f_i): Likewise.
24551         (RUN_TEST_f_i_tg): Likewise.
24552         (RUN_TEST_ff_i_tg): Likewise.
24553         (RUN_TEST_f_b): Likewise.
24554         (RUN_TEST_f_b_tg): Likewise.
24555         (RUN_TEST_f_l): Likewise.
24556         (RUN_TEST_f_L): Likewise.
24557         (RUN_TEST_fFF_11): Likewise.
24558         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
24559         conditionals.
24560         (cosh_test_data): Likewise.
24561         (exp_test_data): Likewise.
24562         (expm1_test_data): Likewise.
24563         (hypot_test_data): Likewise.
24564         (pow_test_data): Likewise.
24565         (sinh_test_data): Likewise.
24566         (tanh_test_data): Likewise.
24567         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
24568         flags argument.
24570         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
24571         tests with quiet NaN input and output.
24572         (acosh_test_data): Likewise.
24573         (asin_test_data): Likewise.
24574         (asinh_test_data): Likewise.
24575         (atan_test_data): Likewise.
24576         (atanh_test_data): Likewise.
24577         (atan2_test_data): Likewise.
24578         (cbrt_test_data): Likewise.
24579         (cos_test_data): Likewise.
24580         (cosh_test_data): Likewise.
24581         (erf_test_data): Likewise.
24582         (erfc_test_data): Likewise.
24583         (exp_test_data): Likewise.
24584         (exp10_test_data): Likewise.
24585         (exp2_test_data): Likewise.
24586         (expm1_test_data): Likewise.
24587         (hypot_test_data): Likewise.
24588         (j0_test_data): Likewise.
24589         (j1_test_data): Likewise.
24590         (jn_test_data): Likewise.
24591         (lgamma_test_data): Likewise.
24592         (log_test_data): Likewise.
24593         (log10_test_data): Likewise.
24594         (log1p_test_data): Likewise.
24595         (log2_test_data): Likewise.
24596         (pow_test_data): Likewise.
24597         (scalb_test_data): Likewise.
24598         (sin_test_data): Likewise.
24599         (sincos_test_data): Likewise.
24600         (sinh_test_data): Likewise.
24601         (tan_test_data): Likewise.
24602         (tanh_test_data): Likewise.
24603         (tgamma_test_data): Likewise.
24604         (y0_test_data): Likewise.
24605         (y1_test_data): Likewise.
24606         (yn_test_data): Likewise.
24608         [BZ #16167]
24609         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
24610         argument being NaN and avoid computations with second argument in
24611         that case.
24612         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24613         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
24614         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24616 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
24618         * locale/iso-639.def: Add Chitwani Tharu (the).
24620 2013-11-14  Andreas Schwab  <schwab@suse.de>
24622         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
24623         word instead of empty string.
24625 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24628         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
24629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24630         (__fe_nomask_env): Likewise.
24632 2013-11-13  Steve Ellcey  <sellcey@mips.com>
24634         * benchtests/bench-timing.h: Include time.h.
24636 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
24638         [BZ #15997]
24639         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
24640         to 3.4.0 for x32.
24641         * sysdeps/unix/sysv/linux/configure: Regenerated.
24643 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
24645         [BZ #16151]
24646         * stdlib/strtod_l.c (round_and_return): Do not consider
24647         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
24648         exponent one less than half the least subnormal exponent.
24649         * stdlib/test-strtod-round-data: Add more tests.
24650         * stdlib/tst-strtod-round.c (tests): Regenerated.
24652 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24654         [BZ #14143]
24655         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
24656         (__fe_mask_env): Likewise.
24657         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
24658         libm_hidden_proto and add function prototype.
24659         (__fe_mask_env): Add function prototype.
24660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24661         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
24662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24663         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
24664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24665         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
24667 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24669         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
24670         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
24672 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24674         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
24675         of htab_find_slot().
24677 2013-11-11  David S. Miller  <davem@davemloft.net>
24679         [BZ #16150]
24680         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
24681         symbol in the non-vis3 case in static builds.
24682         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
24683         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
24684         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
24685         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
24687 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
24689         [BZ #387]
24690         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
24691         it is empty.
24693 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24695         * benchtests/Makefile: Add bench-strtod.
24696         * benchtests/bench-strtod.c: New file: strtod benchtest
24698 2013-11-11  Andreas Schwab  <schwab@suse.de>
24700         [BZ #16153]
24701         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
24702         terminating NUL in key length.
24704 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24706         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24707         Add artificial ODP entry for vDSO symbol for PPC64.
24708         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
24709         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
24711 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
24713         [BZ #15374]
24714         * nss/getent.c (services_keys): Recognize services starting with digit.
24716 2013-11-06  David S. Miller  <davem@davemloft.net>
24718         [BZ #15985]
24719         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
24720         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
24722 2013-11-06  Will Newton  <will.newton@linaro.org>
24724         * manual/memory.texi (Malloc Examples): Remove register
24725         keyword from examples.
24727 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
24729         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
24731 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
24733         [BZ #6981]
24734         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
24735         depending on [__GCC_IEC_559 > 0].
24736         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
24737         depending on [__GCC_IEC_559_COMPLEX > 0].
24739 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
24741         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
24742         to iso-639.def.
24744 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
24746         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
24748 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
24750         [BZ #16112]
24751         * malloc/malloc (malloc_info): Do not handle first bin as
24752         special case.
24754 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
24756         * locale/iso-639.def: Add Central Nahuatl (nhn).
24758 2013-11-01  Bruno Haible  <bruno@clisp.org>
24760         [BZ #7003]
24761         * manual/math.texi (BSD Random): Specify range upper bound as
24762         in POSIX.
24764 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
24766         * locale/iso-639.def: Add Meadow Mari (mhr).
24768 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
24770         [BZ #14752], [BZ #15763]
24771         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
24772         Validate name.
24773         * rt/tst_shm.c: Add test for escaping directory.
24775 2013-10-31  Andreas Schwab  <schwab@suse.de>
24777         [BZ #15917]
24778         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
24779         followed by 'x' as part of digit sequence.
24780         * stdio-common/tst-sscanf.c (double_tests2): New tests.
24782 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
24784         [BZ #16037]
24785         * configure.ac: allow GNU Make 4.0 and greater.
24786         * configure: Regenerated.
24788 2013-10-30  Will Newton  <will.newton@linaro.org>
24790         [BZ #16038]
24791         * malloc/hooks.c (memalign_check): Limit alignment to the
24792         maximum representable power of two.
24793         * malloc/malloc.c (__libc_memalign): Likewise.
24794         * malloc/tst-memalign.c (do_test): Add test for very
24795         large alignment values.
24796         * malloc/tst-posix_memalign.c (do_test): Likewise.
24798 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
24800         [BZ #11087]
24801         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
24802         (munmap_chunk): Likewise.
24803         (mremap_chunk): Likewise.
24805 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
24807         [BZ #15799]
24808         * stdlib/div.c (div): Remove obsolete code.
24809         * stdlib/ldiv.c (ldiv): Likewise.
24810         * stdlib/lldiv.c (lldiv): Likewise.
24812 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24814         [BZ #16071]
24815         * nss/nss_files/files-XXX.c (get_contents_ret): New
24816         enumerator.
24817         (get_contents): New function.
24818         (internal_getent): Use it.  Expand size of LINEBUFLEN.
24820 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
24822         * configure.in: Moved to ...
24823         * configure.ac: ... here. Change reference to configure.in
24824         to configure.ac.
24825         * sysdeps/arm/preconfigure.ac: ... here.
24826         configure.in to configure.ac.
24827         * sysdeps/gnu/configure.in: Moved to ...
24828         * sysdeps/gnu/configure.ac: ... here.
24829         * sysdeps/i386/configure.in: Moved to ...
24830         * sysdeps/i386/configure.ac: ... here.
24831         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
24832         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
24833         * sysdeps/mach/configure.in: Moved to ...
24834         * sysdeps/mach/configure.ac: ... here.
24835         * sysdeps/mach/hurd/configure.in: Moved to ...
24836         * sysdeps/mach/hurd/configure.ac: ... here.
24837         * sysdeps/powerpc/configure.in: Moved to ...
24838         * sysdeps/powerpc/configure.ac: ... here.
24839         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
24840         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
24841         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
24842         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
24843         * sysdeps/s390/s390-32/configure.in: Moved to ...
24844         * sysdeps/s390/s390-32/configure.ac: ... here.
24845         * sysdeps/s390/s390-64/configure.in: Moved to ...
24846         * sysdeps/s390/s390-64/configure.ac: ... here.
24847         * sysdeps/sh/configure.in: Moved to ...
24848         * sysdeps/sh/configure.ac: ... here.
24849         * sysdeps/sparc/configure.in: Moved to ...
24850         * sysdeps/sparc/configure.ac: ... here.
24851         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
24852         * sysdeps/unix/sysv/linux/configure.ac: ... here.
24853         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
24854         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
24855         * sysdeps/x86_64/configure.in: Moved to ...
24856         * sysdeps/x86_64/configure.ac: ... here.
24857         * sysdeps/x86_64/preconfigure.in: Moved to ...
24858         * sysdeps/x86_64/preconfigure.ac: ... here.
24859         * aclocal.m4: Change reference to configure.in to configure.ac.
24860         * config.h.in: Likewise.
24861         * manual/install.texi: Likewise.
24862         * manual/maint.texi: Likewise.
24863         * Makefile: Likewise.
24864         * malloc/Makefile: Likewise.
24865         * nscd/Makefile: Likewise.
24866         * Makeconfig: Change reference to configure.in and
24867         preconfigure.in to configure.ac and preconfigure.ac
24868         respectively.
24869         * INSTALL: Regenerated.
24870         * configure: Likewise.
24871         * sysdeps/gnu/configure: Likewise.
24872         * sysdeps/i386/configure: Likewise.
24873         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
24874         * sysdeps/mach/configure: Likewise.
24875         * sysdeps/mach/hurd/configure: Likewise.
24876         * sysdeps/powerpc/configure: Likewise.
24877         * sysdeps/powerpc/powerpc32/configure: Likewise.
24878         * sysdeps/powerpc/powerpc64/configure: Likewise.
24879         * sysdeps/s390/s390-32/configure: Likewise.
24880         * sysdeps/s390/s390-64/configure: Likewise.
24881         * sysdeps/sh/configure: Likewise.
24882         * sysdeps/sparc/configure: Likewise.
24883         * sysdeps/unix/sysv/linux/configure: Likewise.
24884         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
24885         * sysdeps/x86_64/configure: Likewise.
24886         * sysdeps/x86_64/preconfigure: Likewise.
24888 2013-10-29  Andreas Schwab  <schwab@suse.de>
24890         * stdio-common/Makefile (tst-swscanf-ENV): Define.
24892 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24894         * benchtests/pow-inputs: Add new inputs.
24896         * benchtests/exp-inputs: Add new inputs.
24898         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
24899         conditional check for return value.
24900         (__cos32): Likewise.
24902 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24904         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
24905         to provide a boost for large inputs with word alignment.
24906         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
24907         implementation based on optimized PPC64 strcpy.
24908         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
24909         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
24910         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
24911         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
24913 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
24915         [BZ #2801]
24916         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
24918 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
24920         [BZ #14876]
24921         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
24922         * time/tst-strptime.c (day_tests): Add testcase.
24924 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
24926         [BZ #14029]
24927         * manual/pattern.texi: Acknowledge that fnmatch can fail.
24929 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
24931         [BZ #16074]
24932         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
24933         MAP_FAILED on error.
24935 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24937         [BZ #16072]
24938         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
24939         heap for large requests.
24941 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
24943         [BZ #9954]
24944         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
24945         result if the result has no associated interface.
24946         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
24947         interface for all 127.X.Y.Z addresses.
24949 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
24951         * locale/iso-639.def: Add Ligurian (lij)
24953 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
24955         [BZ #15825]
24956         * sunrpc/rpc_main.c: Document rpcgen -5.
24958 2013-10-19  Michael Stahl  <mstahl@redhat.com>
24960         * elf/rtld.c (do_preload): Print the reason why preloading failed.
24962 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
24964         [BZ #10278]
24965         * posix/glob.c: Match only directories when trailing slash is present.
24966         * posix/tst-gnuglob.c (my_opendir): Do not open files.
24967         (main): Add testcase.
24969 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
24971         [BZ #15670]
24972         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
24974 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
24976         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
24977         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
24978         AUTH_DES and cindex for FIPS 140-2.
24979         (DES Encryption): Add cindex FIPS 46-3.
24981         * locale/locarchive.h (struct locarhandle): Add fname.
24982         * locale/programs/localedef.c (main): Pass ARGV[remaining]
24983         if an optional argument was specified to --list-archive,
24984         otherwise NULL.
24985         * locale/programs/locarchive.c (show_archive_content): Take new
24986         argument fname and pass it via ah.fname to open_archive.
24987         * locale/programs/localedef.h: Update decl.
24988         (open_archive): If AH->fname is non-null, open that file
24989         rather than the default file name, and don't ignore ENOENT.
24990         (create_archive): Set AH.fname to NULL.
24991         (delete_locales_from_archive): Likewise.
24992         (add_locales_to_archive): Likewise.
24993         * locale/programs/locfile.c (write_all_categories): Likewise.
24995 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
24996             Aldy Hernandez  <aldyh@redhat.com>
24998         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
24999         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
25000         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
25001         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
25002         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
25003         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
25004         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
25005         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
25006         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
25007         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
25008         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
25009         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
25010         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
25011         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
25012         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
25013         Likewise.
25014         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
25015         Likewise.
25016         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
25017         Likewise.
25018         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
25019         Likewise.
25020         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
25021         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
25022         Likewise.
25023         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
25024         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
25025         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
25026         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
25027         Likewise.
25028         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
25029         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
25030         * sysdeps/powerpc/preconfigure: Likewise.
25031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
25032         Likewise.
25033         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
25034         Replace contents of file by #include of <fenv_libc.h>.
25035         * sysdeps/powerpc/soft-fp/sfp-machine.h
25036         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
25037         and <sys/prctl.h>.
25038         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
25039         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
25040         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
25041         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
25042         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
25043         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
25044         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
25045         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
25046         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
25047         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
25048         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
25049         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
25050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25051         Allow copysignl PLT reference to be missing.
25053 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
25054             Joseph Myers  <joseph@codesourcery.com
25056         [BZ #15948]
25057         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
25058         single character.
25059         (add_to_tablewc): Assert sequence of wide characters is nonempty.
25061 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25063         * elf/tst-tls-dlinfo.c: Don't include tls.h.
25064         * elf/tst-tls1.c: Likewise.
25065         * elf/tst-tls10.h: Likewise.
25066         * elf/tst-tls14.c: Likewise.
25067         * elf/tst-tls2.c: Likewise.
25068         * elf/tst-tls3.c: Likewise.
25069         * elf/tst-tls4.c: Likewise.
25070         * elf/tst-tls5.c: Likewise.
25071         * elf/tst-tls6.c: Likewise.
25072         * elf/tst-tls7.c: Likewise.
25073         * elf/tst-tls8.c: Likewise.
25074         * elf/tst-tls9.c: Likewise.
25075         * elf/tst-tlsmod1.c: Likewise.
25076         * elf/tst-tlsmod13.c: Likewise.
25077         * elf/tst-tlsmod13a.c: Likewise.
25078         * elf/tst-tlsmod14a.c: Likewise.
25079         * elf/tst-tlsmod16a.c: Likewise.
25080         * elf/tst-tlsmod16b.c: Likewise.
25081         * elf/tst-tlsmod2.c: Likewise.
25082         * elf/tst-tlsmod3.c: Likewise.
25083         * elf/tst-tlsmod4.c: Likewise.
25084         * elf/tst-tlsmod5.c: Likewise.
25085         * elf/tst-tlsmod6.c: Likewise.
25087 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
25089         [BZ #12486]
25090         * malloc/malloc.c: remove checks for statistics.
25092 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
25094         [BZ #15277]
25095         * inet/inet_net.c (inet_network): Detect additional invalid strings.
25096         * inet/tst-network.c: Add testcase.
25098 2013-10-17  Andreas Schwab  <schwab@suse.de>
25100         [BZ #15218]
25101         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
25102         to determine canonical name.
25104 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
25106         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
25107         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
25108         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25109         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25110         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25111         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25112         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25113         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25114         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25115         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25116         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25117         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25118         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25119         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25120         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25121         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25122         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25123         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25124         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25125         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25126         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25127         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25128         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25129         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
25130         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
25131         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25132         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25133         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
25134         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25135         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
25136         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25137         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25138         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25139         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25140         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25141         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25142         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25143         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25144         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25145         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25146         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25147         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25148         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25149         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25150         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25151         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25152         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25153         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25154         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25155         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25156         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25157         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25158         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25159         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25160         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25161         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25162         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25163         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25165 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
25167         [BZ #16041]
25168         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
25169         make result into a quiet NaN.
25171 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
25173         * soft-fp/adddf3.c: Fix horizontal whitespace.
25174         * soft-fp/addsf3.c: Likewise.
25175         * soft-fp/addtf3.c: Likewise.
25176         * soft-fp/divdf3.c: Likewise.
25177         * soft-fp/divsf3.c: Likewise.
25178         * soft-fp/divtf3.c: Likewise.
25179         * soft-fp/double.h: Likewise.
25180         * soft-fp/eqdf2.c: Likewise.
25181         * soft-fp/eqsf2.c: Likewise.
25182         * soft-fp/eqtf2.c: Likewise.
25183         * soft-fp/extenddftf2.c: Likewise.
25184         * soft-fp/extended.h: Likewise.
25185         * soft-fp/extendsfdf2.c: Likewise.
25186         * soft-fp/extendsftf2.c: Likewise.
25187         * soft-fp/extendxftf2.c: Likewise.
25188         * soft-fp/fixdfdi.c: Likewise.
25189         * soft-fp/fixdfsi.c: Likewise.
25190         * soft-fp/fixdfti.c: Likewise.
25191         * soft-fp/fixsfdi.c: Likewise.
25192         * soft-fp/fixsfsi.c: Likewise.
25193         * soft-fp/fixsfti.c: Likewise.
25194         * soft-fp/fixtfdi.c: Likewise.
25195         * soft-fp/fixtfsi.c: Likewise.
25196         * soft-fp/fixtfti.c: Likewise.
25197         * soft-fp/fixunsdfdi.c: Likewise.
25198         * soft-fp/fixunsdfsi.c: Likewise.
25199         * soft-fp/fixunsdfti.c: Likewise.
25200         * soft-fp/fixunssfdi.c: Likewise.
25201         * soft-fp/fixunssfsi.c: Likewise.
25202         * soft-fp/fixunssfti.c: Likewise.
25203         * soft-fp/fixunstfdi.c: Likewise.
25204         * soft-fp/fixunstfsi.c: Likewise.
25205         * soft-fp/fixunstfti.c: Likewise.
25206         * soft-fp/floatdidf.c: Likewise.
25207         * soft-fp/floatdisf.c: Likewise.
25208         * soft-fp/floatditf.c: Likewise.
25209         * soft-fp/floatsidf.c: Likewise.
25210         * soft-fp/floatsisf.c: Likewise.
25211         * soft-fp/floatsitf.c: Likewise.
25212         * soft-fp/floattidf.c: Likewise.
25213         * soft-fp/floattisf.c: Likewise.
25214         * soft-fp/floattitf.c: Likewise.
25215         * soft-fp/floatundidf.c: Likewise.
25216         * soft-fp/floatundisf.c: Likewise.
25217         * soft-fp/floatunditf.c: Likewise.
25218         * soft-fp/floatunsidf.c: Likewise.
25219         * soft-fp/floatunsisf.c: Likewise.
25220         * soft-fp/floatunsitf.c: Likewise.
25221         * soft-fp/floatuntidf.c: Likewise.
25222         * soft-fp/floatuntisf.c: Likewise.
25223         * soft-fp/floatuntitf.c: Likewise.
25224         * soft-fp/fmadf4.c: Likewise.
25225         * soft-fp/fmasf4.c: Likewise.
25226         * soft-fp/fmatf4.c: Likewise.
25227         * soft-fp/gedf2.c: Likewise.
25228         * soft-fp/gesf2.c: Likewise.
25229         * soft-fp/getf2.c: Likewise.
25230         * soft-fp/ledf2.c: Likewise.
25231         * soft-fp/lesf2.c: Likewise.
25232         * soft-fp/letf2.c: Likewise.
25233         * soft-fp/muldf3.c: Likewise.
25234         * soft-fp/mulsf3.c: Likewise.
25235         * soft-fp/multf3.c: Likewise.
25236         * soft-fp/negdf2.c: Likewise.
25237         * soft-fp/negsf2.c: Likewise.
25238         * soft-fp/negtf2.c: Likewise.
25239         * soft-fp/op-1.h: Likewise.
25240         * soft-fp/op-2.h: Likewise.
25241         * soft-fp/op-4.h: Likewise.
25242         * soft-fp/op-8.h: Likewise.
25243         * soft-fp/op-common.h: Likewise.
25244         * soft-fp/quad.h: Likewise.
25245         * soft-fp/single.h: Likewise.
25246         * soft-fp/soft-fp.h: Likewise.
25247         * soft-fp/sqrtdf2.c: Likewise.
25248         * soft-fp/sqrtsf2.c: Likewise.
25249         * soft-fp/sqrttf2.c: Likewise.
25250         * soft-fp/subdf3.c: Likewise.
25251         * soft-fp/subsf3.c: Likewise.
25252         * soft-fp/subtf3.c: Likewise.
25253         * soft-fp/truncdfsf2.c: Likewise.
25254         * soft-fp/trunctfdf2.c: Likewise.
25255         * soft-fp/trunctfsf2.c: Likewise.
25256         * soft-fp/trunctfxf2.c: Likewise.
25257         * soft-fp/unorddf2.c: Likewise.
25258         * soft-fp/unordsf2.c: Likewise.
25259         * soft-fp/unordtf2.c: Likewise.
25261 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
25263         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
25264         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
25266 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
25268         * elf/dl-libc.c: Clear initfini list after freeing.
25270 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
25272         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
25273         * soft-fp/addsf3.c: Likewise.
25274         * soft-fp/addtf3.c: Likewise.
25275         * soft-fp/divdf3.c: Likewise.
25276         * soft-fp/divsf3.c: Likewise.
25277         * soft-fp/divtf3.c: Likewise.
25278         * soft-fp/double.h: Likewise.
25279         * soft-fp/eqdf2.c: Likewise.
25280         * soft-fp/eqsf2.c: Likewise.
25281         * soft-fp/eqtf2.c: Likewise.
25282         * soft-fp/extenddftf2.c: Likewise.
25283         * soft-fp/extended.h: Likewise.
25284         * soft-fp/extendsfdf2.c: Likewise.
25285         * soft-fp/extendsftf2.c: Likewise.
25286         * soft-fp/extendxftf2.c: Likewise.
25287         * soft-fp/fixdfdi.c: Likewise.
25288         * soft-fp/fixdfsi.c: Likewise.
25289         * soft-fp/fixdfti.c: Likewise.
25290         * soft-fp/fixsfdi.c: Likewise.
25291         * soft-fp/fixsfsi.c: Likewise.
25292         * soft-fp/fixsfti.c: Likewise.
25293         * soft-fp/fixtfdi.c: Likewise.
25294         * soft-fp/fixtfsi.c: Likewise.
25295         * soft-fp/fixtfti.c: Likewise.
25296         * soft-fp/fixunsdfdi.c: Likewise.
25297         * soft-fp/fixunsdfsi.c: Likewise.
25298         * soft-fp/fixunsdfti.c: Likewise.
25299         * soft-fp/fixunssfdi.c: Likewise.
25300         * soft-fp/fixunssfsi.c: Likewise.
25301         * soft-fp/fixunssfti.c: Likewise.
25302         * soft-fp/fixunstfdi.c: Likewise.
25303         * soft-fp/fixunstfsi.c: Likewise.
25304         * soft-fp/fixunstfti.c: Likewise.
25305         * soft-fp/floatdidf.c: Likewise.
25306         * soft-fp/floatdisf.c: Likewise.
25307         * soft-fp/floatditf.c: Likewise.
25308         * soft-fp/floatsidf.c: Likewise.
25309         * soft-fp/floatsisf.c: Likewise.
25310         * soft-fp/floatsitf.c: Likewise.
25311         * soft-fp/floattidf.c: Likewise.
25312         * soft-fp/floattisf.c: Likewise.
25313         * soft-fp/floattitf.c: Likewise.
25314         * soft-fp/floatundidf.c: Likewise.
25315         * soft-fp/floatundisf.c: Likewise.
25316         * soft-fp/floatunsidf.c: Likewise.
25317         * soft-fp/floatunsisf.c: Likewise.
25318         * soft-fp/floatuntidf.c: Likewise.
25319         * soft-fp/floatuntisf.c: Likewise.
25320         * soft-fp/floatuntitf.c: Likewise.
25321         * soft-fp/fmadf4.c: Likewise.
25322         * soft-fp/fmasf4.c: Likewise.
25323         * soft-fp/fmatf4.c: Likewise.
25324         * soft-fp/gedf2.c: Likewise.
25325         * soft-fp/gesf2.c: Likewise.
25326         * soft-fp/getf2.c: Likewise.
25327         * soft-fp/ledf2.c: Likewise.
25328         * soft-fp/lesf2.c: Likewise.
25329         * soft-fp/letf2.c: Likewise.
25330         * soft-fp/muldf3.c: Likewise.
25331         * soft-fp/mulsf3.c: Likewise.
25332         * soft-fp/multf3.c: Likewise.
25333         * soft-fp/negdf2.c: Likewise.
25334         * soft-fp/negsf2.c: Likewise.
25335         * soft-fp/negtf2.c: Likewise.
25336         * soft-fp/op-1.h: Likewise.
25337         * soft-fp/op-2.h: Likewise.
25338         * soft-fp/op-4.h: Likewise.
25339         * soft-fp/op-8.h: Likewise.
25340         * soft-fp/op-common.h: Likewise.
25341         * soft-fp/quad.h: Likewise.
25342         * soft-fp/single.h: Likewise.
25343         * soft-fp/soft-fp.h: Likewise.
25344         * soft-fp/sqrtdf2.c: Likewise.
25345         * soft-fp/sqrtsf2.c: Likewise.
25346         * soft-fp/sqrttf2.c: Likewise.
25347         * soft-fp/subdf3.c: Likewise.
25348         * soft-fp/subsf3.c: Likewise.
25349         * soft-fp/subtf3.c: Likewise.
25350         * soft-fp/truncdfsf2.c: Likewise.
25351         * soft-fp/trunctfdf2.c: Likewise.
25352         * soft-fp/trunctfsf2.c: Likewise.
25353         * soft-fp/trunctfxf2.c: Likewise.
25354         * soft-fp/unorddf2.c: Likewise.
25355         * soft-fp/unordsf2.c: Likewise.
25356         * soft-fp/unordtf2.c: Likewise.
25358 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
25360         [BZ #15672]
25361         * misc/error.c (error_tail): Fix possible buffer overflow.
25363 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
25365         [BZ #13028]
25366         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
25367         address.
25369 2013-10-14  P. J. McDermott  <pj@pehjota.net>
25371         [BZ #832]
25372         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
25373         testing pipefail option.
25375 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
25377         * soft-fp/double.h: Indent preprocessor directives inside #if.
25378         * soft-fp/extended.h: Likewise.
25379         * soft-fp/op-2.h: Likewise.
25380         * soft-fp/op-4.h: Likewise.
25381         * soft-fp/op-common.h: Likewise.
25382         * soft-fp/quad.h: Likewise.
25383         * soft-fp/single.h: Likewise.
25384         * soft-fp/soft-fp.h: Likewise.
25386 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
25388         * iconv/iconv_prog.c: Fix typos.
25389         * stdio-common/psiginfo-data.h: Likewise.
25391 2013-10-12   Reuben Thomas <rrt@sc3d.org>
25393         [BZ #15764]
25394         * locale/setlocale.c: Fix typo.
25396 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
25398         [BZ #16036]
25399         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
25400         signaling NaN arguments.
25401         * soft-fp/unordsf2.c (__unordsf2): Likewise.
25402         * soft-fp/unordtf2.c (__unordtf2): Likewise.
25404         [BZ #14910]
25405         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
25406         unordered operands.
25407         * soft-fp/gesf2.c (__gesf2): Likewise.
25408         * soft-fp/getf2.c (__getf2): Likewise.
25409         * soft-fp/ledf2.c (__ledf2): Likewise.
25410         * soft-fp/lesf2.c (__lesf2): Likewise.
25411         * soft-fp/letf2.c (__letf2): Likewise.
25413         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
25414         * soft-fp/eqsf2.c (__eqsf2): Likewise.
25415         * soft-fp/eqtf2.c (__eqtf2): Likewise.
25416         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
25417         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
25418         * soft-fp/fixdfti.c (__fixdfti): Likewise.
25419         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
25420         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
25421         * soft-fp/fixsfti.c (__fixsfti): Likewise.
25422         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
25423         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
25424         * soft-fp/fixtfti.c (__fixtfti): Likewise.
25425         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
25426         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
25427         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
25428         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
25429         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
25430         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
25431         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
25432         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
25433         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
25434         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
25435         * soft-fp/floatdisf.c (__floatdisf): Likewise.
25436         * soft-fp/floatsisf.c (__floatsisf): Likewise.
25437         * soft-fp/floattidf.c (__floattidf): Likewise.
25438         * soft-fp/floattisf.c (__floattisf): Likewise.
25439         * soft-fp/floattitf.c (__floattitf): Likewise.
25440         * soft-fp/floatundidf.c (__floatundidf): Likewise.
25441         * soft-fp/floatundisf.c (__floatundisf): Likewise.
25442         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
25443         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
25444         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
25445         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
25446         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
25447         * soft-fp/gesf2.c (__gesf2): Likewise.
25448         * soft-fp/getf2.c (__getf2): Likewise.
25449         * soft-fp/ledf2.c (__ledf2): Likewise.
25450         * soft-fp/lesf2.c (__lesf2): Likewise.
25451         * soft-fp/letf2.c (__letf2): Likewise.
25453         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
25454         Undefine and redefine.
25455         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
25456         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
25457         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
25458         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
25459         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25460         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
25461         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25462         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
25463         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25464         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
25465         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25466         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
25467         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25468         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
25469         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25471         [BZ #16032]
25472         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
25473         without decrementing exponent if mantissa >= that for the
25474         denominator, not >.
25475         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
25476         denominator, not >.  Decrement exponent in < case instead of
25477         incrementing in >= case.
25478         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
25479         without decrementing exponent if mantissa >= that for the
25480         denominator, not >.
25482         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
25483         computing saturated result for unsigned overflow.
25485 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25486             Jeff Law  <law@redhat.com>
25488         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
25489         (atan2Mp): Add systemtap probe marker.
25490         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
25491         (__ieee754_log): Add systemtap probe marker.
25492         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
25493         (atanMp): Add systemtap probe marker.
25494         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
25495         (tanMp): Add systemtap probe marker.
25496         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
25497         (__slowexp): Add systemtap probe marker.
25498         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
25499         (__slowpow): Add systemtap probe marker.
25500         * manual/probes.texi: Document probes.
25502 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
25504         [BZ #15362]
25505         * libio/fileops.c (_IO_new_file_write): Return count of bytes
25506         written.
25507         (_IO_new_file_xsputn): Don't return EOF if nothing has been
25508         written.
25509         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
25510         written to buffer but not flushed.
25511         * libio/iofwrite_u.c:  Likewise.
25512         * libio/iopadn.c:  Return bytes returned even if EOF was
25513         encountered.
25514         * libio/iowpadn.c:  Likewise.
25515         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
25516         if _IO_padn does not write the whole buffer.
25517         [!COMPILE_WPRINTF] (PAD): Likewise.
25519 2013-10-10  David S. Miller  <davem@davemloft.net>
25521         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
25522         directory block.
25524 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
25526         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
25527         instead of FSF address.
25528         * soft-fp/fixdfti.c: Likewise.
25529         * soft-fp/fixsfti.c: Likewise.
25530         * soft-fp/fixtfti.c: Likewise.
25531         * soft-fp/fixunsdfti.c: Likewise.
25532         * soft-fp/fixunssfti.c: Likewise.
25533         * soft-fp/fixunstfti.c: Likewise.
25534         * soft-fp/floattidf.c: Likewise.
25535         * soft-fp/floattisf.c: Likewise.
25536         * soft-fp/floattitf.c: Likewise.
25537         * soft-fp/floatuntidf.c: Likewise.
25538         * soft-fp/floatuntisf.c: Likewise.
25539         * soft-fp/floatuntitf.c: Likewise.
25540         * soft-fp/trunctfxf2.c: Likewise.
25542         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
25543         * soft-fp/fixdfti.c: Likewise.
25544         * soft-fp/fixsfti.c: Likewise.
25545         * soft-fp/fixtfti.c: Likewise.
25546         * soft-fp/fixunsdfti.c: Likewise.
25547         * soft-fp/fixunssfti.c: Likewise.
25548         * soft-fp/fixunstfti.c: Likewise.
25549         * soft-fp/floattidf.c: Likewise.
25550         * soft-fp/floattisf.c: Likewise.
25551         * soft-fp/floattitf.c: Likewise.
25552         * soft-fp/floatuntidf.c: Likewise.
25553         * soft-fp/floatuntisf.c: Likewise.
25554         * soft-fp/floatuntitf.c: Likewise.
25555         * soft-fp/trunctfxf2.c: Likewise.
25557 2013-10-10  David S. Miller  <davem@davemloft.net>
25559         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25561 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
25563         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25564         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
25565         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
25566         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
25567         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
25568         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
25569         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
25571         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
25572         for NaNs before doing comparisons on argument.
25573         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
25574         Likewise.
25576 2013-10-10  Will Newton  <will.newton@linaro.org>
25578         * malloc/hooks.c (memalign_check): Ensure the value of bytes
25579         passed to _int_memalign does not overflow.
25581 2013-10-10  Torvald Riegel  <triegel@redhat.com>
25583         * scripts/bench.pl: Add include-sources directive.
25584         * benchtests/README: Update documentation.
25586 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
25588         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
25589         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
25590         instead of FP_INIT_ROUNDMODE.
25591         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
25592         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
25594         [BZ #16034]
25595         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
25596         copy class of input value.
25597         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
25598         not handle exceptions.
25599         * soft-fp/negsf2.c (__negsf2): Likewise.
25600         * soft-fp/negtf2.c (__negtf2): Likewise.
25601         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
25603 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
25605         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
25606         semicolon.  From Linux kernel.
25608 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
25610         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
25612 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
25614         [BZ #156]
25615         * manual/socket.texi: Added statement about buffer
25616         for gethostbyname2_r.
25618 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
25620         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
25621         Use .p2align directive instead, throughout.
25622         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25623         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
25624         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
25625         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25626         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25627         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
25628         * sysdeps/x86_64/strchr.S: Likewise.
25629         * sysdeps/x86_64/strrchr.S: Likewise.
25631 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25633         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
25635         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
25637         * sysdeps/generic/math_private.h (__mpsin1): Remove
25638         declaration.
25639         (__mpcos1): Likewise.
25640         (__mpsin): New argument __range_reduce.
25641         (__mpcos): Likewise.
25642         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25643         (slow): Use __mpsin and __mpcos.
25644         (slow1): Likewise.
25645         (slow2): Likewise.
25646         (sloww): Likewise.
25647         (sloww1): Likewise.
25648         (sloww2): Likewise.
25649         (bsloww): Likewise.
25650         (bsloww1): Likewise.
25651         (bsloww2): Likewise.
25652         (cslow2): Likewise.
25653         (csloww): Likewise.
25654         (csloww1): Likewise.
25655         (csloww2): Likewise.
25656         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
25657         range_reduce.  Merge in __mpsin1.
25658         (__mpcos): Likewise.
25659         (__mpsin1): Remove.
25660         (__mpcos1): Likewise.
25662 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
25664         * locale/loadlocale.c (_nl_intern_locale_data): Use
25665         LOCFILE_ALIGNED_P.
25666         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
25667         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
25668         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
25669         obstack data is appropriately aligned.
25670         (obstack_int32_grow_fast): Likewise.
25671         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
25672         * locale/programs/locfile.c (add_locale_uint32): Likewise.
25673         (add_locale_uint32_array): Likewise.
25675 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
25677         * benchtests/Makefile: Remove ARGLIST and RET variables.
25678         ($(objpfx)bench-%.c): Pass only function name to the script.
25679         * benchtests/README: Update documentation.
25680         * benchtests/acos-inputs: Add new directives.
25681         * benchtests/acosh-inputs: Likewise.
25682         * benchtests/asin-inputs: Likewise.
25683         * benchtests/asinh-inputs: Likewise.
25684         * benchtests/atan-inputs: Likewise.
25685         * benchtests/atanh-inputs: Likewise.
25686         * benchtests/cos-inputs: Likewise.
25687         * benchtests/cosh-inputs: Likewise.
25688         * benchtests/exp-inputs: Likewise.
25689         * benchtests/log-inputs: Likewise.
25690         * benchtests/pow-inputs: Likewise.
25691         * benchtests/rint-inputs: Likewise.
25692         * benchtests/sin-inputs: Likewise.
25693         * benchtests/sinh-inputs: Likewise.
25694         * benchtests/tan-inputs: Likewise.
25695         * benchtests/tanh-inputs: Likewise.
25696         * scripts/bench.pl: Add support for new directives.
25698 2013-10-07  Alan Modra  <amodra@gmail.com>
25700         * README: Fix careless merge.
25702 2013-10-05  Alan Modra  <amodra@gmail.com>
25704         * NEWS: Mention powerpc64le support and bugs fixed.
25705         * README: Both big-endian and little-endian powerpc64 supported.
25707 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25709         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
25710         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
25711         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
25712         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
25714 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
25716         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
25717         match prototype.
25719 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
25721         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
25722         Move -mhard-float appending from
25723         ports/sysdeps/powerpc/powerpc32/Makefile.
25724         [$(with-fp) = yes] (ASFLAGS): Likewise.
25725         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
25726         * sysdeps/powerpc/nofpu: Move directory from
25727         ports/sysdeps/powerpc/nofpu.
25728         * sysdeps/powerpc/soft-fp: Move directory from
25729         ports/sysdeps/powerpc/soft-fp.
25730         * sysdeps/powerpc/powerpc32/405: Move directory from
25731         ports/sysdeps/powerpc/powerpc32/405.
25732         * sysdeps/powerpc/powerpc32/440: Move directory from
25733         ports/sysdeps/powerpc/powerpc32/440.
25734         * sysdeps/powerpc/powerpc32/464: Move directory from
25735         ports/sysdeps/powerpc/powerpc32/464.
25736         * sysdeps/powerpc/powerpc32/476: Move directory from
25737         ports/sysdeps/powerpc/powerpc32/476.
25738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
25739         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
25740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
25741         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
25742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
25743         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
25744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
25745         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
25746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
25747         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
25748         * README: Update for powerpc-*-linux-gnu software floating point
25749         support in libc.
25751         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
25752         case to powerpc/powerpc32*.
25753         * sysdeps/unix/sysv/linux/configure: Regenerated.
25755         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
25756         (_FPU_MASK_OM): Define as 0x04.
25757         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
25758         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
25759         0x00c10080.
25760         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
25761         0x0000003c.
25762         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
25764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
25765         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
25766         getcontext_e500.
25767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
25768         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
25769         setcontext_e500.
25770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
25771         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
25772         and setcontext_e500.
25774 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
25776         * locale/iso-3166.def: Update iso-1366.def and related occurrences
25778 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25780         * manual/threads.texi (Default Thread Attributes): Fix typo.
25782 2013-10-04  Will Newton  <will.newton@linaro.org>
25784         * malloc/Makefile: Add tst-memalign.
25785         * malloc/tst-memalign.c: New file.
25787         * malloc/tst-posix_memalign.c: Add comments.
25788         (do_test): Add comments and call free on all potentially
25789         allocated pointers. Add space after cast.
25791         * malloc/tst-pvalloc.c: Add comments.
25792         (do_test): Add comments and call free on all potentially
25793         allocated pointers. Remove duplicate check for NULL pointer.
25794         Add space after cast.
25796         * malloc/tst-valloc.c: Add comments.
25797         (do_test): Add comments and call free on all potentially
25798         allocated pointers. Remove duplicate check for NULL pointer.
25799         Add space after cast.
25801 2013-10-04  Alan Modra  <amodra@gmail.com>
25803         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25804         Use stdint types in rather than __attribute__((mode())).
25805         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25807 2013-10-04  Alan Modra  <amodra@gmail.com>
25809         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25810         Correct handling of unaligned relocs for little-endian.
25811         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25813 2013-10-04  Alan Modra  <amodra@gmail.com>
25815         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
25816         * configure: Regenerate.
25817         * nptl/shlib-versions: Powerpc*le starts at 2.18.
25818         * shlib-versions: Likewise.
25820 2013-10-04  Alan Modra  <amodra@gmail.com>
25822         * string/tester.c (test_memrchr): Increment reported test cycle.
25824 2013-10-04  Alan Modra  <amodra@gmail.com>
25826         * string/test-memcpy.c (do_one_test): When reporting errors, print
25827         string address and don't overrun end of string.
25829 2013-10-04  Alan Modra  <amodra@gmail.com>
25831         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
25832         insrdi.  Make better use of reg selection to speed exit slightly.
25833         Schedule entry path a little better.  Remove useless "are we done"
25834         checks on entry to main loop.  Handle wrapping around zero address.
25835         Correct main loop count.  Handle single left-over word from main
25836         loop inline rather than by using loop_small.  Remove extra word
25837         case in loop_small caused by wrong loop count.  Add little-endian
25838         support.
25839         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25840         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
25841         cache hint.
25842         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25843         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
25844         support.  Avoid rlwimi.
25845         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
25847 2013-10-04  Alan Modra  <amodra@gmail.com>
25849         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
25850         insrdi.  Formatting.
25851         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
25852         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25853         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
25854         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25855         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25856         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
25858 2013-10-04  Alan Modra  <amodra@gmail.com>
25860         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
25861         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25862         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
25863         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
25864         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25865         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25866         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25867         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
25868         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
25869         use of regs.  Use power7 mtocrf.  Tidy function tails.
25871 2013-10-04  Alan Modra  <amodra@gmail.com>
25873         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
25874         Formatting.  Consistently use rXXX register defines or rN defines.
25875         Use early exit labels that avoid restoring unused non-volatile regs.
25876         Make cr field use more consistent with rWORDn compares.  Rename
25877         regs used as shift registers for unaligned loop, using rN defines
25878         for short lifetime/multiple use regs.
25879         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25880         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
25881         addi 1,1,64 to pop stack frame.  Simplify return value code.
25882         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25884 2013-10-04  Alan Modra  <amodra@gmail.com>
25886         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
25887         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
25888         rather than rlwimi.
25889         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
25890         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
25891         little-endian support.  Correct typos.
25892         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
25893         rather than rlwimi.
25894         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
25895         in loop and entry code to keep "and." results.
25896         (strchr): Add little-endian support.  Comment.  Move cntlzd
25897         earlier in tail.
25898         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
25900 2013-10-04  Alan Modra  <amodra@gmail.com>
25902         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
25903         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
25904         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
25905         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
25907 2013-10-04  Alan Modra  <amodra@gmail.com>
25909         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
25910         (rTMP): Define as r11.
25911         (strcmp): Add little-endian support.  Optimise tail.
25912         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
25913         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25914         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25915         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25916         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25917         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25918         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25920 2013-10-04  Alan Modra  <amodra@gmail.com>
25922         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
25923         little-endian support.  Remove unnecessary "are we done" tests.
25924         Handle "s" wrapping around zero and extremely large "size".
25925         Correct main loop count.  Handle single left-over word from main
25926         loop inline rather than by using small_loop.  Correct comments.
25927         Delete "zero" tail, use "end_max" instead.
25928         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
25930 2013-10-04  Alan Modra  <amodra@gmail.com>
25932         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
25933         support.  Don't branch over align.
25934         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
25935         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
25936         support.  Rearrange tmp reg use to suit.  Comment.
25937         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
25939 2013-10-04  Alan Modra  <amodra@gmail.com>
25941         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
25943 2013-10-04  Alan Modra  <amodra@gmail.com>
25945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
25946         conditional form of branch and link when obtaining pc.
25947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25949 2013-10-04  Alan Modra  <amodra@gmail.com>
25951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
25952         HIWORD/LOWORD.
25953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
25954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
25956 2013-10-04  Alan Modra  <amodra@gmail.com>
25958         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
25959         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
25960         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
25961         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
25962         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25963         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25964         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
25965         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25966         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25967         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
25969 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
25970             Alistair Popple <alistair@ozlabs.au.ibm.com>
25971             Alan Modra <amodra@gmail.com>
25973         [BZ #15723]
25974         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
25975         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
25976         _dl_hwcap access for little-endian.
25977         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
25978         destroy vmx regs when saving unaligned.
25979         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
25980         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
25981         destroy vmx regs when saving unaligned.
25983 2013-10-04  Alan Modra  <amodra@gmail.com>
25985         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
25986         Don't use a union to pack hi/low value.
25988 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
25990         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
25991         for little-endian.
25992         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25993         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
25994         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25995         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25996         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25998 2013-10-04  Alan Modra  <amodra@gmail.com>
26000         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
26001         constants to usual value for .cst8 section, and remove redundant
26002         high address load.
26003         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
26004         constant for 0x1p52.  Load little-endian words of double from
26005         correct stack offsets.
26007 2013-10-04  Alan Modra  <amodra@gmail.com>
26009         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
26010         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
26011         words of double from correct stack offsets.
26012         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26013         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
26014         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26015         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26016         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26017         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26018         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26019         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26020         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26021         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26022         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26023         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26024         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26025         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26026         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26027         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
26028         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26030 2013-10-04  Alan Modra  <amodra@gmail.com>
26032         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
26033         64-bit int/double union.
26034         (_FPU_SETCW): Likewise.
26035         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
26036         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
26038 2013-10-04  Alan Modra  <amodra@gmail.com>
26040         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
26041         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
26043 2013-10-04  Alan Modra  <amodra@gmail.com>
26045         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
26046         use vector int constants.
26047         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
26049 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26051         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
26052         array with long long.
26053         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
26054         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
26055         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
26056         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
26057         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
26058         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
26059         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
26060         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
26061         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
26062         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
26063         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
26064         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
26065         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
26067 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26069         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
26070         (__signbit): Likewise.  Correct for little-endian.
26071         (__signbitl): Call __signbit.
26072         (lrint): Correct for little-endian.
26073         (lrintf): Call lrint.
26075 2013-10-04  Alan Modra  <amodra@gmail.com>
26077         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
26078         union 32-bit int array member with 64-bit int array.
26079         (t515, tm256): Double rather than long double.
26080         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
26082 2013-10-04  Alan Modra  <amodra@gmail.com>
26084         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
26085         Delete.
26086         (IEEE854_LONG_DOUBLE_BIAS): Delete.
26087         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
26088         version of math_ldbl.h.
26090 2013-10-04  Alan Modra  <amodra@gmail.com>
26092         [BZ #15734], [BZ #15735]
26093         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
26094         all uses of ieee875 long double macros and unions.  Simplify test
26095         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
26096         ldbl_extract_mantissa value for ix,iy exponents.  Properly
26097         normalize after ldbl_extract_mantissa, and don't add hidden bit
26098         already handled.  Don't treat low word of ieee854 mantissa like
26099         low word of IBM long double and mask off bit when testing for
26100         zero.
26101         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
26102         all uses of ieee875 long double macros and unions.  Simplify tests
26103         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
26104         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
26105         two1022, instead use their values.  Recognise that tests for large
26106         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
26107         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
26108         Rewrite all uses of ieee875 long double macros and unions.  Simplify
26109         test for 0.0L and nan.  Correct negation.
26110         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
26111         ieee875 long double macros and unions.  Correct output for large
26112         magnitude x.  Correct absolute value calculation.
26113         (__erfcl): Likewise.
26114         * math/libm-test.inc: Add tests for errors discovered in IBM long
26115         double versions of fmodl, remainderl, erfl and erfcl.
26117 2013-10-04  Alan Modra  <amodra@gmail.com>
26119         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
26120         all uses of ieee854 long double macros and unions.  Simplify tests
26121         for long doubles that are fully specified by the high double.
26122         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26123         Likewise.
26124         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
26125         Remove dead code too.
26126         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26127         (__ieee754_ynl): Likewise.
26128         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26129         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
26130         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
26131         Remove dead code too.
26132         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26133         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
26134         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
26135         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
26136         Simplify.
26137         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
26138         Simplify.
26139         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
26140         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
26141         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
26142         Comment on variable precision.
26143         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
26144         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26145         Likewise.
26146         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26147         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26148         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26149         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26150         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
26152 2013-10-04  Alan Modra  <amodra@gmail.com>
26154         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
26155         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
26156         all uses of ieee854 long double macros and unions.
26157         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
26158         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26159         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
26160         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
26161         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26162         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26163         Likewise.
26164         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
26165         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26166         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
26167         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26168         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26169         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26170         Simplify sign and nan test too.
26171         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
26172         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
26173         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
26174         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
26175         Likewise.
26176         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26177         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
26178         Likewise.
26179         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26180         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26181         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
26182         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
26183         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
26184         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
26186 2013-10-04  Alan Modra  <amodra@gmail.com>
26188         * stdio-common/printf_size.c (__printf_size): Don't use
26189         union ieee854_long_double in fpnum union.
26190         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
26191         signbit macro to retrieve sign from long double.
26192         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
26193         retrieve sign from long double.
26194         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
26195         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
26196         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
26197         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26198         * math/test-misc.c (main): Don't use union ieee854_long_double.
26200 2013-10-04  Alan Modra  <amodra@gmail.com>
26202         [BZ #15680]
26203         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
26204         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
26205         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
26206         calculation.  Remove unnecessary test for denormal exponent.
26207         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
26208         Correct handling of denormals.  Avoid undefined shift behaviour.
26209         Correct normalisation of low mantissa when low double is denormal.
26210         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
26211         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
26212         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
26213         Correct normalisation of low mantissa.  Test for overflow of high
26214         mantissa and normalise.
26215         (ldbl_nearbyint): Use more readable constant for two52.
26216         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
26217         (__mpn_construct_long_double): Fix test for overflow of high
26218         mantissa and correct normalisation.  Avoid undefined shift.
26220 2013-10-04  Alan Modra  <amodra@gmail.com>
26222         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26223         (union ibm_extended_long_double): Define as an array of ieee754_double.
26224         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
26225         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
26226         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
26227         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26228         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26229         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
26230         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26231         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26232         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26233         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
26234         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26236 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
26238         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
26239         page size instead of calling getpagesize.
26241         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
26242         (LOCFILE_ALIGN_MASK): Likewise.
26243         (LOCFILE_ALIGN_UP): Likewise.
26244         (LOCFILE_ALIGNED_P): Likewise.
26245         * locale/programs/ld-collate.c (collate_output): Use the new
26246         macros instead of __alignof__ (int32_t).
26247         * locale/weight.h (findidx): Likewise.
26249 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
26251         [BZ #431]
26252         * manual/string.texi: Fix strncat and wcsncat.
26254 2013-10-03  Brooks Moses  <bmoses@google.com>
26256         [BZ #15915]
26257         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
26258         * Makerules: ...here, and adjust associated comments.
26260 2013-10-02  Will Newton  <will.newton@linaro.org>
26262         * malloc/Makefile: Add tst-pvalloc.
26263         * malloc/tst-pvalloc.c: New file.
26265 2013-10-02  Will Newton  <will.newton@linaro.org>
26267         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
26268         improve test coverage.
26270 2013-10-02  Will Newton  <will.newton@linaro.org>
26272         * malloc/Makefile: Add tst-posix_memalign.
26273         * malloc/tst-posix_memalign.c: New file.
26275 2013-10-01  Eric Blake  <eblake@redhat.com>
26277         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
26278         Use __THROWNL rather than __THROW on static functions.
26280 2013-09-30  Petr Machata  <pmachata@redhat.com>
26282         * elf/elf.h (R_AARCH64_ABS16): New macro.
26283         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
26284         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
26285         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
26286         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
26287         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
26288         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
26289         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
26290         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
26291         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
26292         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
26293         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
26294         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
26295         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
26296         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
26297         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
26298         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
26299         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
26300         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
26301         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
26302         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
26303         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
26304         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
26305         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
26306         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
26307         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
26308         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
26309         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
26310         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
26311         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
26312         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
26313         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
26314         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
26315         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
26316         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
26317         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
26318         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
26319         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
26320         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
26321         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
26322         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
26323         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
26324         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
26325         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
26326         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
26327         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
26328         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
26329         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
26330         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
26331         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
26332         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
26333         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
26334         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
26335         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
26336         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
26337         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
26338         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
26339         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
26340         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
26341         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
26342         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
26343         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
26344         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
26345         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
26346         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
26347         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
26348         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
26349         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
26350         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
26351         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
26352         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
26353         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
26354         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
26355         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
26356         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
26357         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
26358         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
26359         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
26360         (R_AARCH64_TLSDESC_LDR): Likewise.
26361         (R_AARCH64_TLSDESC_ADD): Likewise.
26362         (R_AARCH64_TLSDESC_CALL): Likewise.
26364 2013-09-30  Andreas Schwab  <schwab@suse.de>
26366         [BZ #15048]
26367         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
26368         the nss database lookup.
26369         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26370         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26372 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
26374         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
26376 2013-09-28  P. J. McDermott  <pj@pehjota.net>
26378         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
26379         ${Bash-specific parameter/pattern/string} parameter expansion.
26380         * sysdeps/unix/make-syscalls.sh: Likewise.
26382 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26384         * sysdeps/sh/stackguard-macros.h: New file.
26386 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
26388         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26389         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
26390         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
26391         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
26392         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26393         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
26395 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26397         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
26398         Fix thread ID register.
26400 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
26402         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
26403         [POSIX || UNIX98]: Require rather than permitting all symbols from
26404         <time.h>.
26405         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
26406         element of struct sched_param.
26407         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
26408         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
26409         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
26410         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
26411         constant.
26413 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
26415         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
26416         argument calculation.
26418 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
26420         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
26421         Expect macro.
26422         [POSIX] (pthread_attr_t): Do not require type.
26423         [POSIX] (pthread_cond_t): Likewise.
26424         [POSIX] (pthread_condattr_t): Likewise.
26425         [POSIX] (pthread_key_t): Likewise.
26426         [POSIX] (pthread_mutex_t): Likewise.
26427         [POSIX] (pthread_mutexattr_t): Likewise.
26428         [POSIX] (pthread_once_t): Likewise.
26429         [POSIX] (pthread_t): Likewise.
26430         [POSIX-based standards] (pthread_atfork): Expect function.
26432 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
26433             Richard Sandiford  <richard@codesourcery.com>
26435         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
26436         (swap_endianness_p): New extern variable.
26437         (set_big_endian): New inline function.
26438         (maybe_swap_uint32): Likewise.
26439         (maybe_swap_uint32_array): Likewise.
26440         (maybe_swap_uint32_obstack): Likewise.
26441         * locale/programs/locfile.c: Include <stdbool.h>.
26442         (swap_endianness_p): New variable.
26443         (add_locale_uint32): Call maybe_swap_uint32.
26444         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
26445         (write_locale_data): Call maybe_swap_uint32_array.
26446         * locale/programs/ld-collate.c (obstack_int32_grow): Call
26447         maybe_swap_uint32.
26448         (obstack_int32_grow_fast): Likewise.
26449         (output_weightwc): Call maybe_swap_uint32_obstack.
26450         (collate_output): Likewise.
26451         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
26452         (OPT_LITTLE_ENDIAN): Likewise.
26453         (options): Add --little-endian and --big-endian options.
26454         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
26455         * locale/programs/locarchive.c: Include "locfile.h".
26456         (GET): New macro.
26457         (SET): Likewise.
26458         (INC): Likewise.
26459         (create_archive): Use the new macros to access fields of
26460         structures directly mapped from or written to locale archives.
26461         (oldlocrecentcmp): Likewise.
26462         (enlarge_archive): Likewise.
26463         (insert_name): Likewise.
26464         (add_alias): Likewise.
26465         (add_locale): Likewise.
26466         (delete_locales_from_archive): Likewise.
26467         (show_archive_content): Likewise.
26468         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
26469         locale data.
26471 2013-09-24  Roland McGrath  <roland@hack.frob.com>
26473         * manual/freemanuals.texi: Updated from (newly) canonical copy at
26474         http://www.gnu.org/doc/freemanuals.texi.
26475         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
26477 2013-09-24  Will Newton  <will.newton@linaro.org>
26479         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
26480         macro.
26482 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
26484         * locale/hashval.h (compute_hashval): Interpret bytes of key as
26485         unsigned char.
26487 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
26489         * manual/threads.texi (POSIX Threads): Fix a typo.
26491 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26493         [BZ #14547]
26494         * string/tst-strcoll-overflow.c: New test case.
26495         * string/Makefile (xtests): Add tst-strcoll-overflow.
26496         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
26497         cache if string sizes may cause integer overflow.
26499         [BZ #14547]
26500         * string/strcoll_l.c (coll_seq): New members rule, idx,
26501         save_idx and back_us.
26502         (get_next_seq_nocache): New function.
26503         (do_compare_nocache): New function.
26504         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
26505         when malloc fails.
26507 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
26509         [BZ #15754]
26510         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
26511         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
26512         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
26514         [BZ #15754]
26515         * elf/Makefile (tests): Add tst-ptrguard1.
26516         (tests-static): Add tst-ptrguard1-static.
26517         (tst-ptrguard1-ARGS): Define.
26518         (tst-ptrguard1-static-ARGS): Define.
26519         * elf/tst-ptrguard1.c: New file.
26520         * elf/tst-ptrguard1-static.c: New file.
26521         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
26522         * sysdeps/i386/stackguard-macros.h: Likewise.
26523         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26524         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26525         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26526         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26527         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26528         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26530 2013-09-23  Hector Marco  <hecmargi@upv.es>
26531             Ismael Ripoll  <iripoll@disca.upv.es>
26532             Carlos O'Donell  <carlos@redhat.com>
26534         [BZ #15754]
26535         * sysdeps/generic/stackguard-macros.h: Define
26536         __pointer_chk_guard_local and POINTER_CHK_GUARD.
26537         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
26538         Define __pointer_chk_guard_local.
26539         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
26540         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
26542 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
26544         [BZ #15859]
26545         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
26547 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
26549         * include/string.h (__ffs): Declare as hidden.
26550         * string/ffs.c (__ffs): Define as hidden.
26551         * sysdeps/i386/ffs.c (__ffs): Likewise.
26552         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
26553         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
26554         * sysdeps/s390/ffs.c (__ffs): Likewise.
26555         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
26557 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
26559         * NEWS: Mention malloc probes.
26561         * malloc/arena.c (new_heap): New memory_heap_new probe.
26562         (grow_heap): New memory_heap_more probe.
26563         (shrink_heap): New memory_heap_less probe.
26564         (heap_trim): New memory_heap_free probe.
26565         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
26566         (systrim): New memory_sbrk_less probe.
26567         * manual/probes.texi: Document them.
26569         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
26570         * manual/probes.texi: Document it.
26572         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
26573         (__libc_realloc): Add memory_realloc_retry probe.
26574         (__libc_memalign): Add memory_memalign_retry probe.
26575         (__libc_valloc): Add memory_valloc_retry probe.
26576         (__libc_pvalloc): Add memory_pvalloc_retry probe.
26577         (__libc_calloc): Add memory_calloc_retry probe.
26578         * manual/probes.texi: Document them.
26580         * malloc/arena.c (get_free_list): Add probe
26581         memory_arena_reuse_free_list.
26582         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
26583         and memory_arena_reuse.
26584         (arena_get2) [!PER_THREAD]: Likewise.
26585         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
26586         memory_arena_reuse_realloc.
26587         * manual/probes.texi: Document them.
26589         * malloc/malloc.c (__libc_free): Add
26590         memory_mallopt_free_dyn_thresholds probe.
26591         (__libc_mallopt): Add multiple memory_mallopt probes.
26592         * manual/probes.texi: Document them.
26594         * malloc/malloc.c: Include stap-probe.h.
26595         (__libc_mallopt): Add memory_mallopt probe.
26596         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
26597         * manual/probes.texi: New.
26598         * manual/Makefile (chapters): Add probes.
26599         * manual/threads.texi: Set next node.
26601 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
26603         [BZ #15963, #13985]
26604         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
26605         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
26606         Add `Chinese' to `nan' entry name.
26608 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26610         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
26611         (POLYNOMIAL): Likewise.
26612         (TAYLOR_SINCOS): Likewise.
26613         (TAYLOR_SLOW): Likewise.
26614         (__sin): Use TAYLOR_SINCOS.
26615         (__cos): Likewise.
26616         (slow): Use TAYLOR_SLOW.
26617         (sloww): Likewise.
26618         (bsloww): Likewise.
26619         (csloww): Likewise.
26621 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26623         * stdlib/strtod_l.c: Fix buffer overrun.
26625 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26627         * benchtests/Makefile (bench): Add sincos.
26628         * benchtests/bench-sincos.c: New file.
26630         * math/libm-test.inc (cos_test_data): New test inputs.
26631         (sin_test_data): Likewise.
26633         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
26634         macro.
26635         (__sin): Use it.
26636         (__cos): Likewise.
26637         (slow1): Likewise.
26638         (slow2): Likewise.
26639         (sloww1): Likewise.
26640         (sloww2): Likewise.
26641         (bsloww1): Likewise.
26642         (bsloww2): Likewise.
26643         (cslow2): Likewise.
26644         (csloww1): Likewise.
26645         (csloww2): Likewise.
26647         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
26648         function.
26649         (__sin): Use it.
26650         (__cos): Likewise.
26652         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
26653         gotos.
26654         (__cos): Likewise.
26656 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
26658         * config.h.in (HAVE_MIPS_NAN2008): New macro.
26659         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
26660         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
26661         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
26662         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
26663         * elf/cache.c (print_entry): Handle the new cache flags.
26665 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
26666             Aldy Hernandez  <aldyh@redhat.com>
26668         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
26669         Change condition to [_SOFT_FLOAT].
26670         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
26671         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
26672         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
26673         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
26674         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
26675         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
26676         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
26677         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
26678         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
26679         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
26680         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
26681         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
26682         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
26683         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
26684         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
26685         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
26686         declaration.
26688 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
26690         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
26691         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
26692         (__longjmp): Use LOAD_GP to load saved GPRs.
26693         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
26694         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
26695         (__sigsetjmp): Use SAVE_GP to save GPRs.
26697         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
26698         Do not append -msoft-float.
26699         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
26701 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26703         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
26705 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
26707         [BZ #15966]
26708         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
26709         (_FPU_GETCW): Use initial "__" on variable and field names but not
26710         on macro parameter name.
26711         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
26712         parentheses around reference to macro parameter.
26714 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
26716         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
26717         prototype.
26718         (ctype_startup): Use uint32_t in cast and sizeof for
26719         ctype->charnames.
26721 2013-09-11  Jia Liu  <proljc@gmail.com>
26723         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
26724         __daddr_t_defined.
26725         [__FreeBSD__]: Likewise.
26727 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
26729         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
26730         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
26731         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
26732         (strchr): Remove __strchr_sse42 ifunc selection.
26733         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
26734         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
26736 2013-09-11  Will Newton  <will.newton@linaro.org>
26738         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
26739         parameter to RES. Remove hardcoded 1000 value.
26740         * benchtests/bench-skeleton.c (main): Pass RES parameter
26741         to TIMING_INIT and multiply result by 1000.
26743 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26747 2013-09-11  Andreas Schwab  <schwab@suse.de>
26749         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
26750         if not defined.
26751         (O_TMPFILE) [__USE_GNU]: Define.
26752         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
26753         Define.
26755 2013-09-11  Will Newton  <will.newton@linaro.org>
26757         [BZ #15857]
26758         * malloc/malloc.c (__libc_memalign): Check the value of bytes
26759         does not overflow.
26761 2013-09-11  Will Newton  <will.newton@linaro.org>
26763         [BZ #15856]
26764         * malloc/malloc.c (__libc_valloc): Check the value of bytes
26765         does not overflow.
26767 2013-09-11  Will Newton  <will.newton@linaro.org>
26769         [BZ #15855]
26770         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
26771         does not overflow.
26773 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
26775         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
26776         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26777         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26778         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26779         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26781 2013-09-10  Allan McRae  <allan@archlinux.org>
26783         [BZ #15748]
26784         * manual/arith.texi (Parsing of Floats): Clarify
26785         cross-reference.
26787         [BZ #15849]
26788         * manual/install.texi (Running make install): Mention
26789         --enable-pt-chown.
26790         * INSTALL: Regenerated.
26792 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
26794         * csu/init-first.c (_init): Remove the !SHARED condition around
26795         FPU control word initialization.
26796         * elf/dl-support.c (_dl_fpu_control): New variable.
26797         (_dl_aux_init) <AT_FPUCW>: Initialize it.
26798         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
26799         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
26800         * math/test-fpucw-static.c: New file.
26801         * math/test-fpucw-ieee.c: New file.
26802         * math/test-fpucw-ieee-static.c: New file.
26803         * math/Makefile (tests): Add `test-fpucw-ieee' and
26804         `$(tests-static)'.
26805         (tests-static): New variable.
26806         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
26807         dependency to...
26808         [($(build-shared),yes)]
26809         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
26810         ... this.
26811         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
26812         New dependency.
26814 2013-09-09  Allan McRae  <allan@archlinux.org>
26816         [BZ #15939]
26817         * manual/string.texi (Collation Functions): Fix typo in
26818         strcoll example.
26819         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
26821         [BZ #15893]
26822         * stdlib/isomac.c (get_null_defines): Fix memory leak.
26824         [BZ #15892]
26825         * libio/memstream.c (open_memstream): Fix memory leak.
26826         * libio/wmemstream.c (open_wmemstream): Likewise.
26828         [BZ #15895]
26829         * nscd/netgroupcache.c: Fix nesting of ifdefs.
26831 2013-09-09  Will Newton  <will.newton@linaro.org>
26833         * malloc/Makefile: Add tst-realloc to tests.
26834         * malloc/tst-realloc.c: New file.
26836 2013-09-09  Allan McRae  <allan@archlinux.org>
26838         [BZ #15844]
26839         * COPYING: Update from GNU website to fix FSF address.
26840         * COPYING.LIB: Likewise.
26842 2013-09-06  David S. Miller  <davem@davemloft.net>
26844         * po/zh_TW.po: Update Chinese (traditional) translation from
26845         translation project.
26847 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
26848             Joseph Myers  <joseph@codesourcery.com>
26850         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
26851         "localeinfo.h".
26852         (obstack_chunk_alloc): New macro.
26853         (obstack_chunk_free): Likewise.
26854         (record_offset): New function.
26855         (init_locale_data): Likewise.
26856         (align_locale_data): Likewise.
26857         (add_locale_empty): Likewise.
26858         (add_locale_raw_data): Likewise.
26859         (add_locale_raw_obstack): Likewise.
26860         (add_locale_string): Likewise.
26861         (add_locale_wstring): Likewise.
26862         (add_locale_uint32): Likewise.
26863         (add_locale_uint32_array): Likewise.
26864         (add_locale_char): Likewise.
26865         (start_locale_structure): Likewise.
26866         (end_locale_structure): Likewise.
26867         (start_locale_prelude): Likewise.
26868         (end_locale_prelude): Likewise.
26869         (write_locale_data): Take locale_file structure rather than an
26870         iovec.
26871         * locale/programs/locfile.h: Include "obstack.h".
26872         (struct locale_file): Change to store locale file contents instead
26873         of header.
26874         (init_locale_data): New prototype.
26875         (align_locale_data): Likewise.
26876         (add_locale_empty): Likewise.
26877         (add_locale_raw_data): Likewise.
26878         (add_locale_raw_obstack): Likewise.
26879         (add_locale_string): Likewise.
26880         (add_locale_wstring): Likewise.
26881         (add_locale_uint32): Likewise.
26882         (add_locale_uint32_array): Likewise.
26883         (add_locale_char): Likewise.
26884         (start_locale_structure): Likewise.
26885         (end_locale_structure): Likewise.
26886         (start_locale_prelude): Likewise.
26887         (end_locale_prelude): Likewise.
26888         (write_locale_data): Update prototype.
26889         * locale/programs/3level.h (struct TABLE): Remove result field.
26890         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
26891         Use new locale_file interface.
26892         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
26893         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
26894         * locale/programs/ld-address.c (address_output): Use new
26895         locale_file interface.
26896         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
26897         NO_ADD_LOCALE.
26898         (collate_finish): Don't call collseq_table_finalize.
26899         (collate_output): Use new locale_file interface.
26900         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
26901         in file.
26902         (NO_FINALIZE): Change to NO_ADD_LOCALE.
26903         (TABLE): Move defines earlier in file.
26904         (ELEMENT): Likewise.
26905         (DEFAULT): Likewise.
26906         (wctrans_table_add): Move macro and inline function earlier in
26907         file.
26908         (struct wctype_table): Move type earlier in file.
26909         (add_locale_wctype_table): New static prototype.
26910         (struct locale_ctype_t): Use logical types instead of struct iovec
26911         pointers for members.
26912         (ctype_output): Use new locale_file interface.
26913         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
26914         new locale_file interface.
26915         (allocate_arrays): Update for use of new locale_file interface.
26916         * locale/programs/ld-identification.c (identification_output): Use
26917         new locale_file interface.
26918         * locale/programs/ld-measurement.c (measurement_output): Likewise.
26919         * locale/programs/ld-messages.c (messages_output): Likewise.
26920         * locale/programs/ld-monetary.c (monetary_output): Likewise.
26921         * locale/programs/ld-name.c (name_output): Likewise.
26922         * locale/programs/ld-numeric.c (numeric_output): Likewise.
26923         * locale/programs/ld-paper.c (paper_output): Likewise.
26924         * locale/programs/ld-telephone.c (telephone_output): Likewise.
26925         * locale/programs/ld-time.c (time_output): Likewise.
26927 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26929         * benchtests/Makefile: Add memrchr benchmark.
26930         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
26931         benchmark as memrchr.
26932         * benchtests/bench-memrchr-ifunc.c: New file.
26933         * benchtests/bench-memrchr.c: New file.
26935 2013-09-06   Will Newton  <will.newton@linaro.org>
26937         * benchtests/Makefile (string-bench): Add memcpy.
26939 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
26940             Cong Wang  <amwang@redhat.com>
26942         [BZ #15850]
26943         * sysdeps/unix/sysv/linux/bits/in.h
26944         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
26945         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
26946         before __USE_KERNEL_IPV6_DEFS uses.
26947         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
26948         IPPROTO_BEETPH.
26949         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
26950         sockaddr_in6, or ipv6_mreq.
26952 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26954         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
26955         memory access for final bytes in some large inputs.
26956         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
26958 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26960         * string/test-memrchr.c: New file.
26961         * string/test-memrchr-ifunc.c: New file.
26962         * string/Makefile: Add new memrchr testcase.
26964 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
26966         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
26967         fanotify_init returns EPERM.
26969 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
26971         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
26972         errors.
26973         (top level): Treat second token from macro or constant entries for
26974         allowed headers as allowed.
26975         * include/complex.h: Condition internal declarations on
26976         [!_ISOMAC].
26977         * include/fenv.h: Condition include of <stdbool.h> and internal
26978         declarations on [!_ISOMAC].
26980 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
26982         [BZ #15923]
26983         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
26985 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
26987         * configure.in (--enable-versioning): Remove configure option.
26988         (libc_cv_asm_symver_directive): Remove configure test.
26989         (libc_cv_ld_version_script_option): Likewise.
26990         (VERSIONING): Remove variable and AC_SUBST.
26991         (DO_VERSIONING): Remove AC_DEFINE.
26992         * configure: Regenerated.
26993         * config.h.in (DO_VERSIONING): Remove macro.
26994         * Makerules [$(versioning) = yes]: Change conditionals to
26995         [$(build-shared) = yes].
26996         * config.make.in (versioning): Remove variable.
26997         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
26998         [$(build-shared) = yes].
26999         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
27000         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
27001         * elf/Makefile [$(versioning) = yes]: Change conditionals to
27002         [$(build-shared) = yes].
27003         * extra-lib.mk [$(versioning) = yes]: Likewise.
27004         * hurd/Makefile [$(versioning) = yes]: Likewise.
27005         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
27006         [SHARED].
27007         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
27008         [SHARED].
27009         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27010         [SHARED && !NO_HIDDEN].
27011         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
27012         [SHARED].
27013         [SHARED && DO_VERSIONING]: Likewise..
27014         * libio/Makefile [$(versioning) = yes]: Change conditionals to
27015         [$(build-shared) = yes].
27016         * manual/install.texi (--disable-versioning): Remove
27017         documentation.
27018         * INSTALL: Regenerated.
27019         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
27020         to [SHARED].
27021         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
27022         [$(build-shared) = yes].
27023         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
27024         * sysdeps/i386/i686/multiarch/strstr-c.c
27025         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27026         [SHARED && !NO_HIDDEN].
27027         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
27028         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
27029         * sysdeps/powerpc/powerpc32/dl-machine.c
27030         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
27031         * sysdeps/powerpc/powerpc32/sysdep.h
27032         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
27033         to [SHARED && PIC && !NO_HIDDEN].
27034         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
27035         conditional to [SHARED].
27037 2013-09-04   Will Newton  <will.newton@linaro.org>
27039         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
27040         * benchtests/bench-string.h: Include bench-timing.h instead
27041         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
27042         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
27043         call to HP_TIMING_DIFF_INIT.
27044         * benchtests/bench-memccpy.c: Use bench-timing.h macros
27045         instead of hp-timing.h macros.
27046         * benchtests/bench-memchr.c: Likewise.
27047         * benchtests/bench-memcmp.c: Likewise.
27048         * benchtests/bench-memcpy.c: Likewise.
27049         * benchtests/bench-memmem.c: Likewise.
27050         * benchtests/bench-memmove.c: Likewise.
27051         * benchtests/bench-memset.c: Likewise.
27052         * benchtests/bench-rawmemchr.c: Likewise.
27053         * benchtests/bench-strcasecmp.c: Likewise.
27054         * benchtests/bench-strcasestr.c: Likewise.
27055         * benchtests/bench-strcat.c: Likewise.
27056         * benchtests/bench-strchr.c: Likewise.
27057         * benchtests/bench-strcmp.c: Likewise.
27058         * benchtests/bench-strcpy.c: Likewise.
27059         * benchtests/bench-strcpy_chk.c: Likewise.
27060         * benchtests/bench-strlen.c: Likewise.
27061         * benchtests/bench-strncasecmp.c: Likewise.
27062         * benchtests/bench-strncat.c: Likewise.
27063         * benchtests/bench-strncmp.c: Likewise.
27064         * benchtests/bench-strncpy.c: Likewise.
27065         * benchtests/bench-strnlen.c: Likewise.
27066         * benchtests/bench-strpbrk.c: Likewise.
27067         * benchtests/bench-strrchr.c: Likewise.
27068         * benchtests/bench-strspn.c: Likewise.
27069         * benchtests/bench-strstr.c: Likewise.
27071 2013-09-04  Will Newton  <will.newton@linaro.org>
27073         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
27075 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
27077         [BZ #15427]
27078         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27079         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
27080         * math/libm-test.inc (lgamma_test_data): Add more tests.
27081         * sysdeps/i386/fpu/libm-test-ulps: Update.
27082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27084 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
27086         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
27087         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27088         Add ifunc.
27089         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27090         Add strcmp-sse2-unaligned
27091         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
27093 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
27095         * Versions.def (libc): Add GLIBC_2.19.
27097 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
27099         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
27100         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
27102 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
27104         [BZ #14155]
27105         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
27106         intermediate calculations in recurrence.
27107         (__ieee754_ynf): Likewise.
27108         * math/libm-test.inc (jn_test_data): Do not allow spurious
27109         underflow exception.  Add more tests.
27110         (yn_test_data): Add more tests.
27111         * sysdeps/i386/fpu/libm-test-ulps: Update.
27112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27114 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
27116         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
27118 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
27120         * csu/init-first.c: Fix then/than typos.
27121         * locale/programs/ld-collate.c: Likewise.
27122         * locale/programs/linereader.h: Likewise.
27123         * manual/charset.texi: Likewise.
27124         * manual/filesys.texi: Likewise.
27125         * manual/stdio.texi: Likewise.
27126         * manual/string.texi: Likewise.
27127         * stdlib/fmtmsg.c: Likewise.
27128         * sysdeps/i386/stpncpy.S: Likewise.
27129         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27130         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27131         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27132         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27134 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
27136         * elf/dl-open.c: Fix typos.
27137         * iconvdata/gbbig5.c: Likewise.
27138         * iconvdata/iso-2022-jp.c: Likewise.
27139         * iconv/gconv_int.h: Likewise.
27140         * iconv/loop.c: Likewise.
27141         * nis/rpcsvc/nis.h: Likewise.
27142         * resolv/ns_name.c: Likewise.
27143         * stdio-common/vfscanf.c: Likewise.
27144         * streams/stropts.h: Likewise.
27145         * sunrpc/rpc_thread.c: Likewise.
27146         * sysdeps/i386/strpbrk.S: Likewise.
27147         * sysdeps/ieee754/k_standard.c: Likewise.
27148         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27149         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27150         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
27151         * sysdeps/mach/hurd/profil.c: Likewise.
27152         * sysdeps/s390/dl-procinfo.h: Likewise.
27153         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
27154         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27155         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
27156         * sysdeps/x86_64/dl-trampoline.S: Likewise.
27157         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27159 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
27161         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
27162         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
27164 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
27166         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
27167         aix specific files.
27168         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
27169         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
27170         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
27171         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
27172         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
27173         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
27174         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
27175         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
27177 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
27178             Roland McGrath  <roland@hack.frob.com>
27180         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
27181         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
27183 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27185         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
27186         __executable_start symbol instead of _start.
27188 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
27190         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
27191         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
27192         Move macros to...
27193         * sysdeps/gnu/ldsodefs.h: ... this new file.
27195         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
27196         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
27197         instead of ELFOSABI_LINUX.
27199         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
27200         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
27201         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
27202         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
27203         Likewise.
27204         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
27205         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
27206         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
27207         Likewise.
27208         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27209         (ibm_extended_long_double): Add ieee_nan member.
27210         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
27211         (do_test): New function.
27213         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
27214         TEST_TRUNC.
27215         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
27216         functions, renamed from truncdfsf_test, trunctfsf_test,
27217         trunctfdf_test.
27218         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
27219         functions.
27220         (do_test): Run all these.
27222 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
27224         * argp/argp-help.c: Fix typos.
27225         * argp/argp-parse.c: Likewise.
27226         * debug/backtracesyms.c: Likewise.
27227         * elf/elf.h: Likewise.
27228         * malloc/malloc.c: Likewise.
27229         * nis/nis_print.c: Likewise.
27230         * resolv/res_comp.c: Likewise.
27231         * stdlib/stdlib.h: Likewise.
27232         * sunrpc/clnt_tcp.c: Likewise.
27233         * sunrpc/clnt_udp.c: Likewise.
27234         * sunrpc/clnt_unix.c: Likewise.
27235         * sysdeps/unix/bsd/ptsname.c: Likewise.
27236         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27237         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
27238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
27239         Likewise.
27240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
27241         Likewise.
27242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27243         Likewise.
27244         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27246 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27248         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
27249         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27251 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
27253         [BZ #15897]
27254         * dlfcn/Makefile (tests): Add bug-dl-leaf.
27255         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
27256         ($(objpfx)bug-dl-leaf): New rule.
27257         ($(objpfx)bug-dl-leaf.so): Likewise.
27258         ($(objpfx)bug-dl-leaf.out): Likewise.
27259         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
27260         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
27261         * dlfcn/bug-dl-leaf.c: New test.
27262         * dlfcn/bug-dl-leaf-lib.c: Likewise.
27263         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
27264         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
27265         (dlclose): Likewise.
27266         (dlmopen): Likewise.
27268 2013-08-27  Roland McGrath  <roland@hack.frob.com>
27270         * include/netdb.h [!_ISOMAC]:
27271         Don't include <tls.h>.
27272         (h_errno, __libc_h_errno): Move declaration and macros out of
27273         [_LIBC_REENTRANT].
27275         * include/resolv.h [_RESOLV_H_]:
27276         Don't include <tls.h>.
27277         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
27278         * resolv/res_libc.c: Don't include <tls.h>.
27279         (_res): Use __attribute__ ((nocommon)) in place of
27280         __attribute__ ((section (".bss"))).
27282         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
27283         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
27285         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
27287         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
27288         only under [SIOCGIFCONF && SIOCGIFNETMASK].
27290         * resolv/res_mkquery.c: Include <sys/time.h>.
27292         * inet/ifreq.c: Moved to ...
27293         * sysdeps/unix/ifreq.c: ... here.
27294         * inet/ifreq.c: New file, true stub version.
27296         * socket/sa_len.c: New file.
27297         * socket/Makefile (aux): Add it.
27298         * sysdeps/unix/sysv/linux/Makefile
27299         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
27300         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
27301         and #include <socket/sa_len.c>.
27302         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
27303         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
27305         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
27306         * bits/socket.h: ... here.
27308         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
27309         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
27310         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
27312 2013-08-27  Andreas Schwab  <schwab@suse.de>
27314         [BZ #15736]
27315         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
27316         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
27317         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
27318         * string/test-strcasecmp.c (test_main): Run tests in several
27319         locales.
27320         * string/test-strncasecmp.c (test_main): Likewise.
27322         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
27323         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
27324         to __strcasecmp_nonascii and __strncasecmp_nonascii.
27325         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
27326         (__strncasecmp_ssse3) [PIC]: Likewise.
27328 2013-08-26  Roland McGrath  <roland@hack.frob.com>
27330         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
27332         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
27333         instead of explicitly declaring xdecrypt.
27334         * nis/nss_nis/nis-publickey.c: Likewise.
27336 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27338         [BZ #15890]
27339         * nscd/aicache.c: Include res_hconf.h.
27340         (addhstaiX): Initialize res_hconf.
27342 2013-08-26  Andreas Schwab  <schwab@suse.de>
27344         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
27345         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
27347 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27349         * nscd/aicache.c (addhstaiX): Fix indentation.
27351 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
27353         * configure.ac: Quote $build_pt_chown test.
27354         * configure: Regenerated.
27356 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
27358         [BZ #15532]
27359         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
27360         * math/s_cexpf.c (__cexpf): Likewise.
27361         * math/s_cexpl.c (__cexpl): Likewise.
27362         * math/libm-test.inc (cexp_test_data): Correct expected return
27363         value for NaN + i0.  Add another test.
27365 2013-08-22  David S. Miller  <davem@davemloft.net>
27367         * po/ca.po: Update Catalan translation from translation project.
27368         * po/uk.po: Add Ukrainian translations from translation project.
27370 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
27372         [BZ #15797]
27373         * math/s_fdim.c (__fdim): Check for infinite arguments if result
27374         is infinite, not alongside NaN test.
27375         * math/s_fdimf.c (__fdimf): Likewise.
27376         * math/s_fdiml.c (__fdiml): Likewise.
27377         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
27378         errno is unchanged.
27380 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
27382         * argp/argp-help.c: Fix typos.
27383         * crypt/speeds.c: Likewise.
27384         * csu/check_fds.c: Likewise.
27385         * elf/dl-load.c: Likewise.
27386         * elf/dl-open.c: Likewise.
27387         * elf/reldep3.c: Likewise.
27388         * elf/reldep.c: Likewise.
27389         * elf/sprof.c: Likewise.
27390         * iconv/iconv_charmap.c: Likewise.
27391         * iconv/skeleton.c: Likewise.
27392         * iconv/strtab.c: Likewise.
27393         * io/lockf64.c: Likewise.
27394         * libio/libioP.h: Likewise.
27395         * resolv/gai_notify.c: Likewise.
27396         * resolv/ns_name.c: Likewise.
27397         * resolv/ns_samedomain.c: Likewise.
27398         * resolv/res_send.c: Likewise.
27399         * stdlib/random.c: Likewise.
27400         * sunrpc/rpc/xdr.h: Likewise.
27401         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
27402         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27403         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27404         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27405         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27406         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27407         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27408         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27409         * sysdeps/mach/hurd/check_fds.c: Likewise.
27410         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27411         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27412         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27413         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27414         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27415         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27416         * sysdeps/pthread/aio_notify.c: Likewise.
27417         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
27418         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
27419         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
27420         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27421         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27423 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27425         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
27426         version if bit_Slow_SSE4_2 is set.
27427         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27428         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27430 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27432         [BZ #15867]
27433         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
27434         trampoline stack frame information.
27435         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
27436         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
27437         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
27438         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
27439         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
27440         * sysdeps/unix/sysv/linux/powerpc/init-first.c
27441         (_libc_vdso_platform_setup): Initialize the signal trampolines.
27442         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
27443         sa_flags value.
27444         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
27445         interrupting a syscall and set with option SA_SIGINFO.
27447 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
27449         [BZ #15531]
27450         * math/s_cproj.c (__cproj): Only return an infinity if one part of
27451         argument is infinite.
27452         * math/s_cprojf.c (__cprojf): Likewise.
27453         * math/s_cprojl.c (__cprojl): Likewise.
27454         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
27455         * math/libm-test.inc (cproj_test_data): Add more tests.
27457         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
27459         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
27460         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
27461         size.  Use __ffs to determine corresponding shift.
27463 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
27464             Roland McGrath  <roland@hack.frob.com>
27466         * Makefile (INSTALL): Remove trailing blank lines from output of
27467         makeinfo.
27469 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27471         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
27472         Align 32 bit compat elf_greg to 8 bytes.
27474 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
27476         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
27478 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27480         * string/strcoll_l.c (coll_seq): New structure.
27481         (get_next_seq_cached): New function.
27482         (get_next_seq): New function.
27483         (do_compare): New function.
27484         (STRCOLL): Use GNU style definition.  Simplify implementation
27485         by using get_next_seq, get_next_seq_cached and do_compare.
27487 2013-08-16  Florian Weimer  <fweimer@redhat.com>
27489         [BZ #14699]
27490         CVE-2013-4237
27491         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
27492         member.
27493         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
27494         member.
27495         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
27496         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
27497         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
27498         conditional.
27499         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
27500         GETDENTS_64BIT_ALIGNED.
27501         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27502         * manual/filesys.texi (Reading/Closing Directory): Document
27503         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
27504         strongly.
27505         * manual/conf.texi (Limits for Files): Add portability note to
27506         NAME_MAX, PATH_MAX.
27507         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
27509 2013-08-13  Andreas Schwab  <schwab@suse.de>
27511         [BZ #15749]
27512         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
27513         of fabs.
27514         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
27515         LDBL_MAX_EXP >= 16384]: Add tests for it.
27517 2013-08-12  David S. Miller  <davem@davemloft.net>
27519         * version.h (RELEASE): Set to "development".
27520         (VERSION): Set to "2.18.90".
27521         * NEWS: Add 2.19 section.
27523 2013-08-03  David S. Miller  <davem@davemloft.net>
27525         * po/ko.po: Update Korean translation from translation project.
27527 2013-08-01  David S. Miller  <davem@davemloft.net>
27529         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
27530         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
27531         Bilka.
27533 2013-07-30  David S. Miller  <davem@davemloft.net>
27535         * po/fr.po: Update French translation from translation project.
27537 2013-07-28  David S. Miller  <davem@davemloft.net>
27539         * po/cs.po: Update Czech translation from translation project.
27541         * po/sv.po: Update Swedish translation from translation project.
27543 2013-07-27  David S. Miller  <davem@davemloft.net>
27545         * po/eo.po: Update Esperanto translation from translation project.
27547         * po/vi.po: Update Vietnamese translation from translation project.
27549         * po/de.po: Update German translation from translation project.
27551 2013-07-26  David S. Miller  <davem@davemloft.net>
27553         * po/bg.po: Update Bulgarian translation from translation project.
27555         * po/nl.po: Update Dutch translation from translation project.
27556         * po/pl.po: Update Polish translation from translation project.
27557         * po/ru.po: Update Russian translation from translation project.
27559 2013-07-24  David S. Miller  <davem@davemloft.net>
27561         * po/libc.pot: Update.
27563 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27565         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
27566         variable page size.
27567         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
27568         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
27569         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
27571 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27573         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
27575 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27576             Andreas Schwab  <schwab@suse.de>
27577             Roland McGrath  <roland@hack.frob.com>
27578             Joseph Myers  <joseph@codesourcery.com>
27579             Carlos O'Donell  <carlos@redhat.com>
27581         [BZ #15755]
27582         * config.h.in: Define HAVE_PT_CHOWN.
27583         * config.make.in (build-pt-chown): New variable.
27584         * configure.in (--enable-pt_chown): New configure option.
27585         * configure: Regenerate.
27586         * login/Makefile: Include Makeconfig.  Build pt_chown only if
27587         build-pt-chown is enabled.
27588         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
27589         pt_chown to fix pty ownership.
27590         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
27591         CLOSE_ALL_FDS.
27592         * manual/install.texi (Configuring and compiling): Mention
27593         --enable-pt_chown. Add @findex for grantpt.
27594         * INSTALL: Regenerate.
27596 2013-07-20  David S. Miller  <davem@davemloft.net>
27598         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
27599         difference between 32-bit and 64-bit.
27601 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
27603         [BZ #15711]
27604         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
27605         Avoid system header dependency with -ffreestanding.
27606         ($(objpfx)bits/syscall%d): Likewise.
27608 2013-07-13  David S. Miller  <davem@davemloft.net>
27610         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
27611         underflows from atanl/atan2l due to bug 15319.
27612         (casinh_test_data): Likewise.
27614 2013-07-07  David S. Miller  <davem@davemloft.net>
27616         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27618 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
27620         * sysdeps/i386/fpu/libm-test-ulps: Update.
27621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27623 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27625         * configure.in (--enable-lock-elision): Fix message text.
27626         * INSTALL: Regenerate.
27627         * configure: Regenerate.
27629 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27633 2013-07-03  Andreas Jaeger  <aj@suse.de>
27635         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
27636         define.
27637         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
27638         (ptrace_peeksiginfo_args): Add.
27639         (__ptrace_peeksiginfo_flags): Add.
27640         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27641         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27642         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27644 2013-07-03  Allan McRae  <allan@archlinux.org>
27646         * sysdeps/i386/fpu/libm-test-ulps: Update.
27648 2013-07-02  David S. Miller  <davem@davemloft.net>
27650         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27652 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
27654         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27656 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
27658         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27661 2013-07-02  Andi Kleen <ak@linux.intel.com>
27663         * config.h.in (ENABLE_LOCK_ELISION): Add.
27664         * configure.in (--enable-lock-elision): Add option.
27665         * manual/install.texi: Document --enable lock elision.
27666         * configure: Regenerate
27667         * INSTALL: Regenerate.
27669 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
27671         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
27672         SSE4.2 strcasecmp for libc.a.
27673         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
27675 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
27677         [BZ #13304]
27678         * soft-fp/op-common.h (_FP_FMA): New macro.
27679         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
27680         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
27681         (_FP_MUL_MEAT_1_imm): ... here.
27682         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
27683         (_FP_MUL_MEAT_1_wide): ... here.
27684         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
27685         (_FP_MUL_MEAT_1_hard): ... here.
27686         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
27687         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
27688         (_FP_MUL_MEAT_2_wide): ... here.
27689         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
27690         (_FP_MUL_MEAT_2_wide_3mul): ... here.
27691         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
27692         (_FP_MUL_MEAT_2_gmp): ... here.
27693         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
27694         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
27695         (_FP_MUL_MEAT_4_wide): ... here.
27696         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
27697         (_FP_MUL_MEAT_4_gmp): ... here.
27698         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
27699         (_FP_WFRACBITS_DW_S): Likewise.
27700         (_FP_WFRACXBITS_DW_S): Likewise.
27701         (_FP_HIGHBIT_DW_S): Likewise.
27702         (FP_FMA_S): Likewise.
27703         (_FP_FRAC_HIGH_DW_S): Likewise.
27704         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
27705         (_FP_WFRACBITS_DW_D): Likewise.
27706         (_FP_WFRACXBITS_DW_D): Likewise.
27707         (_FP_HIGHBIT_DW_D): Likewise.
27708         (FP_FMA_D): Likewise.
27709         (_FP_FRAC_HIGH_DW_D): Likewise.
27710         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
27711         (_FP_WFRACBITS_DW_E): Likewise.
27712         (_FP_WFRACXBITS_DW_E): Likewise.
27713         (_FP_HIGHBIT_DW_E): Likewise.
27714         (FP_FMA_E): Likewise.
27715         (_FP_FRAC_HIGH_DW_E): Likewise.
27716         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
27717         (_FP_WFRACBITS_DW_Q): Likewise.
27718         (_FP_WFRACXBITS_DW_Q): Likewise.
27719         (_FP_HIGHBIT_DW_Q): Likewise.
27720         (FP_FMA_Q): Likewise.
27721         (_FP_FRAC_HIGH_DW_Q): Likewise.
27722         * soft-fp/fmasf4.c: New file.
27723         * soft-fp/fmadf4.c: Likewise.
27724         * soft-fp/fmatf4.c: Likewise.
27726 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27728         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27729         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
27730         Silvermont.
27731         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
27732         macro.
27733         (index_Slow_SSE4_2): Likewise.
27734         (index_Prefer_PMINUB_for_stringop): Likewise.
27735         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
27736         bit_Slow_SSE4_2 is set.
27737         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27738         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27740 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27742         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
27743         rtld_global._dl_hwcap2.
27744         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
27745         POWER8.
27746         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
27747         POWER8 feature descriptions defined in _dl_hwcap2.
27748         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
27749         string handling for POWER8 feature bits.
27750         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
27751         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
27752         _dl_powerpc_cap_flags.
27753         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
27754         * sysdeps/powerpc/rtld-global-offsets.sym
27755         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
27756         _dl_hwcap2 in the rtld_global_ro structure.
27758 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27760         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
27761         hardware capabilities in support of AT_HWCAP2.
27762         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
27763         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
27764         GLRO(dl_hwcap2).
27765         (_dl_show_auxv): Add support for calling _dl_procinfo to display
27766         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
27767         explicitly the unknown a_type display mechanism is used.
27768         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
27769         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
27770         struct member.
27771         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
27772         to macro prototype for AT_HWCAP2 support.
27773         * sysdeps/i386/dl-procinfo.h: Likewise.
27774         * sysdeps/s390/dl-procinfo.h: Likewise.
27775         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
27776         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
27777         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
27778         return -1 for unknown a_type display fallback.
27779         * sysdeps/sparc/dl-procinfo.h: Likewise.
27780         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
27781         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
27783 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
27785         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
27786         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
27788 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
27790         [BZ #12492]
27791         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
27792         mprotect making __stack_prot writable.
27794 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
27795             Joseph Myers  <joseph@codesourcery.com>
27797         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
27798         as being properly aligned.
27800 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
27802         * dlfcn/modstatic5.c: New file.
27803         * dlfcn/tststatic5.c: New file.
27804         * dlfcn/Makefile (tests): Add tststatic5.
27805         (tests-static): Likewise.
27806         (modules-names): Add modstatic5.
27807         (tststatic5-ENV): New variable.
27808         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
27810         [BZ #15022]
27811         * elf/dl-support.c (_dl_main_map): New variable.
27812         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
27813         (_dl_nns, _dl_load_adds): Set to 1.
27814         (_dl_initial_searchlist): Refer to _dl_main_map.
27815         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
27816         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
27817         call to _dl_get_origin.
27818         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
27819         around call_map.
27820         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
27821         * dlfcn/modstatic3.c: New file.
27822         * dlfcn/tststatic3.c: New file.
27823         * dlfcn/tststatic4.c: New file.
27824         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
27825         (tests-static): Likewise.
27826         (modules-names): Add modstatic3.
27827         (tststatic3-ENV, tststatic4-ENV): New variables.
27828         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
27829         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
27831 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
27833         * configure.in (CC): Require GCC version 4.4 or later.
27834         * configure: Regenerated.
27835         * manual/install.texi (Tools for Compilation): Update GCC version
27836         requirement.
27837         * INSTALL: Regenerated.
27839 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27841         [BZ #15674]
27842         * string/test-memcmp.c (check2): New.
27843         (main): Call check2.
27845         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
27847 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
27849         [BZ #15022]
27850         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
27851         over to...
27852         (dl_open_worker) [!SHARED]: ... here.
27854 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27856         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
27858 2013-06-25  Richard Henderson  <rth@redhat.com>
27860         * locale/programs/locarchive.c: Include <libc-internal.h>
27862 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
27864         * manual/texinfo.tex: Update to version 2013-06-21.17, with
27865         trailing whitespace removed.
27867 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
27869         [BZ #10283]
27870         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
27871         * locale/programs/locarchive.c: Include libc-mmap.h.
27872         (prepare_address_space): Take two new outputs (the mmap base and len).
27873         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
27874         values.
27875         (create_archive): Declare new mmap base and len values for
27876         prepare_address_space, and store the result in ah.
27877         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
27878         (enlarge_archive): If ah->mmap_base is not NULL, use that and
27879         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
27880         Declare new mmap base and len values for
27881         prepare_address_space, and store the result in new_ah.
27882         (open_archive): Declare new mmap base and len values for
27883         prepare_address_space, and store the result in ah.
27884         (close_archive): If ah->mmap_base is not NULL, use that and
27885         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
27886         * sysdeps/generic/libc-mmap.h: New file.
27888 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
27890         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
27891         (ALIGN_UP): Likewise.
27892         (PTR_ALIGN_DOWN): Likewise.
27893         (PTR_ALIGN_UP): Likewise.
27895 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27897         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
27898         entry mapped to PPC_PLATFORM_POWER8.
27899         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
27900         POWER8.
27901         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
27902         (_dl_string_platform): Add case for exporting platform position for
27903         POWER8.
27904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
27905         search path to sysdeps/powerpc/powerpc32/power8 directory.
27906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
27907         search path to sysdeps/powerpc/powerpc64/power8 directory.
27908         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
27909         power7 directories.
27910         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
27911         power7 directories.
27913 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27915         * INSTALL: Regenerate.
27917         * nscd/connections.c (nscd_init): Fix comment.
27919 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
27921         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
27923         [BZ #15667]
27924         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
27925         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
27927 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
27929         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
27930         DL_DST_REQ_STATIC.
27931         (DL_DST_REQ_STATIC): Remove macro.
27933 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
27935         [BZ #7006]
27936         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
27937         with a shift of 0 bits.
27939 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
27941         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
27942         $(tststatic-ENV).
27944 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27946         [BZ #15655]
27947         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
27949 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27951         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
27952         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
27953         accepts -fno-tree-loop-distribute-patterns.
27954         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
27955         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
27956         recursive call.
27957         * string/memset.c (memset): Likewise.
27958         * string/test-memmove.c (simple_memmove): Disable loop transformation
27959         to library calls.
27960         * string/test-memset.c (simple_memset): Likewise.
27961         * benchtests/bench-memmove.c (simple_memmove): Likewise.
27962         * benchtests/bench-memset.c (simple_memset): Likewise.
27963         * configure: Regenerated.
27965 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
27967         * math/test-misc.c (main): Ignore fesetround failure when failures
27968         of subsequent rounding tests would be ignored.
27970         [BZ #15654]
27971         * math/fedisblxcpt.c (fedisableexcept): Return 0.
27972         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
27973         * math/fegetenv.c (__fegetenv): Return 0.
27974         * math/fegetexcept.c (fegetexcept): Return 0.
27975         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
27976         FE_TONEAREST.
27977         * math/feholdexcpt.c (feholdexcept): Return 0.
27978         * math/fesetenv.c (__fesetenv): Return 0.
27979         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
27980         argument FE_TONEAREST.
27981         * math/feupdateenv.c (__feupdateenv): Return 0.
27982         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
27984 2013-06-18  Roland McGrath  <roland@hack.frob.com>
27986         * elf/rtld-Rules (rtld-compile-command.S): New variable.
27987         (rtld-compile-command.s, rtld-compile-command.c): New variables.
27988         ($(objpfx)rtld-%.os rules): Use them.
27990 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27992         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
27993         fields.
27995 2013-06-17  Roland McGrath  <roland@hack.frob.com>
27997         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
27998         length of target pattern, then descending length of dependency pattern.
27999         * configure.in (AWK): Require gawk 3.1.2 or newer.
28000         * manual/install.texi (Tools for Compilation): Say that we do.
28001         * configure: Regenerated.
28003         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
28004         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
28005         * scripts/sysd-rules.awk: ... this new script.
28006         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
28007         than a glob-style pattern.
28009 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
28011         * math/test-misc.c (main): Do not treat incorrectly rounded
28012         conversions as failure unless ROUNDING_TESTS passes.
28014 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
28016         [BZ #15631]
28017         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
28018         restore exception state around main square root computation, then
28019         check for inexactness explicitly.
28021         * math/libm-test.inc (fma_test_data): Add another test.
28023 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28025         * manual/threads.texi (Non-POSIX Extensions): New document
28026         node.  Document pthread_getattr_default_np and
28027         pthread_setattr_default_np.
28029         * Versions.def (libpthread): Add GLIBC_2.18.
28030         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
28031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28032         Likewise.
28033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28034         Likewise.
28035         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28036         Likewise.
28037         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28038         Likewise.
28039         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
28040         Likewise.
28041         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28042         Likewise.
28043         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28044         Likewise.
28045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28046         Likewise.
28047         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28048         Likewise.
28050 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28052         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28053         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
28055 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28056             H.J. Lu  <hjl.tools@gmail.com>
28058         [BZ #15627]
28059         * sysdeps/x86_64/rtld-memset.c: Remove file.
28060         * sysdeps/x86_64/rtld-memset.S: New file.
28062 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
28064         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
28065         (test_in_one_mode): Take arguments for whether the rounding mode
28066         is supported for each floating-point type.
28067         (do_test): Pass new arguments to test_in_one_mode using
28068         ROUNDING_TESTS.
28070 2013-06-13  Roland McGrath  <roland@hack.frob.com>
28072         * posix/tst-waitid.c (do_test): Distinguish different instances of
28073         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
28074         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
28075         before entering the kernel for waitpid.
28077 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28079         * NEWS: Fix note on clock function precision.  Text by Roland
28080         McGrath.
28082 2013-06-13  Roland McGrath  <roland@hack.frob.com>
28084         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
28085         it into place only when and if the sanity check passes.
28087 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
28089         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
28090         output for whether conversion result is exact.  Take argument
28091         indicating whether type is IBM long double.
28092         (round_for_all): Change need_exact field to ibm_ld.
28093         * stdlib/tst-strtod-round.c (struct exactness): New type.
28094         (struct test): Change bool ld_ok field to struct exactness exact.
28095         (TEST): Update all definitions for change to field.
28096         (tests): Regenerate array contents.
28097         (test_in_one_mode): Take pointer to new field instead of old ld_ok
28098         field value.  Check for IBM long double here.
28099         (do_test): Update calls to test_in_one_mode.
28101 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28103         [BZ #12515]
28104         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
28105         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
28107 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28109         [BZ #15605]
28110         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
28111         generated by the compiler on loop optimizations.
28112         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
28113         general definitions.
28115 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
28117         * math/bug-nextafter.c: Include <math-tests.h>.
28118         (main): Only test for exceptions if EXCEPTION_TESTS is true for
28119         the relevant type.
28120         * math/bug-nexttoward.c: Include <math-tests.h>.
28121         (main): Only test for exceptions if EXCEPTION_TESTS is true for
28122         the relevant type.
28123         * math/test-misc.c: Include <math-tests.h>.
28124         (main): Only test for exceptions if EXCEPTION_TESTS is true for
28125         the relevant type.
28127 2013-06-12  Andreas Jaeger  <aj@suse.de>
28129         * po/ia.po: Update Interlingua translation from translation
28130         project.
28132 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28134         * include/fenv.h: Include stdbool.h.
28135         (struct rm_ctx): New structure.
28136         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
28137         Define macro.
28138         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
28139         (SET_RESTORE_ROUNDF): Likewise.
28140         (SET_RESTORE_ROUNDL): Likewise.
28141         (SET_RESTORE_ROUND_NOEX): Likewise.
28142         (SET_RESTORE_ROUND_NOEXF): Likewise.
28143         (SET_RESTORE_ROUND_NOEXL): Likewise.
28144         (SET_RESTORE_ROUND_53BIT): Likewise.
28145         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
28146         (libc_feresetround_noexf_ctx): Likewise.
28147         (libc_feresetround_noexl_ctx): Likewise.
28148         (libc_feholdsetround_53bit_ctx): Likewise.
28149         (libc_feresetround_53bit_ctx): Likewise.
28150         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
28151         (libc_feholdexcept_setround_sse_ctx): New function.
28152         (libc_fesetenv_sse_ctx): Likewise.
28153         (libc_feupdateenv_sse_ctx): Likewise.
28154         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
28155         (libc_feholdexcept_setround_387_ctx): Likewise.
28156         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
28157         (libc_feholdsetround_387_prec_ctx): Likewise.
28158         (libc_feholdsetround_387_ctx): Likewise.
28159         (libc_feholdsetround_387_53bit_ctx): Likewise.
28160         (libc_feholdsetround_sse_ctx): Likewise.
28161         (libc_feresetround_sse_ctx): Likewise.
28162         (libc_feresetround_387_ctx): Likewise.
28163         (libc_feupdateenv_387_ctx): Likewise.
28164         (libc_feholdexcept_setroundf_ctx): Define macro.
28165         (libc_fesetenvf_ctx): Likewise.
28166         (libc_feupdateenvf_ctx): Likewise.
28167         (libc_feholdsetroundf_ctx): Likewise.
28168         (libc_feresetroundf_ctx): Likewise.
28169         (libc_feholdexcept_setround_ctx): Likewise.
28170         (libc_fesetenv_ctx): Likewise.
28171         (libc_feupdateenv_ctx): Likewise.
28172         (libc_feholdsetround_ctx): Likewise.
28173         (libc_feresetround_ctx): Likewise.
28174         (libc_feholdexcept_setroundl_ctx): Likewise.
28175         (libc_feupdateenvl_ctx): Likewise.
28176         (libc_feholdsetroundl_ctx): Likewise.
28177         (libc_feresetroundl_ctx): Likewise.
28178         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
28179         (libc_feresetround_53bit_ctx): Likewise.
28181 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28183         * locale/iso-639.def: Convert to UTF-8.
28185 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
28187         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
28188         (EXCEPTION_TESTS_double): Likewise.
28189         (EXCEPTION_TESTS_long_double): Likewise.
28190         (EXCEPTION_TESTS): Likewise.
28191         * math/libm-test.inc (test_exceptions): Only test exceptions if
28192         EXCEPTION_TESTS (FLOAT).
28194 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28196         * benchtests/Makefile (string-bench): Add strcpy_chk and
28197         stpcpy_chk.
28198         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
28199         * benchtests/bench-stpcpy_chk.c: New file.
28200         * benchtests/bench-strcpy_chk-ifunc.c: New file.
28201         * benchtests/bench-strcpy_chk.c: New file.
28202         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
28203         code.
28204         (do_test): Likewise.
28206 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28208         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
28209         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
28210         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
28211         with tabs where appropriate.
28212         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
28213         dl-procinfo.h.
28214         [PPC_PLATFORM_PPC440]: Likewise.
28215         [PPC_PLATFORM_PPC464]: Likewise.
28216         [PPC_PLATFORM_PPC476]: Likewise.
28217         (_dl_string_platform): Add support for detecting ppc405, ppc440,
28218         ppc464, and ppc476 platform strings merging from ports/
28219         dl-procinfo.h.
28221 2013-06-11  Andreas Schwab  <schwab@suse.de>
28223         [BZ #14991]
28224         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
28225         (from_ucs4_idx): Regenerate.
28226         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
28227         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
28228         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
28229         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
28230         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
28231         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
28232         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
28233         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
28234         from FROM_LOOP and TO_LOOP specific macros.
28235         (BODY): Handle combining characters.
28236         * iconvdata/BIG5HKSCS.irreversible: Update.
28237         * iconvdata/BIG5HKSCS.precomposed: New file.
28238         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
28239         characters.
28240         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
28242 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28244         * include/sys/time.h: Fix indentation and add copyright header.
28246         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
28247         (do_test): Likewise.
28248         * string/test-memchr.c (do_one_test): Likewise.
28249         (do_test): Likewise.
28250         * string/test-memcmp.c (do_one_test): Likewise.
28251         (do_test): Likewise.
28252         * string/test-memcpy.c (do_one_test): Likewise.
28253         (do_test): Likewise.
28254         * string/test-memmem.c (do_one_test): Likewise.
28255         (do_test): Likewise.
28256         (do_random_tests): Likewise.
28257         * string/test-memmove.c (do_one_test): Likewise.
28258         (do_test): Likewise.
28259         * string/test-memset.c (do_one_test): Likewise.
28260         (do_test): Likewise.
28261         * string/test-rawmemchr.c (do_one_test): Likewise.
28262         (do_test): Likewise.
28263         * string/test-strcasecmp.c (do_one_test): Likewise.
28264         (do_test): Likewise.
28265         * string/test-strcasestr.c (do_one_test): Likewise.
28266         (do_test): Likewise.
28267         * string/test-strcat.c (do_one_test): Likewise.
28268         (do_test): Likewise.
28269         * string/test-strchr.c (do_one_test): Likewise.
28270         (do_test): Likewise.
28271         * string/test-strcmp.c (do_one_test): Likewise.
28272         (do_test): Likewise.
28273         * string/test-strcpy.c (do_one_test): Likewise.
28274         (do_test): Likewise.
28275         * string/test-string.h: Likewise.
28276         (test_init): Likewise.
28277         * string/test-strlen.c (do_one_test): Likewise.
28278         (do_test): Likewise.
28279         * string/test-strncasecmp.c (do_one_test): Likewise.
28280         (do_test): Likewise.
28281         * string/test-strncat.c (do_one_test): Likewise.
28282         (do_test): Likewise.
28283         * string/test-strncmp.c (do_one_test): Likewise.
28284         (do_test_limit): Likewise.
28285         (do_test): Likewise.
28286         * string/test-strncpy.c (do_one_test): Likewise.
28287         (do_test): Likewise.
28288         * string/test-strnlen.c (do_one_test): Likewise.
28289         (do_test): Likewise.
28290         * string/test-strpbrk.c (do_one_test): Likewise.
28291         (do_test): Likewise.
28292         * string/test-strrchr.c (do_one_test): Likewise.
28293         (do_test): Likewise.
28294         * string/test-strspn.c (do_one_test): Likewise.
28295         (do_test): Likewise.
28296         * string/test-strstr.c (do_one_test): Likewise.
28297         (do_test): Likewise.
28299         * benchtests/Makefile (string-bench): Add string benchmarks.
28300         * benchtests/bench-bcopy-ifunc.c: New file.
28301         * benchtests/bench-bcopy.c: New file.
28302         * benchtests/bench-bzero-ifunc.c: New file.
28303         * benchtests/bench-bzero.c: New file.
28304         * benchtests/bench-memccpy-ifunc.c: New file.
28305         * benchtests/bench-memccpy.c: New file.
28306         * benchtests/bench-memchr-ifunc.c: New file.
28307         * benchtests/bench-memchr.c: New file.
28308         * benchtests/bench-memcmp-ifunc.c: New file.
28309         * benchtests/bench-memcmp.c: New file.
28310         * benchtests/bench-memmem-ifunc.c: New file.
28311         * benchtests/bench-memmem.c: New file.
28312         * benchtests/bench-memmove-ifunc.c: New file.
28313         * benchtests/bench-memmove.c: New file.
28314         * benchtests/bench-mempcpy-ifunc.c: New file.
28315         * benchtests/bench-mempcpy.c: New file.
28316         * benchtests/bench-memset-ifunc.c: New file.
28317         * benchtests/bench-memset.c: New file.
28318         * benchtests/bench-rawmemchr-ifunc.c: New file.
28319         * benchtests/bench-rawmemchr.c: New file.
28320         * benchtests/bench-stpcpy-ifunc.c: New file.
28321         * benchtests/bench-stpcpy.c: New file.
28322         * benchtests/bench-stpncpy-ifunc.c: New file.
28323         * benchtests/bench-stpncpy.c: New file.
28324         * benchtests/bench-strcasecmp-ifunc.c: New file.
28325         * benchtests/bench-strcasecmp.c: New file.
28326         * benchtests/bench-strcasestr-ifunc.c: New file.
28327         * benchtests/bench-strcasestr.c: New file.
28328         * benchtests/bench-strcat-ifunc.c: New file.
28329         * benchtests/bench-strcat.c: New file.
28330         * benchtests/bench-strchr-ifunc.c: New file.
28331         * benchtests/bench-strchr.c: New file.
28332         * benchtests/bench-strchrnul-ifunc.c: New file.
28333         * benchtests/bench-strchrnul.c: New file.
28334         * benchtests/bench-strcmp-ifunc.c: New file.
28335         * benchtests/bench-strcmp.c: New file.
28336         * benchtests/bench-strcpy-ifunc.c: New file.
28337         * benchtests/bench-strcpy.c: New file.
28338         * benchtests/bench-strcspn-ifunc.c: New file.
28339         * benchtests/bench-strcspn.c: New file.
28340         * benchtests/bench-strlen-ifunc.c: New file.
28341         * benchtests/bench-strlen.c: New file.
28342         * benchtests/bench-strncasecmp-ifunc.c: New file.
28343         * benchtests/bench-strncasecmp.c: New file.
28344         * benchtests/bench-strncat-ifunc.c: New file.
28345         * benchtests/bench-strncat.c: New file.
28346         * benchtests/bench-strncmp-ifunc.c: New file.
28347         * benchtests/bench-strncmp.c: New file.
28348         * benchtests/bench-strncpy-ifunc.c: New file.
28349         * benchtests/bench-strncpy.c: New file.
28350         * benchtests/bench-strnlen-ifunc.c: New file.
28351         * benchtests/bench-strnlen.c: New file.
28352         * benchtests/bench-strpbrk-ifunc.c: New file.
28353         * benchtests/bench-strpbrk.c: New file.
28354         * benchtests/bench-strrchr-ifunc.c: New file.
28355         * benchtests/bench-strrchr.c: New file.
28356         * benchtests/bench-strspn-ifunc.c: New file.
28357         * benchtests/bench-strspn.c: New file.
28358         * benchtests/bench-strstr-ifunc.c: New file.
28359         * benchtests/bench-strstr.c: New file.
28361         * benchtests/Makefile: Disable parallel execution of targets.
28362         (string-bench): Add memcpy.
28363         (benchset): New variable to store a list of benchmark sets.
28364         (bench-func): Renamed from bench.
28365         (bench-set): New target.
28366         (bench): Depend on bench-func and bench-set.
28367         * benchtests/README: Add section on benchmark sets.
28368         * benchtests/bench-memcpy-ifunc.c: New file.
28369         * benchtests/bench-memcpy.c: New file.
28370         * benchtests/bench-string.h: New file.
28372 2013-06-11  Andreas Schwab  <schwab@suse.de>
28374         [BZ #15577]
28375         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
28376         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
28377         values in the triple.
28378         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
28379         terminator in the group key.
28381 2013-06-11  Andreas Jaeger  <aj@suse.de>
28383         * po/zh_TW.po: Update Chinese (traditional) translation from
28384         translation project.
28386 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28388         * include/time.h (__clock_gettime): Add libc_hidden_proto.
28389         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
28390         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
28391         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28392         (clock_getcpuclockid): Likewise.
28393         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
28394         Add weak_alias and libc_hidden_def.
28395         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
28396         * rt/clock_gettime.c (clock_gettime): Rename to
28397         __clock_gettime.  Add weak_alias and libc_hidden_def.
28398         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
28399         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
28400         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
28401         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
28402         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
28403         Likewise.
28404         * rt/clock_settime.c (clock_settime): Rename to
28405         __clock_settime.  Add weak_alias and libc_hidden_def.
28406         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
28408 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
28410         * mach/err_boot.sub: Remove trailing whitespace.
28411         * mach/err_ipc.sub: Likewise.
28412         * mach/err_mach.sub: Likewise.
28414         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
28415         (ROUNDING_TESTS_double): Likewise.
28416         (ROUNDING_TESTS_long_double): Likewise.
28417         (ROUNDING_TESTS): Likewise.
28418         * math/libm-test.inc: Include <math-tests.h>.
28419         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
28420         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28421         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28422         (IF_ROUND_INIT_FE_UPWARD): Likewise.
28424 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28426         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
28427         of assigning.
28429 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
28431         * sysdeps/gnu/errlist.awk: Do not generate space at end of
28432         otherwise empty TRANS lines.
28433         * sysdeps/gnu/errlist.c: Regenerated.
28435         * catgets/gencat.c (error_print): Use (void) in function
28436         definition.
28437         * crypt/crypt_util.c (__init_des): Likewise.
28438         * crypt/speeds.c (Stop): Likewise.
28439         (main): Likewise.
28440         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
28441         * inet/ruserpass.c (token): Likewise.
28442         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
28443         * intl/localealias.c (extend_alias_table): Likewise.
28444         * intl/plural-exp.c (init_germanic_plural): Likewise.
28445         * libio/fcloseall.c (__fcloseall): Likewise.
28446         * libio/genops.c (_IO_flush_all): Likewise.
28447         (_IO_flush_all_linebuffered): Likewise.
28448         (_IO_cleanup): Likewise.
28449         (_IO_iter_begin): Likewise.
28450         (_IO_iter_end): Likewise.
28451         (_IO_list_lock): Likewise.
28452         (_IO_list_unlock): Likewise.
28453         (_IO_list_resetlock): Likewise.
28454         * libio/getchar.c (getchar): Likewise.
28455         * libio/getchar_u.c (getchar_unlocked): Likewise.
28456         * libio/getwchar.c (getwchar): Likewise.
28457         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
28458         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
28459         * login/getpt.c (__getpt): Likewise.
28460         * login/tst-utmp.c (main): Likewise.
28461         * malloc/hooks.c (__malloc_check_init): Likewise.
28462         * malloc/malloc.c (__malloc_stats): Likewise.
28463         * malloc/mtrace.c (tr_break): Likewise.
28464         (mtrace): Likewise.
28465         (muntrace): Likewise.
28466         * misc/fstab.c (endfsent): Likewise.
28467         * misc/getclktck.c (__getclktck): Likewise.
28468         * misc/getdtsz.c (__getdtablesize): Likewise.
28469         * misc/gethostid.c (gethostid): Likewise.
28470         * misc/getpagesize.c (__getpagesize): Likewise.
28471         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
28472         (__get_nprocs): Likewise.
28473         (__get_phys_pages): Likewise.
28474         (__get_avphys_pages): Likewise.
28475         * misc/getttyent.c (getttyent): Likewise.
28476         (setttyent): Likewise.
28477         (endttyent): Likewise.
28478         * misc/getusershell.c (getusershell): Likewise.
28479         (endusershell): Likewise.
28480         (setusershell): Likewise.
28481         (initshells): Likewise.
28482         * misc/hsearch.c (__hdestroy): Likewise.
28483         * misc/sync.c (sync): Likewise.
28484         * misc/syslog.c (closelog_internal): Likewise.
28485         (closelog): Likewise.
28486         * misc/ttyslot.c (ttyslot): Likewise.
28487         * misc/vhangup.c (vhangup): Likewise.
28488         * posix/fork.c (__fork): Likewise.
28489         * posix/getegid.c (__getegid): Likewise.
28490         * posix/geteuid.c (__geteuid): Likewise.
28491         * posix/getgid.c (__getgid): Likewise.
28492         * posix/getpid.c (__getpid): Likewise.
28493         * posix/getppid.c (__getppid): Likewise.
28494         * posix/getuid.c (__getuid): Likewise.
28495         * posix/pause.c (pause): Likewise.
28496         * posix/setpgrp.c (setpgrp): Likewise.
28497         * posix/setsid.c (__setsid): Likewise.
28498         * posix/test-vfork.c (noop): Likewise.
28499         * resolv/gethnamaddr.c (_endhtent): Likewise.
28500         (_gethtent): Likewise.
28501         (ht_endhostent): Likewise.
28502         (gethostent): Likewise.
28503         (dns_service): Likewise.
28504         * stdlib/drand48.c (drand48): Likewise.
28505         * stdlib/lrand48.c (lrand48): Likewise.
28506         * stdlib/mrand48.c (mrand48): Likewise.
28507         * stdlib/rand.c (rand): Likewise.
28508         * stdlib/random.c (__random): Likewise.
28509         * stdlib/setenv.c (clearenv): Likewise.
28510         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
28511         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
28512         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
28513         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
28514         (__get_nprocs): Likewise.
28515         (__get_phys_pages): Likewise.
28516         (__get_avphys_pages): Likewise.
28517         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
28518         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
28519         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
28520         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
28521         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
28522         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
28523         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
28524         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
28525         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
28526         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
28527         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
28528         * sysdeps/mach/hurd/sync.c (sync): Likewise.
28529         * sysdeps/posix/clock.c (clock): Likewise.
28530         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
28531         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
28532         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
28533         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
28534         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
28535         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
28536         (__get_nprocs_conf): Likewise.
28537         (__get_phys_pages): Likewise.
28538         (__get_avphys_pages): Likewise.
28539         * time/clock.c (clock): Likewise.
28540         * time/tzset.c (__tzname_max): Likewise.
28542 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
28544         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
28545         (__bswap_32): Do not use "register".
28546         * crypt/crypt.c (_ufc_doit_r): Likewise.
28547         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
28548         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
28549         * gmon/gmon.c (__monstartup): Likewise.
28550         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
28551         * hurd/hurdmalloc.c (more_memory): Likewise.
28552         (malloc): Likewise.
28553         (free): Likewise.
28554         (realloc): Likewise.
28555         (malloc_fork_prepare): Likewise.
28556         (malloc_fork_parent): Likewise.
28557         (malloc_fork_child): Likewise.
28558         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
28559         (_svcauth_des): Likewise.
28560         * inet/inet_lnaof.c (inet_lnaof): Likewise.
28561         * inet/inet_net.c (inet_network): Likewise.
28562         * inet/inet_netof.c (inet_netof): Likewise.
28563         * inet/rcmd.c (__validuser2_sa): Likewise.
28564         * io/fts.c (fts_open): Likewise.
28565         (fts_load): Likewise.
28566         (fts_close): Likewise.
28567         (fts_read): Likewise.
28568         (fts_children): Likewise.
28569         (fts_build): Likewise.
28570         (fts_stat): Likewise.
28571         (fts_sort): Likewise.
28572         (fts_alloc): Likewise.
28573         (fts_lfree): Likewise.
28574         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
28575         (_IO_file_xsgetn): Likewise.
28576         (_IO_file_xsgetn_mmap): Likewise.
28577         * libio/iofopncook.c (_IO_cookie_read): Likewise.
28578         (_IO_cookie_write): Likewise.
28579         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
28580         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
28581         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
28582         * malloc/obstack.c (_obstack_begin): Likewise.
28583         (_obstack_begin_1): Likewise.
28584         (_obstack_newchunk): Likewise.
28585         (_obstack_allocated_p): Likewise.
28586         (obstack_free): Likewise.
28587         (_obstack_memory_used): Likewise.
28588         * misc/getttyent.c (getttynam): Likewise.
28589         (getttyent): Likewise.
28590         (skip): Likewise.
28591         (value): Likewise.
28592         * misc/getusershell.c (initshells): Likewise.
28593         * misc/syslog.c (__vsyslog_chk): Likewise.
28594         * misc/ttyslot.c (ttyslot): Likewise.
28595         * nis/nis_hash.c (__nis_hash): Likewise.
28596         * posix/fnmatch_loop.c (FCT): Likewise.
28597         * posix/getconf.c (print_all): Likewise.
28598         (main): Likewise.
28599         * posix/getopt.c (exchange): Likewise.
28600         * posix/glob.c (globfree): Likewise.
28601         (prefix_array): Likewise.
28602         (__glob_pattern_type): Likewise.
28603         * resolv/arpa/nameser.h (NS_GET16): Likewise.
28604         (NS_GET32): Likewise.
28605         (NS_PUT16): Likewise.
28606         (NS_PUT32): Likewise.
28607         * resolv/gethnamaddr.c (getanswer): Likewise.
28608         (gethostbyname2): Likewise.
28609         (gethostbyaddr): Likewise.
28610         (_gethtent): Likewise.
28611         (_gethtbyname2): Likewise.
28612         (_gethtbyaddr): Likewise.
28613         * resolv/ns_print.c (dst_s_get_int16): Likewise.
28614         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28615         * resolv/res_init.c (__res_vinit): Likewise.
28616         (net_mask): Likewise.
28617         * resolv/res_mkquery.c (outchar): Likewise.
28618         (PRINT): Likewise.
28619         * stdio-common/printf_fp.c (outchar): Likewise.
28620         (PRINT): Likewise.
28621         * stdio-common/printf_fphex.c (outchar): Likewise.
28622         (PRINT): Likewise.
28623         * stdio-common/printf_size.c (outchar): Likewise.
28624         (PRINT): Likewise.
28625         * stdio-common/test_rdwr.c (main): Likewise.
28626         * stdio-common/tfformat.c (matches): Likewise.
28627         * stdio-common/vfprintf.c (outchar): Likewise.
28628         (printf_unknown): Likewise.
28629         (buffered_vfprintf): Likewise.
28630         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
28631         * stdio-common/xbug.c (AppendToBuffer): Likewise.
28632         (ReadFile): Likewise.
28633         * stdlib/qsort.c (SWAP): Likewise.
28634         (_quicksort): Likewise.
28635         * stdlib/setenv.c (__add_to_environ): Likewise.
28636         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
28637         * stdlib/strtol_l.c (__strtol_l): Likewise.
28638         * stdlib/tst-strtod.c (main): Likewise.
28639         * stdlib/tst-strtol.c (main): Likewise.
28640         * stdlib/tst-strtoll.c (main): Likewise.
28641         * string/bits/string2.h (__strcmp_cc): Likewise.
28642         (__strcmp_cg): Likewise.
28643         (__strcspn_c1): Likewise.
28644         (__strcspn_c2): Likewise.
28645         (__strcspn_c3): Likewise.
28646         (__strspn_c1): Likewise.
28647         (__strspn_c2): Likewise.
28648         (__strspn_c3): Likewise.
28649         (__strsep_1c): Likewise.
28650         (__strsep_2c): Likewise.
28651         (__strsep_3c): Likewise.
28652         * string/memccpy.c (__memccpy): Likewise.
28653         * string/stpcpy.c (__stpcpy): Likewise.
28654         * string/strcmp.c (strcmp): Likewise.
28655         * string/strrchr.c (strrchr): Likewise.
28656         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
28657         Likewise.
28658         * sysdeps/mach/hurd/getcwd.c
28659         (_hurd_canonicalize_directory_name_internal): Likewise.
28660         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
28661         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
28662         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
28663         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
28664         Likewise, in both definitions.
28665         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
28666         definitions.
28667         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
28668         64] (__bswap_64): Likewise.
28669         * time/test_time.c (main): Likewise.
28670         * time/tzfile.c (__tzfile_read): Likewise.
28671         (__tzfile_compute): Likewise.
28672         * time/tzset.c (__tzset_parse_tz): Likewise.
28673         (tzset_internal): Likewise.
28674         (compute_change): Likewise.
28675         * wcsmbs/wcscat.c (__wcscat): Likewise.
28676         * wcsmbs/wcschr.c (wcschr): Likewise.
28677         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
28678         * wcsmbs/wcscspn.c (wcscspn): Likewise.
28679         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
28680         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
28681         * wcsmbs/wcsspn.c (wcsspn): Likewise.
28682         * wcsmbs/wcsstr.c (wcsstr): Likewise.
28683         * wcsmbs/wmemchr.c (wmemchr): Likewise.
28684         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28685         * wcsmbs/wmemset.c (wmemset): Likewise.
28687 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
28689         * scripts/config.guess: Update to version 2013-05-16.
28690         * scripts/config.sub: Update to version 2013-04-24.
28691         * scripts/install-sh: Update to version 2011-11-20.07.
28692         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
28693         * scripts/move-if-change: Update to version 2012-01-06 07:23.
28695 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
28697         * debug/fgetws_u_chk.c: Fix leading whitespaces.
28698         * elf/sln.c: Likewise.
28699         * hurd/hurd/ioctl.h: Likewise.
28700         * hurd/hurdmalloc.c: Likewise.
28701         * hurd/xattr.c: Likewise.
28702         * include/shlib-compat.h: Likewise.
28703         * inet/ruserpass.c: Likewise.
28704         * libio/iofgets_u.c: Likewise.
28705         * libio/iofgetws_u.c: Likewise.
28706         * locale/programs/ld-identification.c: Likewise.
28707         * locale/programs/ld-time.c: Likewise.
28708         * mach/msg-destroy.c: Likewise.
28709         * nss/nss_files/files-netgrp.c: Likewise.
28710         * resolv/res_data.c: Likewise.
28711         * soft-fp/op-1.h: Likewise.
28712         * soft-fp/op-2.h: Likewise.
28713         * soft-fp/op-4.h: Likewise.
28714         * soft-fp/op-common.h: Likewise.
28715         * stdio-common/printf_fphex.c: Likewise.
28716         * stdlib/strtod_l.c: Likewise.
28717         * sunrpc/rpc/clnt.h: Likewise.
28718         * sysdeps/generic/framestate.c: Likewise.
28719         * sysdeps/i386/bsd-_setjmp.S: Likewise.
28720         * sysdeps/i386/bsd-setjmp.S: Likewise.
28721         * sysdeps/i386/__longjmp.S: Likewise.
28722         * sysdeps/i386/setjmp.S: Likewise.
28723         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28724         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28725         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28726         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28727         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28728         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28729         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28730         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28731         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28732         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28733         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28734         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28735         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28736         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28737         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28738         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28739         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28740         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
28741         * sysdeps/ieee754/support.c: Likewise.
28742         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28743         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
28744         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
28745         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
28746         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
28747         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
28748         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
28749         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
28750         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
28751         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
28752         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
28753         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
28754         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
28755         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
28756         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
28757         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
28758         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
28761 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
28763         * posix/transbug.c: Remove executable mode.
28765 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
28767         * crypt/speeds.c: Remove trailing whitespace.
28768         * dlfcn/default.c: Likewise.
28769         * elf/ifuncdep2.c: Likewise.
28770         * elf/ifuncmain1.c: Likewise.
28771         * elf/ifuncmain1vis.c: Likewise.
28772         * elf/testobj.h: Likewise.
28773         * elf/tst-stackguard1.c: Likewise.
28774         * gmon/sys/gmon.h: Likewise.
28775         * hurd/hurdmsg.c: Likewise.
28776         * hurd/new-fd.c: Likewise.
28777         * hurd/ports-get.c: Likewise.
28778         * iconvdata/ibm1008_420.c: Likewise.
28779         * inet/tst-getni1.c: Likewise.
28780         * inet/tst-getni2.c: Likewise.
28781         * libio/ioungetc.c: Likewise.
28782         * libio/wfiledoalloc.c: Likewise.
28783         * manual/libm-err-tab.pl: Likewise.
28784         * math/w_dremf.c: Likewise.
28785         * misc/ftruncate.c: Likewise.
28786         * posix/bug-glob2.c: Likewise.
28787         * posix/tst-pcre.c: Likewise.
28788         * posix/wait4.c: Likewise.
28789         * resolv/README: Likewise.
28790         * resolv/res_debug.h: Likewise.
28791         * resolv/tst-inet_ntop.c: Likewise.
28792         * setjmp/bug269-setjmp.c: Likewise.
28793         * soft-fp/extended.h: Likewise.
28794         * soft-fp/op-1.h: Likewise.
28795         * soft-fp/op-2.h: Likewise.
28796         * soft-fp/op-4.h: Likewise.
28797         * soft-fp/op-8.h: Likewise.
28798         * soft-fp/testit.c: Likewise.
28799         * stdio-common/bug16.c: Likewise.
28800         * stdlib/random.c: Likewise.
28801         * sunrpc/rpcsvc/rquota.x: Likewise.
28802         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
28803         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28804         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28805         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28806         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28807         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28808         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28809         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28810         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28811         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28812         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28813         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28814         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28815         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28816         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28817         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28818         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28819         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28820         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28821         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28822         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28823         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28824         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
28825         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28826         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28827         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28828         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28829         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28830         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28831         * sysdeps/ieee754/s_lib_version.c: Likewise.
28832         * sysdeps/mach/hurd/check_fds.c: Likewise.
28833         * sysdeps/mach/hurd/getsockname.c: Likewise.
28834         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
28835         * sysdeps/mach/hurd/recvfrom.c: Likewise.
28836         * sysdeps/powerpc/bits/link.h: Likewise.
28837         * sysdeps/powerpc/dl-procinfo.c: Likewise.
28838         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
28839         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
28840         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
28841         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28842         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28843         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
28844         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28845         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
28846         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28847         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28848         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28849         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
28850         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28851         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28852         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28853         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28854         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28855         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28856         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28857         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28858         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
28859         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28860         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28861         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
28862         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28863         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28864         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28865         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28866         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28867         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28868         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28869         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28870         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28871         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
28872         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28873         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
28874         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28875         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28876         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
28877         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
28878         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
28879         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
28880         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
28881         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28882         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
28883         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
28884         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28885         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
28886         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
28887         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28888         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28889         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28890         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28891         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
28892         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28893         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28894         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28895         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
28896         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28897         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
28898         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
28899         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
28900         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28901         * sysdeps/powerpc/sysdep.h: Likewise.
28902         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28903         * sysdeps/s390/s390-64/sub_n.S: Likewise.
28904         * sysdeps/sh/dl-trampoline.S: Likewise.
28905         * sysdeps/sh/memset.S: Likewise.
28906         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
28907         * sysdeps/sh/strlen.S: Likewise.
28908         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
28909         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
28910         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
28911         * sysdeps/sparc/sparc32/rem.S: Likewise.
28912         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
28913         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
28914         * sysdeps/sparc/sparc32/strchr.S: Likewise.
28915         * sysdeps/sparc/sparc32/udiv.S: Likewise.
28916         * sysdeps/sparc/sparc32/urem.S: Likewise.
28917         * sysdeps/sparc/sparc64/add_n.S: Likewise.
28918         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28919         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
28920         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
28921         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
28922         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
28923         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
28924         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
28925         * sysdeps/unix/bsd/times.c: Likewise.
28926         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
28927         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
28928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28931         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
28932         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28933         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
28934         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
28935         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
28936         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
28937         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28938         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
28939         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28940         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28941         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
28942         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28943         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
28944         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
28945         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
28946         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
28947         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
28948         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28949         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
28950         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
28951         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28952         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
28953         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28954         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
28955         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
28956         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
28957         * sysdeps/x86_64/strcspn.S: Likewise.
28959 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28961         * locale/C-translit.h: Revert #include <stdint.h> because this is a
28962         generated file.  Regenerate properly from gen-translit.pl.
28963         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
28964         locale/C-translit.h.
28966 2013-06-05  Andreas Schwab  <schwab@suse.de>
28968         [BZ #15100]
28969         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
28970         week as 6 instead of -1.
28971         * time/tst-strptime.c (day_tests): Add test case.
28973 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28975         * sysdeps/generic/math_private.h
28976         (libc_feholdexcept_setround_53bit): Replace with
28977         libc_feholdsetround_53bit.
28978         (libc_feupdateenv_53bit): Replace with
28979         libc_feresetround_53bit.
28980         (SET_RESTORE_ROUND_53BIT): Adjust.
28982 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28984         * string/test-strchrnul.c: Add copyright header.
28986         * posix/tst-getaddrinfo4.c: Increase test timeout.
28988 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
28990         [BZ #15536]
28991         * math/libm-test.inc (MAX_EXP): Remove
28992         (MIN_EXP): Define.
28993         (ulp): Use MIN_EXP - MANT_DIG.
28994         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
28996 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
28998         * po/be.po: Revert last change.
28999         * po/zh_CN.po: Likewise.
29000         * po/header.pot: Likewise.
29002 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
29004         * Makefile ($(common-objpfx)linkobj/libc.so): Define
29005         link-libc-deps to empty as target-specific variable.
29006         * Makerules (link-libc-args): New variable.
29007         (libc-for-link): Likewise.
29008         (link-libc-deps): Likewise.
29009         (lib%.so): Depend on $(link-libc-deps).  Link with
29010         $(link-libc-args).
29011         (build-module): Link with $(link-libc-args).
29012         (build-module-asneeded): Likewise.
29013         (build-module-helper-objlist): Filter out $(link-libc-deps) from
29014         list of objects.
29015         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
29016         target-specific variable.
29017         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
29018         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
29019         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
29020         libc.
29021         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
29022         libc and ld.so.
29023         ($(objpfx)libpcprofile.so): Likewise.
29024         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
29025         libc_nonshared.a.
29026         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
29027         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
29028         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
29029         $(link-libc-deps).
29030         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
29031         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
29032         * login/Makefile ($(objpfx)libutil.so): Likewise.
29033         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
29034         * math/Makefile ($(objpfx)libm.so): Likewise.
29035         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
29036         $(objpfx)libnsl.so): Define libc-for-link as target-specific
29037         variable instead of depending directly on libc.
29038         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
29039         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
29040         $(link-libc-deps).
29041         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
29042         libc.
29043         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
29044         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
29045         ($(objpfx)libanl.so): Likewise.
29046         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
29047         ld.so.
29048         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
29049         $(link-libc-deps).
29050         * sysdeps/i386/fpu/Makefile: Remove file.
29051         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
29052         ($(objpfx)libm.so): Remove dependency on ld.so.
29054 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
29056         [BZ # 15553]
29057         * nis/yp_xdr.c (XDRMAXNAME): Define.
29058         (XDRMAXRECORD): Define.
29059         (xdr_domainname): Use XDRMAXNAME.
29060         (xdr_mapname): Likewise.
29061         (xdr_peername): Likewise.
29062         (xdr_keydat): Use XDRMAXRECORD.
29063         (xdr_valdat): Likewise.
29065 2013-05-30  Jeff Law  <law@redhat.com>
29067         [BZ #14256]
29068         * manual/errno.texi (ESTALE): Update to account for more than
29069         just NFS file systems.
29070         * sysdeps/gnu/errlist.c: Regenerated.
29072 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29074         [BZ #15465]
29075         * elf/Makefile (tests): Add tst-null-argv.
29076         (modules-names):  Add tst-null-argv-lib.
29077         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
29078         (tst-null-argv-ENV): Set environment for tst-null-argv.
29079         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
29080         (RTLD_PROGNAME): New macro.
29081         * elf/tst-null-argv.c: New test case.
29082         * elf/tst-null-argv-lib.c: Library for test case.
29083         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
29084         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
29085         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
29086         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
29087         * elf/dl-init.c (call_init): Likewise.
29088         (_dl_init): Likewise.
29089         * elf/dl-load.c (print_search_path): Likewise.
29090         (_dl_map_object): Likewise.
29091         * elf/dl-lookup.c (do_lookup_x): Likewise.
29092         (add_dependency): Likewise.
29093         (_dl_lookup_symbol_x): Likewise.
29094         (_dl_debug_bindings): Likewise.
29095         * elf/dl-open.c (_dl_show_scope): Likewise.
29096         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29097         * elf/dl-version.c (match_symbol): Likewise.
29098         (_dl_check_map_versions): Likewise.
29099         * elf/rtld.c (dl_main): Likewise.
29100         (print_unresolved): Use RTLD_PROGNAME.
29101         (print_missing_version): Likewise.
29102         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
29103         (elf_machine_rela): Likewise.
29104         * sysdeps/powerpc/powerpc32/dl-machine.c
29105         (__process_machine_rela): Likewise.
29106         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29107         Likewise.
29108         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29109         Likewise.
29110         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29111         Likewise.
29112         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29113         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
29114         Likewise.
29115         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
29116         Likewise.
29117         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29119 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
29121         * po/be.po: Add descriptive title.
29122         * po/zh_CN.po: Likewise.
29123         * po/header.pot: Likewise.
29125 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
29127         * locale/programs/locarchive.c (create_archive): Inlucde fname in
29128         error message.
29129         (enlarge_archive): Likewise.
29131 2013-05-28  Ben North  <ben@redfrontdoor.org>
29133         * manual/arith.texi (frexp): It is the magnitude of the return
29134         value which lies in [0.5, 1), not the return value itself.
29136 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29140 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
29142         * stdio-common/bug26.c (main): Correct fscanf template.
29144         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
29145         declare _dl_skip_args.
29147         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
29148         Don't declare.
29150         * manual/platform.texi: Add missing @end deftypefun.
29152 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
29154         [BZ #15529]
29155         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
29156         bit of mantissa of 2^16382.
29157         * math/libm-test.inc (hypot_test_data): Add more tests.
29159         * math/libm-test.inc: Add drem and pow10 to list of tested
29160         functions.
29161         (pow10_test): New function.
29162         (drem_test): Likewise.
29163         (drem_test_tonearest): Likewise.
29164         (drem_test_towardzero): Likewise.
29165         (drem_test_downward): Likewise.
29166         (drem_test_upward): Likewise.
29167         (main): Call the new functions.
29169         * math/libm-test.inc (finite_test_data): Remove.
29170         (finite_test): Run tests from isfinite_test_data.
29171         (gamma_test_data): Remove.
29172         (gamma_test): Run tests from lgamma_test_data.
29173         * sysdeps/i386/fpu/libm-test-ulps: Update.
29174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29176 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29178         * manual/platform.texi: Add PowerPC PPR function set documentation.
29179         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
29180         implementation.
29182 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
29184         * math/libm-test.inc (MAX_EXP): Define.
29185         (ULPDIFF): Define.
29186         (ulp): New function.
29187         (check_float_internal): Use ULPDIFF.
29188         (cpow_test): Disable failing test.
29189         (check_ulp): Test ulp() implemetnation.
29190         (main): Call check_ulp before starting tests.
29192 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
29194         * math/gen-libm-test.pl (generate_testfile): Do not handle
29195         START_DATA and END_DATA.
29196         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
29197         END_DATA.
29198         (acos_tonearest_test_data): Likewise.
29199         (acos_towardzero_test_data): Likewise.
29200         (acos_downward_test_data): Likewise.
29201         (acos_upward_test_data): Likewise.
29202         (acosh_test_data): Likewise.
29203         (asin_test_data): Likewise.
29204         (asin_tonearest_test_data): Likewise.
29205         (asin_towardzero_test_data): Likewise.
29206         (asin_downward_test_data): Likewise.
29207         (asin_upward_test_data): Likewise.
29208         (asinh_test_data): Likewise.
29209         (atan_test_data): Likewise.
29210         (atanh_test_data): Likewise.
29211         (atan2_test_data): Likewise.
29212         (cabs_test_data): Likewise.
29213         (cacos_test_data): Likewise.
29214         (cacosh_test_data): Likewise.
29215         (carg_test_data): Likewise.
29216         (casin_test_data): Likewise.
29217         (casinh_test_data): Likewise.
29218         (catan_test_data): Likewise.
29219         (catanh_test_data): Likewise.
29220         (cbrt_test_data): Likewise.
29221         (ccos_test_data): Likewise.
29222         (ccosh_test_data): Likewise.
29223         (ceil_test_data): Likewise.
29224         (cexp_test_data): Likewise.
29225         (cimag_test_data): Likewise.
29226         (clog_test_data): Likewise.
29227         (clog10_test_data): Likewise.
29228         (conj_test_data): Likewise.
29229         (copysign_test_data): Likewise.
29230         (cos_test_data): Likewise.
29231         (cos_tonearest_test_data): Likewise.
29232         (cos_towardzero_test_data): Likewise.
29233         (cos_downward_test_data): Likewise.
29234         (cos_upward_test_data): Likewise.
29235         (cosh_test_data): Likewise.
29236         (cosh_tonearest_test_data): Likewise.
29237         (cosh_towardzero_test_data): Likewise.
29238         (cosh_downward_test_data): Likewise.
29239         (cosh_upward_test_data): Likewise.
29240         (cpow_test_data): Likewise.
29241         (cproj_test_data): Likewise.
29242         (creal_test_data): Likewise.
29243         (csin_test_data): Likewise.
29244         (csinh_test_data): Likewise.
29245         (csqrt_test_data): Likewise.
29246         (ctan_test_data): Likewise.
29247         (ctan_tonearest_test_data): Likewise.
29248         (ctan_towardzero_test_data): Likewise.
29249         (ctan_downward_test_data): Likewise.
29250         (ctan_upward_test_data): Likewise.
29251         (ctanh_test_data): Likewise.
29252         (ctanh_tonearest_test_data): Likewise.
29253         (ctanh_towardzero_test_data): Likewise.
29254         (ctanh_downward_test_data): Likewise.
29255         (ctanh_upward_test_data): Likewise.
29256         (erf_test_data): Likewise.
29257         (erfc_test_data): Likewise.
29258         (exp_test_data): Likewise.
29259         (exp_tonearest_test_data): Likewise.
29260         (exp_towardzero_test_data): Likewise.
29261         (exp_downward_test_data): Likewise.
29262         (exp_upward_test_data): Likewise.
29263         (exp10_test_data): Likewise.
29264         (exp2_test_data): Likewise.
29265         (expm1_test_data): Likewise.
29266         (fabs_test_data): Likewise.
29267         (fdim_test_data): Likewise.
29268         (finite_test_data): Likewise.
29269         (floor_test_data): Likewise.
29270         (fma_test_data): Likewise.
29271         (fma_towardzero_test_data): Likewise.
29272         (fma_downward_test_data): Likewise.
29273         (fma_upward_test_data): Likewise.
29274         (fmax_test_data): Likewise.
29275         (fmin_test_data): Likewise.
29276         (fmod_test_data): Likewise.
29277         (fpclassify_test_data): Likewise.
29278         (frexp_test_data): Likewise.
29279         (gamma_test_data): Likewise.
29280         (hypot_test_data): Likewise.
29281         (ilogb_test_data): Likewise.
29282         (isfinite_test_data): Likewise.
29283         (isgreater_test_data): Likewise.
29284         (isgreaterequal_test_data): Likewise.
29285         (isinf_test_data): Likewise.
29286         (isless_test_data): Likewise.
29287         (islessequal_test_data): Likewise.
29288         (islessgreater_test_data): Likewise.
29289         (isnan_test_data): Likewise.
29290         (isnormal_test_data): Likewise.
29291         (issignaling_test_data): Likewise.
29292         (isunordered_test_data): Likewise.
29293         (j0_test_data): Likewise.
29294         (j1_test_data): Likewise.
29295         (jn_test_data): Likewise.
29296         (ldexp_test_data): Likewise.
29297         (lgamma_test_data): Likewise.
29298         (lrint_test_data): Likewise.
29299         (lrint_tonearest_test_data): Likewise.
29300         (lrint_towardzero_test_data): Likewise.
29301         (lrint_downward_test_data): Likewise.
29302         (lrint_upward_test_data): Likewise.
29303         (llrint_test_data): Likewise.
29304         (llrint_tonearest_test_data): Likewise.
29305         (llrint_towardzero_test_data): Likewise.
29306         (llrint_downward_test_data): Likewise.
29307         (llrint_upward_test_data): Likewise.
29308         (log_test_data): Likewise.
29309         (log10_test_data): Likewise.
29310         (log1p_test_data): Likewise.
29311         (log2_test_data): Likewise.
29312         (logb_test_data): Likewise.
29313         (logb_downward_test_data): Likewise.
29314         (lround_test_data): Likewise.
29315         (llround_test_data): Likewise.
29316         (modf_test_data): Likewise.
29317         (nearbyint_test_data): Likewise.
29318         (nextafter_test_data): Likewise.
29319         (nexttoward_test_data): Likewise.
29320         (pow_test_data): Likewise.
29321         (pow_tonearest_test_data): Likewise.
29322         (pow_towardzero_test_data): Likewise.
29323         (pow_downward_test_data): Likewise.
29324         (pow_upward_test_data): Likewise.
29325         (remainder_test_data): Likewise.
29326         (remainder_tonearest_test_data): Likewise.
29327         (remainder_towardzero_test_data): Likewise.
29328         (remainder_downward_test_data): Likewise.
29329         (remainder_upward_test_data): Likewise.
29330         (remquo_test_data): Likewise.
29331         (rint_test_data): Likewise.
29332         (rint_tonearest_test_data): Likewise.
29333         (rint_towardzero_test_data): Likewise.
29334         (rint_downward_test_data): Likewise.
29335         (rint_upward_test_data): Likewise.
29336         (round_test_data): Likewise.
29337         (scalb_test_data): Likewise.
29338         (scalbn_test_data): Likewise.
29339         (scalbln_test_data): Likewise.
29340         (signbit_test_data): Likewise.
29341         (sin_test_data): Likewise.
29342         (sin_tonearest_test_data): Likewise.
29343         (sin_towardzero_test_data): Likewise.
29344         (sin_downward_test_data): Likewise.
29345         (sin_upward_test_data): Likewise.
29346         (sincos_test_data): Likewise.
29347         (sinh_test_data): Likewise.
29348         (sinh_tonearest_test_data): Likewise.
29349         (sinh_towardzero_test_data): Likewise.
29350         (sinh_downward_test_data): Likewise.
29351         (sinh_upward_test_data): Likewise.
29352         (sqrt_test_data): Likewise.
29353         (tan_test_data): Likewise.
29354         (tan_tonearest_test_data): Likewise.
29355         (tan_towardzero_test_data): Likewise.
29356         (tan_downward_test_data): Likewise.
29357         (tan_upward_test_data): Likewise.
29358         (tanh_test_data): Likewise.
29359         (tgamma_test_data): Likewise.
29360         (trunc_test_data): Likewise.
29361         (y0_test_data): Likewise.
29362         (y1_test_data): Likewise.
29363         (yn_test_data): Likewise.
29364         (significand_test_data): Likewise.
29366         * math/gen-libm-test.pl (@functions): Remove variable.
29367         (generate_testfile): Don't handle START and END lines.
29368         * math/libm-test.inc (START): New macro.
29369         (END): Likewise.
29370         (END_COMPLEX): Likewise.
29371         (acos_test): Use END macro without arguments.
29372         (acos_test_tonearest): Likewise.
29373         (acos_test_towardzero): Likewise.
29374         (acos_test_downward): Likewise.
29375         (acos_test_upward): Likewise.
29376         (acosh_test): Likewise.
29377         (asin_test): Likewise.
29378         (asin_test_tonearest): Likewise.
29379         (asin_test_towardzero): Likewise.
29380         (asin_test_downward): Likewise.
29381         (asin_test_upward): Likewise.
29382         (asinh_test): Likewise.
29383         (atan_test): Likewise.
29384         (atanh_test): Likewise.
29385         (atan2_test): Likewise.
29386         (cabs_test): Likewise.
29387         (cacos_test): Use END_COMPLEX macro without arguments.
29388         (cacosh_test): Likewise.
29389         (carg_test): Use END macro without arguments.
29390         (casin_test): Use END_COMPLEX macro without arguments.
29391         (casinh_test): Likewise.
29392         (catan_test): Likewise.
29393         (catanh_test): Likewise.
29394         (cbrt_test): Use END macro without arguments.
29395         (ccos_test): Use END_COMPLEX macro without arguments.
29396         (ccosh_test): Likewise.
29397         (ceil_test): Use END macro without arguments.
29398         (cexp_test): Use END_COMPLEX macro without arguments.
29399         (cimag_test): Use END macro without arguments.
29400         (clog_test): Use END_COMPLEX macro without arguments.
29401         (clog10_test): Likewise.
29402         (conj_test): Likewise.
29403         (copysign_test): Use END macro without arguments.
29404         (cos_test): Likewise.
29405         (cos_test_tonearest): Likewise.
29406         (cos_test_towardzero): Likewise.
29407         (cos_test_downward): Likewise.
29408         (cos_test_upward): Likewise.
29409         (cosh_test): Likewise.
29410         (cosh_test_tonearest): Likewise.
29411         (cosh_test_towardzero): Likewise.
29412         (cosh_test_downward): Likewise.
29413         (cosh_test_upward): Likewise.
29414         (cpow_test): Use END_COMPLEX macro without arguments.
29415         (cproj_test): Likewise.
29416         (creal_test): Use END macro without arguments.
29417         (csin_test): Use END_COMPLEX macro without arguments.
29418         (csinh_test): Likewise.
29419         (csqrt_test): Likewise.
29420         (ctan_test): Likewise.
29421         (ctan_test_tonearest): Likewise.
29422         (ctan_test_towardzero): Likewise.
29423         (ctan_test_downward): Likewise.
29424         (ctan_test_upward): Likewise.
29425         (ctanh_test): Likewise.
29426         (ctanh_test_tonearest): Likewise.
29427         (ctanh_test_towardzero): Likewise.
29428         (ctanh_test_downward): Likewise.
29429         (ctanh_test_upward): Likewise.
29430         (erf_test): Use END macro without arguments.
29431         (erfc_test): Likewise.
29432         (exp_test): Likewise.
29433         (exp_test_tonearest): Likewise.
29434         (exp_test_towardzero): Likewise.
29435         (exp_test_downward): Likewise.
29436         (exp_test_upward): Likewise.
29437         (exp10_test): Likewise.
29438         (exp2_test): Likewise.
29439         (expm1_test): Likewise.
29440         (fabs_test): Likewise.
29441         (fdim_test): Likewise.
29442         (finite_test): Likewise.
29443         (floor_test): Likewise.
29444         (fma_test): Likewise.
29445         (fma_test_towardzero): Likewise.
29446         (fma_test_downward): Likewise.
29447         (fma_test_upward): Likewise.
29448         (fmax_test): Likewise.
29449         (fmin_test): Likewise.
29450         (fmod_test): Likewise.
29451         (fpclassify_test): Likewise.
29452         (frexp_test): Likewise.
29453         (gamma_test): Likewise.
29454         (hypot_test): Likewise.
29455         (ilogb_test): Likewise.
29456         (isfinite_test): Likewise.
29457         (isgreater_test): Likewise.
29458         (isgreaterequal_test): Likewise.
29459         (isinf_test): Likewise.
29460         (isless_test): Likewise.
29461         (islessequal_test): Likewise.
29462         (islessgreater_test): Likewise.
29463         (isnan_test): Likewise.
29464         (isnormal_test): Likewise.
29465         (issignaling_test): Likewise.
29466         (isunordered_test): Likewise.
29467         (j0_test): Likewise.
29468         (j1_test): Likewise.
29469         (jn_test): Likewise.
29470         (ldexp_test): Likewise.
29471         (lgamma_test): Likewise.
29472         (lrint_test): Likewise.
29473         (lrint_test_tonearest): Likewise.
29474         (lrint_test_towardzero): Likewise.
29475         (lrint_test_downward): Likewise.
29476         (lrint_test_upward): Likewise.
29477         (llrint_test): Likewise.
29478         (llrint_test_tonearest): Likewise.
29479         (llrint_test_towardzero): Likewise.
29480         (llrint_test_downward): Likewise.
29481         (llrint_test_upward): Likewise.
29482         (log_test): Likewise.
29483         (log10_test): Likewise.
29484         (log1p_test): Likewise.
29485         (log2_test): Likewise.
29486         (logb_test): Likewise.
29487         (logb_test_downward): Likewise.
29488         (lround_test): Likewise.
29489         (llround_test): Likewise.
29490         (modf_test): Likewise.
29491         (nearbyint_test): Likewise.
29492         (nextafter_test): Likewise.
29493         (nexttoward_test): Likewise.
29494         (pow_test): Likewise.
29495         (pow_test_tonearest): Likewise.
29496         (pow_test_towardzero): Likewise.
29497         (pow_test_downward): Likewise.
29498         (pow_test_upward): Likewise.
29499         (remainder_test): Likewise.
29500         (remainder_test_tonearest): Likewise.
29501         (remainder_test_towardzero): Likewise.
29502         (remainder_test_downward): Likewise.
29503         (remainder_test_upward): Likewise.
29504         (remquo_test): Likewise.
29505         (rint_test): Likewise.
29506         (rint_test_tonearest): Likewise.
29507         (rint_test_towardzero): Likewise.
29508         (rint_test_downward): Likewise.
29509         (rint_test_upward): Likewise.
29510         (round_test): Likewise.
29511         (scalb_test): Likewise.
29512         (scalbn_test): Likewise.
29513         (scalbln_test): Likewise.
29514         (signbit_test): Likewise.
29515         (sin_test): Likewise.
29516         (sin_test_tonearest): Likewise.
29517         (sin_test_towardzero): Likewise.
29518         (sin_test_downward): Likewise.
29519         (sin_test_upward): Likewise.
29520         (sincos_test): Likewise.
29521         (sinh_test): Likewise.
29522         (sinh_test_tonearest): Likewise.
29523         (sinh_test_towardzero): Likewise.
29524         (sinh_test_downward): Likewise.
29525         (sinh_test_upward): Likewise.
29526         (sqrt_test): Likewise.
29527         (tan_test): Likewise.
29528         (tan_test_tonearest): Likewise.
29529         (tan_test_towardzero): Likewise.
29530         (tan_test_downward): Likewise.
29531         (tan_test_upward): Likewise.
29532         (tanh_test): Likewise.
29533         (tgamma_test): Likewise.
29534         (trunc_test): Likewise.
29535         (y0_test): Likewise.
29536         (y1_test): Likewise.
29537         (yn_test): Likewise.
29538         (significand_test): Likewise.
29540 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
29542         [BZ #15381]
29543         * libio/genops.c (_IO_no_init): Initialize wide struct info.
29545 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
29547         [BZ #14894]
29548         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
29549         __ppc_mdoio and __ppc_mdoom.
29550         * manual/platform.texi: Document new functions __ppc_yield,
29551         __ppc_mdoio and __ppc_mdoom.
29553 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
29555         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
29556         (main): Mention "tls" pseudo-hwcap is legacy.
29557         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
29559 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
29561         * math/gen-libm-test.pl (parse_args): Output only string of
29562         arguments as text for test name, not full call or descriptions of
29563         tests for extra outputs.
29564         (generate_testfile): Do not pass function name to parse_args.
29565         Generate this_func variable from START.
29566         * math/libm-test.inc (struct test_f_f_data): Rename test_name
29567         field to arg_str.
29568         (struct test_ff_f_data): Likewise.
29569         (test_ff_f_data_nexttoward): Likewise.
29570         (struct test_fi_f_data): Likewise.
29571         (struct test_fl_f_data): Likewise.
29572         (struct test_if_f_data): Likewise.
29573         (struct test_fff_f_data): Likewise.
29574         (struct test_c_f_data): Likewise.
29575         (struct test_f_f1_data): Likewise.  Remove field extra_name.
29576         (struct test_fF_f1_data): Likewise.
29577         (struct test_ffI_f1_data): Likewise.
29578         (struct test_c_c_data): Rename test_name field to arg_str.
29579         (struct test_cc_c_data): Likewise.
29580         (struct test_f_i_data): Likewise.
29581         (struct test_ff_i_data): Likewise.
29582         (struct test_f_l_data): Likewise.
29583         (struct test_f_L_data): Likewise.
29584         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
29585         and extra2_name.
29586         (COMMON_TEST_SETUP): New macro.
29587         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
29588         (COMMON_TEST_CLEANUP): Likewise.
29589         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
29590         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
29591         macros.
29592         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
29593         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
29594         macros.
29595         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
29596         (RUN_TEST_fff_f): Take argument string.  Call new setup and
29597         cleanup macros.
29598         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
29599         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
29600         macros.
29601         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
29602         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
29603         macros.
29604         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
29605         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
29606         cleanup macros.
29607         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
29608         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
29609         cleanup macros.
29610         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
29611         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
29612         cleanup macros.
29613         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
29614         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
29615         macros.
29616         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
29617         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
29618         macros.
29619         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
29620         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
29621         macros.
29622         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
29623         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
29624         cleanup macros.
29625         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
29626         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
29627         cleanup macros.
29628         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
29629         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
29630         macros.
29631         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
29632         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
29633         cleanup macros.
29634         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
29635         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
29636         macros.
29637         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
29638         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
29639         macros.
29640         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
29641         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
29642         cleanup macros.
29643         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
29645 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
29647         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
29648         to _sifields.sigfault.
29649         (si_addr_lsb): Define new macro.
29650         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29651         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29652         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
29654 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
29656         [BZ #15441]
29657         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
29658         returns -1.
29659         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
29660         null return -1.
29661         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
29662         loading the domain.
29664 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
29666         * math/gen-libm-test.pl (parse_args): Do not include expected
29667         result in test name.
29668         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
29669         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29670         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29671         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29672         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29675 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29677         * benchtests/Makefile: Sort function entries.
29679         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
29680         tanh, asinh, acosh, atanh.
29681         * benchtests/acos-inputs: New file.
29682         * benchtests/acosh-inputs: New file.
29683         * benchtests/asin-inputs: New file.
29684         * benchtests/asinh-inputs: New file.
29685         * benchtests/atanh-inputs: New file.
29686         * benchtests/cosh-inputs: New file.
29687         * benchtests/log-inputs: New file.
29688         * benchtests/sinh-inputs: New file.
29689         * benchtests/tanh-inputs: New file.
29691 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
29693         [BZ #15339]
29694         * posix/tst-getaddrinfo4.c: New test.
29695         * posix/Makefile (tests): Add it.
29697 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29699         [BZ #15339]
29700         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
29701         when no services were used.
29702         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
29703         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
29705 2013-05-21  Andreas Schwab  <schwab@suse.de>
29707         [BZ #15014]
29708         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
29709         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
29710         successful.
29711         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
29712         redundant variable declarations and reallocation of buffer when
29713         parsing as IPv6 address.  Always set NSS status when called from
29714         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
29715         buffer too small.  Correct computation of needed size.
29716         * nss/Makefile (tests): Add test-digits-dots.
29717         * nss/test-digits-dots.c: New test.
29719 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29721         * benchtests/Makefile: Remove instructions for adding
29722         benchmark tests.
29723         * benchtests/README: New file to explain how to execute and
29724         enhance the benchmark tests.
29726 2013-05-21  Andreas Schwab  <schwab@suse.de>
29728         [BZ #15493]
29729         * setjmp/Makefile (tests): Add tst-sigsetjmp.
29730         * setjmp/tst-sigsetjmp.c: New test.
29732 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
29734         * sysdeps/x86_64/memset.S (memset): New implementation.
29735         (__bzero): Likewise.
29736         (__memset_tail): New function.
29738 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
29740         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
29741         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
29742         __memcpy_sse2_unaligned ifunc selection.
29743         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29744         Add memcpy-sse2-unaligned.S.
29745         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29746         Add: __memcpy_sse2_unaligned.
29748 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
29750         [BZ #15490]
29751         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29752         math_force_eval before restoring floating-point envrionment.
29753         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
29754         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29755         Likewise.
29756         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
29757         <math_private.h>.
29758         (__nearbyintl): Use math_force_eval before restoring
29759         floating-point environment.
29760         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
29762         * math/gen-libm-test.pl (special_functions): Remove.
29763         (parse_args): Don't handle TEST_extra.  Handle functions with no
29764         return value.
29765         * math/libm-test.inc (struct test_sincos_data): Replace with
29766         struct test_fFF_11_data.
29767         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
29768         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
29769         (sincos_test_data): Change element type to struct
29770         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
29771         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
29772         RUN_TEST_LOOP_sincos.
29773         * math/README.libm-test: Don't mention special handling of
29774         individual functions.
29775         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
29776         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29777         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29778         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29779         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29782         * math/gen-libm-test.pl (get_variable): Remove function.
29783         (parse_args): Don't show pointer parameters to call in test
29784         names.  Use "extra output N" in test names for extra outputs
29785         rather than naming variables.
29787 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
29789         [BZ #15488]
29790         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
29791         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
29792         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
29793         double tests.
29794         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
29795         disable.
29796         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
29797         check_long_double.
29799         * math/gen-libm-test.pl (@tests): Remove variable.
29800         ($count): Likewise.
29801         (new_test): Remove function.
29802         (show_exceptions): New function.
29803         (special_functions): Use show_exceptions instead of new_test.
29804         (parse_args): Likewise.
29805         (generate_testfile): Pass only function name in generated call to
29806         print_max_error or print_complex_max_error.
29807         (get_ulps): Do not handle complex tests specially.
29808         (output_test): Rename to ...
29809         (get_all_ulps_for_test): ... this.  Return a string rather than
29810         printing to a file.  Require ulps to be present.
29811         (output_ulps): Generate arrays rather than #defines.
29812         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
29813         (struct ulp_data): New type.
29814         (BUILD_COMPLEX_ULP): Remove macro.
29815         (compare_ulp_data): New function.
29816         (find_ulps): Likewise.
29817         (find_test_ulps): Likewise.
29818         (find_function_ulps): Likewise.
29819         (find_complex_function_ulps): Likewise.
29820         (print_max_error): Determine allowed ulps using
29821         find_function_ulps.
29822         (print_complex_max_error): Determine allowed ulps using
29823         find_complex_function_ulps.
29824         (check_float_internal): Determine max ulps using find_test_ulps.
29825         (check_float): Do not take max_ulp parameter.  Update call to
29826         check_float_internal.
29827         (check_complex): Likewise.
29828         (check_int): Do not take max_ulp parameter.
29829         (check_long): Likewise.
29830         (check_bool): Likewise.
29831         (check_longlong): Likewise.
29832         (struct test_f_f_data): Remove max_ulp field.
29833         (struct test_ff_f_data): Likewise.
29834         (struct test_ff_f_data_nexttoward): Likewise.
29835         (struct test_fi_f_data): Likewise.
29836         (struct test_fl_f_data): Likewise.
29837         (struct test_if_f_data): Likewise.
29838         (struct test_fff_f_data): Likewise.
29839         (struct test_c_f_data): Likewise.
29840         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
29841         (struct test_fF_f1_data): Likewise.
29842         (struct test_ffI_f1_data): Likewise.
29843         (struct test_c_c_data): Remove max_ulp field.
29844         (struct test_cc_c_data): Likewise.
29845         (struct test_f_i_data): Likewise.
29846         (struct test_ff_i_data): Likewise.
29847         (struct test_f_l_data): Likewise.
29848         (struct test_f_L_data): Likewise.
29849         (struct test_sincos_data): Likewise.
29850         (RUN_TEST_f_f): Do not handle ulps.
29851         (RUN_TEST_LOOP_f_f): Likewise.
29852         (RUN_TEST_2_f): Likewise.
29853         (RUN_TEST_LOOP_2_f): Likewise.
29854         (RUN_TEST_fff_f): Likewise.
29855         (RUN_TEST_LOOP_fff_f): Likewise.
29856         (RUN_TEST_c_f): Likewise.
29857         (RUN_TEST_LOOP_c_f): Likewise.
29858         (RUN_TEST_f_f1): Likewise.
29859         (RUN_TEST_LOOP_f_f1): Likewise.
29860         (RUN_TEST_fF_f1): Likewise.
29861         (RUN_TEST_LOOP_fF_f1): Likewise.
29862         (RUN_TEST_fI_f1): Likewise.
29863         (RUN_TEST_LOOP_fI_f1): Likewise.
29864         (RUN_TEST_ffI_f1): Likewise.
29865         (RUN_TEST_LOOP_ffI_f1): Likewise.
29866         (RUN_TEST_c_c): Likewise.
29867         (RUN_TEST_LOOP_c_c): Likewise.
29868         (RUN_TEST_cc_c): Likewise.
29869         (RUN_TEST_LOOP_cc_c): Likewise.
29870         (RUN_TEST_f_i): Likewise.
29871         (RUN_TEST_LOOP_f_i): Likewise.
29872         (RUN_TEST_f_i_tg): Likewise.
29873         (RUN_TEST_LOOP_f_i_tg): Likewise.
29874         (RUN_TEST_ff_i_tg): Likewise.
29875         (RUN_TEST_LOOP_ff_i_tg): Likewise.
29876         (RUN_TEST_f_b): Likewise.
29877         (RUN_TEST_LOOP_f_b): Likewise.
29878         (RUN_TEST_f_b_tg): Likewise.
29879         (RUN_TEST_LOOP_f_b_tg): Likewise.
29880         (RUN_TEST_f_l): Likewise.
29881         (RUN_TEST_LOOP_f_l): Likewise.
29882         (RUN_TEST_f_L): Likewise.
29883         (RUN_TEST_LOOP_f_L): Likewise.
29884         (RUN_TEST_sincos): Likewise.
29885         (RUN_TEST_LOOP_sincos): Likewise.
29887 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
29889         [BZ #15480]
29890         [BZ #15485]
29891         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
29892         main case of finite arguments, set rounding mode to FE_TONEAREST
29893         and discard exceptions.
29894         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
29895         exceptions.
29896         (remainder_tonearest_test_data): New variable.
29897         (remainder_test_tonearest): New function.
29898         (remainder_towardzero_test_data): New variable.
29899         (remainder_test_towardzero): New function.
29900         (remainder_downward_test_data): New variable.
29901         (remainder_test_downward): New function.
29902         (remainder_upward_test_data): New variable.
29903         (remainder_test_upward): New function.
29904         (main): Call the new test functions.
29906         * math/libm-test.inc (struct test_f_f1_data): Remove field
29907         extra_init.
29908         (struct test_fF_f1_data): Likewise.
29909         (struct test_ffI_f1_data): Likewise.
29910         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
29911         based on value of EXTRA_EXPECTED.
29912         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
29913         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
29914         EXTRA_VAR based on value of EXTRA_EXPECTED.
29915         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
29916         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
29917         EXTRA_VAR based on value of EXTRA_EXPECTED.
29918         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
29919         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
29920         EXTRA_VAR based on value of EXTRA_EXPECTED.
29921         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
29922         * math/gen-libm-test.pl (parse_args): Don't output initializers
29923         for extra output values.
29925         * math/libm-test.inc (check_int): Expect result to be exactly
29926         equal to expected value and do not handle ulps.
29927         (check_long): Likewise.
29928         (check_longlong): Likewise.
29930         * math/libm-test.inc (ceil_test_data): Test for "inexact"
29931         exceptions.
29932         (cimag_test_data): Likewise.
29933         (conj_test_data): Likewise.
29934         (copysign_test_data): Likewise.
29935         (cproj_test_data): Likewise.
29936         (creal_test_data): Likewise.
29937         (fabs_test_data): Likewise.
29938         (fdim_test_data): Likewise.
29939         (finite_test_data): Likewise.
29940         (floor_test_data): Likewise.
29941         (fmax_test_data): Likewise.
29942         (fmin_test_data): Likewise.
29943         (fmod_test_data): Likewise.
29944         (fpclassify_test_data): Likewise.
29945         (frexp_test_data): Likewise.
29946         (ilogb_test_data): Likewise.
29947         (isfinite_test_data): Likewise.
29948         (isgreater_test_data): Likewise.
29949         (isgreaterequal_test_data): Likewise.
29950         (isinf_test_data): Likewise.
29951         (isless_test_data): Likewise.
29952         (islessequal_test_data): Likewise.
29953         (islessgreater_test_data): Likewise.
29954         (isnan_test_data): Likewise.
29955         (isnormal_test_data): Likewise.
29956         (issignaling_test_data): Likewise.
29957         (isunordered_test_data): Likewise.
29958         (ldexp_test_data): Likewise.
29959         (lrint_test_data): Likewise.
29960         (lrint_test_data) [TEST_FLOAT]: Disable one test.
29961         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
29962         (lrint_tonearest_test_data): Test for "inexact" exceptions.
29963         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
29964         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
29965         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29966         test input.
29967         (lrint_towardzero_test_data): Test for "inexact" exceptions.
29968         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29969         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
29970         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
29971         that test input.
29972         (lrint_downward_test_data): Test for "inexact" exceptions.
29973         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29974         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
29975         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29976         test input.
29977         (lrint_upward_test_data): Test for "inexact" exceptions.
29978         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
29979         test input.
29980         (llrint_test_data): Test for "inexact" exceptions.
29981         (llrint_test_data) [TEST_FLOAT]: Disable one test.
29982         (llrint_tonearest_test_data): Test for "inexact" exceptions.
29983         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
29984         (llrint_towardzero_test_data): Test for "inexact" exceptions.
29985         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29986         (llrint_downward_test_data): Test for "inexact" exceptions.
29987         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29988         (llrint_upward_test_data): Test for "inexact" exceptions.
29989         (logb_test_data): Likewise.
29990         (logb_downward_test_data): Likewise.
29991         (nextafter_test_data): Likewise.
29992         (nexttoward_test_data): Likewise.
29993         (remainder_test_data): Likewise.
29994         (remquo_test_data): Likewise.
29995         (scalbn_test_data): Likewise.
29996         (scalbln_test_data): Likewise.
29997         (signbit_test_data): Likewise.
29998         (sqrt_test_data): Likewise.
29999         (significand_test_data): Likewise.
30001 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30003         [BZ #15424]
30004         * benchtests/bench-modf.c (struct args): Mark arg0 as
30005         volatile.
30006         * scripts/bench.pl: Mark members of struct args as volatile.
30008 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30010         [BZ # 15497]
30011         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
30012         negative infinity on POWER6 or lower.
30013         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
30015 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
30017         [BZ #15442]
30018         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
30019         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
30020         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
30021         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
30022         (_FP_SETQNAN): New macro.
30023         (_FP_SETQNAN_SEMIRAW): Likewise.
30024         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
30025         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
30026         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
30027         (FP_EXTEND): Use _FP_FRAC_SNANP.
30028         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
30029         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
30030         into account.
30031         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30032         New macro.
30033         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30034         Likewise.
30036 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
30038         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
30039         with DIVIDE_BY_ZERO_EXCEPTION.
30040         (gamma_test_data): Likewise.
30041         (lgamma_test_data): Likewise.
30042         (log_test_data): Likewise.
30043         (log10_test_data): Likewise.
30044         (log2_test_data): Likewise.
30045         (tgamma_test_data): Likewise.
30047         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
30048         (acos_test_tonearest): Likewise.
30049         (acos_test_towardzero): Likewise.
30050         (acos_test_downward): Likewise.
30051         (acos_test_upward): Likewise.
30052         (acosh_test): Likewise.
30053         (asin_test): Likewise.
30054         (asin_test_tonearest): Likewise.
30055         (asin_test_towardzero): Likewise.
30056         (asin_test_downward): Likewise.
30057         (asin_test_upward): Likewise.
30058         (asinh_test): Likewise.
30059         (atan_test): Likewise.
30060         (atanh_test): Likewise.
30061         (atan2_test): Likewise.
30062         (cabs_test): Likewise.
30063         (cacos_test): Likewise.
30064         (cacosh_test): Likewise.
30065         (casin_test): Likewise.
30066         (casinh_test): Likewise.
30067         (catan_test): Likewise.
30068         (catanh_test): Likewise.
30069         (cbrt_test): Likewise.
30070         (ccos_test): Likewise.
30071         (ccosh_test): Likewise.
30072         (cexp_test): Likewise.
30073         (clog_test): Likewise.
30074         (clog10_test): Likewise.
30075         (cos_test): Likewise.
30076         (cos_test_tonearest): Likewise.
30077         (cos_test_towardzero): Likewise.
30078         (cos_test_downward): Likewise.
30079         (cos_test_upward): Likewise.
30080         (cosh_test): Likewise.
30081         (cosh_test_tonearest): Likewise.
30082         (cosh_test_towardzero): Likewise.
30083         (cosh_test_downward): Likewise.
30084         (cosh_test_upward): Likewise.
30085         (cpow_test): Likewise.
30086         (csin_test): Likewise.
30087         (csinh_test): Likewise.
30088         (csqrt_test): Likewise.
30089         (ctan_test): Likewise.
30090         (ctan_test_tonearest): Likewise.
30091         (ctan_test_towardzero): Likewise.
30092         (ctan_test_downward): Likewise.
30093         (ctan_test_upward): Likewise.
30094         (ctanh_test): Likewise.
30095         (ctanh_test_tonearest): Likewise.
30096         (ctanh_test_towardzero): Likewise.
30097         (ctanh_test_downward): Likewise.
30098         (ctanh_test_upward): Likewise.
30099         (erf_test): Likewise.
30100         (erfc_test): Likewise.
30101         (exp_test): Likewise.
30102         (exp_test_tonearest): Likewise.
30103         (exp_test_towardzero): Likewise.
30104         (exp_test_downward): Likewise.
30105         (exp_test_upward): Likewise.
30106         (exp10_test): Likewise.
30107         (exp2_test): Likewise.
30108         (expm1_test): Likewise.
30109         (fmod_test): Likewise.
30110         (gamma_test): Likewise.
30111         (hypot_test): Likewise.
30112         (j0_test): Likewise.
30113         (j1_test): Likewise.
30114         (jn_test): Likewise.
30115         (lgamma_test): Likewise.
30116         (log_test): Likewise.
30117         (log10_test): Likewise.
30118         (log1p_test): Likewise.
30119         (log2_test): Likewise.
30120         (logb_test_downward): Likewise.
30121         (pow_test): Likewise.
30122         (pow_test_tonearest): Likewise.
30123         (pow_test_towardzero): Likewise.
30124         (pow_test_downward): Likewise.
30125         (pow_test_upward): Likewise.
30126         (remainder_test): Likewise.
30127         (remquo_test): Likewise.
30128         (sin_test): Likewise.
30129         (sin_test_tonearest): Likewise.
30130         (sin_test_towardzero): Likewise.
30131         (sin_test_downward): Likewise.
30132         (sin_test_upward): Likewise.
30133         (sincos_test): Likewise.
30134         (sinh_test): Likewise.
30135         (sinh_test_tonearest): Likewise.
30136         (sinh_test_towardzero): Likewise.
30137         (sinh_test_downward): Likewise.
30138         (sinh_test_upward): Likewise.
30139         (sqrt_test): Likewise.
30140         (tan_test): Likewise.
30141         (tan_test_tonearest): Likewise.
30142         (tan_test_towardzero): Likewise.
30143         (tan_test_downward): Likewise.
30144         (tan_test_upward): Likewise.
30145         (tanh_test): Likewise.
30146         (tgamma_test): Likewise.
30147         (y0_test): Likewise.
30148         (y1_test): Likewise.
30149         (yn_test): Likewise.
30151         * math/gen-libm-test.pl (adjust_arg): Remove function.
30152         (special_function): Remove argument $in_func.  Only handle
30153         generating output for tables of tests, not inside functions.
30154         (parse_args): Likewise.
30155         (generate_testfile): Remove variable $in_func.  Update call to
30156         parse_args.
30157         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
30158         (MINUS_ZERO_INIT): Rename macro to minus_zero.
30159         (PLUS_INFTY_INIT): Rename macro to plus_infty.
30160         (MINUS_INFTY_INIT): Rename macro to minus_infty.
30161         (QNAN_VALUE_INIT): Rename macro to qnan_value.
30162         (MAX_VALUE_INIT): Rename macro to max_value.
30163         (MIN_VALUE_INIT): Rename macro to min_value.
30164         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
30165         (plus_zero): Remove variable.
30166         (minus_zero): Likewise.
30167         (plus_infty): Likewise.
30168         (minus_infty): Likewise.
30169         (qnan_value): Likewise.
30170         (max_value): Likewise.
30171         (min_value): Likewise.
30172         (min_subnorm_value): Likewise.
30174 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30176         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
30177         uint64_t or uint32_t usage.
30178         * crypt/sha256-block.c: Likewise.
30179         * crypt/sha256-crypt.c: Likewise.
30180         * crypt/sha256.c: Likewise.
30181         * crypt/sha512-block.c: Likewise.
30182         * crypt/sha512-crypt.c: Likewise.
30183         * crypt/sha512.c: Likewise.
30184         * debug/backtrace-tst.c: Likewise.
30185         * debug/pcprofiledump.c: Likewise.
30186         * elf/cache.c: Likewise.
30187         * elf/dl-cache.c: Likewise.
30188         * elf/dl-misc.c: Likewise.
30189         * elf/dl-profile.c: Likewise.
30190         * elf/dl-support.c: Likewise.
30191         * elf/ldconfig.c: Likewise.
30192         * elf/sprof.c: Likewise.
30193         * iconv/dummy-repertoire.c: Likewise.
30194         * iconv/iconv_charmap.c: Likewise.
30195         * iconv/skeleton.c: Likewise.
30196         * iconvdata/8bit-generic.c: Likewise.
30197         * iconvdata/cp737.h: Likewise.
30198         * iconvdata/cp775.h: Likewise.
30199         * iconvdata/ibm1008.h: Likewise.
30200         * iconvdata/ibm1025.h: Likewise.
30201         * iconvdata/ibm1046.h: Likewise.
30202         * iconvdata/ibm1097.h: Likewise.
30203         * iconvdata/ibm1112.h: Likewise.
30204         * iconvdata/ibm1122.h: Likewise.
30205         * iconvdata/ibm1123.h: Likewise.
30206         * iconvdata/ibm1124.h: Likewise.
30207         * iconvdata/ibm1129.h: Likewise.
30208         * iconvdata/ibm1130.h: Likewise.
30209         * iconvdata/ibm1132.h: Likewise.
30210         * iconvdata/ibm1133.h: Likewise.
30211         * iconvdata/ibm1137.h: Likewise.
30212         * iconvdata/ibm1140.h: Likewise.
30213         * iconvdata/ibm1141.h: Likewise.
30214         * iconvdata/ibm1142.h: Likewise.
30215         * iconvdata/ibm1143.h: Likewise.
30216         * iconvdata/ibm1144.h: Likewise.
30217         * iconvdata/ibm1145.h: Likewise.
30218         * iconvdata/ibm1146.h: Likewise.
30219         * iconvdata/ibm1147.h: Likewise.
30220         * iconvdata/ibm1148.h: Likewise.
30221         * iconvdata/ibm1149.h: Likewise.
30222         * iconvdata/ibm1153.h: Likewise.
30223         * iconvdata/ibm1154.h: Likewise.
30224         * iconvdata/ibm1155.h: Likewise.
30225         * iconvdata/ibm1156.h: Likewise.
30226         * iconvdata/ibm1157.h: Likewise.
30227         * iconvdata/ibm1158.h: Likewise.
30228         * iconvdata/ibm1160.h: Likewise.
30229         * iconvdata/ibm1161.h: Likewise.
30230         * iconvdata/ibm1162.h: Likewise.
30231         * iconvdata/ibm1163.h: Likewise.
30232         * iconvdata/ibm1164.h: Likewise.
30233         * iconvdata/ibm1166.h: Likewise.
30234         * iconvdata/ibm1167.h: Likewise.
30235         * iconvdata/ibm12712.h: Likewise.
30236         * iconvdata/ibm1390.h: Likewise.
30237         * iconvdata/ibm1399.h: Likewise.
30238         * iconvdata/ibm16804.h: Likewise.
30239         * iconvdata/ibm4517.h: Likewise.
30240         * iconvdata/ibm4899.h: Likewise.
30241         * iconvdata/ibm4909.h: Likewise.
30242         * iconvdata/ibm4971.h: Likewise.
30243         * iconvdata/ibm5347.h: Likewise.
30244         * iconvdata/ibm803.h: Likewise.
30245         * iconvdata/ibm856.h: Likewise.
30246         * iconvdata/ibm901.h: Likewise.
30247         * iconvdata/ibm902.h: Likewise.
30248         * iconvdata/ibm9030.h: Likewise.
30249         * iconvdata/ibm9066.h: Likewise.
30250         * iconvdata/ibm921.h: Likewise.
30251         * iconvdata/ibm922.h: Likewise.
30252         * iconvdata/ibm9448.h: Likewise.
30253         * iconvdata/isiri-3342.h: Likewise.
30254         * iconvdata/jis0201.h: Likewise.
30255         * include/link.h: Likewise.
30256         * include/netdb.h: Likewise.
30257         * inet/check_native.c: Likewise.
30258         * inet/check_pf.c: Likewise.
30259         * inet/getipv4sourcefilter.c: Likewise.
30260         * inet/getnameinfo.c: Likewise.
30261         * inet/getsourcefilter.c: Likewise.
30262         * inet/htonl.c: Likewise.
30263         * inet/setipv4sourcefilter.c: Likewise.
30264         * inet/setsourcefilter.c: Likewise.
30265         * inet/test-inet6_opt.c: Likewise.
30266         * inet/tst-network.c: Likewise.
30267         * locale/C-collate.c: Likewise.
30268         * locale/C-ctype.c: Likewise.
30269         * locale/C-time.c: Likewise.
30270         * locale/C-translit.h: Likewise.
30271         * locale/loadarchive.c: Likewise.
30272         * locale/programs/3level.h: Likewise.
30273         * locale/programs/charmap.c: Likewise.
30274         * locale/programs/charmap.h: Likewise.
30275         * locale/programs/ld-address.c: Likewise.
30276         * locale/programs/ld-collate.c: Likewise.
30277         * locale/programs/ld-ctype.c: Likewise.
30278         * locale/programs/ld-identification.c: Likewise.
30279         * locale/programs/ld-measurement.c: Likewise.
30280         * locale/programs/ld-messages.c: Likewise.
30281         * locale/programs/ld-monetary.c: Likewise.
30282         * locale/programs/ld-name.c: Likewise.
30283         * locale/programs/ld-numeric.c: Likewise.
30284         * locale/programs/ld-paper.c: Likewise.
30285         * locale/programs/ld-telephone.c: Likewise.
30286         * locale/programs/ld-time.c: Likewise.
30287         * locale/programs/linereader.c: Likewise.
30288         * locale/programs/locale.c: Likewise.
30289         * locale/programs/locarchive.c: Likewise.
30290         * locale/programs/locfile.h: Likewise.
30291         * locale/programs/repertoire.c: Likewise.
30292         * locale/programs/simple-hash.c: Likewise.
30293         * locale/programs/simple-hash.h: Likewise.
30294         * malloc/memusage.c: Likewise.
30295         * malloc/memusagestat.c: Likewise.
30296         * nis/nis_defaults.c: Likewise.
30297         * nis/nis_hash.c: Likewise.
30298         * nis/nis_print.c: Likewise.
30299         * nis/nis_xdr.c: Likewise.
30300         * nscd/connections.c: Likewise.
30301         * nscd/hstcache.c: Likewise.
30302         * nscd/nscd_gethst_r.c: Likewise.
30303         * nscd/nscd_getserv_r.c: Likewise.
30304         * nscd/nscd_helper.c: Likewise.
30305         * nscd/servicescache.c: Likewise.
30306         * nss/makedb.c: Likewise.
30307         * nss/nss_db/db-XXX.c: Likewise.
30308         * nss/nss_db/db-initgroups.c: Likewise.
30309         * nss/nss_db/db-netgrp.c: Likewise.
30310         * nss/nss_files/files-network.c: Likewise.
30311         * nss/nss_files/files-parse.c: Likewise.
30312         * posix/bug-regex5.c: Likewise.
30313         * posix/fnmatch_loop.c: Likewise.
30314         * posix/regcomp.c: Likewise.
30315         * posix/regexec.c: Likewise.
30316         * posix/tst-rfc3484-2.c: Likewise.
30317         * posix/tst-rfc3484-3.c: Likewise.
30318         * posix/tst-rfc3484.c: Likewise.
30319         * resolv/nss_dns/dns-canon.c: Likewise.
30320         * resolv/nss_dns/dns-network.c: Likewise.
30321         * resolv/res_init.c: Likewise.
30322         * resolv/res_mkquery.c: Likewise.
30323         * resolv/tst-aton.c: Likewise.
30324         * stdlib/cxa_atexit.c: Likewise.
30325         * stdlib/cxa_finalize.c: Likewise.
30326         * stdlib/gen-fpioconst.c: Likewise.
30327         * stdlib/strtol_l.c: Likewise.
30328         * string/tst-endian.c: Likewise.
30329         * sunrpc/auth_des.c: Likewise.
30330         * sunrpc/clnt_udp.c: Likewise.
30331         * sunrpc/rtime.c: Likewise.
30332         * sunrpc/svcauth_des.c: Likewise.
30333         * sunrpc/xdr.c: Likewise.
30334         * sunrpc/xdr_intXX_t.c: Likewise.
30335         * sunrpc/xdr_rec.c: Likewise.
30336         * sysdeps/generic/ldconfig.h: Likewise.
30337         * sysdeps/generic/ldsodefs.h: Likewise.
30338         * sysdeps/generic/memusage.h: Likewise.
30339         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30340         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
30341         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
30342         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30343         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30344         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30345         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30346         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30347         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30348         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30349         * sysdeps/posix/getaddrinfo.c: Likewise.
30350         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30351         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30352         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30353         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30354         * sysdeps/powerpc/test-gettimebase.c: Likewise.
30355         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30356         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
30357         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
30358         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30359         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
30360         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30361         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30362         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
30363         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
30364         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
30365         * sysdeps/x86_64/dl-tls.h: Likewise.
30366         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
30367         * time/alt_digit.c: Likewise.
30368         * time/era.c: Likewise.
30369         * wcsmbs/tst-c16c32-1.c: Likewise.
30371 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
30373         * math/libm-test.inc (struct test_sincos_data): New type.
30374         (RUN_TEST_LOOP_sincos): New macro.
30375         (sincos_test_data): New variable.
30376         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
30378 2013-05-16  Richard Henderson  <rth@redhat.com>
30380         * math/atest-exp2.c (LIMB64): New macro.
30381         (CONSTSZ): New macro.
30382         (mp_exp1, mp_exp_m1, mp_log2): New variables.
30383         (hexdig): Move ...
30384         (print_mpn_fp): ... to function scope.
30385         (read_mpn_hex): Remove.
30386         (get_log2): Remove.
30387         (exp2_mpn): Use mp_log2.
30388         (main): Use mp_exp1.
30390 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
30392         * math/libm-test.inc: Remove comment about not testing "inexact"
30393         exceptions.
30394         (INEXACT_EXCEPTION): New macro.
30395         (NO_INEXACT_EXCEPTION): Likewise.
30396         (INVALID_EXCEPTION_OK): Update value.
30397         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30398         (OVERFLOW_EXCEPTION_OK): Likewise.
30399         (UNDERFLOW_EXCEPTION_OK): Likewise.
30400         (IGNORE_ZERO_INF_SIGN): Likewise.
30401         (ERRNO_UNCHANGED): Likewise.
30402         (ERRNO_EDOM): Likewise.
30403         (ERRNO_ERANGE): Likewise.
30404         (test_exceptions): Handle testing "inexact" exceptions.
30405         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
30406         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
30407         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
30408         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
30409         INEXACT_EXCEPTION.
30410         (rint_towardzero_test_data): Likewise.
30411         (rint_downward_test_data): Likewise.
30412         (rint_upward_test_data): Likewise.
30414         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
30415         with OVERFLOW_EXCEPTION.
30416         (exp10_test_data): Likewise.
30417         (exp2_test_data): Likewise.
30418         (expm1_test_data): Likewise.
30419         (lgamma_test_data): Likewise.
30420         (pow_test_data): Likewise.
30421         (tgamma_test_data): Likewise.
30422         (yn_test_data): Remove duplicate test of overflow.
30424         * math/libm-test.inc (struct test_cc_c_data): New type.
30425         (RUN_TEST_LOOP_cc_c): New macro.
30426         (cpow_test_data): New variable.
30427         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
30429         * math/libm-test.inc (struct test_f_L_data): New type.
30430         (RUN_TEST_LOOP_f_L): New macro.
30431         (llrint_test_data): New variable.
30432         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
30433         (llrint_tonearest_test_data): New variable.
30434         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
30435         (llrint_towardzero_test_data): New variable.
30436         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
30437         (llrint_downward_test_data): New variable.
30438         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
30439         (llrint_upward_test_data): New variable.
30440         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
30441         (llround_test_data): New variable.
30442         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
30444 2013-05-13  Peter Collingbourne  <pcc@google.com>
30446         * math/atest-exp2.c (get_log2): Remove const attribute.
30448 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
30450         * math/libm-test.inc (struct test_f_l_data): New type.
30451         (RUN_TEST_LOOP_f_l): New macro.
30452         (lrint_test_data): New variable.
30453         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
30454         (lrint_tonearest_test_data): New variable.
30455         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
30456         (lrint_towardzero_test_data): New variable.
30457         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
30458         (lrint_downward_test_data): New variable.
30459         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
30460         (lrint_upward_test_data): New variable.
30461         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
30462         (lround_test_data): New variable.
30463         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
30465 2013-05-15  Peter Collingbourne  <pcc@google.com>
30467         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
30468         (EXTRACT_WORDS64) Use where appropriate.
30469         (INSERT_WORDS64) Likewise.
30471         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
30472         constraints with x constraints.
30473         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
30475         * malloc/obstack.c (_obstack_compat): Add initializer.
30477 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
30479         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
30480         si_trapno and add si_addr_lsb to _sifields.sigfault.
30481         (si_trapno): Remove macro.
30482         (si_addr_lsb): Define new macro.
30483         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30485 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
30487         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
30488         instead of TEST_f_l.
30489         (llrint_test_tonearest): Likewise.
30490         (llrint_test_towardzero): Likewise.
30491         (llrint_test_downward): Likewise.
30492         (llrint_test_upward): Likewise.
30493         (llround_test): Likewise.
30495         * math/libm-test.inc (struct test_f_i_data): Add comment.
30496         (RUN_TEST_LOOP_f_b): New macro.
30497         (RUN_TEST_LOOP_f_b_tg): Likewise.
30498         (finite_test_data): New variable.
30499         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
30500         (isfinite_test_data): New variable.
30501         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30502         (isinf_test_data): New variable.
30503         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30504         (isnan_test_data): New variable.
30505         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30506         (isnormal_test_data): New variable.
30507         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30508         (issignaling_test_data): New variable.
30509         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30510         (signbit_test_data): New variable.
30511         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30513         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
30514         with INVALID_EXCEPTION.
30515         (acosh_test_data): Likewise.
30516         (asin_test_data): Likewise.
30517         (atanh_test_data): Likewise.
30518         (fmod_test_data): Likewise.
30519         (log_test_data): Likewise.
30520         (log10_test_data): Likewise.
30521         (log2_test_data): Likewise.
30522         (pow_test_data): Likewise.
30523         (sqrt_test_data): Likewise.
30524         (y0_test_data): Likewise.
30525         (y1_test_data): Likewise.
30526         (yn_test_data): Likewise.
30528         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
30529         function contents.
30531         * math/libm-test.inc (struct test_ff_i_data): New type.
30532         (RUN_TEST_LOOP_ff_i_tg): New macro.
30533         (isgreater_test_data): New variable.
30534         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30535         (isgreaterequal_test_data): New variable.
30536         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30537         (isless_test_data): New variable.
30538         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30539         (islessequal_test_data): New variable.
30540         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30541         (islessgreater_test_data): New variable.
30542         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30543         (isunordered_test_data): New variable.
30544         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30546 2013-05-14  David S. Miller  <davem@davemloft.net>
30548         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30550 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
30552         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
30554         * math/libm-test.inc (struct test_fF_f1_data): Change type of
30555         extra_test to int.
30556         (struct test_f_i_data): Change type of max_ulp to int.
30558         * math/libm-test.inc (test_ffI_f1_data): New type.
30559         (RUN_TEST_LOOP_ffI_f1): New macro.
30560         (remquo_test_data): New variable.
30561         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
30563         * setjmp/tst-setjmp-fp.c: New file.
30564         * setjmp/Makefile (tests): Add tst-setjmp-fp.
30565         (link-libm): New variable.
30566         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
30568         * math/libm-test.inc (struct test_f_i_data): New type.
30569         (RUN_TEST_LOOP_f_i): New macro.
30570         (RUN_TEST_LOOP_f_i_tg): Likewise.
30571         (fpclassify_test_data): New variable.
30572         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
30573         (ilogb_test_data): New variable.
30574         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
30576         * math/libm-test.inc (scalbln_test): Correct function name in END
30577         call.
30579         * math/libm-test.inc (struct test_f_f1_data): Add comment.
30580         (RUN_TEST_LOOP_fI_f1): New macro.
30581         (frexp_test_data): New variable.
30582         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
30584         * math/libm-test.inc (struct test_fF_f1_data): New type.
30585         (RUN_TEST_LOOP_fF_f1): New macro.
30586         (modf_test_data): New variable.
30587         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
30589         * math/libm-test.inc (struct test_f_f1_data): New type.
30590         (RUN_TEST_LOOP_f_f1): New macro.
30591         (gamma_test_data): New variable.
30592         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
30593         (lgamma_test_data): New variable.
30594         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
30596 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
30598         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
30599         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
30600         (main): Comment "tls" pseudo-hwcap.
30602 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
30604         * math/libm-test.inc (struct test_fl_f_data): New type.
30605         (RUN_TEST_LOOP_fl_f): New variable.
30606         (scalbln_test_data): New variable.
30607         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
30609         * math/libm-test.inc (struct test_fi_f_data): New type.
30610         (RUN_TEST_LOOP_fi_f): New macro.
30611         (ldexp_test_data): New variable.
30612         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
30613         (scalbn_test_data): New variable.
30614         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
30616         * math/libm-test.inc (struct test_c_f_data): New type.
30617         (RUN_TEST_LOOP_c_f): New macro.
30618         (cabs_test_data): New variable.
30619         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
30620         (carg_test_data): New variable.
30621         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
30622         (cimag_test_data): New variable.
30623         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
30624         (creal_test_data): New variable.
30625         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
30627         * math/libm-test.inc (struct test_if_f_data): New type.
30628         (RUN_TEST_LOOP_if_f): New macro.
30629         (jn_test_data): New variable.
30630         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
30631         (yn_test_data): New variable.
30632         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
30634         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
30636 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30638         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
30639         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
30641 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30643         * benchtests/Makefile (CPPFLAGS-nonlib): Add
30644         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
30645         (bench-deps): Add bench-timing.h.
30646         * benchtests-bench-skeleton.c: Include bench-timing.h.
30647         (main): Use TIMING_* macros instead of clock_gettime.
30648         * benchtests/bench-timing.h: New file.
30650         [BZ #14582]
30651         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
30652         Renamed from _LIB_VERSION.
30653         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
30655 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
30657         * math/libm-test.inc (struct test_fff_f_data): New type.
30658         (RUN_TEST_LOOP_fff_f): New macro.
30659         (fma_test_data): New variable.
30660         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
30661         (fma_towardzero_test_data): New variable.
30662         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
30663         (fma_downward_test_data): New variable.
30664         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
30665         (fma_upward_test_data): New variable.
30666         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
30668         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
30669         (struct test_c_c_data): New type.
30670         (RUN_TEST_LOOP_c_c): New macro.
30671         (cacos_test_data): New variable.
30672         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
30673         (cacosh_test_data): New variable.
30674         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
30675         (casin_test_data): New variable.
30676         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
30677         (casinh_test_data): New variable.
30678         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
30679         (catan_test_data): New variable.
30680         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
30681         (catanh_test_data): New variable.
30682         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
30683         (ccos_test_data): New variable.
30684         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
30685         (ccosh_test_data): New variable.
30686         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
30687         (cexp_test_data): New variable.
30688         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
30689         (clog_test_data): New variable.
30690         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
30691         (clog10_test_data): New variable.
30692         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
30693         (conj_test_data): New variable.
30694         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
30695         (cproj_test_data): New variable.
30696         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
30697         (csin_test_data): New variable.
30698         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
30699         (csinh_test_data): New variable.
30700         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
30701         (csqrt_test_data): New variable.
30702         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
30703         (ctan_test_data): New variable.
30704         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
30705         (ctan_tonearest_test_data): New variable.
30706         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
30707         (ctan_towardzero_test_data): New variable.
30708         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
30709         (ctan_downward_test_data): New variable.
30710         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
30711         (ctan_upward_test_data): New variable.
30712         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
30713         (ctanh_test_data): New variable.
30714         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
30715         (ctanh_tonearest_test_data): New variable.
30716         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
30717         (ctanh_towardzero_test_data): New variable.
30718         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
30719         (ctanh_downward_test_data): New variable.
30720         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
30721         (ctanh_upward_test_data): New variable.
30722         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
30723         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
30724         of BUILD_COMPLEX.
30726         * math/libm-test.inc (struct test_ff_f_data): New type.
30727         (struct test_ff_f_data_nexttoward): Likewise.
30728         (RUN_TEST_LOOP_2_f): New macro.
30729         (RUN_TEST_LOOP_ff_f): Likewise.
30730         (atan2_test_data): New variable.
30731         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
30732         (copysign_test_data): New variable.
30733         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
30734         (fdim_test_data): New variable.
30735         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
30736         (fmax_test_data): New variable.
30737         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
30738         (fmin_test_data): New variable.
30739         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
30740         (fmod_test_data): New variable.
30741         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
30742         (hypot_test_data): New variable.
30743         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
30744         (nextafter_test_data): New variable.
30745         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
30746         (nexttoward_test_data): New variable.
30747         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
30748         (pow_test_data): New variable.
30749         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
30750         (pow_tonearest_test_data): New variable.
30751         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
30752         (pow_towardzero_test_data): New variable.
30753         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
30754         (pow_downward_test_data): New variable.
30755         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
30756         (pow_upward_test_data): New variable.
30757         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
30758         (remainder_test_data): New variable.
30759         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
30760         (scalb_test_data): New variable.
30761         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
30762         * sysdeps/i386/fpu/libm-test-ulps: Update.
30764 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
30766         * math/libm-test.inc (fma_test): Use max_value instead of local
30767         variable fltmax.
30768         (nextafter_test): Likewise.
30770         * math/libm-test.inc (acos_towardzero_test_data): New variable.
30771         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30772         (acos_downward_test_data): New variable.
30773         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30774         (acos_upward_test_data): New variable.
30775         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30776         (acosh_test_data): New variable.
30777         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
30778         (asin_test_data): New variable.
30779         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
30780         (asin_tonearest_test_data): New variable.
30781         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30782         (asin_towardzero_test_data): New variable.
30783         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30784         (asin_downward_test_data): New variable.
30785         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30786         (asin_upward_test_data): New variable.
30787         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30788         (asinh_test_data): New variable.
30789         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
30790         (atan_test_data): New variable.
30791         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
30792         (atanh_test_data): New variable.
30793         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
30794         (cbrt_test_data): New variable.
30795         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
30796         (ceil_test_data): New variable.
30797         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
30798         (cos_test_data): New variable.
30799         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
30800         (cos_tonearest_test_data): New variable.
30801         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30802         (cos_towardzero_test_data): New variable.
30803         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30804         (cos_downward_test_data): New variable.
30805         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30806         (cos_upward_test_data): New variable.
30807         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30808         (cosh_test_data): New variable.
30809         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
30810         (cosh_tonearest_test_data): New variable.
30811         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30812         (cosh_towardzero_test_data): New variable.
30813         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30814         (cosh_downward_test_data): New variable.
30815         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30816         (cosh_upward_test_data): New variable.
30817         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30818         (erf_test_data): New variable.
30819         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
30820         (erfc_test_data): New variable.
30821         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
30822         (exp_test_data): New variable.
30823         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
30824         (exp_tonearest_test_data): New variable.
30825         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30826         (exp_towardzero_test_data): New variable.
30827         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30828         (exp_downward_test_data): New variable.
30829         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30830         (exp_upward_test_data): New variable.
30831         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30832         (exp10_test_data): New variable.
30833         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
30834         (exp2_test_data): New variable.
30835         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
30836         (expm1_test_data): New variable.
30837         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
30838         (fabs_test_data): New variable.
30839         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
30840         (floor_test_data): New variable.
30841         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
30842         (j0_test_data): New variable.
30843         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
30844         (j1_test_data): New variable.
30845         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
30846         (log_test_data): New variable.
30847         (log_test): Run tests with RUN_TEST_LOOP_f_f.
30848         (log10_test_data): New variable.
30849         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
30850         (log1p_test_data): New variable.
30851         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
30852         (log2_test_data): New variable.
30853         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
30854         (logb_test_data): New variable.
30855         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
30856         (logb_downward_test_data): New variable.
30857         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30858         (nearbyint_test_data): New variable.
30859         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
30860         (rint_test_data): New variable.
30861         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
30862         (rint_tonearest_test_data): New variable.
30863         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30864         (rint_towardzero_test_data): New variable.
30865         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30866         (rint_downward_test_data): New variable.
30867         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30868         (rint_upward_test_data): New variable.
30869         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30870         (round_test_data): New variable.
30871         (round_test): Run tests with RUN_TEST_LOOP_f_f.
30872         (sin_test_data): New variable.
30873         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
30874         (sin_tonearest_test_data): New variable.
30875         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30876         (sin_towardzero_test_data): New variable.
30877         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30878         (sin_downward_test_data): New variable.
30879         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30880         (sin_upward_test_data): New variable.
30881         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30882         (sinh_test_data): New variable.
30883         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
30884         (sinh_tonearest_test_data): New variable.
30885         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30886         (sinh_towardzero_test_data): New variable.
30887         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30888         (sinh_downward_test_data): New variable.
30889         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30890         (sinh_upward_test_data): New variable.
30891         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30892         (sqrt_test_data): New variable.
30893         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
30894         (tan_test_data): New variable.
30895         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
30896         (tan_tonearest_test_data): New variable.
30897         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30898         (tan_towardzero_test_data): New variable.
30899         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30900         (tan_downward_test_data): New variable.
30901         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30902         (tan_upward_test_data): New variable.
30903         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30904         (tanh_test_data): New variable.
30905         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
30906         (tgamma_test_data): New variable.
30907         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
30908         (trunc_test_data): New variable.
30909         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
30910         (y0_test_data): New variable.
30911         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
30912         (y1_test_data): New variable.
30913         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
30914         (significand_test_data): New variable.
30915         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
30917 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
30919         [BZ #12387]
30920         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
30922 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30924         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
30926 2013-05-10  Andreas Jaeger  <aj@suse.de>
30928         [BZ #15448]
30929         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
30930         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
30932 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
30934         * math/gen-libm-test.pl (adjust_arg): New function.
30935         (special_functions): Handle generating output in both functions
30936         and arrays.
30937         (parse_args): Likewise.
30938         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
30939         $in_func argument to parse_args.
30940         * math/libm-test.inc (struct test_f_f_data): New type.
30941         (IF_ROUND_INIT_): New macro.
30942         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
30943         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30944         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30945         (IF_ROUND_INIT_FE_UPWARD): Likewise.
30946         (ROUND_RESTORE_): Likewise.
30947         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
30948         (ROUND_RESTORE_FE_TONEAREST): Likewise.
30949         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
30950         (ROUND_RESTORE_FE_UPWARD): Likewise.
30951         (RUN_TEST_LOOP_f_f): New macro.
30952         (acos_test_data): New variable.
30953         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
30954         (acos_tonearest_test_data): New variable.
30955         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30957 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30959         * benchtests/bench-skeleton.c (startup): Fix coding style.
30961 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
30963         [BZ #6809]
30964         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
30965         negative infinity argument.
30966         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
30967         negative infinity argument.
30968         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
30969         negative infinity argument.
30970         * math/libm-test.inc (tgamma_test): Expect errno to be set for
30971         domain errors.
30973 2013-05-10  Florian Weimer  <fweimer@redhat.com>
30975         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
30976         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
30977         * iconv/iconv_prog.c (main): Likewise.
30978         * locale/programs/charmap-dir.c (charmap_readdir)
30979         (fopen_uncompressed): Likewise.
30980         * locale/programs/locfile.c (siblings_uncached)
30981         (write_locale_data): Use lstat64 instead of lstat.
30982         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
30983         stat.
30985 2013-05-10  Andreas Jaeger  <aj@suse.de>
30987         [BZ #15395]
30988         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
30989         localization.
30990         Include <locale.h>.
30992 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
30994         * elf/dl-close.c (_dl_close_worker): Add comments.
30996 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
30998         [BZ #15359]
30999         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
31000         high part of pi/2.
31001         (__ieee754_rem_pio2l): Update comments.
31003         [BZ #15429]
31004         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
31005         high part of pi/2.
31006         (__ieee754_rem_pio2l): Update comments.
31008         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
31009         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
31011         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
31012         M_PI_4l.
31014         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
31015         (M_PI_34_LOG10El): Likewise.
31016         (M_PI2_LOG10El): Likewise.
31017         (M_PI4_LOG10El): Likewise.
31018         (M_PI_LOG10El): Likewise.
31020 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31024 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
31026         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
31027         (MINUS_ZERO_INIT): Likewise.
31028         (PLUS_INFTY_INIT): Likewise.
31029         (MINUS_INFTY_INIT): Likewise.
31030         (QNAN_VALUE_INIT): Likewise.
31031         (MAX_VALUE_INIT): Likewise.
31032         (MIN_VALUE_INIT): Likewise.
31033         (MIN_SUBNORM_VALUE_INIT): Likewise.
31034         (plus_zero): Initialize with PLUS_ZERO_INIT.
31035         (minus_zero): Initialize with MINUS_ZERO_INIT.
31036         (plus_infty): Initialize with PLUS_INFTY_INIT.
31037         (minus_infty): Initialize with MINUS_INFTY_INIT.
31038         (qnan_value): Initialize with QNAN_VALUE_INIT.
31039         (max_value): Initialize with MAX_VALUE_INIT.
31040         (min_value): Initialize with MIN_VALUE_INIT.
31041         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
31043         * math/libm-test.inc (RUN_TEST_if_f): New macro.
31044         (jn_test): Use TEST_if_f instead of TEST_ff_f.
31045         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
31046         (yn_test): Use TEST_if_f instead of TEST_ff_f.
31048         * math/libm-test.inc (RUN_TEST_f_f): New macro.
31049         (RUN_TEST_2_f): Likewise.
31050         (RUN_TEST_ff_f): Likewise.
31051         (RUN_TEST_fi_f): Likewise.
31052         (RUN_TEST_fl_f): Likewise.
31053         (RUN_TEST_fff_f): Likewise.
31054         (RUN_TEST_c_f): Likewise.
31055         (RUN_TEST_f_f1): Likewise.
31056         (RUN_TEST_fF_f1): Likewise.
31057         (RUN_TEST_fI_f1): Likewise.
31058         (RUN_TEST_ffI_f1): Likewise.
31059         (RUN_TEST_c_c): Likewise.
31060         (RUN_TEST_cc_c): Likewise.
31061         (RUN_TEST_f_i): Likewise.
31062         (RUN_TEST_f_i_tg): Likewise.
31063         (RUN_TEST_ff_i_tg): Likewise.
31064         (RUN_TEST_f_b): Likewise.
31065         (RUN_TEST_f_b_tg): Likewise.
31066         (RUN_TEST_f_l): Likewise.
31067         (RUN_TEST_f_L): Likewise.
31068         (RUN_TEST_sincos): Likewise.
31069         * math/gen-libm-test.pl (new_test): Take new argument to indicate
31070         whether to show exceptions.  Do not include ");\n" in return
31071         value.
31072         (special_functions): Output call to RUN_TEST_sincos instead of
31073         check_float calls.  Update calls to new_test.
31074         (parse_args): Output call to single RUN_TEST_* macro instead of
31075         check_* calls and other assignments.  Update calls to new_test.
31077         [BZ #2546]
31078         [BZ #2560]
31079         [BZ #5159]
31080         [BZ #15426]
31081         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
31082         input to result for tgamma overflow.
31083         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
31084         (gamma_coeff): New variable.
31085         (NCOEFF): New macro.
31086         (gamma_positive): New function.
31087         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
31088         underflow here.  Use gamma_positive instead of exp (lgamma) for
31089         other arguments.
31090         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
31091         (gamma_coeff): New variable.
31092         (NCOEFF): New macro.
31093         (gammaf_positive): New function.
31094         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
31095         underflow here.  Use gamma_positive instead of exp (lgamma) for
31096         other arguments.
31097         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
31098         (gamma_coeff): New variable.
31099         (NCOEFF): New macro.
31100         (gammal_positive): New function.
31101         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
31102         underflow here.  Use gamma_positive instead of exp (lgamma) for
31103         other arguments.
31104         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
31105         (gamma_coeff): New variable.
31106         (NCOEFF): New macro.
31107         (gammal_positive): New function.
31108         (__ieee754_gammal_r): Handle positive infinity, overflow and
31109         underflow here.  Handle NaN the same as positive infinity.  Remove
31110         check x < 0xffffffff for negative integers.  Use gamma_positive
31111         instead of exp (lgamma) for other arguments.
31112         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
31113         (gamma_coeff): New variable.
31114         (NCOEFF): New macro.
31115         (gammal_positive): New function.
31116         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
31117         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
31118         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
31119         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
31120         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
31121         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
31122         * sysdeps/generic/math_private.h (__gamma_productf): New
31123         prototype.
31124         (__gamma_product): Likewise.
31125         (__gamma_productl): Likewise.
31126         * math/Makefile (libm-calls): Add gamma_product.
31127         * math/libm-test.inc (tgamma_test): Add more tests.
31128         * sysdeps/i386/fpu/libm-test-ulps: Update.
31129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31131 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
31133         * benchtests/bench-skeleton.c (main): Preheat CPU.
31135 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
31137         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
31139 2013-05-07  Roland McGrath  <roland@hack.frob.com>
31141         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
31142         and _dl_skip_args_internal.
31144 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
31146         * manual/message.texi (Message Translation): Talk about users.
31147         Message to key mapping impacts design.
31149 2013-05-06  Roland McGrath  <roland@hack.frob.com>
31151         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
31153         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
31155         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
31156         * sysdeps/wordsize-64/glob64.c: ... here.
31158         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
31159         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
31160         New macros.
31162         * debug/getlogin_r_chk.c: Moved to ...
31163         * login/getlogin_r_chk.c: ... here.
31164         * debug/Makefile (routines): Move getlogin_r_chk to ...
31165         * login/Makefile (routines): ... here.
31166         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
31167         * login/Versions (libc: GLIBC_2.4): ... here.
31169         * io/poll.c (__poll): Renamed from poll.
31170         Add libc_hidden_def.
31171         (poll): Define as weak alias.
31173         * debug/ptsname_r_chk.c: Moved to ...
31174         * login/ptsname_r_chk.c: ... here.
31175         * debug/Makefile (routines): Move ptsname_r_chk to ...
31176         * login/Makefile (routines): ... here.
31177         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
31178         * login/Versions (libc: GLIBC_2.4): ... here.
31180         * posix/getlogin.c: Moved to ...
31181         * login/getlogin.c: ... here.
31182         * posix/getlogin_r.c: Moved to ...
31183         * login/getlogin_r.c: ... here.
31184         * posix/getlogin_r.c: Moved to ...
31185         * login/getlogin_r.c: ... here.
31186         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
31187         * login/Makefile (routines): ... here.
31188         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
31189         * login/Versions (libc: GLIBC_2.0): ... here.
31191         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
31192         (setrlimit): Define as weak alias.
31194         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
31195         Call __ names for open, ftruncate, and close.
31196         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
31197         (truncate): Define as weak alias.
31199 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
31201         * math/gen-libm-test.pl (parse_args): Initialize x before each
31202         test of frexp, modf and remquo.
31204         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
31205         test signgam value.
31207 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31209         [BZ #15418]
31210         [BZ #15419]
31211         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
31212         internal tests.
31213         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31215 2013-05-06  Roland McGrath  <roland@hack.frob.com>
31217         * elf/dl-writev.h: New file.
31218         * elf/dl-misc.c: Include it.
31219         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
31220         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
31222 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
31224         * math/libm-test.inc (noXFails): Remove variable.
31225         (noXPasses): Likewise.
31226         (BUILD_COMPLEX_INT): Remove macro.
31227         (print_screen): Remove xfail argument.
31228         (print_screen_max_error): Likewise.
31229         (update_stats): Likewise.
31230         (print_max_error): Likewise.  Update calls to other affected
31231         functions.
31232         (print_complex_max_error): Likewise.
31233         (test_single_exception): Update calls to print_screen.
31234         (test_single_errno): Likewise.
31235         (check_float_internal): Remove xfail argument.  Update calls to
31236         other affected functions.
31237         (check_float): Likewise.
31238         (check_complex): Likewise.
31239         (check_int): Likewise.
31240         (check_long): Likewise.
31241         (check_bool): Likewise.
31242         (check_longlong): Likewise.
31243         (main): Don't print noXFails and noXPasses.
31244         * math/gen-libm-test.pl (top level): Don't mention expected
31245         failure handling in comment.
31246         (new_test): Don't handle expected failures.
31247         (parse_args): Don't mention expected failure handling in comment.
31248         (generate_testfile): Don't handle expected failures.
31249         (parse_ulps): Likewise.
31250         (print_ulps_file): Likewise.
31251         (get_failure): Remove function.
31252         (output_test): Don't handle expected failures.
31253         * make/README.libm-test: Don't mention expected failure handling.
31255         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
31256         (minus_zero): Likewise.
31257         (plus_infty): Likewise.
31258         (minus_infty): Likewise.
31259         (qnan_value): Likewise.
31260         (max_value): Likewise.
31261         (min_value): Likewise.
31262         (min_subnorm_value): Likewise.
31263         (initialize): Do not initialize those variables dynamically.
31265 2013-05-03  Roland McGrath  <roland@hack.frob.com>
31267         * io/open.c (__open_2): Moved to ...
31268         * io/open_2.c: ... this new file.
31269         * io/open64.c (__open64_2): Moved to ...
31270         * io/open64_2.c: ... this new file.
31271         * io/openat.c (__openat_2): Moved to ...
31272         * io/openat_2.c: ... this new file.
31273         * io/openat64.c (__openat64_2): Moved to ...
31274         * io/openat64_2.c: ... this new file.
31275         * io/Makefile (routines): Add them.
31276         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
31277         * sysdeps/unix/sysv/linux/open_2.c: File removed.
31278         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
31279         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
31280         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
31281         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
31282         (__openat64): Add hidden_ver.
31283         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
31284         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
31286         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
31287         Separately conditionalize setting of GLRO(dl_sysinfo) so
31288         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
31289         as well, but the actual setting is only under [NEED_DL_SYSINFO].
31291 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31293         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
31294         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
31295         definition.
31296         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
31297         * sysdeps/unix/sysv/linux/powerpc/init-first.c
31298         (_libc_vdso_platform_setup): Add __vdso_time initialization.
31299         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
31300         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
31302 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
31304         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
31305         test signgam value.
31307         * math/libm-test.inc (hypot_test): Do not use
31308         IGNORE_ZERO_INF_SIGN.
31310 2013-05-03  Andreas Jaeger  <aj@suse.de>
31312         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
31313         Linux 3.9.
31314         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
31315         (PF_MAX): Adjust for VSOCK change.
31317 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31321 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
31323         [BZ #15264]
31324         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
31325         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
31326         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
31328 2013-05-02  David S. Miller  <davem@davemloft.net>
31330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31332 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
31334         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
31336 2013-05-01  Roland McGrath  <roland@hack.frob.com>
31338         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
31340 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
31342         [BZ #14952]
31343         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
31344         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31345         Use __attribute__ ((__gnu_inline__)).
31346         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31347         Don't use __attribute__ ((__gnu_inline__)).
31349 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
31351         [BZ #15423]
31352         * math/s_catan.c (__catan): Handle small real or imaginary part of
31353         input specially to avoid spurious underflow.
31354         * math/s_catanf.c (__catanf): Likewise.
31355         * math/s_catanh.c (__catanh): Likewise.
31356         * math/s_catanhf.c (__catanhf): Likewise.
31357         * math/s_catanhl.c (__catanhl): Likewise.
31358         * math/s_catanl.c (__catanl): Likewise.
31359         * math/libm-test.inc (catan_test): Add more tests.
31360         (catanh_test): Likewise.
31361         * sysdeps/i386/fpu/libm-test-ulps: Update.
31362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31364 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31368 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
31370         [BZ #15416]
31371         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
31372         accurately for denominator in atan2.
31373         * math/s_catanf.c (__catanf): Likewise.
31374         * math/s_catanh.c (__catanh): Likewise.
31375         * math/s_catanhf.c (__catanhf): Likewise.
31376         * math/s_catanhl.c (__catanhl): Likewise.
31377         * math/s_catanl.c (__catanl): Likewise.
31378         * math/libm-test.inc (catan_test): Add more tests.
31379         (catanh_test): Likewise.
31380         * sysdeps/i386/fpu/libm-test-ulps: Update.
31381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31383 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31385         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
31387         * benchtests/Makefile (bench): Remove slow benchmarks.
31388         * benchtests/atan-inputs: Add slow benchmark inputs.
31389         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
31390         (BENCH_FUNC): Accept variant offset.
31391         (VARIANT): Define.
31392         * benchtests/bench-skeleton.c (main): Run benchmark for each
31393         variant.
31394         * benchtests/cos-inputs: Add slow benchmark inputs.
31395         * benchtests/exp-inputs: Likewise.
31396         * benchtests/pow-inputs: Likewise.
31397         * benchtests/sin-inputs: Likewise.
31398         * benchtests/slowatan-inputs: Remove.
31399         * benchtests/slowatan.c: Remove.
31400         * benchtests/slowcos-inputs: Remove.
31401         * benchtests/slowcos.c: Remove.
31402         * benchtests/slowexp-inputs: Remove.
31403         * benchtests/slowexp.c: Remove.
31404         * benchtests/slowpow-inputs: Remove.
31405         * benchtests/slowpow.c: Remove.
31406         * benchtests/slowsin-inputs: Remove.
31407         * benchtests/slowsin.c: Remove.
31408         * benchtests/slowtan-inputs: Remove.
31409         * benchtests/slowtan.c: Remove.
31410         * benchtests/tan-inputs: Add slow benchmark inputs.
31411         * scripts/bench.pl: Parse comments and directives.
31413         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
31414         in CPPFLAGS.
31415         ($(objpfx)bench-%.c): Remove *-ITER.
31416         * benchtests/bench-modf.c: Remove definition of ITER.
31417         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
31418         (main): Loop for DURATION seconds instead of fixed number of
31419         iterations.
31420         * scripts/bench.pl: Don't expect iterations in parameters.
31422 2013-04-29  Roland McGrath  <roland@hack.frob.com>
31424         * io/fchdir.c (__fchdir): Renamed from fchdir.
31425         (fchdir): Define as weak alias.
31427 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
31429         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
31430         (ERRNO_EDOM): Likewise.
31431         (ERRNO_ERANGE): Likewise.
31432         (noErrnoTests): New variable.
31433         (init_max_error): Set errno to 0.
31434         (test_single_errno): New function.
31435         (test_errno): Likewise.
31436         (check_float_internal): Call test_errno.  Set errno to 0.
31437         (check_complex): Refer to errno tests in comment.
31438         (check_int): Call test_errno.  Set errno to 0.
31439         (check_long): Likewise.
31440         (check_bool): Likewise.
31441         (check_longlong): Likewise.
31442         (cos_test): Use ERRNO_* flags for errno tests instead of
31443         check_int.
31444         (expm1_test): Likewise.
31445         (fmod_test): Likewise.
31446         (ilogb_test): Likewise.
31447         (lgamma_test): Likewise.
31448         (pow_test): Likewise.
31449         (remainder_test): Likewise.
31450         (sin_test): Likewise.
31451         (tan_test): Likewise.
31452         (yn_test): Likewise.
31453         (initialize): Set errno to 0.
31454         (main): Print number of errno tests.
31455         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
31457 2013-04-29  Andreas Jaeger  <aj@suse.de>
31459         [BZ #15084]
31460         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
31461         and RES_USEVC.
31463         [BZ #15085]
31464         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
31465         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
31466         unimplemented.
31468         [BZ #15380]
31469         * stdlib/random.c (__initstate): Return NULL if
31470         __initstate fails.
31472         [BZ #15086]
31473         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
31474         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
31475         RES_SNGLKUPREOP.
31477 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31479         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31481 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
31483         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
31484         of individual tests.
31485         (casin_test): Likewise.
31486         (casinh_test): Likewise.
31488 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
31490         [BZ #15409]
31491         * math/s_catan.c (__catan): Handle arguments with large real or
31492         imaginary part separately without squaring.
31493         * math/s_catanf.c (__catanf): Likewise.
31494         * math/s_catanh.c (__catanh): Likewise.
31495         * math/s_catanhf.c (__catanhf): Likewise.
31496         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31497         and redefine.
31498         (__catanhl): Handle arguments with large real or imaginary part
31499         separately without squaring.
31500         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31501         and redefine.
31502         (__catanl): Handle arguments with large real or imaginary part
31503         separately without squaring.
31504         * math/libm-test.inc (catan_test): Add more tests.
31505         (catanh_test): Likewise.
31506         * sysdeps/i386/fpu/libm-test-ulps: Update.
31507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31509 2013-04-27  Andreas Jaeger  <aj@suse.de>
31511         [BZ #15007]
31512         * stdlib/stdlib.h: Update guards for qecvt.
31513         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
31514         <stdlib.h>.
31516 2013-04-27  Allan McRae  <allan@archlinux.org>
31518         * sysdeps/i386/fpu/libm-test-ulps: Update.
31520 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
31522         [BZ #15406]
31523         * math/s_catan.c: Include <float.h>.
31524         (__catan): Ensure underflow exception occurs for underflowed
31525         result.
31526         * math/s_catanf.c: Include <float.h>.
31527         (__catanf): Ensure underflow exception occurs for underflowed
31528         result.
31529         * math/s_catanh.c: Include <float.h>.
31530         (__catanh): Ensure underflow exception occurs for underflowed
31531         result.
31532         * math/s_catanhf.c: Include <float.h>.
31533         (__catanhf): Ensure underflow exception occurs for underflowed
31534         result.
31535         * math/s_catanhl.c: Include <float.h>.
31536         (__catanhl): Ensure underflow exception occurs for underflowed
31537         result.
31538         * math/s_catanl.c: Include <float.h>.
31539         (__catanl): Ensure underflow exception occurs for underflowed
31540         result.
31541         * math/libm-test.inc (catan_test): Add more tests.
31542         (catanh_test): Likewise.
31544         [BZ #15405]
31545         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
31546         underflowed result.
31547         * math/s_ccoshf.c (__ccoshf): Likewise.
31548         * math/s_ccoshl.c (__ccoshl): Likewise.
31549         * math/s_csin.c (__csin): Likewise.
31550         * math/s_csinf.c (__csinf): Likewise.
31551         * math/s_csinh.c (__csinh): Likewise.
31552         * math/s_csinhf.c (__csinhf): Likewise.
31553         * math/s_csinhl.c (__csinhl): Likewise.
31554         * math/s_csinl.c (__csinl): Likewise.
31555         * math/libm-test.inc (ccos_test): Add more tests.
31556         (ccosh_test): Likewise.
31557         (csin_test): Likewise.
31558         (csinh_test): Likewise.
31560 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31562         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
31563         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
31564         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
31565         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
31566         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
31567         powerpc/power5+/fpu folders.
31568         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
31571 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
31573         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31575 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
31577         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
31578         additions to variable.
31579         [$(config-machine) = x86_64] (modules-names): Likewise.
31580         ($(objpfx)tst-audit3): Remove dependency.
31581         ($(objpfx)tst-audit3.out): Likewise.
31582         ($(objpfx)tst-audit4): Likewise.
31583         ($(objpfx)tst-audit4.out): Likewise.
31584         ($(objpfx)tst-audit5): Likewise.
31585         ($(objpfx)tst-audit5.out): Likewise.
31586         ($(objpfx)tst-audit6): Likewise.
31587         ($(objpfx)tst-audit6.out): Likewise.
31588         ($(objpfx)tst-audit7): Likewise.
31589         ($(objpfx)tst-audit7.out): Likewise.
31590         (tst-audit3-ENV): Remove variable.
31591         (tst-audit4-ENV): Likewise.
31592         (tst-audit5-ENV): Likewise.
31593         (tst-audit6-ENV): Likewise.
31594         (tst-audit7-ENV): Likewise.
31595         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
31596         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
31597         addition to variable.
31598         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
31599         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
31600         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
31601         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
31602         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
31603         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
31604         tst-audit3, tst-audit4 and tst-audit5.
31605         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
31606         tst-audit6 and tst-audit7.
31607         [$(subdir) = elf] (modules-names): Add audit modules for those
31608         tests.
31609         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
31610         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
31611         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
31612         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
31613         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
31614         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
31615         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
31616         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
31617         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
31618         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
31619         [$(subdir) = elf] (tst-audit3-ENV): New variable.
31620         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
31621         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
31622         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
31623         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
31624         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
31625         Likewise.
31626         [$(subdir) = elf && $(config-cflags-avx) = yes]
31627         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
31628         [$(subdir) = elf && $(config-cflags-avx) = yes]
31629         (CFLAGS-tst-auditmod4a.c): Likewise.
31630         [$(subdir) = elf && $(config-cflags-avx) = yes]
31631         (CFLAGS-tst-auditmod4b.c): Likewise.
31632         [$(subdir) = elf && $(config-cflags-avx) = yes]
31633         (CFLAGS-tst-auditmod6b.c): Likewise.
31634         [$(subdir) = elf && $(config-cflags-avx) = yes]
31635         (CFLAGS-tst-auditmod6c.c): Likewise.
31636         [$(subdir) = elf && $(config-cflags-avx) = yes]
31637         (CFLAGS-tst-auditmod7b.c): Likewise.
31638         * elf/tst-audit3.c: Move to ...
31639         * sysdeps/x86_64/tst-audit3.c: ... here.
31640         * elf/tst-audit4.c: Move to ...
31641         * sysdeps/x86_64/tst-audit4.c: ... here.
31642         * elf/tst-audit5.c: Move to ...
31643         * sysdeps/x86_64/tst-audit5.c: ... here.
31644         * elf/tst-audit6.c: Move to ...
31645         * sysdeps/x86_64/tst-audit6.c: ... here.
31646         * elf/tst-audit7.c: Move to ...
31647         * sysdeps/x86_64/tst-audit7.c: ... here.
31648         * elf/tst-auditmod3a.c: Move to ...
31649         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
31650         * elf/tst-auditmod3b.c: Move to ...
31651         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
31652         * elf/tst-auditmod4a.c: Move to ...
31653         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
31654         * elf/tst-auditmod4b.c: Move to ...
31655         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
31656         * elf/tst-auditmod5a.c: Move to ...
31657         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
31658         * elf/tst-auditmod5b.c: Move to ...
31659         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
31660         * elf/tst-auditmod6a.c: Move to ...
31661         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
31662         * elf/tst-auditmod6b.c: Move to ...
31663         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
31664         * elf/tst-auditmod6c.c: Move to ...
31665         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
31666         * elf/tst-auditmod7a.c: Move to ...
31667         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
31668         * elf/tst-auditmod7b.c: Move to ...
31669         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
31671 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
31673         [BZ #15366]
31674         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
31675         define unconditionally.
31676         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
31677         define unconditionally.
31678         (INT8_C, INT16_C, etc.): Likewise.
31680 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
31682         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
31683         __ehdr_start with hidden visibility.
31685         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
31687 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
31689         * math/libm-test.inc (cos_test): Use accurate hex constants.
31690         (sincost_test): Likewise.
31692 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
31694         * math/libm-test.inc (catan_test): Add more tests.
31695         (catanh_test): Likewise.
31697         * math/s_catanf.c (__catanf): Use suffixed floating-point
31698         constants.
31699         * math/s_catanhf.c (__catanhf): Likewise.
31700         * math/s_catanhl.c (__catanhl): Likewise.
31701         * math/s_catanl.c (__catanl): Likewise.
31703         [BZ #15394]
31704         * math/s_catan.c (__catan): Calculate imaginary part of result
31705         with log1p not log unless computing log of number close to 0.
31706         * math/s_catanf.c (__catanf): Likewise.
31707         * math/s_catanl.c (__catanl): Likewise.
31708         * math/s_catanh.c (__catanh): Calculate real part of result with
31709         log1p not log unless computing log of number close to 0.
31710         * math/s_catanhf.c (__catanhf): Likewise.
31711         * math/s_catanhl.c (__catanhl): Likewise.
31712         * math/libm-test.inc (catan_test): Add more tests.
31713         (catanh_test): Likewise.
31714         * sysdeps/i386/fpu/libm-test-ulps: Update.
31715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31717 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31719         * benchtests/Makefile: Mention files in which fast and slow
31720         paths of math functions are implemented.
31722 2013-04-23  Roland McGrath  <roland@hack.frob.com>
31724         * sysdeps/posix/timespec_get.c: New file.
31726 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31728         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
31729         POWER.
31730         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
31731         for POWER.
31732         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
31733         powerpc/power5/fpu folders.
31734         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
31735         * benchtests/Makefile: Add modf testcase.
31736         * benchtests/bench-modf.c: New file: Benchmark test for mo
31738 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31740         [BZ #14888]
31741         * time/Makefile (tests): Add tst-strptime-whitespace.
31742         * time/strptime_l.c (get_number): Use ISSPACE.
31743         (__strptime_internal): Likewise.
31744         * time/tst-strptime-whitespace.c: New test case.
31746 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
31748         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
31749         member.
31750         (_nss_files_init): Set it here.
31752 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
31754         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
31755         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
31756         unsigned.
31758 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
31760         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
31762 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31764         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
31765         size just once.
31767 2013-04-21  David S. Miller  <davem@davemloft.net>
31769         * po/ru.po: Update Russion translation from translation project.
31771 2013-04-17  Adam Conrad  <adconrad@0c3.net>
31773         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
31774         and setfsgid.
31776 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
31778         * configure.in: Remove i386 configure warning. Remove i386 case.
31779         * configure: Regenerate.
31780         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
31781         Add example to error message.
31782         * sysdeps/i386/configure: Regenerate.
31784 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31786         * benchtests/Makefile (bench): Add cos, tan, slowcos and
31787         slowtan.
31788         * benchtests/cos-inputs: New file.
31789         * benchtests/slowcos-inputs: New file.
31790         * benchtests/slowcos.c: New file.
31791         * benchtests/slowtan-inputs: New file.
31792         * benchtests/slowtan.c: New file.
31793         * benchtests/tan-inputs: New file.
31795 2013-04-16  Roland McGrath  <roland@hack.frob.com>
31797         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
31798         considered kosher.
31800 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31802         * benchtests/Makefile: Include cppflags-iterator.mk to add
31803         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
31805         * Makefile.in (bench-clean): New target.
31806         * benchtests/Makefile (bench-clean): Likewise.
31808 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
31810         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
31812 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
31814         * stdio-common/tstdiomisc.c: Fix coding-style violation.
31816 2013-04-15  Andreas Schwab  <schwab@suse.de>
31818         * nscd/grpcache.c (cache_addgr): Properly check for short write.
31819         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31820         * nscd/pwdcache.c (cache_addpw): Likewise.
31821         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
31822         more than recsize.
31824 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31826         * benchtests/Makefile (bench): Write all output to
31827         bench-out.tmp together.
31829 2013-04-15  Andreas Schwab  <schwab@suse.de>
31831         * nscd/nscd.c (main): Don't fork again after closing files.
31833 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31835         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
31837         * benchtests/Rules (bench-deps): Collect dependencies into a
31838         single variable.  Add Makefile to dependencies.
31839         ($(objpfx)bench-%.c): Depend on bench-deps.
31841 2013-04-12  Roland McGrath  <roland@hack.frob.com>
31842             Xavier Roche  <roche+kml2@exalead.com>
31844         [BZ #15361]
31845         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
31846         just that it's a file descriptor.
31847         * manual/llio.texi (Synchronizing AIO Operations): Update description
31848         for EBADF error from aio_fsync.
31850 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31852         * Rules (bench): Move target definition...
31853         * benchtests/Makefile: ... here.
31855 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
31857         * math/libm-test.inc (cos_test): Fix PI/2 test.
31858         (sincos_test): Likewise.
31859         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
31860         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
31862 2013-04-11  Andreas Schwab  <schwab@suse.de>
31864         [BZ #13988]
31865         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
31866         accept exponent character only when digits were seen.
31867         * stdio-common/Makefile (tests): Add bug26.
31868         * stdio-common/bug26.c: New file.
31870         [BZ #14293]
31871         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
31872         non-freeable.
31874 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31876         * Makeconfig (rtld-prefix): Define built linker prefix.
31877         * Rules (run-bench): Use it.
31878         * math/Makefile (run-regen-ulps): Likewise.
31880         * Rules (bench): Remove eval.
31882 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31883             Roland McGrath  <roland@hack.frob.com>
31884             Ondrej Bilka  <neleai@seznam.cz>
31886         [BZ #15346]
31887         * time/getdate.c: Include ctype.h and alloca.h.
31888         (__getdate_r): Trim leading and trailing spaces of input.
31889         * time/tst-getdate.c (tests): Add tests with leading and
31890         trailing spaces.
31892 2013-04-08  Roland McGrath  <roland@hack.frob.com>
31894         [BZ #14280]
31895         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
31896         when computing value.
31898 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31900         * math/README.libm-test (How can I generate "libm-test-ulps"?):
31901         Use testrun.sh to run libm tests.
31903         [BZ #15309]
31904         * elf/dl-open.c (dl_open_worker): memset all of seen array.
31906 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
31908         [BZ #15264]
31909         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
31911 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31913         * Makefile.in (regen-ulps): New target.
31914         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
31915         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
31916         [ifneq (no,$(PERL)] (regen-ulps): New target.
31917         [ifeq (no,$(PERL)] (regen-ulps): New target.
31918         * math/libm-test.inc (ulps_file_name): Define.
31919         (output_dir): New variable.
31920         (options): Add "output-dir" option.
31921         (parse_opt): Handle 'o' case.
31922         (main): If output_dir is non-NULL use it as a prefix
31923         otherwise use "".
31924         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
31926 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31928         [BZ #10060, #10062]
31929         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
31930         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
31931         fail configure if __sync_val_compare_and_swap is not inlined.
31932         * sysdeps/i386/configure: Regenerate.
31933         * configure.in: Build for i686 when configured for i386.
31934         * configure: Regenerate.
31935         * README: Remove i386 reference.
31937 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31939         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
31940         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31942 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
31944         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
31945         (lmsnanval): New variables.
31946         (F): Add conversion tests.
31947         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
31948         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
31950         * stdio-common/tstdiomisc.c (F): Properly collect individual
31951         tests' results.
31953         [BZ #14686, #15336]
31954         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
31955         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
31956         Instead, use input NaN values or generate a qNaN by arithmetic
31957         operation.  Also fix bugs to comply with the standard.
31958         * math/libm-test.inc (remainder_test): Add more tests.
31960         [BZ #15335, #15342]
31961         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
31962         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
31963         input NaN values or generate a qNaN by arithmetic operation.
31965         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
31966         unreachable code.
31968         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
31969         definitions.
31971 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
31973         [BZ #14478]
31974         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
31975         underflowed result.
31976         * math/s_cexpf.c (__cexpf): Likewise.
31977         * math/s_cexpl.c (__cexpl): Likewise.
31978         * math/libm-test.inc (cexp_test): Add more tests.
31980 2013-04-03  Andreas Schwab  <schwab@suse.de>
31982         [BZ #15330]
31983         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
31984         order arrays from heap if bigger than alloca cutoff.
31986 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
31988         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
31989         (SNAN_TESTS_double): Refer to GCC PR56831.
31990         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
31991         GCC PR56828.
31993 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31995         * Rules (bench): Move bench.out after the run is complete.
31997         * Rules (bench): Echo currently running benchmark.
31999         * benchtests/Makefile (bench): Add atan and slowatan.
32000         * benchtests/atan-inputs: New file.
32001         * benchtests/slowatan-inputs: New file.
32002         * benchtests/slowatan.c: New file.
32004         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
32005         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
32006         its value.
32008         [BZ #15305]
32009         * sysdeps/unix/sysv/linux/kernel-features.h
32010         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
32011         __ASSUME_XFS_RESTRICTED_CHOWN.
32012         * sysdeps/unix/sysv/linux/pathconf.c
32013         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32014         Save and restore errno.
32016 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
32018         [BZ #15327]
32019         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
32020         arguments using __kernel_casinh.
32021         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
32022         arguments using __kernel_casinhf.
32023         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
32024         arguments using __kernel_casinhl.
32025         * math/libm-test.inc (cacosh_test): Add more tests.
32026         * sysdeps/i386/fpu/libm-test-ulps: Update.
32027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32029 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32031         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
32032         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
32034         * bench/Makefile (bench): Add sin and slowsin.
32035         * benchtests/sin-inputs: New file.
32036         * benchtests/slowsin-inputs: New file.
32037         * benchtests/slowsin.c: New file.
32039         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
32040         (bench): Add slowexp and slowpow.
32041         (exp-ITER): Increase iterations.
32042         (pow-ITER): Likewise.
32043         * benchtests/exp-inputs: Change input.
32044         * benchtests/pow-inputs: Likewise.
32045         * benchtests/slowexp-inputs: New file.
32046         * benchtests/slowexp.c: New file.
32047         * benchtests/slowpow-inputs: New file.
32048         * benchtests/slowpow.c: New file.
32050 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32052         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
32053         instructions.
32054         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32055         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
32056         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32057         * benchtests/Makefile: Add rint benchtest.
32058         * benchtests/rint-inputs: Input for rint benchtest.
32060 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
32062         * Versions.def (libm): Add GLIBC_2.18.
32063         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
32064         hidden libm prototypes.
32065         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
32066         * math/Makefile (libm-calls): Add s_issignaling.
32067         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
32068         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
32069         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
32070         declaration.
32071         * math/math.h [__USE_GNU] (issignaling): New macro.
32072         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
32073         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
32074         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
32075         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
32076         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
32077         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
32078         * manual/arith.texi (issignaling): New section.
32079         * manual/libm-err-tab.pl (@all_functions): Update comment.
32080         * math/gen-libm-test.pl (parse_args): Apply special handling for
32081         issignaling.
32082         * math/libm-test.inc (print_float, issignaling_test): New
32083         functions.
32084         (check_float_internal): Add issignaling checks.
32085         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
32086         default definition.
32087         * sysdeps/powerpc/math-tests.h: New file.
32088         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
32089         tests.
32090         * math/test-snan.c (TEST_FUNC): Likewise.
32092 2013-03-30  David S. Miller  <davem@davemloft.net>
32094         * po/de.po: Update from translation team.
32096 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
32098         [BZ #10357]
32099         * math/k_casinh.c (__kernel_casinh): Handle arguments with
32100         imaginary part less than 1.0 and real part less than 0.5
32101         specially.
32102         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32103         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32104         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
32105         (cacos_test): Add more tests.
32106         (casin_test): Likewise.
32107         (casinh_test): Likewise.
32108         * sysdeps/i386/fpu/libm-test-ulps: Update.
32109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32111 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32113         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
32114         ONE with its value.
32116         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
32117         (__pow_mp): Replace ONE and MONE with their values.
32118         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32119         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
32120         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32121         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
32122         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32123         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32125         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
32127         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
32128         (__pow_mp): Replace ZERO and MZERO with their values.
32129         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32130         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32131         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32132         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32133         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32134         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
32135         (__sqr): Likewise.
32137         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
32139         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
32141 2013-03-28  Roland McGrath  <roland@hack.frob.com>
32143         * include/stdlib.h [!SHARED] (__call_tls_dtors):
32144         Declare with __attribute__ ((weak)).
32145         * stdlib/exit.c (__libc_atexit) [!SHARED]:
32146         Call __call_tls_dtors only if it's not NULL.
32148 2013-03-28  Roland McGrath  <roland@hack.frob.com>
32150         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
32151         didn't do it already, then set _dl_phdr and _dl_phnum based on the
32152         magic __ehdr_start linker symbol if it's defined.
32153         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
32154         them up here if it was already done.
32156         * elf/dl-support.c (_dl_phdr): Make pointer to const.
32157         (_dl_aux_init): Use const in cast when setting it.
32158         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
32159         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
32160         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
32162         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
32163         Declare them here.
32164         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
32165         * csu/libc-tls.c: Nor here.
32166         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
32168         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
32169         (__libc_message): Never call vsyslog.
32171 2013-03-28  Alan Modra  <amodra@gmail.com>
32173         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
32174         Define as empty.
32175         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
32176         Likewise.
32178 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32180         [BZ #15214]
32181         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
32182         underflow.
32183         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32185 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32187         [BZ #15304]
32188         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32189         Don't add gid passed as argument.
32191         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
32193 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
32195         [BZ #15307]
32196         * math/k_casinh.c (__kernel_casinh): Handle arguments with
32197         imaginary part between 1.0 and 1.5 and real part less than 0.5
32198         specially.
32199         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32200         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32201         * math/libm-test.inc (cacos_test): Add more tests.
32202         (casin_test): Likewise.
32203         (casinh_test): Likewise.
32204         * sysdeps/i386/fpu/libm-test-ulps: Update.
32205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32207 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32209         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
32210         constants.
32211         (norm): Likewise.
32212         (denorm): Likewise.
32213         (__dbl_mp): Likewise.
32214         (add_magnitudes): Likewise.
32215         (sub_magnitudes): Likewise.
32216         (__add): Likewise.
32217         (__sub): Likewise.
32218         (__mul): Likewise.
32219         (__sqr): Likewise.
32220         (__inv): Likewise.
32221         (__dvd): Likewise.
32223         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
32224         commented code.
32225         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
32226         (__dubcos): Likewise.
32227         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
32228         (__ieee754_acos): Likewise.
32229         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32230         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
32231         (__exp1): Likewise.
32232         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32233         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32234         (log1): Likewise.
32235         (my_log2): Likewise.
32236         (checkint): Likewise.
32237         * sysdeps/ieee754/dbl-64/e_remainder.c
32238         (__ieee754_remainder): Likewise.
32239         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32240         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
32241         (bsloww): Likewise.
32242         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32244         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32245         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
32246         MANTISSA_STORE_T to store computations on mantissa.  Use
32247         macros for rounding and division.
32248         (denorm): Likewise.
32249         (__dbl_mp): Likewise.
32250         (add_magnitudes): Likewise.
32251         (sub_magnitudes): Likewise.
32252         (__mul): Likewise.
32253         (__sqr): Likewise.
32254         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
32255         powers of two in terms of TWOPOW macro.
32256         (mp_no): Make type of mantissa as MANTISSA_T.
32257         [!RADIXI]: Define RADIXI.
32258         [!TWO52]: Define TWO52.
32259         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32261 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32263         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
32264         llroundl symbol when building for PPC32.
32266 2013-03-24  Mark H Weaver  <mhw@netris.org>
32268         * manual/arith.texi (Normalization Functions): Fix prototypes for
32269         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
32271 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32273         [BZ #13889]
32274         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
32275         high value to check if expl overflow.
32276         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
32277         to check for underflow and overflow.
32278         * math/libm-test.inc: Add exp test.
32280 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
32282         [BZ #11120]
32283         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
32284         with NOT_IN_libc.
32286 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32288         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
32289         symbol.
32291 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
32293         * math/gen-libm-test.pl (parse_args, special_functions): Properly
32294         wrap blocks consisting of several statements.
32296         * sysdeps/generic/math-tests.h: New file.
32297         * sysdeps/i386/fpu/math-tests.h: Likewise.
32298         * math/test-snan.c: Include it.
32299         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
32301 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
32303         [BZ #15285]
32304         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
32305         (__ieee754_j0l): Do not improve calculations using cos of twice
32306         input for inputs above LDBL_MAX / 2.0L.
32307         (__ieee754_y0l): Likewise.
32308         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
32309         (__ieee754_j1l): Do not improve calculations using cos of twice
32310         input for inputs above LDBL_MAX / 2.0L.
32311         (__ieee754_y1l): Likewise.
32312         * math/libm-test.inc (j0_test): Add another test.
32313         (j1_test): Likewise.
32314         (y0_test): Likewise.
32315         (y1_test): Likewise.
32316         * sysdeps/i386/fpu/libm-test-ulps: Update.
32318 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32320         * Rules ($(objpfx)bench-%.c): Include code from a C source
32321         file.
32323 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
32325         [BZ #15287]
32326         * math/k_casinh.c (__kernel_casinh): Handle arguments with
32327         imaginary part 1.0 and real part less than 0.5 specially.
32328         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32329         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32330         * math/libm-test.inc (cacos_test): Add more tests.
32331         (casin_test): Likewise.
32332         (casinh_test): Likewise.
32333         * sysdeps/i386/fpu/libm-test-ulps: Update.
32334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32336 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32338         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
32339         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
32341 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
32343         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
32344         * config.make.in (config-cflags-sse4): Remove variable.
32345         (config-cflags-avx): Likewise.
32346         (config-cflags-sse2avx): Likewise.
32347         (config-cflags-novzeroupper): Likewise.
32348         (config-asflags-i686): Likewise.
32349         (have-mfma4): Likewise.
32350         (have-as-vis3): Likewise.
32351         (MIG): Likewise.
32352         * configure.in (MIG): Do not AC_SUBST.
32353         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
32354         (libc_cv_cc_sse4): Do not AC_SUBST.
32355         (libc_cv_cc_avx): Likewise.
32356         (libc_cv_cc_sse2avx): Likewise.
32357         (libc_cv_cc_novzeroupper): Likewise.
32358         (libc_cv_cc_fma4): Likewise.
32359         (libc_cv_as_i686): Likewise.
32360         (libc_cv_sparc_as_vis3): Likewise.
32361         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
32362         LIBC_CONFIG_VAR.
32363         (config-asflags-i686): Likewise.
32364         (config-cflags-avx): Likewise.
32365         (config-cflags-sse2avx): Likewise.
32366         (have-mfma4): Likewise.
32367         (config-cflags-novzeroupper): Likewise.
32368         * sysdeps/mach/configure.in (MIG): Likewise.
32369         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
32370         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
32371         LIBC_CONFIG_VAR.
32372         (config-cflags-avx): Likewise.
32373         (config-cflags-sse2avx): Likewise.
32374         (have-mfma4): Likewise.
32375         (config-cflags-novzeroupper): Likewise.
32376         * configure: Regenerated.
32377         * sysdeps/i386/configure: Likewise.
32378         * sysdeps/mach/configure: Likewise.
32379         * sysdeps/sparc/configure: Likewise.
32380         * sysdeps/x86_64/configure: Likewise.
32382 2013-03-20  Roland McGrath  <roland@hack.frob.com>
32384         [BZ #14812]
32385         * locale/programs/localedef.c (options): Put N_ translation marker
32386         on argument names, not just descriptions.
32388 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32390         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
32392 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
32394         [BZ #14176]
32395         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
32397 2013-03-19  Roland McGrath  <roland@hack.frob.com>
32399         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
32400         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
32401         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
32402         [!BEFORE_ABORT] (before_abort): New function.
32403         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
32404         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
32405         (writev_for_fatal): New function.
32406         (WRITEV_FOR_FATAL): New macro; call that.
32407         (backtrace_and_maps): New function.
32408         (BEFORE_ABORT): New macro; call that.
32409         (struct str_list): Type removed.
32410         (__libc_message, __libc_fatal): Functions removed.
32411         Include <sysdeps/posix/libc_fatal.c> instead.
32413 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
32415         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
32416         constants.
32417         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
32418         double constants.
32420 2013-03-19  Andreas Schwab  <schwab@suse.de>
32422         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
32423         * sysdeps/gnu/configure: Regenerate.
32425         * configure.in: Substitute libc_cv_rtlddir.
32426         * configure: Regenerate.
32427         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
32428         * Makeconfig (rtlddir, inst_rtlddir): New variables.
32429         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
32430         * elf/Makefile (install-others, CFLAGS-interp.c)
32431         (ldso_install, common-ldd-rewrite): Likewise.
32432         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
32433         $(inst_slibdir)/$(rtld-installed-name).
32434         * scripts/rellns-sh: Add -p option.
32435         * Makerules (make-shlib-link): Use rellns-sh to get relative name
32436         for source.
32438 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32440         * manual/nptl.texi: Renamed to ...
32441         * manual/threads.texi: ... this.
32442         * manual/Makefile (chapters): Update.
32444 2013-03-18  Roland McGrath  <roland@hack.frob.com>
32446         [BZ #14812]
32447         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
32448         on argument names, not just descriptions.
32449         * malloc/memusagestat.c (options): Likewise.
32450         * nss/getent.c (options): Likewise.
32452 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
32454         [BZ #14812]
32455         * iconv/iconv_prog.c (options): Put N_ translation marker
32456         on argument names, not just descriptions.
32457         * iconv/iconvconfig.c (options): Likewise.
32459 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
32461         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
32462         implementation which is faster on all x86_64 architectures.
32463         Tested on AMD, Intel Nehalem, SNB, IVB.
32464         * sysdeps/x86_64/strnlen.S: Likewise.
32466         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32467         Remove all multiarch strlen and strnlen versions.
32468         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
32469         Remove strlen and strnlen related parts.
32471         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
32472         Inline strlen part.
32473         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32475         * sysdeps/x86_64/multiarch/strlen.S: Remove.
32476         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
32477         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
32478         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
32479         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32480         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
32482 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
32484         * manual/memory.texi (Malloc Tunable Parameters):
32485         Sort parameters alphabetically. Add comments for missing entries.
32487 2013-03-17  David S. Miller  <davem@davemloft.net>
32489         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32491 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
32493         [BZ #15283]
32494         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
32495         for arguments at most half maximum finite value.
32496         * math/libm-test.inc (j0_test): Add more tests.
32497         (j1_test): Likewise.
32498         (y0_test): Likewise.
32499         (y1_test): Likewise.
32500         * sysdeps/i386/fpu/libm-test-ulps: Update.
32501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32503         [BZ #14155]
32504         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
32505         1 / x and functions P and Q for arguments above 0x1p256L.
32506         (__ieee754_y0l): Likewise.
32507         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
32508         (__ieee754_y1l): Likewise.
32509         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
32510         (j1_test): Likewise.
32511         (y0_test): Likewise.
32512         (y1_test): Likewise.
32514 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
32516         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
32517         variable.
32519 2013-03-15  Roland McGrath  <roland@hack.frob.com>
32521         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
32522         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
32523         zero since it's initialized to EXEC_PAGESIZE.
32525         * sysdeps/unix/sysv/linux/ldsodefs.h
32526         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
32527         * sysdeps/generic/ldsodefs.h: ... here.
32529 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
32531         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
32533         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
32534         math/test-snan.c.
32535         * math/test-snan.c: Renamed from
32536         sysdeps/powerpc/fpu/test-powerpc-snan.c.
32537         * math/Makefile (tests): Add test-snan.
32538         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
32539         test-powerpc-snan.
32541         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
32542         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
32543         functions.
32544         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
32545         __builtin_nan family of functions.
32546         * math/libm-test.inc (initialize): Initialize qnan_value with
32547         __builtin_nan family of functions.
32548         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
32549         Remove variables.
32550         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
32551         Remove functions.
32552         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
32553         storage class.  Initialize qNaN_var and sNaN_var with
32554         __builtin_nan and __builtin_nans families of functions,
32555         respectively.
32557         * math/libm-test.inc (acosh_test): Also test with qNaN input.
32558         (sqrt_test): Remove duplicate test with qNaN input.
32559         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
32560         (round_test, signbit_test, significand_test): Note missing +/-Inf
32561         as well as qNaN tests.
32563         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
32564         qNaN_var.  Fix a few strings, too.
32565         * math/libm-test.inc (nan_value): Rename to qnan_value.
32566         * math/gen-libm-test.pl (%beautify): Adjust to that.
32567         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
32568         * math/test-misc.c (main): Likewise.
32569         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
32570         to __qnan_bytes, and __qnan_union, respectively.
32571         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
32572         Likewise.
32573         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
32574         and lqnanval, respectively.
32575         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
32576         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
32577         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
32578         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
32580         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
32581         * math/test-misc.c (main) [__x86_64__]: Enable test for long
32582         doubles.
32584         * math/test-misc.c (main): Fix copy'n'pastos.
32585         * misc/tst-efgcvt.c (special): Likewise.
32587         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
32588         Remove declarations.
32590 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32592         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
32593         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
32594         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
32595         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
32597 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32599         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
32600         macro to return vdso values correctly in IFUNC implementations.
32601         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
32602         Optimization by using IFUNC.
32604 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32605             Richard Henderson  <rth@redhat.com>
32606             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32608         * Makefile.in (bench): New target.
32609         * NEWS: Mention the benchmark framework.
32610         * Rules (bench): Likewise.
32611         (binaries-bench): Generate binaries for functions to
32612         benchmark.
32613         * benchtests/Makefile: New makefile for benchmark tests.
32614         * benchtests/bench-skeleton.c: New skeleton file for benchmark
32615         programs.
32616         * benchtests/exp-inputs: New input file for EXP function.
32617         * benchtests/pow-inputs: New input file for POW function.
32618         * scripts/bench.pl: New script to generate source files for
32619         benchmark programs.
32621 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32623         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32624         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
32625         computations on mantissa.  Use macros for rounding and
32626         division.
32627         (denorm): Likewise.
32628         (__dbl_mp): Likewise.
32629         (add_magnitudes): Likewise.
32630         (sub_magnitudes): Likewise.
32631         (__mul): Likewise.
32632         (__sqr): Likewise.
32633         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
32634         powers of two in terms of TWOPOW macro.
32635         (mp_no): Make type of mantissa as MANTISSA_T.
32636         [!RADIXI]: Define RADIXI.
32637         [!TWO52]: Define TWO52.
32638         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32640         * manual/nptl.texi (cindex): Modify threads to pthreads.
32642 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
32644         * sysdeps/x86_64/preconfigure: Regenerated.
32646 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
32648         [BZ #14155]
32649         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
32650         0x1p28 and above.
32651         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
32652         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
32653         0x1p28 and above.
32654         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
32655         * math/libm-test.inc (j0_test): Do not allow one spurious
32656         underflow exception.
32657         (y1_test): Likewise.
32659 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32661         * manual/Makefile (chapters): Add nptl.
32662         * manual/debug.texi (Debugging Support): Add link to Threads
32663         chapter.
32664         * manual/nptl.texi: New file.
32666         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
32668 2013-03-14  Petr Baudis  <pasky@ucw.cz>
32670         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
32671         for non-NULL pointer before the memory validity test. Pointed
32672         out by Holger Brunck <holger.brunck@keymile.com>.
32674 2013-03-13  Andreas Schwab  <schwab@suse.de>
32676         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
32677         instead of .os.
32679 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
32681         * timezone/zic.c: Update from tzcode 2013b.
32683 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
32685         * manual/install.texi (Configuring and compiling):
32686         Mention i686 and i586.
32687         * INSTALL: Regenerate.
32689 2013-03-12  Roland McGrath  <roland@hack.frob.com>
32691         * sysdeps/init_array/elf-init.c: New file.
32692         * csu/elf-init.c
32693         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
32694         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
32696         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
32697         __gmon_start__ as global, but as static with a .preinit_array pointer.
32698         * sysdeps/init_array/gmon-start.c: New file.  Use that.
32699         * sysdeps/init_array/crti.S: New file, empty except for comments.
32700         * sysdeps/init_array/crtn.S: Likewise.
32702 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
32704         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
32705         definining bcopy.
32706         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32707         Remove Prefer_SSE_for_memop.
32708         * sysdeps/x86_64/multiarch/init-arch.h: Remove
32709         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
32710         HAS_PREFER_SSE_FOR_MEMOP.
32711         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
32712         memset-x86-64.
32713         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32714         Remove bzero, memset ifunc support.
32715         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
32716         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
32717         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32718         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32720 2013-03-11  Andreas Schwab  <schwab@suse.de>
32722         [BZ #15234]
32723         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
32724         by SHLIB_COMPAT.
32725         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
32726         (GLIBC_2.16): Remove pthread_atfork.
32728 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32730         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
32731         (ptestcases.h): Likewise.
32733 2013-03-08  Roland McGrath  <roland@hack.frob.com>
32735         * Makeconfig ($(common-objpfx)config.status): Depend on
32736         sysdeps/*/preconfigure{,.in} too.
32738 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
32740         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
32741         (__free_hook): Use void * instead of __malloc_ptr_t.
32742         (__malloc_hook): Likewise.
32743         (__realloc_hook): Likewise.
32744         (__memalign_hook): Likewise.
32745         (__after_morecore_hook): Likewise.
32746         * malloc/arena.c (save_malloc_hook): Likewise.
32747         (save_free_hook): Likewise.
32748         * malloc/hooks.c (malloc_hook_ini): Likewise.
32749         (realloc_hook_ini): Likewise.
32750         (memalign_hook_ini): Likewise.
32751         * malloc/malloc.c (malloc_hook_ini): Likewise.
32752         (realloc_hook_ini): Likewise.
32753         (memalign_hook_ini): Likewise.
32754         (__free_hook): Likewise.
32755         (__malloc_hook): Likewise.
32756         (__realloc_hook): Likewise.
32757         (__memalign_hook): Likewise.
32758         (__libc_malloc): Likewise.
32759         (__libc_free): Likewise.
32760         (__libc_realloc): Likewise.
32761         (__libc_memalign): Likewise.
32762         (__libc_valloc): Likewise.
32763         (__libc_pvalloc): Likewise.
32764         (__libc_calloc): Likewise.
32765         (__posix_memalign): Likewise.
32766         * malloc/morecore.c (__sbrk): Likewise.
32767         (__default_morecore): Likewise.
32769         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
32771         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
32772         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
32773         __malloc_ptrdiff_t.
32775         * malloc/malloc.h (__malloc_size_t): Remove macro.
32776         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
32777         __malloc_size_t.
32778         (old_memalign_hook): Likewise.
32779         (old_realloc_hook): Likewise.
32780         (struct hdr): Likewise.
32781         (flood): Likewise.
32782         (mallochook): Likewise.
32783         (memalignhook): Likewise.
32784         (reallochook): Likewise.
32785         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
32786         (tr_old_realloc_hook): Likewise.
32787         (tr_old_memalign_hook): Likewise.
32788         (tr_mallochook): Likewise.
32789         (tr_reallochook): Likewise.
32790         (tr_memalignhook): Likewise.
32792 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32794         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
32795         default_ldbl_pack and using as default implementation.
32796         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
32797         implementation.
32798         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
32799         redundant definition.
32800         (ldbl_insert_mantissa): Likewise.
32801         (ldbl_canonicalize): Likewise.
32802         (ldbl_nearbyint): Likewise.
32803         (ldbl_pack): Rename to ldbl_pack_ppc.
32804         (ldbl_unpack): Rename to ldbl_unpack_ppc.
32805         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
32806         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
32808 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32810         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
32811         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
32812         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
32813         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
32814         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
32815         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
32816         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
32817         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
32819 2013-03-07  Andreas Jaeger  <aj@suse.de>
32821         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32822         bits/mman-linux.h.
32824 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
32826         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
32827         Include mpa.h and declare __MPEXP.
32828         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
32829         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
32830         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
32831         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
32832         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
32833         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
32834         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
32836         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
32837         (__slowpow): Use long double EXPL and LOGL functions to
32838         compute POW.
32839         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
32840         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
32841         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
32842         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
32843         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
32844         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
32846         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
32847         intermediate variable to calculate exponent.
32848         (__sqr): Likewise.
32849         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32850         Likewise.
32851         (__sqr): Likewise.
32853         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
32854         [!NO__SQR]: Define __sqr.
32855         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
32856         and NO__SQR.  Remove all code except __mul and __sqr.  Include
32857         sysdeps/ieee754/dbl-64/mpa.c.
32858         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32860         [BZ #12723]
32861         * posix/Makefile (tests): Add tst-pathconf.
32862         * posix/tst-pathconf.c: New test case.
32863         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
32864         _PC_PIPE_BUF.
32865         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
32867 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
32869         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
32871 2013-03-06  Andreas Jaeger  <aj@suse.de>
32873         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
32874         definition via __MAP_ANONYMOUS.
32876         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
32877         it's not part of Linux headers.
32879         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
32880         (MAP_HUGE_MASK): Define.
32882         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32883         Define.
32884         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32885         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32886         Define.
32887         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32888         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32889         Define.
32890         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32891         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
32892         Define.
32893         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32895         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
32896         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
32897         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
32898         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
32899         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
32900         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
32902         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32903         Handle f2fs.
32905         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32906         Handle f2fs and efivarfs.
32908         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
32909         f2fs.
32911         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
32912         (EFIVARFS_MAGIC): Add.
32913         (F2FS_LINK_MAX): Add.
32915 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32917         * stdio-common/vfprintf.c: Replace __builtin_expect with
32918         __glibc_unlikely.
32920 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
32922         [BZ #13550]
32923         * sysdeps/generic/bp-sym.h: Remove file.
32924         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
32925         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
32926         <bp-sym.h> and <bp-asm.h>.
32927         (__longjmp): Don't use BP_SYM.
32928         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
32929         and <bp-asm.h>.
32930         (memcpy): Don't use BP_SYM.
32931         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
32932         <bp-sym.h> and <bp-asm.h>.
32933         (memcpy): Don't use BP_SYM.
32934         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
32935         <bp-asm.h>.
32936         (memcpy): Don't use BP_SYM.
32937         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
32938         <bp-asm.h>.
32939         (memset): Don't use BP_SYM.
32940         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32941         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32942         (__bzero): Don't use BP_SYM.
32943         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32944         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32945         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
32946         <bp-sym.h> and <bp-asm.h>.
32947         (memcmp): Don't use BP_SYM.  Remove comment about bounded
32948         pointers.
32949         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
32950         <bp-sym.h> and <bp-asm.h>.
32951         (memcpy): Don't use BP_SYM.
32952         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
32953         <bp-sym.h> and <bp-asm.h>.
32954         (memset): Don't use BP_SYM.
32955         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32956         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32957         (__bzero): Don't use BP_SYM.
32958         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32959         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32960         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
32961         <bp-sym.h> and <bp-asm.h>.
32962         (strncmp): Don't use BP_SYM.  Remove comment about bounded
32963         pointers.
32964         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
32965         <bp-sym.h> and <bp-asm.h>.
32966         (memcpy): Don't use BP_SYM.
32967         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
32968         <bp-sym.h> and <bp-asm.h>.
32969         (memset): Don't use BP_SYM.
32970         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32971         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32972         (__bzero): Don't use BP_SYM.
32973         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32974         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32975         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
32976         <bp-sym.h> and <bp-asm.h>.
32977         (__memchr): Don't use BP_SYM.
32978         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
32979         <bp-sym.h> and <bp-asm.h>.
32980         (memcmp): Don't use BP_SYM.  Remove comment about bounded
32981         pointers.
32982         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
32983         <bp-sym.h> and <bp-asm.h>.
32984         (memcpy): Don't use BP_SYM.
32985         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
32986         <bp-sym.h> and <bp-asm.h>.
32987         (__mempcpy): Don't use BP_SYM.
32988         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
32989         <bp-sym.h> and <bp-asm.h>.
32990         (__memrchr): Don't use BP_SYM.
32991         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
32992         <bp-sym.h> and <bp-asm.h>.
32993         (memset): Don't use BP_SYM.
32994         (__bzero): Likewise.
32995         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
32996         <bp-sym.h> and <bp-asm.h>.
32997         (__rawmemchr): Don't use BP_SYM.
32998         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
32999         <bp-sym.h> and <bp-asm.h>.
33000         (__STRCMP): Don't use BP_SYM.
33001         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
33002         <bp-sym.h> and <bp-asm.h>.
33003         (strchr): Don't use BP_SYM.
33004         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
33005         <bp-sym.h> and <bp-asm.h>.
33006         (__strchrnul): Don't use BP_SYM.
33007         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
33008         <bp-sym.h> and <bp-asm.h>.
33009         (strlen): Don't use BP_SYM.
33010         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
33011         <bp-sym.h> and <bp-asm.h>.
33012         (strncmp): Don't use BP_SYM.  Remove comment about bounded
33013         pointers.
33014         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
33015         <bp-sym.h> and <bp-asm.h>.
33016         (__strnlen): Don't use BP_SYM.
33017         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
33018         <bp-sym.h> and <bp-asm.h>.
33019         (__GI__setjmp): Don't use BP_SYM.
33020         (_setjmp): Likewise.
33021         (__sigsetjmp): Likewise.
33022         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
33023         (L(start_addresses)): Don't use BP_SYM.
33024         (_start): Likewise.
33025         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
33026         <bp-asm.h>.
33027         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
33028         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
33029         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33030         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33031         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
33032         <bp-asm.h>.
33033         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
33034         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
33035         about bounded pointers.
33036         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33037         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33038         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
33039         <bp-asm.h>.
33040         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
33041         about bounded pointers.  Remove GKM FIXME comments.
33042         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33043         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
33044         <bp-asm.h>.
33045         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
33046         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
33047         Remove GKM FIXME comments.
33048         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33049         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33050         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
33051         <bp-asm.h>.
33052         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
33053         about bounded pointers.  Remove GKM FIXME comment.
33054         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
33055         and <bp-asm.h>.
33056         (strncmp): Don't use BP_SYM.  Remove comment about bounded
33057         pointers.
33058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
33059         <bp-sym.h> and <bp-asm.h>.
33060         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
33062         <bp-sym.h> and <bp-asm.h>.
33063         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
33064         comment.
33066 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33068         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
33069         call free(NULL).
33071 2013-03-05  David S. Miller  <davem@davemloft.net>
33073         * po/es.po: Update from translation team.
33075 2013-03-05  Andreas Jaeger  <aj@suse.de>
33077         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
33078         <bits/mman-linux.h>.
33079         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33080         is fine.
33081         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
33082         <bits/mman-linux.h> to end of file.
33083         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33084         is fine.
33085         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
33086         <bits/mman-linux.h> to end of file.
33087         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33088         is fine.
33089         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
33090         <bits/mman-linux.h> to end of file.
33092         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
33093         (MCL_CURRENT, MCL_FUTURE): Define here.
33095 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33097         [BZ #15232]
33098         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
33099         attribute_hidden.
33100         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33102 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33104         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
33105         fourth parameter needed for rt_sigprocmask syscall.
33106         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33107         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33108         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
33109         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33110         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33111         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
33113 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
33115         [BZ #13550]
33116         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
33117         comment about bounded pointers.
33118         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
33119         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
33121 2013-03-04  Andreas Jaeger  <aj@suse.de>
33123         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
33124         common definitions.
33126         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
33127         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
33128         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
33129         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33130         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33131         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33133 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33135         [BZ #15055]
33136         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33137         __ieee754_sqrl instead of __sqrl.
33139 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
33141         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
33142         * sysdeps/powerpc/fpu_control.h: ... here.
33143         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
33144         * sysdeps/powerpc/bits/fenvinline.h: ... here.
33145         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
33146         * sysdeps/powerpc/bits/mathinline.h: ... here.
33148 2013-03-01  Roland McGrath  <roland@hack.frob.com>
33150         * elf/dl-hwcaps.c (_dl_important_hwcaps):
33151         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
33152         to just [NEED_DL_SYSINFO_DSO].
33153         * elf/dl-support.c: Likewise.
33154         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33155         * elf/rtld.c (dl_main): Likewise.
33156         * elf/setup-vdso.h (setup_vdso): Likewise.
33157         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
33158         * sysdeps/unix/sysv/linux/dl-sysdep.c
33159         (_dl_discover_osversion): Likewise.
33161 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
33163         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
33164         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33166 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33168         * NEWS: Mention libm performance improvements and non-x86 PI
33169         futex support.
33171         * csu/libc-start.c (__pthread_initialize_minimal): Change
33172         function arguments.
33173         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33175 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
33177         [BZ #13550]
33178         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
33179         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
33180         <bp-sym.h> and <bp-asm.h>.
33181         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33182         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
33183         and <bp-asm.h>.
33184         (memcpy): Don't use BP_SYM.
33185         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
33186         <bp-asm.h>.
33187         (__mpn_add_n): Don't use BP_SYM.
33188         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
33189         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
33190         and <bp-asm.h>.
33191         (__mpn_addmul_1): Don't use BP_SYM.
33192         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33193         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
33194         <bp-sym.h>.
33195         (_setjmp): Don't use BP_SYM.
33196         (__novmx_setjmp): Likewise.
33197         (__GI__setjmp): Likewise.
33198         (__vmx_setjmp): Likewise.
33199         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
33200         <bp-sym.h>.
33201         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
33202         (__bzero): Don't use BP_SYM.
33203         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33204         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33205         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
33206         <bp-sym.h> and <bp-asm.h>.
33207         (memcpy): Don't use BP_SYM.
33208         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
33209         <bp-sym.h> and <bp-asm.h>.
33210         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33211         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
33212         <bp-sym.h> and <bp-asm.h>.
33213         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33214         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
33215         <bp-asm.h>.
33216         (__mpn_lshift): Don't use BP_SYM.
33217         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33218         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
33219         <bp-asm.h>.
33220         (memset): Don't use BP_SYM.
33221         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33222         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33223         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
33224         <bp-asm.h>.
33225         (__mpn_mul_1): Don't use BP_SYM.
33226         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33227         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
33228         <bp-sym.h> and <bp-asm.h>.
33229         (memcmp): Don't use BP_SYM.
33230         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
33231         <bp-sym.h> and <bp-asm.h>.
33232         (memcpy): Don't use BP_SYM.
33233         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
33234         <bp-sym.h> and <bp-asm.h>.
33235         (memset): Don't use BP_SYM.
33236         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
33237         <bp-sym.h> and <bp-asm.h>.
33238         (strncmp): Don't use BP_SYM.
33239         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
33240         <bp-sym.h> and <bp-asm.h>.
33241         (memcpy): Don't use BP_SYM.
33242         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
33243         <bp-sym.h> and <bp-asm.h>.
33244         (memset): Don't use BP_SYM.
33245         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
33246         <bp-sym.h> and <bp-asm.h>.
33247         (__memchr): Don't use BP_SYM.
33248         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
33249         <bp-sym.h> and <bp-asm.h>.
33250         (memcmp): Don't use BP_SYM.
33251         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
33252         <bp-sym.h> and <bp-asm.h>.
33253         (memcpy): Don't use BP_SYM.
33254         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
33255         <bp-sym.h> and <bp-asm.h>.
33256         (__mempcpy): Don't use BP_SYM.
33257         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
33258         <bp-sym.h> and <bp-asm.h>.
33259         (__memrchr): Don't use BP_SYM.
33260         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
33261         <bp-sym.h> and <bp-asm.h>.
33262         (memset): Don't use BP_SYM.
33263         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
33264         <bp-sym.h> and <bp-asm.h>.
33265         (__rawmemchr): Don't use BP_SYM.
33266         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
33267         <bp-sym.h> and <bp-asm.h>.
33268         (__STRCMP): Don't use BP_SYM.
33269         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
33270         <bp-sym.h> and <bp-asm.h>.
33271         (strchr): Don't use BP_SYM.
33272         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
33273         <bp-sym.h> and <bp-asm.h>.
33274         (__strchrnul): Don't use BP_SYM.
33275         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
33276         <bp-sym.h> and <bp-asm.h>.
33277         (strlen): Don't use BP_SYM.
33278         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
33279         <bp-sym.h> and <bp-asm.h>.
33280         (strncmp): Don't use BP_SYM.
33281         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
33282         <bp-sym.h> and <bp-asm.h>.
33283         (__strnlen): Don't use BP_SYM.
33284         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
33285         <bp-asm.h>.
33286         (__mpn_rshift): Don't use BP_SYM.
33287         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33288         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
33289         <bp-sym.h> and <bp-asm.h>.
33290         (__sigsetjmp): Don't use BP_SYM.
33291         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
33292         (L(start_addresses)): Don't use BP_SYM.
33293         (_start): Likewise.
33294         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
33295         <bp-asm.h>.
33296         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
33297         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33298         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33299         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
33300         <bp-asm.h>.
33301         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
33302         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33303         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33304         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
33305         <bp-asm.h>.
33306         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
33307         comments.
33308         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33309         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
33310         <bp-asm.h>.
33311         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
33312         FIXME comments.
33313         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33314         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33315         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
33316         <bp-asm.h>.
33317         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
33318         comment.
33319         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
33320         and <bp-asm.h>.
33321         (strncmp): Don't use BP_SYM,
33322         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
33323         <bp-asm.h>.
33324         (__mpn_sub_n): Don't use BP_SYM.
33325         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33326         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
33327         and <bp-asm.h>.
33328         (__mpn_submul_1): Don't use BP_SYM.
33329         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
33331         <bp-sym.h> and <bp-asm.h>.
33332         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
33334         <bp-sym.h> and <bp-asm.h>.
33335         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
33336         comment.
33338 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33340         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
33341         Use ZK to minimize writes to Z.
33342         (sub_magnitudes): Simplify code a bit.
33343         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
33344         Use ZK to minimize writes to Z.
33345         (sub_magnitudes): Simplify code a bit.
33347 2013-02-27  Roland McGrath  <roland@hack.frob.com>
33349         * csu/gmon-start.c: Add special exception to license text.
33351 2013-02-27  Richard Henderson  <rth@redhat.com>
33353         * scripts/config.guess: Update from config.git.
33354         * scripts/config.sub: Likewise.
33356 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33358         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
33360         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
33362         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
33364         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
33366         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
33368 2013-02-26  Roland McGrath  <roland@hack.frob.com>
33370         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
33371         [$(build-shared = yes].
33373 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33375         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
33376         (__mul): Reduce iterations for calculating mantissa.
33378         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
33379         MPTWO.
33380         (__mpranred): Likewise.
33382         [BZ #15160]
33383         * malloc/memusagestat.c (main): Draw graphs for heap and stack
33384         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
33386 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
33388         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
33389         Define __attribute__.
33391 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33393         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
33394         unused.
33395         * posix/regex_internal.h (__attribute): Remove.
33396         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
33397         (re_string_context_at): Likewise.
33398         (bitset_not): Use __attribute__ and mark function as possibly
33399         unused.
33400         (bitset_merge): Likewise.
33401         (bitset_mask): Likewise.
33402         (re_string_char_size_at): Likewise.
33403         (re_string_wchar_at): Likewise.
33404         (re_string_elem_size_at): Likewise.
33406 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33408         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
33409         code.
33410         (cc32): Likewise.
33412         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
33413         (__acr): Likewise.
33414         (__cpy): Likewise.
33415         (norm): Likewise.
33416         (denorm): Likewise.
33417         (__dbl_mp): Likewise.
33418         (add_magnitudes): Likewise.
33419         (sub_magnitudes): Likewise.
33420         (__mul): Likewise.
33421         (__inv): Likewise.
33423         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
33424         style.
33426         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
33427         style.
33429         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
33430         code.
33432         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
33433         up changes with default code.
33434         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
33435         Likewise.
33437 2013-02-24  Allan McRae  <allan@archlinux.org>
33439         * manual/socket.texi (The Internet Namespace): Order menu items
33440         to match that in the file.
33442         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
33443         node listing of the info page menu.
33445 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
33447         [BZ #13550]
33448         * sysdeps/i386/bp-asm.h: Remove file.
33449         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
33450         (PARMS): Do not use macros from bp-asm.h.
33451         (S1): Likewise.
33452         (S2): Likewise.
33453         (SIZE): Likewise.
33454         (__mpn_add_n): Do not use BP_SYM
33455         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
33456         "bp-asm.h".
33457         (PARMS): Do not use macros from bp-asm.h.
33458         (S1): Likewise.
33459         (SIZE): Likewise.
33460         (__mpn_addmul_1): Do not use BP_SYM
33461         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
33462         "bp-asm.h".
33463         (PARMS): Do not use macros from bp-asm.h.
33464         (SIGMSK): Likewise.
33465         (_setjmp): Likewise.  Do not use BP_SYM.
33466         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
33467         "bp-asm.h".
33468         (PARMS): Do not use macros from bp-asm.h.
33469         (SIGMSK): Likewise.
33470         (setjmp): Likewise.  Do not use BP_SYM.
33471         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
33472         "bp-asm.h".
33473         (PARMS): Do not use macros from bp-asm.h.
33474         (__frexp): Do not use BP_SYM.
33475         (frexp): Likewise.
33476         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
33477         "bp-asm.h".
33478         (PARMS): Do not use macros from bp-asm.h.
33479         (__frexpf): Do not use BP_SYM.
33480         (frexpf): Likewise.
33481         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
33482         "bp-asm.h".
33483         (PARMS): Do not use macros from bp-asm.h.
33484         (__frexpl): Do not use BP_SYM.
33485         (frexpl): Likewise.
33486         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
33487         "bp-asm.h".
33488         (PARMS): Do not use macros from bp-asm.h.
33489         (__remquo): Do not use BP_SYM.
33490         (remquo): Likewise.
33491         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
33492         "bp-asm.h".
33493         (PARMS): Do not use macros from bp-asm.h.
33494         (__remquof): Do not use BP_SYM.
33495         (remquof): Likewise.
33496         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
33497         "bp-asm.h".
33498         (PARMS): Do not use macros from bp-asm.h.
33499         (__remquol): Do not use BP_SYM.
33500         (remquol): Likewise.
33501         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
33502         "bp-asm.h".
33503         (PARMS): Do not use macros from bp-asm.h.
33504         (DEST): Likewise.
33505         (SRC): Likewise.
33506         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
33507         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
33508         "bp-asm.h".
33509         (PARMS): Do not use macros from bp-asm.h.
33510         (strlen): Do not use BP_SYM.
33511         * sysdeps/i386/i586/add_n.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         (S2): Likewise.
33516         (SIZE): Likewise.
33517         (__mpn_add_n): Do not use BP_SYM.
33518         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
33519         "bp-asm.h".
33520         (PARMS): Do not use macros from bp-asm.h.
33521         (S1): Likewise.
33522         (SIZE): Likewise.
33523         (__mpn_addmul_1): Do not use BP_SYM.
33524         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
33525         weak_alias.
33526         (bzero): Likewise.
33527         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
33528         "bp-asm.h".
33529         (PARMS): Do not use macros from bp-asm.h.
33530         (S): Likewise.
33531         (SIZE): Likewise.
33532         (__mpn_lshift): Do not use BP_SYM.
33533         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
33534         "bp-asm.h".
33535         (PARMS): Do not use macros from bp-asm.h.
33536         (DEST): Likewise.
33537         (SRC): Likewise.
33538         (LEN): Likewise.
33539         (memcpy): Likewise.  Do not use BP_SYM.
33540         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
33541         libc_hidden_def and weak_alias.
33542         (mempcpy): Do not use BP_SYM in weak_alias.
33543         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
33544         "bp-asm.h".
33545         (PARMS): Do not use macros from bp-asm.h.
33546         (DEST): Likewise.
33547         (LEN): Likewise.
33548         [!BZERO_P] (CHR): Likewise.
33549         (memset): Likewise.  Do not use BP_SYM.
33550         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
33551         "bp-asm.h".
33552         (PARMS): Do not use macros from bp-asm.h.
33553         (S1): Likewise.
33554         (SIZE): Likewise.
33555         (__mpn_mul_1): Do not use BP_SYM.
33556         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
33557         "bp-asm.h".
33558         (PARMS): Do not use macros from bp-asm.h.
33559         (S): Likewise.
33560         (SIZE): Likewise.
33561         (__mpn_rshift): Do not use BP_SYM.
33562         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
33563         "bp-asm.h".
33564         (PARMS): Do not use macros from bp-asm.h.
33565         (STR): Likewise.
33566         (CHR): Likewise.
33567         (strchr): Likewise.  Do not use BP_SYM.
33568         (index): Do not use BP_SYM in weak_alias.
33569         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
33570         "bp-asm.h".
33571         (PARMS): Do not use macros from bp-asm.h.
33572         (DEST): Likewise.
33573         (SRC): Likewise.
33574         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
33575         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
33576         "bp-asm.h".
33577         (PARMS): Do not use macros from bp-asm.h.
33578         (strlen): Do not use BP_SYM.
33579         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
33580         "bp-asm.h".
33581         (PARMS): Do not use macros from bp-asm.h.
33582         (S1): Likewise.
33583         (S2): Likewise.
33584         (SIZE): Likewise.
33585         (__mpn_sub_n): Do not use BP_SYM.
33586         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
33587         "bp-asm.h".
33588         (PARMS): Do not use macros from bp-asm.h.
33589         (S1): Likewise.
33590         (SIZE): Likewise.
33591         (__mpn_submul_1): Do not use BP_SYM.
33592         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
33593         "bp-asm.h".
33594         (PARMS): Do not use macros from bp-asm.h.
33595         (S1): Likewise.
33596         (S2): Likewise.
33597         (SIZE): Likewise.
33598         (__mpn_add_n): Do not use BP_SYM.
33599         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
33600         weak_alias.
33601         (bzero): Likewise.
33602         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
33603         "bp-asm.h".
33604         (PARMS): Do not use macros from bp-asm.h.
33605         (BLK2): Likewise.
33606         (LEN): Likewise.
33607         (memcmp): Do not use BP_SYM.
33608         (bcmp): Do not use BP_SYM in weak_alias.
33609         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
33610         "bp-asm.h".
33611         (PARMS): Do not use macros from bp-asm.h.
33612         (DEST): Likewise.
33613         (SRC): Likewise.
33614         (LEN): Likewise.
33615         (memcpy): Likewise.  Do not use BP_SYM.
33616         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
33617         "bp-asm.h".
33618         (PARMS): Do not use macros from bp-asm.h.
33619         (DEST): Likewise.
33620         (SRC): Likewise.
33621         (LEN): Likewise.
33622         (memmove): Likewise.  Do not use BP_SYM.
33623         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
33624         "bp-asm.h".
33625         (PARMS): Do not use macros from bp-asm.h.
33626         (DEST): Likewise.
33627         (SRC): Likewise.
33628         (LEN): Likewise.
33629         (__mempcpy): Likewise.  Do not use BP_SYM.
33630         (mempcpy): Do not use BP_SYM in weak_alias.
33631         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
33632         "bp-asm.h".
33633         (PARMS): Do not use macros from bp-asm.h.
33634         (DEST): Likewise.
33635         (LEN): Likewise.
33636         [!BZERO_P] (CHR): Likewise.
33637         (memset): Likewise.  Do not use BP_SYM.
33638         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
33639         "bp-asm.h".
33640         (PARMS): Do not use macros from bp-asm.h.
33641         (STR2): Likewise.
33642         (strcmp): Do not use BP_SYM.
33643         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
33644         "bp-asm.h".
33645         (PARMS): Do not use macros from bp-asm.h.
33646         (STR): Likewise.
33647         (DELIM): Likewise.
33648         [USE_AS_STRTOK_R] (SAVE): Likewise.
33649         (FUNCTION): Likewise.  Do not use BP_SYM.
33650         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
33651         aliases.
33652         (strtok_r): Likewise.
33653         (__GI___strtok_r): Likewise.
33654         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
33655         (PARMS): Do not use macros from bp-asm.h.
33656         (S): Likewise.
33657         (SIZE): Likewise.
33658         (__mpn_lshift): Do not use BP_SYM.
33659         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
33660         (PARMS): Do not use macros from bp-asm.h.
33661         (STR): Likewise.
33662         (CHR): Likewise.
33663         (__memchr): Do not use BP_SYM.
33664         (memchr): Do not use BP_SYM in weak_alias.
33665         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
33666         (PARMS): Do not use macros from bp-asm.h.
33667         (BLK2): Likewise.
33668         (LEN): Likewise.
33669         (memcmp): Do not use BP_SYM.
33670         (bcmp): Do not use BP_SYM in weak_alias.
33671         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
33672         (PARMS): Do not use macros from bp-asm.h.
33673         (S1): Likewise.
33674         (SIZE): Likewise.
33675         (__mpn_mul_1): Do not use BP_SYM.
33676         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
33677         "bp-asm.h".
33678         (PARMS): Do not use macros from bp-asm.h.
33679         (STR): Likewise.
33680         (CHR): Likewise.
33681         (__rawmemchr): Do not use BP_SYM.
33682         (rawmemchr): Do not use BP_SYM in weak_alias.
33683         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
33684         (PARMS): Do not use macros from bp-asm.h.
33685         (S): Likewise.
33686         (SIZE): Likewise.
33687         (__mpn_rshift): Do not use BP_SYM.
33688         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
33689         (PARMS): Do not use macros from bp-asm.h.
33690         (SIGMSK): Likewise.
33691         (__sigsetjmp): Likewise.  Do not use BP_SYM.
33692         * sysdeps/i386/start.S: Do not include "bp-sym.h".
33693         (_start): Do not use BP_SYM.
33694         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
33695         (PARMS): Do not use macros from bp-asm.h.
33696         (DEST): Likewise.
33697         (SRC): Likewise.
33698         (__stpcpy): Likewise.  Do not use BP_SYM.
33699         (stpcpy): Do not use BP_SYM in weak_alias.
33700         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
33701         "bp-asm.h".
33702         (PARMS): Do not use macros from bp-asm.h.
33703         (DEST): Likewise.
33704         (SRC): Likewise.
33705         (LEN): Likewise.
33706         (__stpncpy): Likewise.  Do not use BP_SYM.
33707         (stpncpy): Do not use BP_SYM in weak_alias.
33708         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
33709         (PARMS): Do not use macros from bp-asm.h.
33710         (STR): Likewise.
33711         (CHR): Likewise.
33712         (strchr): Likewise.  Do not use BP_SYM.
33713         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
33714         "bp-asm.h".
33715         (PARMS): Do not use macros from bp-asm.h.
33716         (STR): Likewise.
33717         (CHR): Likewise.
33718         (__strchrnul): Likewise.  Do not use BP_SYM.
33719         (strchrnul): Do not use BP_SYM in weak_alias.
33720         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
33721         "bp-asm.h".
33722         (PARMS): Do not use macros from bp-asm.h.
33723         (STOP): Likewise.
33724         (strcspn): Do not use BP_SYM.
33725         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
33726         "bp-asm.h".
33727         (PARMS): Do not use macros from bp-asm.h.
33728         (STR): Likewise.
33729         (STOP): Likewise.
33730         (strpbrk): Likewise.  Do not use BP_SYM.
33731         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
33732         "bp-asm.h".
33733         (PARMS): Do not use macros from bp-asm.h.
33734         (STR): Likewise.
33735         (CHR): Likewise.
33736         (strrchr): Likewise.  Do not use BP_SYM.
33737         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
33738         (PARMS): Do not use macros from bp-asm.h.
33739         (SKIP): Likewise.
33740         (strspn): Do not use BP_SYM.
33741         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
33742         (PARMS): Do not use macros from bp-asm.h.
33743         (STR): Likewise.
33744         (DELIM): Likewise.
33745         (SAVE): Likewise.
33746         (FUNCTION): Likewise.  Do not use BP_SYM.
33747         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
33748         aliases.
33749         (strtok_r): Likewise.
33750         (__GI___strtok_r): Likewise.
33751         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
33752         (PARMS): Do not use macros from bp-asm.h.
33753         (S1): Likewise.
33754         (S2): Likewise.
33755         (SIZE): Likewise.
33756         (__mpn_sub_n): Do not use BP_SYM.
33757         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
33758         "bp-asm.h".
33759         (PARMS): Do not use macros from bp-asm.h.
33760         (S1): Likewise.
33761         (SIZE): Likewise.
33762         (__mpn_submul_1): Do not use BP_SYM.
33763         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
33764         <bp-sym.h>.
33765         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
33766         and <bp-asm.h>.
33767         (PARMS): Do not use macros from bp-asm.h.
33768         (FLAGS): Likewise.
33769         (PTID): Likewise.
33770         (TLS): Likewise.
33771         (CTID): Likewise.
33772         (__clone): Do not use BP_SYM.
33773         (clone): Do not use BP_SYM in weak_alias.
33774         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
33775         and <bp-asm.h>.
33776         (PARMS): Do not use macros from bp-asm.h.
33777         (LEN): Likewise.
33778         (__mmap64): Do not use BP_SYM.
33779         (mmap64): Do not use BP_SYM in weak_alias.
33780         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33781         <bp-sym.h> and <bp-asm.h>.
33782         (PARMS): Do not use macros from bp-asm.h.
33783         (__posix_fadvise64_l64): Do not use BP_SYM.
33784         * sysdeps/unix/sysv/linux/i386/semtimedop.S
33785         (PARMS): Do not use macros from bp-asm.h.
33786         (NSOPS): Likewise.
33787         (semtimedop): Do not use BP_SYM.
33788         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
33789         and <bp-asm.h>.
33791 2013-02-21  Allan McRae  <allan@archlinux.org>
33793         * manual/message.texi (Charset conversion in gettext):
33794         Move @end statement to beginning of line.
33796 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33798         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
33799         static.
33800         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33801         Likewise.
33803         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
33804         (denorm): Likewise.
33805         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
33806         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
33808 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33810         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
33811         tail-call to the resolved function if pltexit isn't needed.
33813 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33815         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
33816         or Y being zero as being unlikely.
33817         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33818         Likewise.
33820 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
33822         * manual/nss.texi (System Databases and Name Service Switch):
33823         Remove frobnicate @pxref.
33825 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
33827         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
33828         __attribute__ ((unused)) to __attribute__ ((__unused__)).
33830 2013-02-20  Petr Machata  <pmachata@redhat.com>
33832         * elf/elf.h (R_ARM_TARGET1): New macro.
33833         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
33834         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
33835         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
33836         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
33837         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
33838         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
33839         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
33840         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
33841         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
33842         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
33843         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
33844         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
33845         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
33846         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
33847         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
33848         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
33849         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
33850         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
33851         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
33852         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
33853         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
33854         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
33855         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
33856         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
33857         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
33858         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
33859         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
33860         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
33861         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
33862         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
33863         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
33864         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
33865         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
33866         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
33867         (R_ARM_THM_GOT_BREL12): Likewise.
33868         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
33869         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
33870         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
33871         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
33872         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
33873         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
33874         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
33875         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
33876         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
33878 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
33880         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
33881         __attribute_used__ to __attribute__ ((unused)).
33883 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33885         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
33886         powerpc mpa.c.
33887         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
33888         comment formatting.
33889         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
33891 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
33893         [BZ #13550]
33894         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
33895         Remove macro.
33896         (ENTER): Remove both macro definitions.
33897         (LEAVE): Likewise.
33898         (CHECK_BOUNDS_LOW): Likewise.
33899         (CHECK_BOUNDS_HIGH): Likewise.
33900         (CHECK_BOUNDS_BOTH): Likewise.
33901         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
33902         (RETURN_BOUNDED_POINTER): Likewise.
33903         (RETURN_NULL_BOUNDED_POINTER): Likewise.
33904         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
33905         (POP_ERRNO_LOCATION_RETURN): Likewise.
33906         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
33907         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33908         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
33909         macros.
33910         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33911         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
33912         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
33913         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
33914         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
33915         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
33916         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
33917         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
33918         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
33919         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
33920         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
33921         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
33922         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33923         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
33924         removed macros.
33925         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33926         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
33927         macros.
33928         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33929         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
33930         * sysdeps/i386/i586/memset.S (memset): Likewise.
33931         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
33932         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33933         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
33934         macros.
33935         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33936         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
33937         Change uses of L(2) to L(out).
33938         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
33939         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
33940         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
33941         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33942         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
33943         removed macros.
33944         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33945         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
33946         macros.
33947         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33948         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
33949         (RETURN): Do not use macro LEAVE.
33950         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
33951         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
33952         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
33953         * sysdeps/i386/i686/memset.S (memset): Likewise.
33954         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
33955         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
33956         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33957         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
33958         Likewise.
33959         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33960         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
33961         L(1_2) and L(1_3) into L(1).
33962         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
33963         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
33964         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33965         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
33966         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33967         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
33968         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
33969         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33970         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
33971         macros.
33972         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
33973         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33974         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
33975         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
33976         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
33977         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33978         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
33979         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
33980         * sysdeps/i386/strcspn.S (strcspn): Likewise.
33981         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
33982         * sysdeps/i386/strrchr.S (strrchr): Likewise.
33983         * sysdeps/i386/strspn.S (strspn): Likewise.
33984         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
33985         conditional code.
33986         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33987         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
33988         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
33989         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
33990         L(1_3) into L(1_1).
33991         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
33992         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33993         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
33994         macros.
33995         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33997 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
33999         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
34000         macro.
34002 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34004         * math/atest-exp.c (exp_mpn): Remove ROUND.
34005         * math/atest-exp2.c (exp_mpn): Likewise.
34006         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
34008         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
34009         * stdlib/tst-tls-atexit-lib.c: Likewise.
34010         * stdlib/tst-tls-atexit.c: Likewise.
34012 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
34014         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
34015         and __attribute_alloc_size__.
34017 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
34019         * include/programs/xmalloc.h: Change __attribute_alloc_size to
34020         __attribute_alloc_size__.
34021         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
34022         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
34024 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
34026         * include/programs/xmalloc.h: New file.
34027         * catgets/gencat.c: Include it.
34028         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
34029         * elf/pldd.c: Likewise.
34030         * iconv/iconv_charmap.c: Likewise.
34031         * iconv/iconvconfig.c: Likewise.
34032         * iconv/strtab.c: Likewise.
34033         * locale/programs/locale.c: Likewise.
34034         * locale/programs/localedef.h: Likewise.
34035         * locale/programs/simple-hash.c: Likewise.
34036         * nscd/nscd.h: Likewise.
34037         * nss/makedb.c: Likewise.
34038         * sysdeps/generic/ldconfig.h: Likewise.
34040 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34042         * Versions.def: Add GLIBC_2.18.
34043         * include/link.h (struct link_map): New member l_tls_dtor_count.
34044         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
34045         (__call_tls_dtors): Likewise.
34046         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
34047         __cxa_thread_atexit_impl.
34048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34049         Likewise.
34050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34051         Likewise.
34052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34053         Likewise.
34054         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34055         Likewise.
34056         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34057         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
34058         Likewise.
34059         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
34060         Likewise.
34061         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34062         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34063         Likewise.
34064         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
34065         (tests): Add test case tst-tls-atexit.
34066         (modules-names): Add shared library for tst-tls-atexit.
34067         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
34068         (GLIBC_PRIVATE): Add __call_tls_dtors.
34069         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
34070         for libstdc++.
34071         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
34072         * stdlib/tst-tls-atexit.c: New test case.
34073         * stdlib/tst-tls-atexit-lib.c: New test case.
34075         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
34077         * elf/Versions (ld): Add _dl_find_dso_for_object.
34078         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
34079         * elf/dl-open.c (_dl_find_dso_for_object): New function.
34080         (dl_open_worker): Use _dl_find_dso_for_object.
34081         * elf/dl-sym.c (do_sym): Likewise.
34082         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
34084 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34086         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
34087         Syntactic changes only.
34088         (_dl_runtime_profile): Do a tail-call to the resolved function.
34090 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
34092         [BZ #13550]
34093         * sysdeps/x86_64/bp-asm.h: Remove file.
34094         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
34095         <bp-sym.h> and <bp-asm.h>.
34096         (__clone): Do not use BP_SYM.
34097         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
34098         <bp-sym.h> and <bp-asm.h>.
34099         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34100         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
34101         "bp-asm.h".
34102         (_setjmp): Do not use BP_SYM.
34103         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
34104         "bp-asm.h".
34105         (setjmp): Do not use BP_SYM.
34106         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
34107         libc_hidden_def.
34108         (mempcpy): Do not use BP_SYM in weak_alias.
34109         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
34110         "bp-asm.h".
34111         (strchr): Do not use BP_SYM.
34112         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
34113         "bp-asm.h".
34114         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
34115         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
34116         (_start): Do not use BP_SYM.
34117         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
34118         "bp-asm.h".
34119         (strcat): Do not use BP_SYM.
34120         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
34121         "bp-asm.h".
34122         (STRCMP): Do not use BP_SYM.
34123         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
34124         "bp-asm.h".
34125         (STRCPY): Do not use BP_SYM.
34126         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
34127         "bp-asm.h".
34128         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
34129         "bp-asm.h".
34130         (FUNCTION): Do not use BP_SYM.
34131         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
34132         weak_alias.
34133         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
34135 2013-02-17  Andreas Jaeger  <aj@suse.de>
34137         * time/Versions: Sort entries.
34138         * string/Versions: Likewise.
34139         * resolv/Versions: Likewise.
34140         * posix/Versions: Likewise.
34141         * iconv/Versions: Likewise.
34142         * elf/Versions: Likewise.
34143         * wcsmbs/Versions: Likewise.
34145 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34147         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
34148         loop termination condition.
34150         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
34151         variable to calculate EZ.
34152         (__sqr): Likewise.
34154         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
34155         the lower precision input.
34157 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
34159         [BZ #13550]
34160         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
34161         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
34162         (run-via-rtld-prefix): Do not handle %-bp tests.
34163         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
34164         (all-object-suffixes): Remove .ob.
34165         (bppfx): Remove variable.
34166         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
34167         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
34168         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
34169         [$(build-bounded) = yes] (libtype.ob): Likewise.
34170         * Makerules (elide-routines.ob): Remove variable.
34171         (do-tests-clean): Do not handle *-bp.out.
34172         (common-mostlyclean): Do not handle *-bp and *-bp.out.
34173         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
34174         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
34175         (tests): Do not include $(tests-bp.out).
34176         (xtests): Do not include $(xtests-bp.out).
34177         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
34178         [$(build-bounded) = yes] ($(addprefix
34179         $(objpfx),$(binaries-bounded))): Remove rule.
34180         ($(objpfx)%-bp.out): Remove rule.
34181         * config.make.in (build-bounded): Remove variable.
34182         * crypt/Makefile [$(build-bounded) = yes]
34183         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
34184         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
34185         append to variable.
34186         [$(build-bounded) = yes] (install-lib): Likewise.
34187         [$(build-bounded) = yes] (generated): Likewise.
34188         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
34189         Remove rule.
34190         * intl/Makefile [$(build-bounded) = yes]
34191         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
34192         * math/Makefile [$(build-bounded) = yes]
34193         ($(tests:%=$(objpfx)%-bp): Likewise.
34194         * misc/Makefile [$(build-bounded) = yes]
34195         ($(objpfx)tst-tsearch-bp): Likewise.
34196         * nptl/Makeconfig (bounded-thread-library): Remove variable.
34197         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
34198         Remove dependency.
34199         * string/Makefile (o-objects.ob): Remove variable.
34200         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
34201         (CFLAGS-.ob): Remove variable.
34202         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
34203         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
34204         both definitions of variable.
34205         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
34206         (ASFLAGS-.ob): Remove variable.
34208 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
34210         [BZ #13550]
34211         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
34212         Remove __BOUNDED_POINTERS__ from condition.
34213         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
34214         * string/bits/string2.h [!__NO_STRING_INLINES &&
34215         !__BOUNDED_POINTERS__]: Likewise.
34216         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
34217         Likewise.
34218         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
34219         Remove conditional code.
34220         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
34221         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
34222         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
34223         condition.
34225         [BZ #13550]
34226         * csu/libc-start.c: Do not include <bp-sym.h>.
34227         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
34228         * elf/dl-open.c: Do not include <bp-sym.h>.
34229         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
34230         * math/fegetenv.c: Do not include <bp-sym.h>.
34231         (fegetenv): Do not use BP_SYM in versioned symbols.
34232         * nptl/sysdeps/pthread/bits/libc-lockP.h
34233         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
34234         <bp-sym.h>.
34235         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34236         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
34237         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34238         (__pthread_mutex_destroy): Likewise.
34239         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34240         (__pthread_mutex_lock): Likewise.
34241         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34242         (__pthread_mutex_trylock): Likewise.
34243         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34244         (__pthread_mutex_unlock): Likewise.
34245         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34246         (__pthread_mutexattr_init): Likewise.
34247         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34248         (__pthread_mutexattr_destroy): Likewise.
34249         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34250         (__pthread_mutexattr_settype): Likewise.
34251         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34252         (__pthread_rwlock_init): Likewise.
34253         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34254         (__pthread_rwlock_destroy): Likewise.
34255         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34256         (__pthread_rwlock_rdlock): Likewise.
34257         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34258         (__pthread_rwlock_tryrdlock): Likewise.
34259         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34260         (__pthread_rwlock_wrlock): Likewise.
34261         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34262         (__pthread_rwlock_trywrlock): Likewise.
34263         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34264         (__pthread_rwlock_unlock): Likewise.
34265         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34266         (__pthread_key_create): Likewise.
34267         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34268         (__pthread_setspecific): Likewise.
34269         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34270         (__pthread_getspecific): Likewise.
34271         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
34272         Likewise.
34273         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34274         (_pthread_cleanup_push_defer): Likewise.
34275         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34276         (_pthread_cleanup_pop_restore): Likewise.
34277         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34278         (pthread_setcancelstate): Likewise.
34279         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
34280         <bp-sym.h>.
34281         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
34282         (memchr): Do not use BP_SYM in weak_alias.
34283         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
34284         (fegetenv): Do not use BP_SYM in versioned symbols.
34285         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
34286         (fesetenv): Do not use BP_SYM in versioned symbols.
34287         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34288         (feupdateenv): Do not use BP_SYM in versioned symbols.
34289         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34290         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34291         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
34292         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
34293         (open64): Do not use BP_SYM in weak_alias.
34294         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
34295         (fegetenv): Do not use BP_SYM in versioned symbols.
34296         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
34297         (fesetenv): Do not use BP_SYM in versioned symbols.
34298         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34299         (feupdateenv): Do not use BP_SYM in versioned symbols.
34300         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
34301         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
34302         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
34303         (feraiseexcept): Do not use BP_SYM in versioned symbols.
34304         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34305         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34306         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
34307         <bp-sym.h>.
34308         (__libc_start_main): Do not use BP_SYM.
34310 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34312         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
34313         redundant return line.
34314         (norm): Likewise.
34315         (denorm): Likewise.
34316         (dbl_mp): Likewise.
34317         (sub_magnitudes): Likewise.
34318         (__add): Likewise.
34319         (__sub): Likewise.
34320         (__mul): Likewise.
34321         (__inv): Likewise.
34322         (__dvd): Likewise.
34323         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
34324         (norm): Likewise.
34325         (denorm): Likewise.
34326         (dbl_mp): Likewise.
34327         (sub_magnitudes): Likewise.
34328         (__add): Likewise.
34329         (__sub): Likewise.
34330         (__mul): Likewise.
34331         (__inv): Likewise.
34332         (__dvd): Likewise.
34334         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
34335         instead of __mul.
34336         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34337         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
34338         (cc32): Likewise.
34340         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
34341         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
34342         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
34343         of __mul for squares.
34344         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
34345         function
34346         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
34347         Likewise.
34348         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
34349         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34351 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
34353         [BZ #13550]
34354         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
34355         code.
34356         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
34357         prototype or function definition.  Rename ubp_* variables and
34358         parameters.  Remove argv definitions conditional on
34359         [__BOUNDED_POINTERS__].
34360         * debug/backtrace.c (__backtrace): Do not use __unbounded.
34361         * elf/dl-runtime.c (_dl_fixup): Likewise.
34362         * include/set-hooks.h (RUN_HOOK): Likewise.
34363         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
34364         definition.
34365         * string/strcpy.c (strcpy): Do not use __unbounded.
34366         * sysdeps/generic/frame.h (struct layout): Likewise.
34367         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
34368         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
34369         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
34370         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
34371         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
34372         (__backtrace): Likewise.
34373         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
34374         use __ptrvalue.
34375         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
34376         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34377         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
34378         Likewise.
34379         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
34380         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
34381         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
34382         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
34383         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
34384         Do not use __unbounded.
34385         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
34386         Rename __unboundedrlimits parameter to rlimits in prototype.
34387         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
34388         Do not use __unbounded.
34389         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
34390         not use __ptrvalue.
34391         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
34392         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
34393         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
34394         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
34395         __ptrvalue or __unbounded.
34396         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
34397         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
34398         use __unbounded.
34399         (__new_msgctl): Do not use __ptrvalue.
34400         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
34401         __unbounded.
34402         (__libc_msgrcv): Do not use __ptrvalue.
34403         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
34404         startup_info): Do not use __unbounded.
34405         (__libc_start_main): Likewise.  Rename ubp_* variables and
34406         parameters.  Remove argv definitions conditional on
34407         [__BOUNDED_POINTERS__].
34408         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
34409         __ptrvalue.
34410         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
34411         use __unbounded.
34412         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
34413         or __ptrvalue.
34414         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
34415         use __unbounded.
34416         (__new_shmctl): Do not use __ptrvalue.
34417         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
34418         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
34419         Likewise.
34420         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
34421         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
34422         (__libc_sigaction): Likewise.
34423         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
34424         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
34425         Likewise.
34426         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
34428 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
34430         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
34432         * string/mempcpy.c: Implement by calling memcpy.
34434 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34436         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
34438         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
34439         evaluation.
34441         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
34442         values in the mantissa.
34444         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
34445         minimize writes to Z.
34446         (sub_magnitudes): Simplify code a bit.
34448 2013-02-12  Roland McGrath  <roland@hack.frob.com>
34450         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
34451         from the message.  The linker prefixes all warnings with that already.
34453 2013-02-12  Andreas Schwab  <schwab@suse.de>
34455         [BZ #15078]
34456         * posix/regexec.c (extend_buffers): Add parameter min_len.
34457         (check_matching): Pass minimum needed length.
34458         (clean_state_log_if_needed): Likewise.
34459         (get_subexp): Likewise.
34460         * posix/Makefile (tests): Add bug-regex34.
34461         (bug-regex34-ENV): Define.
34462         * posix/bug-regex34.c: New file.
34464         [BZ #11561]
34465         * posix/regcomp.c (parse_bracket_exp): When looking up collating
34466         elements compare against the byte sequence of it, not its name.
34467         * posix/Makefile (tests): Add bug-regex35.
34468         (bug-regex35-ENV): Define.
34469         * posix/bug-regex35.c: New file.
34471 2013-02-11  Tom de Vries  <tom@codesourcery.com>
34473         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
34474         comment.
34475         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
34476         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
34477         (CHECK_EOL): Add undef.
34479 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
34481         * bits/stdlib-bsearch.h: New file.
34482         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
34483         * stdlib/stdlib.h: Likewise.
34485 2013-02-11  Roland McGrath  <roland@hack.frob.com>
34487         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
34488         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
34489         declaration.
34490         * manual/search.texi (Array Search Function): Add missing const in
34491         lfind prototype.
34492         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
34493         declaration to use rlim_t.
34494         (Basic Scheduling Functions): Remove erroneous const from
34495         sched_getparam prototype.  Remove erroneous * from
34496         sched_get_priority_max and sched_get_priority_min prototypes.
34497         (Resource Usage): Fix summary @comment on vtimes to refer to
34498         sys/vtimes.h rather than vtimes.h.
34499         Add missing *s in vtimes prototype.
34500         (Limits on Resources): Fix ulimit prototype to return long int.
34501         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
34502         prototypes to use long int rather than double.
34503         (BSD Random): Fix initstate and setstate to use char *, not void *.
34504         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
34505         prototype to make second argument 'struct aiocb64 *const[]'.
34506         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
34507         (Status of AIO Operations): Remove erroneous const in aio_return and
34508         aio_return64 prototypes.
34509         (Synchronizing I/O): Fix sync prototype to return void.
34510         * manual/startup.texi (Suboptions): Remove an erroneous const in
34511         getsubopt prototype.
34512         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
34513         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
34514         use size_t rather than int.
34515         (Scanning All Users): Likewise for getpwent_r.
34516         (Setting Groups): Add missing const to setgroups prototype.
34517         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
34518         * manual/socket.texi (Host Names): Fix gethostbyaddr and
34519         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
34520         'const void *' rather than 'const char *'.
34521         (Host Address Functions): Likewise for inet_ntop.
34522         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
34523         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
34524         ssize_t for return value.
34525         (Sending Data): Likewise for send, sendto, sendmsg.
34526         (Socket Option Functions): Add a missing const in setsockopt prototype.
34527         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
34528         use wchar_t for the argument.
34529         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
34530         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
34531         take no arguments.
34532         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
34533         double/float/long double for second argument.
34534         Fix return types of significand, significandf, significandl.
34535         * manual/filesys.texi (Setting Permissions): Use mode_t for second
34536         argument in fchmod prototype.
34537         (File Owner): Use uid_t and gid_t in fchown prototype.
34538         (File Times): Add const to utimes, futimes, and lutimes prototypes.
34539         (Making Special Files): Use mode_t and dev_t in mknod prototype.
34540         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
34541         use 'const struct dirent **' as argument types to CMP function pointer
34542         argument.
34543         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
34544         (File Times): Fix summary magic @comment for struct utimbuf and utime
34545         to refer to utime.h, not time.h.
34546         * manual/string.texi (Argz Functions): Add missing const in
34547         argz_extract and argz_next prototypes.
34548         (Finding Tokens in a String): Likewise for basename.
34549         (String/Array Comparison): Fix typo in wcscasecmp prototype.
34550         (Copying and Concatenation): Fix typo in wmemmove prototype.
34551         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
34552         (Signal Stack): Remove erroneous const in sigstack prototype.
34553         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
34554         prototype.
34555         (Simple Calendar Time): Likewise for stime.
34556         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
34557         prototype.
34558         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
34559         say sys/sysctl.h instead.
34560         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
34561         and vsyslog prototypes.
34563 2013-02-11  Tom de Vries  <tom@codesourcery.com>
34565         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
34566         Remove.
34568 2013-02-11  Roland McGrath  <roland@hack.frob.com>
34570         * misc/sys/mman.h: Fix typo in mremap comment.
34572 2013-02-08  Roland McGrath  <roland@hack.frob.com>
34574         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
34575         the '\0' terminator.
34577 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
34579         [BZ #13550]
34580         * debug/segfault.c: Don't include <bp-checks.h>.
34581         * sysdeps/generic/bp-checks.h: Remove file.
34582         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
34583         (__GETDENTS): Don't use CHECK_N.
34584         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
34585         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
34586         (__getgroups): Don't use CHECK_N.
34587         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
34588         (setgroups): Don't use CHECK_N.
34589         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
34590         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
34591         (__libc_msgrcv): Don't use CHECK_N.
34592         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
34593         (__libc_msgsnd): Don't use CHECK_N.
34594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
34595         <bp-checks.h>.
34596         (__libc_pread): Don't use CHECK_N.
34597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
34598         include <bp-checks.h>.
34599         (__libc_pread64): Don't use CHECK_N.
34600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
34601         include <bp-checks.h>.
34602         (__libc_pwrite): Don't use CHECK_N.
34603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
34604         include <bp-checks.h>.
34605         (__libc_pwrite64): Don't use CHECK_N.
34606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
34607         <bp-checks.h>.
34608         (__libc_pread): Don't use CHECK_N.
34609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
34610         include <bp-checks.h>.
34611         (__libc_pread64): Don't use CHECK_N.
34612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
34613         include <bp-checks.h>.
34614         (__libc_pwrite): Don't use CHECK_N.
34615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
34616         include <bp-checks.h>.
34617         (__libc_pwrite64): Don't use CHECK_N.
34618         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
34619         (do_pread): Don't use CHECK_N.
34620         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
34621         (do_pread64): Don't use CHECK_N.
34622         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
34623         (do_pwrite): Don't use CHECK_N.
34624         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
34625         (do_pwrite64): Don't use CHECK_N.
34626         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
34627         (__libc_readv): Don't use CHECK_N.
34628         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
34629         (semop): Don't use CHECK_N.
34630         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
34631         <bp-checks.h>.
34632         (semtimedop): Don't use CHECK_N.
34633         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
34634         (__libc_pread): Don't use CHECK_N.
34635         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
34636         <bp-checks.h>.
34637         (__libc_pread64): Don't use CHECK_N.
34638         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
34639         <bp-checks.h>.
34640         (__libc_pwrite): Don't use CHECK_N.
34641         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
34642         <bp-checks.h>.
34643         (__libc_pwrite64): Don't use CHECK_N.
34644         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
34645         <bp-checks.h>.
34646         (__libc_msgrcv): Don't use CHECK_N.
34647         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
34648         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
34649         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
34650         (__libc_writev): Don't use CHECK_N.
34652 2013-02-08  Roland McGrath  <roland@hack.frob.com>
34654         * string/strcpy.c: Removed unused variable.
34656         * Makeconfig (+sysdep-includes): Define with := rather than =.
34657         Use an existing include/ subdir of each sysdeps dir before it.
34659 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
34661         * nscd/connection.c (register_traced_file): Comment function.
34662         [HAVE_INOTIFY] (union __inev): Define.
34663         [HAVE_INOTIFY] (inotify_check_files): New function.
34664         [HAVE_INOTIFY] (clear_db_cache): Likewise.
34665         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
34666         clear_db_cache.
34667         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
34669 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
34671         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
34672         loaded if not already and that a failure is permanent.
34674 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
34676         [BZ #15006]
34677         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
34678         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
34680 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
34682         [BZ #13550]
34683         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
34684         (CHECK_1_NULL_OK): Likewise.
34685         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
34686         (__fxstat): Do not use CHECK_1.
34687         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
34688         <bp-checks.h>.
34689         (___fxstat64): Do not use CHECK_1.
34690         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34691         <bp-checks.h>.
34692         (__fxstatat): Do not use CHECK_1.
34693         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34694         <bp-checks.h>.
34695         (__fxstatat64): Do not use CHECK_1.
34696         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
34697         <bp-checks.h>.
34698         (__fxstat): Do not use CHECK_1.
34699         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34700         <bp-checks.h>.
34701         (__fxstatat): Do not use CHECK_1.
34702         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34703         <bp-checks.h>.
34704         (__getresgid): Do not use CHECK_1.
34705         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34706         <bp-checks.h>.
34707         (__getresuid): Do not use CHECK_1.
34708         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
34709         <bp-checks.h>.
34710         (__lxstat): Do not use CHECK_1.
34711         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34712         <bp-checks.h>.
34713         (__old_msgctl): Do not use CHECK_1.
34714         (__new_msgctl): Likewise.
34715         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
34716         <bp-checks.h>.
34717         (__new_setrlimit): Do not use CHECK_1.
34718         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34719         <bp-checks.h>.
34720         (__old_shmctl): Do not use CHECK_1.
34721         (__new_shmctl): Likewise.
34722         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
34723         <bp-checks.h>.
34724         (__xstat): Do not use CHECK_1.
34725         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
34726         (__lxstat): Do not use CHECK_1.
34727         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
34728         <bp-checks.h>.
34729         (___lxstat64): Do not use CHECK_1.
34730         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
34731         (__old_msgctl): Do not use CHECK_1.
34732         (__new_msgctl): Likewise.
34733         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
34734         <bp-checks.h>.
34735         (__gettimeofday): Do not use CHECK_1.
34736         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
34737         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
34738         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
34739         <bp-checks.h>.
34740         (__gettimeofday): Do not use CHECK_1.
34741         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
34742         (__old_shmctl): Do not use CHECK_1_NULL_OK.
34743         (__new_shmctl): Do not use CHECK_1.
34744         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
34745         <bp-checks.h>.
34746         (do_sigtimedwait): Do not use CHECK_1.
34747         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
34748         <bp-checks.h>.
34749         (do_sigwaitinfo): Do not use CHECK_1.
34750         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
34751         <bp-checks.h>.
34752         (msgctl): Do not use CHECK_1.
34753         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
34754         <bp-checks.h>.
34755         (shmctl): Do not use CHECK_1.
34756         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
34757         (ustat): Do not use CHECK_1.
34758         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
34759         <bp-checks.h>.
34760         (__fxstat): Do not use CHECK_1.
34761         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34762         <bp-checks.h>.
34763         (__fxstatat): Do not use CHECK_1.
34764         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
34765         <bp-checks.h>.
34766         (__lxstat): Do not use CHECK_1.
34767         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
34768         <bp-checks.h>.
34769         (__xstat): Do not use CHECK_1.
34770         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
34771         (__xstat): Do not use CHECK_1.
34772         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
34773         (___xstat64): Do not use CHECK_1.
34775         [BZ #13550]
34776         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
34777         definitions.
34778         (CHECK_BOUNDS_HIGH): Likewise.
34779         * string/strcpy.c: Do not include <bp-checks.h>.
34780         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
34782 2013-02-07  Roland McGrath  <roland@hack.frob.com>
34784         * nscd/nscd-client.h (__nscd_drop_map_ref):
34785         Add __attribute__ ((unused)).
34786         * nis/nss-nisplus.h (niserr2nss): Likewise.
34788         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
34789         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
34791         * csu/libc-tls.c (init_static_tls, init_slotinfo):
34792         Remove inline keyword.
34793         * include/rounding-mode.h (round_away): Likewise.
34794         * libio/wfileops.c (adjust_wide_data): Likewise.
34795         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
34796         (__m128i_strloadu_tolower): Likewise.
34797         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
34798         (__m128i_strloadu_tolower): Likewise.
34799         * time/mktime.c (ydhms_diff): Likewise.
34800         * locale/elem-hash.h (elem_hash): Likewise.
34801         * locale/setlocale.c (setdata): Likewise.
34802         * posix/regex_internal.h (re_string_char_size_at): Likewise.
34803         (re_string_wchar_at): Likewise.
34804         (bitset_not, bitset_merge, bitset_mask): Likewise.
34805         [!(__GNUC__ > 3)] (inline): Remove macro.
34806         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
34807         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
34808         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
34809         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
34810         * string/memcmp.c (memcmp_bytes): Likewise.
34811         * locale/programs/locarchive.c (compute_hashval): Likewise.
34812         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
34813         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
34814         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
34815         * nss/getent.c (print_rpc, print_protocols): Likewise.
34816         (print_passwd, print_group, print_aliases): Likewise.
34817         * nis/nss-nisplus.h (niserr2nss): Likewise.
34818         * nscd/connections.c (restart_p): Likewise.
34819         Change return type to bool.
34821 2013-02-05  Roland McGrath  <roland@hack.frob.com>
34823         * Makeconfig (all-Depend-files): Add existing
34824         $(sorted-subdirs:=/Depend) files.
34825         (all-subdirs): Remove nss.
34826         * sysdeps/unix/inet/Subdirs: Add it here instead.
34827         * hesiod/Depend: New file.
34829         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
34830         instead of calling alloca.
34832         * io/lseek.c (__lseek): Rename to __libc_lseek.
34833         Define __lseek as an alias.
34835         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
34837 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
34839         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
34840         else clause and remove check for non-standard endianness.
34842 2013-02-04  David S. Miller  <davem@davemloft.net>
34844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34846 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
34848         [BZ #13550]
34849         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
34850         (__ubp_memchr): Remove prototype.
34851         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
34852         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
34853         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
34854         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
34855         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
34856         Remove alias.
34857         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
34858         (__ubp_memchr): Likewise.
34859         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
34860         (__ubp_memchr): Likewise.
34861         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
34862         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
34863         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
34864         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
34865         CHECK_STRING.
34866         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
34867         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
34868         (__getcwd): Do not use CHECK_STRING.
34869         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34870         <bp-checks.h>.
34871         (__real_chown): Do not use CHECK_STRING.
34872         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
34873         <bp-checks.h>.
34874         (fchownat): Do not use CHECK_STRING.
34875         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
34876         CHECK_STRING.
34877         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34878         <bp-checks.h>.
34879         (__lchown): Do not use CHECK_STRING.
34880         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
34881         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
34882         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
34883         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
34884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34885         include <bp-checks.h>.
34886         (truncate64): Do not use CHECK_STRING.
34887         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34888         <bp-checks.h>.
34889         (__real_chown): Do not use CHECK_STRING.
34890         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34891         <bp-checks.h>.
34892         (__lchown): Do not use CHECK_STRING.
34893         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34894         <bp-checks.h>.
34895         (__chown): Do not use CHECK_STRING.
34896         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
34897         <bp-checks.h>.
34898         (truncate64): Do not use CHECK_STRING.
34899         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
34900         Likewise.
34901         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
34902         (__xmknod): Do not use CHECK_STRING.
34903         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34904         <bp-checks.h>.
34905         (__xmknodat): Do not use CHECK_STRING.
34906         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
34907         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
34909 2013-02-04  Andreas Schwab  <schwab@suse.de>
34911         [BZ #14142]
34912         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
34913         * include/netdb.h: Likewise for h_errno.
34914         * elf/tst-stackguard1.c: Include <tls.h>.
34916 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
34918         * elf/link.h (struct link_map): Extend the l_addr comment.
34919         * include/link.h (struct link_map): Likewise.
34921 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
34923         [BZ #13550]
34924         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
34925         (BOUNDED_1): Remove macro.
34926         * debug/backtrace.c: Don't include <bp-checks.h>.
34927         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
34928         (__backtrace): Likewise.
34929         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
34930         <bp-checks.h>.
34931         (__backtrace): Don't use BOUNDED_1.
34932         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
34933         <bp-checks.h>.
34934         (__backtrace): Don't use BOUNDED_1.
34935         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
34936         (__backtrace): Don't use BOUNDED_1.
34937         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
34938         (shmat): Don't use BOUNDED_N.
34940 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
34942         [BZ #13550]
34943         * sysdeps/generic/bp-start.h: Remove file.
34944         * csu/libc-start.c: Don't include <bp-start.h>.
34945         (LIBC_START_MAIN): Set up __environ directly instead of using
34946         INIT_ARGV_and_ENVIRON.
34947         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
34948         <bp-start.h>.
34950         [BZ #13550]
34951         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
34952         definitions.
34953         (CHECK_FCNTL): Likewise.
34954         (CHECK_N_PAGES): Likewise.
34956         [BZ #13550]
34957         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
34958         definitions.
34959         (CHECK_SIGSET_NULL_OK): Likewise.
34960         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
34961         <bp-checks.h>.
34962         (sigpending): Don't use CHECK_SIGSET.
34963         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
34964         <bp-checks.h>.
34965         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34966         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
34967         <bp-checks.h>.
34968         (do_sigsuspend): Don't use CHECK_SIGSET.
34969         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
34970         use CHECK_SIGSET.
34971         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
34972         (do_sigwait): Don't use CHECK_SIGSET.
34973         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
34974         use CHECK_SIGSET.
34975         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
34976         include <bp-checks.h>.
34977         (sigpending): Don't use CHECK_SIGSET.
34978         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
34979         include <bp-checks.h>.
34980         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34981         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
34982         <bp-checks.h>.
34983         (sigpending): Don't use CHECK_SIGSET.
34984         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
34985         <bp-checks.h>.
34986         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34988         [BZ #13550]
34989         * sysdeps/generic/bp-semctl.h: Remove file.
34990         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
34991         <bp-checks.h> and <bp-semctl.h>.
34992         (__old_semctl): Don't use CHECK_SEMCTL.
34993         (__new_semctl): Likewise.
34994         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
34995         and <bp-semctl.h>.
34996         (__old_semctl): Don't use CHECK_SEMCTL.
34997         (__new_semctl): Likewise.
34998         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
34999         <bp-checks.h> and <bp-semctl.h>.
35000         (__old_semctl): Don't use CHECK_SEMCTL.
35001         (__new_semctl): Likewise.
35002         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
35003         <bp-checks.h> and <bp-semctl.h>.
35004         (semctl): Don't use CHECK_SEMCTL.
35006         [BZ #13550]
35007         * Makerules (elide-bp-thunks): Remove variable.
35008         (elide-routines.oS): Don't use $(elide-bp-thunks).
35009         (elide-routines.os): Likewise.
35010         (elide-routines.o): Likewise.
35011         (elide-routines.op): Likewise.
35012         (elide-routines.og): Likewise.
35013         (objects): Don't use $(bp-thunks).
35014         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
35015         include.
35016         (common-generated): Do not add s-proto-bp.d.
35017         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
35018         (int): Likewise.
35019         (typ): Likewise.
35020         Do not generate makefile rules for bounded-pointer thunks.
35021         * sysdeps/generic/bp-thunks.h: Remove file.
35022         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
35023         * sysdeps/unix/s-proto-bp.S: Likewise.
35025         [BZ #15062]
35026         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
35027         parts of result separately when argument is not close to line from
35028         -i to i and one part of argument is small.
35029         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35030         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35031         * math/libm-test.inc (cacos_test): Add more tests.
35032         (casin_test): Likewise.
35033         (casinh_test): Likewise.
35034         * sysdeps/i386/fpu/libm-test-ulps: Update.
35035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35037 2013-01-31  David S. Miller  <davem@davemloft.net>
35039         * po/de.po: Update from translation team.
35041 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
35043         * time/tzfile.c: Include stdint.h for SIZE_MAX.
35045 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
35047         * configure.in (_AC_PROG_CC_C89): New definition.
35048         * configure: Regenerate.
35050         * configure.in (AC_PROG_CPP): New definition.
35051         * configure: Regenerate.
35053 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
35055         * debug/tst-backtrace.h: New file.
35056         * debug/tst-backtrace2.c: Include tst-backtrace.h.
35057         (ret): Remove variable.
35058         (x): Likewise.
35059         (FAIL): Remove macro.
35060         (NO_INLINE): Likewise.
35061         (fn1): Use match function instead of strstr.
35062         * debug/tst-backtrace3.c: Include tst-backtrace.h.
35063         (ret): Remove variable.
35064         (x): Likewise.
35065         (FAIL): Remove macro.
35066         (NO_INLINE): Likewise.
35067         (fn): Use match function instead of strstr.
35068         * debug/tst-backtrace4.c: Include tst-backtrace.h.
35069         (ret): Remove variable.
35070         (x): Likewise.
35071         (FAIL): Remove macro.
35072         (NO_INLINE): Likewise.
35073         (handle_signal): Use match function instead of strstr.
35074         * debug/tst-backtrace5.c: Include tst-backtrace.h.
35075         (ret): Remove variable.
35076         (x): Likewise.
35077         (FAIL): Remove macro.
35078         (NO_INLINE): Likewise.
35079         (handle_signal): Use match function instead of strstr.
35081 2013-01-23  Roland McGrath  <roland@hack.frob.com>
35083         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
35085 2013-01-23  David S. Miller  <davem@davemloft.net>
35087         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
35088         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
35089         argument of CAS if possible.
35090         * sysdeps/sparc/sparc64/bits/atomic.h
35091         (__arch_compare_and_exchange_val_32_acq): Likewise.
35092         (__arch_compare_and_exchange_val_64_acq): Likewise.
35094 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
35096         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
35097         * sysdeps/posix/ulimit.c: ... this.
35098         Include <limits.h>.
35099         * sysdeps/unix/bsd/ulimit.c: Remove file.
35101 2013-01-23  Adam Conrad  <adconrad@0c3.net>
35103         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
35104         (LDFLAGS-tst-array5): Likewise.
35106 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
35108         [BZ #15036]
35109         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
35110         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
35111         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
35112         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
35114 2013-01-21  David S. Miller  <davem@davemloft.net>
35116         * sysdeps/sparc/backtrace.c: New file.
35117         * sysdeps/sparc/sparc32/backtrace.h: New file.
35118         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
35119         * sysdeps/sparc/sparc64/backtrace.h: New file.
35120         * sysdeps/sparc/sparc64/backtrace.c: Delete.
35121         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
35122         -funwind-tables.
35124 2013-01-21  Andreas Schwab  <schwab@suse.de>
35126         [BZ #15020]
35127         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
35128         closed its stdout.
35130 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
35132         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
35133         "mpa2.h".
35134         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35136 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
35137             Mark Mitchell  <mark@codesourcery.com>
35138             Tom de Vries  <tom@codesourcery.com>
35139             Paul Pluzhnikov  <ppluzhnikov@google.com>
35141         * debug/tst-backtrace2.c: New file.
35142         * debug/tst-backtrace3.c: Likewise.
35143         * debug/tst-backtrace4.c: Likewise.
35144         * debug/tst-backtrace5.c: Likewise.
35145         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
35146         (CFLAGS-tst-backtrace3.c): Likewise.
35147         (CFLAGS-tst-backtrace4.c): Likewise.
35148         (CFLAGS-tst-backtrace5.c): Likewise.
35149         (LDFLAGS-tst-backtrace2): Likewise.
35150         (LDFLAGS-tst-backtrace3): Likewise.
35151         (LDFLAGS-tst-backtrace4): Likewise.
35152         (LDFLAGS-tst-backtrace5): Likewise.
35153         (tests): Add new tests tst-backtrace2, tst-backtrace3,
35154         tst-backtrace4 and tst-backtrace5.
35156 2013-01-18  Anton Blanchard  <anton@samba.org>
35157             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35159         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
35160         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
35161         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
35162         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
35163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35164         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
35165         "+r" and remove output regs list as redundant.  Add explicit inline
35166         asm to specify register of return val to work around compiler codegen
35167         bug.  Remove (int) cast on return value.  Add return type parameter to
35168         use in macro so that this macro does not truncate return value for
35169         64-bit values.
35170         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
35171         pass to INTERNAL_VSYSCALL_NCS.
35172         (INLINE_VSYSCALL): Add 'long int' as return type to
35173         INTERNAL_VSYSCALL_NCS macro invocation.
35174         (INTERNAL_VSYSCALL): Add 'long int' as return type to
35175         INTERNAL_VSYSCALL_NCS macro invocation.
35176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35178 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35180         [BZ #14496]
35181         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
35182         Fix application of SIMD FP exception mask.
35184         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
35185         mp_no from a power of two.
35186         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
35187         __mpexp_twomm1.  Use __pow_mp.
35189         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
35190         multiplication.
35192 2013-01-17  David S. Miller  <davem@davemloft.net>
35194         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35196 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
35198         [BZ #15023]
35199         * include/complex.h: Condition contents on [!_COMPLEX_H].
35200         (__kernel_casinhf): New prototype.
35201         (__kernel_casinh): Likewise.
35202         (__kernel_casinhl): Likewise.
35203         * math/Makefile (libm_calls): Add k_casinh.
35204         * math/k_casinh.c: New file.
35205         * math/k_casinhf.c: Likewise.
35206         * math/k_casinhl.c: Likewise.
35207         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
35208         finite nonzero arguments.
35209         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
35210         finite nonzero arguments.
35211         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
35212         finite nonzero arguments.
35213         * math/s_casinh.c: Do not include <float.h>.
35214         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
35215         * math/s_casinhf.c: Do not include <float.h>.
35216         (__casinhf): Move code for finite nonzero arguments to
35217         k_casinhf.c.
35218         * math/s_casinhl.c: Do not include <float.h>.
35219         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
35220         redefine.
35221         (__casinhl): Move code for finite nonzero arguments to
35222         k_casinhl.c.
35223         * math/libm-test.inc (cacos_test): Add more tests.
35224         * sysdeps/i386/fpu/libm-test-ulps: Update.
35225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35227 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
35229         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
35230         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
35231         [!HAVE_MREMAP]: Remove [defined linux] case.
35232         * malloc/arena.c: Do not include <malloc-sysdep.h>.
35234 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35236         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
35238 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
35240         * elf/elf.h (R_386_SIZE32): New relocation.
35241         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
35242         R_386_SIZE32.
35243         (elf_machine_rela): Likewise.
35244         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35245         R_X86_64_SIZE64 and R_X86_64_SIZE32.
35247 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
35249         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
35250         (FP_FAST_FMA): Do not define.
35251         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
35252         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
35253         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
35254         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
35255         !_SOFT_FLOAT]: Likewise.
35256         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
35257         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
35258         value.
35259         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
35260         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
35261         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
35262         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
35263         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
35264         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
35265         file.
35267 2013-01-16  Andreas Schwab  <schwab@suse.de>
35269         [BZ #14327]
35270         * include/stdlib.h (__mktemp): Add declaration.
35271         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
35272         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
35274 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35276         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
35277         definitions.
35278         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35279         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
35280         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
35281         definitions here.
35282         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
35283         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
35284         definitions.
35285         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
35286         and ONE.
35287         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
35288         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
35289         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
35290         definitions.
35291         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
35292         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
35293         definitions.
35294         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35296         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
35298 2013-01-15  David S. Miller  <davem@davemloft.net>
35300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35301         trunc{,f} to libm-sysdep_routes.
35302         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
35304         file.
35305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
35306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
35307         file.
35308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
35309         file.
35310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
35311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
35312         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
35313         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
35314         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
35315         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
35316         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
35317         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
35319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35320         nearbyint{,f} to libm-sysdep_routes.
35321         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
35323         New file.
35324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
35325         file.
35326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
35327         New file.
35328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
35329         file.
35330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
35331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
35332         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
35333         file.
35334         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
35335         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
35336         file.
35337         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
35338         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
35339         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
35341         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35342         libc_feholdexcept and libc_fesetenv.
35344 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
35346         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
35348 2013-01-14  David S. Miller  <davem@davemloft.net>
35350         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
35351         (SPARC_ASM_VIS2_IFUNC): Likewise.
35352         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
35353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
35354         use of 'siam' instruction.
35355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
35356         Likewise.
35357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
35358         Likewise.
35359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
35360         Likewise.
35361         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
35362         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
35363         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
35364         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
35365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
35366         file.
35367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
35368         file.
35369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
35370         file.
35371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
35372         file.
35373         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
35374         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
35375         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
35376         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
35377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
35378         new VIS2 routines.
35379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35382         Likewise.
35383         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35384         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35385         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35386         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
35388         routines to libm-sysdep_routines.
35389         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35392         fdim/fdimf to libm-sysdep_routines.
35393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
35394         file.
35395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
35396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
35397         file.
35398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
35399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
35400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
35401         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
35402         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
35403         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
35404         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
35406 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35408         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
35409         to optimize copies.
35411         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
35412         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35413         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35415         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
35416         local variable MPTWO.
35417         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35418         Likewise.
35420 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
35422         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
35423         GLOB_NOESCAPE.
35425 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
35427         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
35429 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
35431         * manual/pattern.texi (glob_t): Document gl_flags.
35432         (glob64_t): Likewise.
35434 2013-01-11  David S. Miller  <davem@davemloft.net>
35436         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
35437         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
35438         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
35439         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
35440         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
35441         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
35442         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
35443         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
35444         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
35445         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
35446         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
35447         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
35448         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
35450         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
35451         sparc V9 rather than using V8 code.
35452         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35453         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35455         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35456         Move to...
35457         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
35458         Here.
35460 2013-01-11  Roland McGrath  <roland@hack.frob.com>
35462         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
35463         not in the main loop.
35464         * configure: Regenerated.
35466 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
35468         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
35469         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
35470         to just #else.
35471         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
35472         [!__GLIBC_HAVE_LONG_LONG] case.
35473         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
35474         condition to just #else.
35475         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
35476         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
35477         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
35478         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
35479         unconditional.
35480         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
35481         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35482         #elif condition to just #else.
35483         * sysdeps/unix/sysv/linux/sys/sysmacros.h
35484         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
35485         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35486         #elif condition to just #else.
35488 2013-01-11  Steve Ellcey  <sellcey@mips.com>
35490         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
35491         (EF_MIPS_ARCH_64): Fix value.
35492         (EF_MIPS_ARCH_32R2): New.
35493         (EF_MIPS_ARCH_64R2): New.
35495 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
35497         * Makeconfig (+link-pie-before-libc): New.
35498         (+link-pie-after-libc): Likewise.
35499         (+link-pie-tests): Likewise.
35500         (+link-pie): Rewritten.
35501         (link-before-libc): Remove $(config-LDFLAGS).
35502         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
35503         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
35504         (config-LDFLAGS): Renamed to ...
35505         (rtld-LDFLAGS): This.
35506         (rtld-tests-LDFLAGS): New macro.
35507         (link-libc-rpath-link): Likewise.
35508         (link-libc-tests-rpath-link): Likewise.
35509         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
35510         (link-libc): Prepand $(link-libc-rpath-link).
35511         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
35512         (test-program-prefix): New macro.
35513         (test-via-rtld-prefix): Likewise.
35514         (test-program-cmd): Likewise.
35515         (host-test-program-cmd): Likewise.
35516         * Makefile ($(common-objpfx)testrun.sh): Replace
35517         $(run-program-prefix) with $(test-program-prefix).
35518         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
35519         $(rtld-LDFLAGS).
35520         ($(common-objpfx)shlib.lds): Likewise.
35521         (build-module-helper): Likewise.
35522         ($(common-objpfx)format.lds): Likewise.
35523         * Rules (binaries-pie-tests): New.
35524         (binaries-pie-notests): Likewise.
35525         (binaries-pie): Rewritten.
35526         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
35527         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
35528         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
35529         (make-test-out): Replace $(host-built-program-cmd) with
35530         $(host-test-program-cmd).
35531         * config.make.in (build-hardcoded-path-in-tests): New variable.
35532         * configure.in (--enable-hardcoded-path-in-tests): New configure
35533         option.
35534         (hardcoded_path_in_tests): New AC_SUBST.
35535         * configure: Regenerated.
35536         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
35537         $(built-program-cmd) with $(test-program-cmd).
35538         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
35539         (test_program_cmd): This.
35540         * elf/Makefile ($(objpfx)order.out): Run test with
35541         $(test-program-prefix).
35542         ($(objpfx)order2.out): Likewise.
35543         ($(objpfx)tst-initorder.out): Likewise.
35544         ($(objpfx)tst-initorder2.out): Likewise.
35545         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
35546         $(test-program-cmd).
35547         ($(objpfx)tst-array1-static.out): Likewise.
35548         ($(objpfx)tst-array2.out): Likewise.
35549         ($(objpfx)tst-array3.out): Likewise.
35550         ($(objpfx)tst-array4.out): Likewise.
35551         ($(objpfx)tst-array5.out): Likewise.
35552         ($(objpfx)tst-array5-static.out): Likewise.
35553         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
35554         $(test-program-cmd).
35555         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
35556         $(run-program-prefix) with $(test-program-prefix).
35557         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
35558         (test_program_prefix): This.
35559         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
35560         $(run-program-prefix) with $(test-program-prefix).
35561         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
35562         (test_program_prefix): This.
35563         * iconvdata/tst-tables.sh: Likewise.
35564         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
35565         $(run-program-prefix) with $(test-program-prefix).
35566         ($(objpfx)tst-translit.out): Likewise.
35567         ($(objpfx)tst-gettext2.out): Likewise.
35568         ($(objpfx)tst-gettext4.out): Likewise.
35569         ($(objpfx)tst-gettext6.out): Likewise.
35570         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
35571         (test_program_prefix): This.
35572         * intl/tst-gettext2.sh: Likewise.
35573         * intl/tst-gettext4.sh  Likewise.
35574         * intl/tst-gettext6.sh: Likewise.
35575         * intl/tst-translit.sh: Likewise.
35576         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
35577         with $(test-program-cmd).
35578         * libio/Makefile ($(objpfx)test-freopen.out): Replace
35579         $(run-program-prefix) with $(test-program-prefix).
35580         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
35581         (test_program_prefix): This.
35582         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
35583         $(run-program-prefix) with $(test-program-prefix).
35584         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
35585         (test_program_prefix): This.
35586         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
35587         * posix/Makefile ($(objpfx)globtest.out): Replace
35588         $(run-via-rtld-prefix) and $(test-wrapper) with
35589         $(test-program-prefix) and $(test-via-rtld-prefix).
35590         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
35591         $(test-program-prefix).
35592         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
35593         $(host-test-program-cmd).
35594         (tst-spawn-ARGS): Likewise.
35595         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
35596         $(test-program-prefix).
35597         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
35598         (test_via_rtld_prefix): This.
35599         (test_wrapper): Renamed to ...
35600         (test_program_prefix): This.
35601         (run_program_prefix): Replaced by test_program_prefix.
35602         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
35603         (test_program_prefix): This.
35604         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
35605         with $(host-test-program-cmd).
35606         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
35607         $(run-program-prefix) with $(test-program-prefix).
35608         ($(objpfx)tst-printf.out): Likewise.
35609         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
35610         $(test-program-cmd).
35611         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
35612         (test_program_prefix): This.
35613         * stdio-common/tst-unbputc.sh: Likewise.
35614         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
35615         $(run-program-prefix) with $(test-program-prefix).
35616         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
35617         (test_program_prefix): This.
35618         * string/Makefile ($(objpfx)tst-svc.out):  Replace
35619         $(built-program-cmd) with $(test-program-cmd).
35621 2013-01-11  Andreas Jaeger  <aj@suse.de>
35623         [BZ #15003]
35624         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
35625         value. Sync with Linux 3.7.
35627 2013-01-10  David S. Miller  <davem@davemloft.net>
35629         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
35630         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35631         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35633 2013-01-10  Roland McGrath  <roland@hack.frob.com>
35635         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
35636         never set.
35637         * configure: Regenerated.
35639 2013-01-10  David S. Miller  <davem@davemloft.net>
35641         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
35642         sparc V9 rather than using V8 code.
35643         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35644         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35646 2013-01-10  Roland McGrath  <roland@hack.frob.com>
35648         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
35649         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
35650         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
35651         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
35652         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
35653         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
35654         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
35655         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
35656         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
35657         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
35658         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
35659         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
35660         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
35661         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
35662         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
35663         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
35664         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
35665         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
35666         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
35667         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
35668         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
35669         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
35670         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
35671         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
35672         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
35673         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
35674         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
35676 2013-01-10  David S. Miller  <davem@davemloft.net>
35678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35680 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
35682         * posix/Makefile (tests-static): New variable.
35683         (tests): Add $(tests-static).
35684         (tst-exec-static-ARGS): New variable.
35685         (tst-spawn-static-ARGS): Likewise.
35686         * posix/tst-exec-static.c: New file.
35687         * posix/tst-spawn-static.c: Likewise.
35688         * posix/tst-exec.c: Support run directly.
35689         * posix/tst-spawn.c: Likewise.
35691 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
35693         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
35694         long.
35695         * math/bits/mathcalls.h (llrint): Likewise.
35696         (llround): Likewise.
35697         * stdlib/stdlib.h (struct drand48_data): Likewise.
35698         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
35699         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
35700         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
35701         Likewise.
35702         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
35703         Likewise.
35704         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
35705         (elf_greg_t): Likewise.
35706         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
35707         (__jmp_buf): Likewise.
35708         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
35709         definitions.
35710         (llrint): Likewise, for all definitions.
35711         (llrintl): Likewise.
35713         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
35714         Remove [__GNUC__] condition.
35715         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
35716         condition to just [__USE_ISOC99].
35717         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
35719 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
35721         [BZ #14200]
35722         * sysdeps/unix/sysv/linux/x86/bits/environments.h
35723         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
35724         defined.
35725         (_POSIX_V6_ILP32_OFF32): Likewise.
35726         (_XBS5_ILP32_OFF32): Likewise.
35727         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
35728         (__ILP32_OFFBIG_LDFLAGS): Likewise.
35730 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35732         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
35734         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
35735         doubles __mpexp_twomm1.  Adjust usage.
35736         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
35737         Remove.
35739 2013-01-10  Andreas Schwab  <schwab@suse.de>
35741         [BZ #14964]
35742         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
35743         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
35745 2013-01-09  David S. Miller  <davem@davemloft.net>
35747         [BZ #15003]
35748         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
35749         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
35750         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
35751         (TCP_FASTOPEN): Define.
35752         (tcp_repair_opt): New structure.
35753         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
35754         enum values.
35755         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
35756         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
35757         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
35758         (tcp_cookie_transactions): New structure.
35760 2013-01-09  Anton Blanchard  <anton@samba.org>
35762         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
35763         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
35764         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
35765         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
35767 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
35769         * include/features.h (__USE_ANSI): Remove.
35771 2013-01-09  Roland McGrath  <roland@hack.frob.com>
35773         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
35775         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
35777 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
35779         * sysdeps/s390/fpu/libm-test-ulps: Update.
35781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35783         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
35784         (__acr): Likewise.
35785         (__cpy): Likewise.
35786         (norm): Likewise.
35787         (denorm): Likewise.
35788         (__mp_dbl): Likewise.
35789         (__dbl_mp): Likewise.
35790         (add_magnitudes): Likewise.
35791         (sub_magnitudes): Likewise.
35792         (__add): Likewise.
35793         (__sub): Likewise.
35794         (__mul): Likewise.
35795         (__inv): Likewise.
35796         (__dvd): Likewise.
35797         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
35798         (__acr): Likewise.
35799         (__cpy): Likewise.
35800         (norm): Likewise.
35801         (denorm): Likewise.
35802         (__mp_dbl): Likewise.
35803         (__dbl_mp): Likewise.
35804         (add_magnitudes): Likewise.
35805         (sub_magnitudes): Likewise.
35806         (__add): Likewise.
35807         (__sub): Likewise.
35808         (__mul): Likewise.
35809         (__inv): Likewise.
35810         (__dvd): Likewise.
35811         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
35812         (__acr): Likewise.
35813         (__cpy): Likewise.
35814         (norm): Likewise.
35815         (denorm): Likewise.
35816         (__mp_dbl): Likewise.
35817         (__dbl_mp): Likewise.
35818         (add_magnitudes): Likewise.
35819         (sub_magnitudes): Likewise.
35820         (__add): Likewise.
35821         (__sub): Likewise.
35822         (__mul): Likewise.
35823         (__inv): Likewise.
35824         (__dvd): Likewise.
35826 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
35828         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
35829         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
35830         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
35831         2 && __USE_EXTERN_INLINES]: Likewise.
35833 2013-01-08  Andreas Jaeger  <aj@suse.de>
35835         [BZ# 14985]
35836         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
35837         Remove.
35838         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
35839         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
35841 2013-01-07  Anton Blanchard  <anton@samba.org>
35843         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
35844         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35845         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
35846         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35847         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
35848         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35849         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
35850         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
35851         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35852         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35853         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35854         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35855         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35856         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35857         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
35858         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35859         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35860         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35861         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
35862         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
35863         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
35864         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
35865         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35866         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
35867         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
35868         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
35869         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35870         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35871         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
35872         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35873         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
35874         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35875         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35876         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35877         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35878         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35879         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35880         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35881         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
35882         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35883         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
35884         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35885         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35887 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
35889         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
35890         (__MALLOC_PMT): Likewise.
35891         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
35892         [__GNUC__], only on [_LIBC].
35893         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
35894         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
35895         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
35896         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
35897         forward declaration.
35898         (realloc_hook_ini): Likewise.
35899         (memalign_hook_ini): Likewise.
35900         (__libc_memalign): Do not use __MALLOC_PMT in variable
35901         declaration.
35902         (__libc_valloc): Likewise.
35903         (__libc_pvalloc): Likewise.
35904         (__libc_calloc): Likewise.
35905         (__posix_memalign): Likewise.
35907         [BZ #14996]
35908         * math/s_casinh.c: Include <float.h>.
35909         (__casinh): Do not do computation with squaring and square root
35910         for large arguments.
35911         * math/s_casinhf.c: Include <float.h>.
35912         (__casinhf): Do not do computation with squaring and square root
35913         for large arguments.
35914         * math/s_casinhl.c: Include <float.h>.
35915         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
35916         (__casinhl): Do not do computation with squaring and square root
35917         for large arguments.
35918         * math/libm-test.inc (casin_test): Add more tests.
35919         (casinh_test): Likewise.
35920         * sysdeps/i386/fpu/libm-test-ulps: Update.
35921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35923 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
35925         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
35926         (__x86_64_raw_data_cache_size): Likewise.
35927         (__x86_64_data_cache_size_half): Likewise.
35928         (__x86_64_raw_data_cache_size_half): Likewise.
35929         (__x86_64_shared_cache_size): Likewise.
35930         (__x86_64_raw_shared_cache_size): Likewise.
35931         (__x86_64_shared_cache_size_half): Likewise.
35932         (__x86_64_raw_shared_cache_size_half): Likewise.
35933         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
35934         to ...
35935         (__x86_data_cache_size): This.
35936         (__x86_64_raw_data_cache_size): Renamed to ...
35937         (__x86_raw_data_cache_size): This.
35938         (__x86_64_data_cache_size_half): Renamed to ...
35939         (__x86_data_cache_size_half): This.
35940         (__x86_64_raw_data_cache_size_half): Renamed to ...
35941         (__x86_raw_data_cache_size_half): This.
35942         (__x86_64_shared_cache_size): Renamed to ...
35943         (__x86_shared_cache_size): This.
35944         (__x86_64_raw_shared_cache_size): Renamed to ...
35945         (__x86_raw_shared_cache_size): This.
35946         (__x86_64_shared_cache_size_half): Renamed to ...
35947         (__x86_shared_cache_size_half): This.
35948         (__x86_64_raw_shared_cache_size_half): Renamed to ...
35949         (__x86_raw_shared_cache_size_half): This.
35950         * sysdeps/x86_64/memcpy.S: Updated.
35951         * sysdeps/x86_64/memset.S: Likewise.
35952         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
35953         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35954         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35956 2013-01-04  David S. Miller  <davem@davemloft.net>
35958         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35960 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
35962         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
35963         1 to avoid redefinition warning.
35964         (__USE_GNU): Don't define.
35965         (init_signaling_nan): Protoize.
35967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35969 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35971         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
35972         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
35973         (__cpymn): Likewise.
35974         (norm): Remove commented code.
35975         (denorm): Likewise.
35976         (__mp_dbl): Likewise.
35977         (__inv): Likewise.
35978         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
35979         (__cpymn): Likewise.
35980         (norm): Remove commented code.
35981         (denorm): Likewise.
35982         (__mp_dbl): Likewise.
35983         (__inv): Likewise.
35985         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
35986         mp_no value for 1.0 and 2.0.
35987         (norm): Use RADIXI instead of radixi.d.
35988         (denorm): Likewise.
35989         (__mul): Use 0.0 instead of zero.d.
35990         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
35991         mp_no value for 1.0 and 2.0.
35992         (norm): Use RADIXI instead of radixi.d.
35993         (denorm): Likewise.
35994         (__mul): Use 0.0 instead of zero.d.
35996 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
35998         [BZ #14994]
35999         * math/s_casinh.c (__casinh): Reduce finite argument to first
36000         quadrant then set signs of results at the end.
36001         * math/s_casinhf.c (__casinhf): Likewise.
36002         * math/s_casinhl.c (__casinhl): Likewise.
36003         * math/libm-test.inc (casin_test): Add more tests.
36004         (casinh_test): Likewise.
36005         * sysdeps/i386/fpu/libm-test-ulps: Update.
36006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36008 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36010         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
36012         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
36014         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
36015         declarations.
36016         (denorm): Likewise.
36017         (__mp_dbl): Likewise.
36018         (__inv): Likewise.
36020         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
36021         and adjust the header comment.
36023         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
36024         variable name from declaration.
36026 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
36028         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36029         Initialize COMMON_CPUID_INDEX_7 element.
36030         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
36031         (CPUID_RTM): Likewise.
36032         (HAS_RTM): Likewise.
36033         (COMMON_CPUID_INDEX_7): New enum.
36035 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
36037         [BZ #14981]
36038         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
36039         size is zero, record memory as freed.
36041 2013-01-03  Andreas Jaeger  <aj@suse.de>
36043         * po/ia.po: Add new Interlingua translation.
36045 2012-01-03  Allan McRae  <allan@archlinux.org>
36047         * locale/programs/localedef.c: Fix description of '--posix' flag.
36049 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
36051         * NEWS: Update dates in second copyright notice.
36052         * README: Update copyright dates in example.
36053         * manual/libc.texinfo: Update copyright dates.
36054         * scripts/test-installation.pl: Update copyright date in --version
36055         output.
36057         * hurd/ctty-input.c: Fix copyright notice formatting.
36058         * hurd/ctty-output.c: Likewise.
36059         * hurd/dtable.c: Likewise.
36060         * hurd/hurd-raise.c: Likewise.
36061         * hurd/hurdprio.c: Likewise.
36062         * hurd/msgportdemux.c: Likewise.
36063         * misc/sys/file.h: Likewise.
36064         * misc/sys/ioctl.h: Likewise.
36065         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36066         * sysdeps/mach/hurd/chdir.c: Likewise.
36067         * sysdeps/mach/hurd/fchdir.c: Likewise.
36068         * sysdeps/mach/hurd/rename.c: Likewise.
36069         * sysdeps/mach/hurd/rmdir.c: Likewise.
36070         * sysdeps/mach/hurd/seekdir.c: Likewise.
36071         * sysdeps/mach/hurd/setsid.c: Likewise.
36072         * sysdeps/posix/wait3.c: Likewise.
36074         * All files with FSF copyright notices: Update copyright dates
36075         using scripts/update-copyrights.
36076         * intl/plural.c: Regenerated.
36077         * locale/programs/charmap-kw.h: Likewise.
36078         * locale/programs/locfile-kw.h: Likewise.
36080 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36082         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
36083         four values.
36085         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
36086         calculation loop and add branch prediction.
36088         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
36089         check access beyond bounds of m1np.
36091         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36092         MPTWO.
36093         (__inv): Remove local variable MPTWO to use the global
36094         constant.
36095         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
36096         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36097         variable MPTWO.
36098         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
36099         MP3HALFS static const.
36101 2013-01-01  David S. Miller  <davem@davemloft.net>
36103         * po/ca.po: Update from translation team.
36105 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
36107         * scripts/update-copyrights: New file.
36108         * Makeconfig: Reformat copyright notice.
36109         * ctype/ctype.h: Likewise.
36110         * debug/swprintf_chk.c: Likewise.
36111         * elf/dl-cache.c: Likewise.
36112         * elf/dl-debug.c: Likewise.
36113         * elf/dl-object.c: Likewise.
36114         * grp/initgroups.c: Likewise.
36115         * hurd/Makefile: Likewise.
36116         * hurd/hurd/signal.h: Likewise.
36117         * hurd/hurdfault.c: Likewise.
36118         * hurd/hurdioctl.c: Likewise.
36119         * hurd/hurdlookup.c: Likewise.
36120         * hurd/intr-msg.c: Likewise.
36121         * iconv/gconv_open.c: Likewise.
36122         * libio/swprintf.c: Likewise.
36123         * locale/lc-ctype.c: Likewise.
36124         * locale/nl_langinfo.c: Likewise.
36125         * mach/Machrules: Likewise.
36126         * mach/Makefile: Likewise.
36127         * malloc/obstack.h: Likewise.
36128         * manual/Makefile: Likewise.
36129         * manual/tsort.awk: Likewise.
36130         * misc/bits/stab.def: Likewise.
36131         * nis/nis_print_group_entry.c: Likewise.
36132         * nis/nis_table.c: Likewise.
36133         * nis/nss_compat/compat-pwd.c: Likewise.
36134         * nis/nss_compat/compat-spwd.c: Likewise.
36135         * po/Makefile: Likewise.
36136         * posix/fnmatch.c: Likewise.
36137         * posix/regex.h: Likewise.
36138         * resolv/Makefile: Likewise.
36139         * resolv/nss_dns/dns-network.c: Likewise.
36140         * resolv/res_hconf.c: Likewise.
36141         * scripts/gen-sorted.awk: Likewise.
36142         * soft-fp/soft-fp.h: Likewise.
36143         * stdio-common/printf.h: Likewise.
36144         * stdlib/monetary.h: Likewise.
36145         * stdlib/random.c: Likewise.
36146         * stdlib/random_r.c: Likewise.
36147         * sysdeps/generic/Makefile: Likewise.
36148         * sysdeps/gnu/Makefile: Likewise.
36149         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36150         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36151         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36152         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36153         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36154         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36155         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36156         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36157         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36158         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36159         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36160         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36161         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36162         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36163         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
36164         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36165         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36166         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36167         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36168         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36169         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36170         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36171         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36172         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
36173         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
36174         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36175         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
36176         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
36177         * sysdeps/mach/hurd/errnos.awk: Likewise.
36178         * sysdeps/mach/hurd/fork.c: Likewise.
36179         * sysdeps/mach/hurd/getcwd.c: Likewise.
36180         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
36181         * sysdeps/mach/hurd/mmap.c: Likewise.
36182         * sysdeps/mach/hurd/utimes.c: Likewise.
36183         * sysdeps/mach/hurd/xmknod.c: Likewise.
36184         * sysdeps/posix/profil.c: Likewise.
36185         * sysdeps/posix/readdir_r.c: Likewise.
36186         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36187         * sysdeps/powerpc/bits/setjmp.h: Likewise.
36188         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
36189         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36190         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36191         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36192         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36193         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36194         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36195         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36196         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36197         * sysdeps/pthread/lio_listio.c: Likewise.
36198         * sysdeps/sparc/dl-procinfo.h: Likewise.
36199         * sysdeps/unix/i386/sysdep.S: Likewise.
36200         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
36201         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
36202         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
36203         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
36204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36205         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
36206         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
36207         * sysdeps/unix/sysv/linux/speed.c: Likewise.
36208         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
36209         * sysdeps/wordsize-32/divdi3.c: Likewise.
36210         * time/sys/time.h: Likewise.
36211         * wcsmbs/Makefile: Likewise.
36213 2013-01-01  David S. Miller  <davem@davemloft.net>
36215         * po/fr.po: Update from translation team.
36217         * catgets/gencat.c: Update copyright year.
36218         * csu/version.c: Likewise.
36219         * debug/catchsegv.sh: Likewise.
36220         * debug/pcprofiledump.c: Likewise.
36221         * debug/xtrace.sh: Likewise.
36222         * elf/ldconfig.c: Likewise.
36223         * elf/ldd.bash.in: Likewise.
36224         * elf/pldd.c: Likewise.
36225         * elf/sotruss.ksh: Likewise.
36226         * elf/sprof.c: Likewise.
36227         * iconv/iconv_prog.c: Likewise.
36228         * iconv/iconvconfig.c: Likewise.
36229         * locale/programs/locale.c: Likewise.
36230         * locale/programs/localedef.c: Likewise.
36231         * login/programs/pt_chown.c: Likewise.
36232         * malloc/memusage.sh: Likewise.
36233         * malloc/memusagestat.c: Likewise.
36234         * malloc/mtrace.pl: Likewise.
36235         * nscd/nscd.c: Likewise.
36236         * nss/getent.c: Likewise.
36237         * nss/makedb.c: Likewise.
36238         * posix/getconf.c: Likewise.
36240 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36242         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
36243         numbers.
36245 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
36247         * math/bits/mathcalls.h (modf): Use __nonnull.
36249 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36251         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
36252         (split): Use macro CN instead of the bare value.
36253         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
36254         could be used.
36255         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
36256         instead of the bare value.
36257         (power1): Likewise.
36259 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36261         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
36262         __ATAN_TWOM.
36263         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36265         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
36266         their values.
36267         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36268         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36269         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
36270         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36272 2012-12-28  Andreas Jaeger  <aj@suse.de>
36274         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
36275         values are from Linux 3.7.
36277         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
36278         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
36280 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36282         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
36283         TRUE case.
36285         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
36286         (norm): Likewise.
36287         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
36288         variables with preprocessor constants.
36289         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36290         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36291         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36293 2012-12-27  Bruno Haible  <bruno@clisp.org>
36295         [BZ #14317]
36296         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
36297         only if needed.
36299 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36301         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
36302         and use variable directly.
36303         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
36305         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36306         MPONE.
36307         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
36308         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36309         variable MPONE.
36310         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36311         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36312         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
36313         include directive.  Remove local variable MPONE.
36314         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
36315         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
36316         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36318 2012-12-25  David S. Miller  <davem@davemloft.net>
36320         * version.h (RELEASE): Set to "development".
36321         (VERSION): Set to "2.17.90".
36322         * NEWS: Add 2.18 section.
36324 2012-12-21  David S. Miller  <davem@davemloft.net>
36326         * po/hr.po: Update from translation team.
36328 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36330         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
36332 2012-12-19  Steve Ellcey  <sellcey@mips.com>
36334         * NEWS:  Mention new memcpy for MIPS.
36336 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36338         * manual/contrib.texi (Contributors): Spelling correction.
36340 2012-12-15  David S. Miller  <davem@davemloft.net>
36342         * po/ru.po: Update from translation team.
36344 2012-12-13  David S. Miller  <davem@davemloft.net>
36346         * NEWS: Mention IFUNC testsuite enhancements.
36348         * po/pl.po: Update from translation team.
36349         * po/bg.po: Likewise.
36351         * manual/contrib.texi (Contributors): Update entries for Hongjiu
36352         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
36354 2012-12-11  David S. Miller  <davem@davemloft.net>
36356         * po/sv.po: Update from translation team.
36358         * po/vi.po: Update from translation team.
36360         * po/cs.po: Update from translation team.
36362         * po/de.po: Update from translation team.
36363         * po/eo.po: Likewise.
36364         * po/nl.po: Likewise.
36366 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36368         [BZ #14246]
36369         * manual/argp.texi (Argp Helper Functions): Move node to follow
36370         Argp Parsing State.
36372         [BZ #14872]
36373         * manual/conf.texi (Limits on File System Capacity): Mention if
36374         terminating null is included in the max size.
36376 2012-12-10  Andreas Jaeger  <aj@suse.de>
36378         * po/cs.po: Update from translation team.
36380 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36382         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
36383         void pointer and cast to uintptr_t.
36384         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
36385         path.
36386         * sysdeps/s390/s390-64/memcpy.S: Likewise.
36387         * sysdeps/s390/s390-64/memset.S: Likewise.
36389 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
36391         [BZ #14833]
36392         * menual/message.texi (Message Translation): Fix typos.
36393         (Helper programs for gettext): Likewise.
36395 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
36397         [BZ #14898]
36398         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
36399         Change to -1.
36401 2012-12-07  David S. Miller  <davem@davemloft.net>
36403         * po/libc.pot: Update.
36405 2012-12-07  Richard Henderson  <rth@redhat.com>
36407         [BZ #10114]
36408         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
36409         normal/normal case to before the switch.
36410         (_FP_DIV): Likewise.
36412 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
36413             Mike Frysinger  <vapier@gentoo.org>
36415         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
36416         check for __NR_fadvise64_64.
36418 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
36420         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
36421         0, not just to plain "0" as a statement.
36422         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
36423         with cw.
36425 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
36427         * NEWS: Use sourceware.org in Bugzilla URL.
36429 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36432         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
36434         * stdio-common/tst-put-error.c (do_test): Add newline to the
36435         padded test to ensure flush.
36437 2012-12-05  Jeff Law  <law@redhat.com>
36439         * sunrpc/etc.rpc (fedfs_admin): Add entry.
36441 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
36443         * README: Don't refer to ports add-on as distributed separately.
36444         Mention AArch64 in list of systems supported in the ports add-on.
36446         * LICENSES: Add more non-FSF copyright and license notices.
36448         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
36449         ((unused)).
36451         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
36453         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
36454         10000 as width of padded output.
36456 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
36458         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
36460         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
36461         variable LX with __attribute__ ((unused)).
36462         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36463         Likewise.
36464         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
36465         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36466         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
36467         with __attribute__ ((unused)).
36469 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
36471         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
36473 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
36475         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
36476         (CFLAGS-nldbl-acos.c): New variable.
36477         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
36478         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
36479         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
36480         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
36481         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
36482         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
36483         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
36484         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
36485         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
36486         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
36487         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
36488         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
36489         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
36490         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
36491         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
36492         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
36493         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
36494         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
36495         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
36496         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
36497         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
36498         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
36499         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
36500         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
36501         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
36502         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
36503         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
36504         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
36505         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
36506         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
36507         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
36508         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
36509         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
36510         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
36511         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
36512         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
36513         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
36514         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
36515         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
36516         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
36517         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
36518         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
36519         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
36520         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
36521         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
36522         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
36523         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
36524         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
36525         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
36526         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
36527         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
36528         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
36529         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
36530         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
36531         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
36532         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
36533         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
36534         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
36535         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
36536         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
36537         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
36538         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
36539         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
36540         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
36541         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
36542         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
36543         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
36544         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
36545         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
36546         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
36547         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
36548         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
36549         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
36550         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
36551         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
36552         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
36553         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
36554         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
36555         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
36556         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
36557         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
36558         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
36559         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
36560         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
36561         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
36562         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
36563         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
36564         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
36565         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
36566         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
36567         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
36568         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
36569         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
36570         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
36571         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
36572         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
36573         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
36575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36576         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
36578         [BZ #14914]
36579         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
36580         whole low double instead of just low 47 bits when splitting values
36581         into two parts.
36583 2012-12-03  Allan McRae  <allan@archlinux.org>
36585         * manual/stdio.texi (Predefined Printf Handlers): Remove
36586         @hsep and @vsep usage.
36588 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
36590         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
36591         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
36593 2012-12-03  Jeff Law  <law@redhat.com>
36595         * time/sys/time.h (settimeofday): Do not mark TV argument
36596         as __nonnull.
36598 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
36600         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
36601         when currently writing and seek to current position when not.
36602         * libio/Makefile (tests): Remove bug-fclose1.
36603         * libio/bug-fclose1.c: Delete.
36605 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
36607         * manual/arith.texi (feenableexcept): Fix typo.
36608         (fedisableexcept): Likewise.
36610 2012-11-30  Roland McGrath  <roland@hack.frob.com>
36612         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
36613         second, differently-typed declaration, rather than a cast.
36615 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36617         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
36618         * include/rpc/svc.h: ... here.
36620 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
36622         [BZ #13013]
36623         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
36624         depending n and resplen2 to catch cases where answer
36625         equals answerp2.
36627 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
36629         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
36630         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
36632 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
36634         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
36636 2012-11-29  Roland McGrath  <roland@hack.frob.com>
36638         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
36640 2012-11-28  Jeff Law  <law@redhat.com>
36642         [BZ #13761]
36643         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
36644         dataset_temporary.  Track alloca usage into alloca_used.
36645         If dataset is large allocate and release it via malloc/free.
36647 2012-06-04  Florian Weimer  <fweimer@redhat.com>
36649         [BZ #14197]
36650         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
36652 2012-11-28  David S. Miller  <davem@davemloft.net>
36654         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36656 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
36658         [BZ #14803]
36659         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
36660         of pi/2 rounded to nearest to 64 bits.
36661         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
36662         nearest to 64 bits.
36663         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
36664         bits.
36666 2012-11-28  Jeff Law <law@redhat.com>
36667             Martin Osvald <mosvald@redhat.com>
36669         [BZ #14889]
36670         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
36671         * sunrpc/svc.c: Include time.h.
36672         (__svc_accept_failed): New function.
36673         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
36674         any reason other than EINTR, call __svc_accept_failed.
36675         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
36676         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
36678 2012-11-28  Andreas Schwab  <schwab@suse.de>
36680         * scripts/abilist.awk: Also handle indirect functions in .opd
36681         section.
36683 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
36685         [BZ #13881]
36686         * sysdeps/x86/fpu/powl_helper.c: New file.
36687         * sysdeps/x86/fpu/Makefile: Likewise.
36688         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
36689         (p3): New object.
36690         (__ieee754_powl): Use __powl_helper for finite arguments except
36691         integer exponents below 8.
36692         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
36693         (p3): New object.
36694         (__ieee754_powl): Use __powl_helper for finite arguments except
36695         integer exponents below 8.
36696         * math/libm-test.inc (pow_test): Add more tests and enable some
36697         previously disabled tests.
36698         * sysdeps/i386/fpu/libm-test-ulps: Update.
36699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36701 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36702             Carlos O'Donell  <carlos_odonell@mentor.com>
36704         * nss/makedb.c (is_prime): Assert that input is odd and greater
36705         than 4.  Note that fact in a comment too.
36706         (next_prime): Add 4 to input.
36708 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36710         [BZ #11741]
36711         * libio/Makefile (tests): Add test case tst-fwrite-error.
36712         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
36713         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
36714         * libio/tst-fwrite-error.c: New test case.
36716 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
36718         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
36719         before casting to void *.
36720         * include/libc-internal.h (__pointer_type): New macro.
36721         (__integer_if_pointer_type_sub): Likewise.
36722         (__integer_if_pointer_type): Likewise.
36723         (cast_to_integer): Likewise.
36724         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
36725         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
36726         before casting to atomic64_t.
36727         (atomic_exchange_acq): Likewise.
36728         (__arch_exchange_and_add_body): Likewise.
36729         (__arch_add_body): Likewise.
36730         (atomic_add_negative): Likewise.
36731         (atomic_add_zero): Likewise.
36733 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
36735         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
36736         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
36737         (add_fdes): Likewise.
36738         (linear_search_fdes): Likewise.
36739         (binary_search_unencoded_fdes): Likewise.
36741 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
36743         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
36745 2012-11-24  Adam Conrad  <adconrad@0c3.net>
36747         * configure.in: Autodetect C++ header directories.
36748         * configure: Regenerated.
36750 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
36752         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
36754 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
36756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36758 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
36760         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
36761         LDBL_MANT_DIG == 106]: Disable some tests.
36762         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
36763         Likewise.
36764         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
36765         Likewise.
36767         [BZ #14871]
36768         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
36769         input for small inputs.  Return +/- pi/2 for large inputs.
36770         * math/libm-test.inc (atan_test): Add more tests.
36772         * sysdeps/generic/unwind-dw2-fde-glibc.c
36773         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
36774         __attribute__ ((unused)).
36776         [BZ #14645]
36777         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
36778         x * y if x and y are nonzero and z is zero.
36780         [BZ #14811]
36781         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
36782         nonzero exponents with absolute value below 0x1p-117 to +/-
36783         0x1p-117.
36785         [BZ #14869]
36786         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
36787         up arguments below 2**-450, not just those below 2**-500.
36788         * math/libm-test.inc (hypot_test): Add another test.
36790         [BZ #14868]
36791         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
36792         Return a+b for ratio over 2**120, not 2**60.
36793         * math/libm-test.inc (hypot_test): Add another test.
36795         * math/libm-test.inc (clog_test): Use
36796         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
36797         (clog10_test): Likewise.
36799         [BZ #6778]
36800         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
36802 2012-11-22  Andreas Schwab  <schwab@suse.de>
36804         * sysdeps/i386/fpu/libm-test-ulps: Update.
36806 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
36808         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
36809         printf output with newline.
36811 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
36813         [BZ #14865]
36814         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
36815         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
36816         -z nodlopen, -z initfirst and -z execstack support.
36817         * configure: Regenerated.
36819         * elf/elf.h (DF_1_NODIRECT): New macro.
36820         (DF_1_IGNMULDEF): Likewise.
36821         (DF_1_NOKSYMS): Likewise.
36822         (DF_1_NOHDR): Likewise.
36823         (DF_1_EDITED): Likewise.
36824         (DF_1_NORELOC): Likewise.
36825         (DF_1_SYMINTPOSE): Likewise.
36826         (DF_1_GLOBAUDIT): Likewise.
36827         (DF_1_SINGLETON): Likewise.
36828         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
36829         DT_1_SUPPORTED_MASK bits.
36830         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
36832 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
36834         * sysdeps/unix/make-syscalls.sh: Document prefixes.
36836 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
36838         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
36839         macro.
36841         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
36842         (sendmmsg): Move declarations...
36843         * socket/sys/socket.h: ... here.
36844         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
36845         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
36846         include it from...
36847         * socket/recvmmsg.c: ... this new file.
36848         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
36849         (sendmmsg): Rename to __sendmmsg, create weak alias and make
36850         definition of __sendmmsg hidden.
36851         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36852         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
36853         Move ENOSYS stub into and include it from...
36854         * socket/sendmmsg.c: ... this new file.
36855         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
36856         (sysdep_routines): Move recvmmsg and sendmmsg...
36857         * socket/Makefile (routines): ... here.
36858         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
36859         (GLIBC_PRIVATE): Add __sendmmsg.
36860         * include/sys/socket.h (__sendmmsg): Add declarations.
36861         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
36862         sendmmsg.
36864 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
36866         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
36867         variable I1 with __attribute__ ((unused)).
36868         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36870 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
36872         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
36873         DUMMY variables with __attribute__ ((unused)).
36875         * bits/byteswap.h: Include <bits/types.h>.
36876         (__bswap_64): Use __uint64_t instead of unsigned long long int.
36878 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
36880         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
36881         string_t.  Do not manually set errno.
36882         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
36883         length with __strnlen.  Make sure to both set errno and return it on
36884         failure.
36886 2012-11-19  David S. Miller  <davem@davemloft.net>
36888         With help from Joseph Myers.
36889         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
36890         very large arguments properly.
36891         * math/libm-test.inc (atan_test): New tests.
36892         (atan2_test): New tests.
36893         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36894         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36896 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
36898         [BZ #14856]
36899         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
36900         Define to 3.
36902         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
36903         [POSIX] (EADDRNOTAVAIL): Likewise.
36904         [POSIX] (EAFNOSUPPORT): Likewise.
36905         [POSIX] (EALREADY): Likewise.
36906         [POSIX] (ECONNABORTED): Likewise.
36907         [POSIX] (ECONNREFUSED): Likewise.
36908         [POSIX] (ECONNRESET): Likewise.
36909         [POSIX] (EDESTADDRREQ): Likewise.
36910         [POSIX] (EDQUOT): Likewise.
36911         [POSIX] (EHOSTUNREACH): Likewise.
36912         [POSIX] (EIDRM): Likewise.
36913         [POSIX] (EISCONN): Likewise.
36914         [POSIX] (ELOOP): Likewise.
36915         [POSIX] (EMULTIHOP): Likewise.
36916         [POSIX] (ENETDOWN): Likewise.
36917         [POSIX] (ENETUNREACH): Likewise.
36918         [POSIX] (ENOBUFS): Likewise.
36919         [POSIX] (ENODATA): Likewise.
36920         [POSIX] (ENOLINK): Likewise.
36921         [POSIX] (ENOMSG): Likewise.
36922         [POSIX] (ENOPROTOOPT): Likewise.
36923         [POSIX] (ENOSR): Likewise.
36924         [POSIX] (ENOSTR): Likewise.
36925         [POSIX] (ENOTCONN): Likewise.
36926         [POSIX] (ENOTSOCK): Likewise.
36927         [POSIX] (EOPNOTSUPP): Likewise.
36928         [POSIX] (EOVERFLOW): Likewise.
36929         [POSIX] (EPROTO): Likewise.
36930         [POSIX] (EPROTONOSUPPORT): Likewise.
36931         [POSIX] (EPROTOTYPE): Likewise.
36932         [POSIX] (ESTALE): Likewise.
36933         [POSIX] (ETIME): Likewise.
36934         [POSIX] (ETXTBSY): Likewise.
36935         [POSIX] (EWOULDBLOCK): Likewise.
36936         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
36937         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
36938         [POSIX] (SEEK_CUR): Likewise.
36939         [POSIX] (SEEK_END): Likewise.
36940         [POSIX || UNIX98] (mode_t): Do not require.
36941         [POSIX] (off_t): Likewise.
36942         [POSIX] (pid_t): Likewise.
36943         [POSIX] (sys/stat.h): Do not allow header.
36944         [POSIX] (unistd.h): Likewise.
36945         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
36946         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
36947         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
36948         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
36949         require.
36950         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
36951         sigevent): Specify elements.
36952         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
36953         entry.
36954         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
36955         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
36957         * conform/data/cpio.h-data [POSIX]: Disable whole file.
36958         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
36959         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
36960         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
36961         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
36962         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
36963         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
36964         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
36965         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
36966         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
36967         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
36968         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
36969         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
36970         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
36971         Likewise.
36972         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
36973         Likewise.
36974         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
36975         Likewise.
36976         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
36977         Likewise.
36978         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
36979         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
36980         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
36981         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
36982         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
36983         Specify lower bound on value.
36984         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
36985         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
36986         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
36987         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
36988         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
36989         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
36990         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
36991         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
36992         value.
36993         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
36994         as optional.
36995         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
36996         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
36997         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
36998         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
36999         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
37000         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
37001         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
37002         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
37003         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
37004         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
37005         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
37006         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
37007         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
37008         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
37009         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
37010         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
37011         entry.
37012         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
37013         optional.
37014         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
37015         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
37016         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
37017         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
37018         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
37019         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
37020         Likewise.
37021         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
37022         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
37023         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
37024         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
37025         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
37026         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
37027         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
37028         as optional.
37029         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
37030         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
37031         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
37032         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
37033         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
37034         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
37035         specify as optional.
37036         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
37037         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
37038         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
37039         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
37040         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
37041         [XPG3] (NL_LANGMAX): Likewise.
37042         [POSIX || XPG3] (NL_MSGMAX): Likewise.
37043         [POSIX || XPG3] (NL_NMAX): Likewise.
37044         [POSIX || XPG3] (NL_SETMAX): Likewise.
37045         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
37046         [XPG3] (NZERO): Likewise.
37047         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
37048         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
37049         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
37050         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
37051         (REG_ERANGE): Expect.
37052         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
37053         optional-constant.
37054         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
37055         Use (void) in prototype.
37056         [POSIX] (*_t): Allow.
37057         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
37058         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
37059         (WRDE_BADVAL): Expect.
37061         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
37062         expect.
37063         [XPG3 || XPG4] (O_RSYNC): Likewise.
37064         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
37065         Likewise.
37066         [XPG3 || XPG4] (pthread_sigmask): Likewise.
37067         [XPG3 || XPG4] (sigqueue): Likewise.
37068         [XPG3 || XPG4] (sigtimedwait): Likewise.
37069         [XPG3 || XPG4] (sigwaitinfo): Likewise.
37070         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
37071         [XPG3 || XPG4] (vsnprintf): Likewise.
37072         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
37073         Likewise.
37074         [XPG3 || XPG4] (blksize_t): Likewise.
37075         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
37076         Likewise.
37077         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
37078         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37079         [XPG3 || XPG4] (struct itimerspec): Likewise.
37080         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
37081         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
37082         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
37083         [XPG3 || XPG4] (clockid_t): Likewise.
37084         [XPG3 || XPG4] (timer_t): Likewise.
37085         [XPG3 || XPG4] (clock_getres): Likewise.
37086         [XPG3 || XPG4] (clock_gettime): Likewise.
37087         [XPG3 || XPG4] (clock_settime): Likewise.
37088         [XPG3 || XPG4] (nanosleep): Likewise.
37089         [XPG3 || XPG4] (timer_create): Likewise.
37090         [XPG3 || XPG4] (timer_delete): Likewise.
37091         [XPG3 || XPG4] (timer_gettime): Likewise.
37092         [XPG3 || XPG4] (timer_getoverrun): Likewise.
37093         [XPG3 || XPG4] (timer_settime): Likewise.
37094         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
37095         [XPG3 || XPG4] (getlogin_r): Likewise.
37096         [XPG3 || XPG4] (pread): Likewise.
37097         [XPG3 || XPG4] (pthread_atfork): Likewise.
37098         [XPG3 || XPG4] (pwrite): Likewise.
37100         [BZ #14835]
37101         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
37102         <bits/siginfo.h>.
37104 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
37106         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
37107         finalizing MALLSTREAM.
37109         * sysdeps/mach/hurd/syncfs.c: New file.
37111 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37113         [BZ #14719]
37114         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
37115         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
37116         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
37117         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
37118         (_nss_dns_gethostbyname4_r): Likewise.
37119         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
37120         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
37122 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
37124         [BZ #13763]
37125         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
37127 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
37129         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
37130         * elf/cache.c (print_entry): Print ",AArch64" for
37131         FLAG_AARCH64_LIB64
37133         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
37134         * elf/cache.c (print_entry): Print ",hard-float" for
37135         FLAG_ARM_LIBHF.
37137 2012-11-18  David S. Miller  <davem@davemloft.net>
37139         With help from Joseph Myers.
37140         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
37141         cutoff to 2**-13.
37142         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
37143         cutoff to 2**-25.
37144         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
37145         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
37146         small.
37147         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
37148         * math/libm-test.inc (y0_test): New tests.
37149         (y1_test): New tests.
37150         * sysdeps/i386/fpu/libm-test-ulps: Update.
37151         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37152         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37154 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
37156         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
37157         64-bit targets.
37158         * configure: Regenerated.
37160 2012-11-17  David S. Miller  <davem@davemloft.net>
37162         [BZ #14811]
37163         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
37164         nonzero exponents with absolute value below 0x1p-128 to +/-
37165         0x1p-128.
37167 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
37169         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
37171         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
37173         * posix/getconf-speclist.c: New file.
37174         * posix/posix-envs.def: Likewise.
37175         * posix/confstr.c (START_ENV_GROUP): New macro.
37176         (END_ENV_GROUP): Likewise.
37177         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37178         (KNOWN_PRESENT_ENV_STRING): Likewise.
37179         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37180         (UNKNOWN_ENVIRONMENT): Likewise.
37181         (confstr): Include posix-envs.def instead of handling
37182         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
37183         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
37184         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
37185         (END_ENV_GROUP): Likewise.
37186         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37187         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37188         (UNKNOWN_ENVIRONMENT): Likewise.
37189         (__sysconf): Include posix-envs.def instead of handling associated
37190         cases directly here.
37191         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
37192         preprocessing getconf-speclist.c rather than running getconf or
37193         generating empty file.
37195 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
37197         * scripts/check-local-headers.sh: Ignore 'mach' headers.
37199 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
37201         [BZ #14672]
37202         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
37204 2012-11-16  David S. Miller  <davem@davemloft.net>
37206         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
37207         smaller than LDBL_EPSILON/2.0L, just return xm1.
37209 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
37211         * elf/tst-array1.c (init): Set constructor priority to 1000.
37212         (fini): Set destructor priority to 1000.
37213         * elf/tst-array2dep.c: Likewise.
37215 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37217         [BZ #11741]
37218         * libio/fileops.c (_IO_new_file_write): Correctly return error.
37219         (_IO_new_file_xsputn): Also return EOF if none of the input
37220         data was written when overflow failed.
37221         * libio/iopadn.c (_IO_padn): Likewise.
37222         * libio/iowpadn.c (_IO_wpadn): Likewise.
37223         * stdio-common/tst-put-error.c: Add copyright notice.
37224         (do_test): Add case for printing padded string.
37225         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
37226         _IO_padn returned error.
37227         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
37228         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
37229         return EOF.
37231 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37233         * libio/libioP.h: Add comment note that the references to C++
37234         bits are now obsolete.
37236 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37238         * math/libm-test.inc (check_complex): Use asprintf.
37240 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
37242         * debug/pcprofiledump.c (print_version): Update copyright year.
37243         * malloc/memusagestat.c (print_version): Likewise.
37245 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
37247         [BZ #14831]
37248         * elf/Makefile (tests): Add tst-audit8.
37249         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
37250         ($(objpfx)tst-audit8.out): New target.
37251         (tst-audit8-ENV): New variable.
37252         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
37253         audit if l_reloc_result is NULL.
37254         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
37255         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
37256         * elf/tst-audit8.c: New file.
37258 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37260         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
37261         * misc/Makefile (CFLAGS-select.c): Define.
37262         * posix/Makefile (CFLAGS-pause.c): Define.
37264 2012-11-13  David S. Miller  <davem@davemloft.net>
37266         * crypt/Makefile: Move test targets after toplevel Rules
37267         inclusion.  Grab any necessary sysdep routines when linking.
37268         * crypt/md5.c (md5_process_block): Remove define, we will always
37269         name it __md5_process_block.
37270         (md5_finish_ctx): Update md5_process_block call.
37271         (md5_stream): Likewise.
37272         (md5_process_bytes): Likewise.
37273         (md5_process_block): Rename to __md5_process_block and move to ...
37274         * crypt/md5-block.c: ... here.
37275         * crypt/sha256.c (sha256_process_block): Move to ...
37276         * crypt/sha256-block.c: ... here.
37277         * crypt/sha512.c (sha512_process_block): Move to ...
37278         * crypt/sha512-block.c: ... here.
37279         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
37280         path.
37281         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
37282         * sysdeps/sparc/sparc64/multiarch/Makefile
37283         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
37284         crypt subdir.
37285         (localedef-aux): Add md5 crypto assembler when in locale subdir.
37286         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
37287         multiarch changes.
37288         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
37289         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
37290         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
37291         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
37292         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
37293         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
37294         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
37295         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
37296         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
37297         file.
37298         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
37299         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
37300         file.
37301         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
37303 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
37305         * timezone/tzselect.ksh: Update from tzcode git revision
37306         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
37307         * timezone/zdump.c: Likewise.
37308         * timezone/zic.c: Likewise.
37309         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
37310         in TZVERSION setting, not $(PKGVERSION).
37311         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
37312         REPORT_BUGS_TO settings.
37314         [BZ #14838]
37315         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
37316         macro.
37318 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37320         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
37321         detection to immediately after _FP_ROUND().
37322         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
37323         bits are 0.
37325 2012-11-11  David S. Miller  <davem@davemloft.net>
37327         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
37328         inttypes.h
37329         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
37330         __close rather than their public counterparts.
37332 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
37334         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
37335         file.
37336         [UNIX98] (sem_timedwait): Do not expect.
37337         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
37338         [XPG4 || UNIX98] (sockatmark): Do not expect.
37339         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
37340         (clock_getcpuclockid): Do not expect.
37341         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
37342         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
37343         Do not expect.
37344         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
37345         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
37346         [UNIX98] (vwscanf): Likewise.
37347         [UNIX98] (vswscanf): Likewise.
37349 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
37351         * timezone/version.h: Remove file.
37352         * timezone/README: Do not refer to version.h.
37353         * timezone/Makefile ($(objpfx)zic.o): New dependency on
37354         $(objpfx)version.h.
37355         ($(objpfx)zdump.o): Likewise.
37356         ($(objpfx)version.h): New target.
37358         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
37359         2012i.
37360         * timezone/README: Don't mention modification to tzselect.ksh.
37361         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
37362         work on unmodified tzselect.ksh.  Substitute version numbers in
37363         tzselect.ksh.
37365         * Makefile (format-me): Remove.
37366         (INSTALL): Adjust indentation.  Use commands directly instead of
37367         using $(format-me).
37369         * aclocal.m4 (ACX_PKGVERSION): New macro.
37370         (ACX_BUGURL): Likewise.
37371         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
37372         (PKGVERSION): New AC_DEFINE_UNQUOTED.
37373         (REPORT_BUGS_TO): Likewise.
37374         * configure: Regenerated.
37375         * config.h.in (PKGVERSION): New macro.
37376         (REPORT_BUGS_TO): Likewise.
37377         * config.make.in (PKGVERSION): New variable.
37378         (PKGVERSION_TEXI): Likewise.
37379         (REPORT_BUGS_TO): Likewise.
37380         (REPORT_BUGS_TEXI): Likewise.
37381         * Makefile (format-me): Use -I$(common-objpfx)manual.
37382         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
37383         ($(common-objpfx)manual/%): New target.
37384         (manual/%): Remove target.
37385         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
37386         (print_version): Use PKGVERSION.
37387         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
37388         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
37389         and REPORT_BUGS_TO.
37390         ($(objpfx)xtrace): Likewise.
37391         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
37392         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
37393         (print_version): Use PKGVERSION.
37394         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
37395         (do_version): Use PKGVERSION.
37396         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
37397         REPORT_BUGS_TO.
37398         (common-ldd-rewrite): Likewise.
37399         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
37400         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
37401         (print_version): Use PKGVERSION.
37402         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
37403         * elf/pldd.c (argp_program_bug_address): Remove variable.
37404         (more_help): New function.
37405         (argp): Use more_help.
37406         (print_version): Use PKGVERSION.
37407         * elf/sln.c (main): Use PKGVERSION.
37408         (usage): Use REPORT_BUGS_TO.
37409         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
37410         (top level): Use PKGVERSION.
37411         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
37412         (print_version): Use PKGVERSION.
37413         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
37414         (print_version): Use PKGVERSION.
37415         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
37416         (print_version): Use PKGVERSION.
37417         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
37418         (print_version): Use PKGVERSION.
37419         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
37420         (print_version): Use PKGVERSION.
37421         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
37422         (print_version): Use PKGVERSION.
37423         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
37424         and BUGURL.
37425         ($(objpfx)memusage): Likewise.
37426         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
37427         (do_version): Use PKGVERSION.
37428         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
37429         (print_version): Use PKGVERSION.
37430         * malloc/mtrace.pl ($PACKAGE): Remove variable.
37431         ($PKGVERSION): New variable.
37432         ($REPORT_BUGS_TO): Likewise.
37433         (usage): Use $REPORT_BUGS_TO.
37434         (top level): Use $PKGVERSION.
37435         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
37436         ($(objpfx)pkgvers.texi): New rule.
37437         ($(objpfx)stamp-pkgvers): Likewise.
37438         * manual/install.texi: Include pkgvers.texi.
37439         (--with-pkgversion): Document new configure option.
37440         (--with-bugurl): Likewise.
37441         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
37442         than necessarily for this particular distribution.  Use
37443         REPORT_BUGS_TO for where to report bugs.
37444         * INSTALL: Regenerated.
37445         * manual/libc.texinfo: Include pkgvers.texi.
37446         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
37447         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
37448         (print_version): Use PKGVERSION.
37449         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
37450         (print_version): Use PKGVERSION.
37451         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
37452         (print_version): Use PKGVERSION.
37453         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
37454         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
37455         macro.
37456         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
37457         (print_version): Use PKGVERSION.
37458         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
37459         (print_version): Use PKGVERSION.
37460         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
37461         and PKGVERSION.
37463         * timezone/checktab.awk: Update from tzcode 2012i.
37464         * timezone/ialloc.c: Likewise.
37465         * timezone/private.h: Likewise.
37466         * timezone/scheck.c: Likewise.
37467         * timezone/tzfile.h: Likewise.
37468         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
37469         (TZVERSION): Hardcode tzcode version number.
37470         * timezone/zdump.c: Update from tzcode 2012i.
37471         * timezone/zic.c: Likewise.
37472         * timezone/version.h: New file.
37473         * timezone/README: Describe version.h.  Update upstream location.
37475         [BZ #14824]
37476         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
37477         (mktemp): Enable declaration.
37478         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
37479         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
37480         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
37481         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
37482         Likewise.
37483         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
37484         Likewise.
37485         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
37486         Likewise.
37487         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
37488         Likewise.
37489         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
37490         Likewise.
37491         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
37492         Likewise.
37494         [BZ #14821]
37495         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
37496         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
37497         for copies of such integer values.
37498         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37499         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37501 2012-11-09  Andreas Jaeger  <aj@suse.de>
37503         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
37504         definitions and declarations that are provided by
37505         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37507 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37509         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
37510         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
37511         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
37512         definition.
37514 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37516         * elf/elf.h: Update comment before AArch64 relocations.
37518 2012-11-07  David S. Miller  <davem@davemloft.net>
37520         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
37521         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37522         (__start_context): Declare.
37523         (__makecontext_ret): Delete.
37524         (__makecontext): Hook up __start_context instead of
37525         __makecontext_ret.
37526         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
37527         (sysdep_routines): Add __start_context when in stdlib.
37529 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
37531         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
37532         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
37533         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
37534         hardcoded "nm".
37535         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
37536         (READELF): New variable.  Use it instead of hardcoded "readelf".
37538 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
37540         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
37541         * sysdeps/x86/Makefile: Here.
37542         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
37543         * sysdeps/x86/tst-xmmymm.sh: This.
37545 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
37547         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
37548         expectations.
37549         [UNIX98] (pthread_barrier_t): Do not expect.
37550         [UNIX98] (pthread_barrierattr_t): Likewise.
37551         [UNIX98] (pthread_spinlock_t): Likewise.
37552         [UNIX98] (pthread_barrier_destroy): Likewise.
37553         [UNIX98] (pthread_barrier_init): Likewise.
37554         [UNIX98] (pthread_barrier_wait): Likewise.
37555         [UNIX98] (pthread_barrierattr_destroy): Likewise.
37556         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
37557         [UNIX98] (pthread_barrierattr_init): Likewise.
37558         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
37559         [UNIX98] (pthread_getcpuclockid): Likewise.
37560         [UNIX98] (pthread_mutex_timedlock): Likewise.
37561         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
37562         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
37563         [UNIX98] (pthread_sigmask): Likewise.
37564         [UNIX98] (pthread_spin_destroy): Likewise.
37565         [UNIX98] (pthread_spin_init): Likewise.
37566         [UNIX98] (pthread_spin_lock): Likewise.
37567         [UNIX98] (pthread_spin_trylock): Likewise.
37568         [UNIX98] (pthread_spin_unlock): Likewise.
37569         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
37570         Do not expect.
37571         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
37572         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
37573         [XPG3 || XPG4] (pthread_cond_t): Likewise.
37574         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
37575         [XPG3 || XPG4] (pthread_key_t): Likewise.
37576         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
37577         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
37578         [XPG3 || XPG4] (pthread_once_t): Likewise.
37579         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
37580         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
37581         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
37582         [XPG3 || XPG4] (pthread_t): Likewise.
37584         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
37585         not expect.
37586         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
37588         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
37589         Change function return type to int.
37591         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
37592         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
37593         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
37594         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
37595         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
37596         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
37597         [!POSIX] (posix_madvise): Likewise.
37598         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
37599         && !UNIX98].
37600         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
37601         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
37602         (mode_t): Likewise.
37603         (posix_mem_offset): Likewise.
37604         (posix_typed_mem_get_info): Likewise.
37605         (posix_typed_mem_open): Likewise.
37607         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
37608         Change condition to [XOPEN2K8].
37610         * conform/conformtest.pl: Preprocess allow-header data with -x c
37611         instead of from stdin.
37612         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
37613         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
37614         [C99-based standards] (cerfc): Likewise.
37615         [C99-based standards] (cexp2): Likewise.
37616         [C99-based standards] (cexpm1): Likewise.
37617         [C99-based standards] (clog10): Likewise.
37618         [C99-based standards] (clog1p): Likewise.
37619         [C99-based standards] (clog2): Likewise.
37620         [C99-based standards] (clgamma): Likewise.
37621         [C99-based standards] (ctgamma): Likewise.
37622         [C99-based standards] (cerff): Likewise.
37623         [C99-based standards] (cerfcf): Likewise.
37624         [C99-based standards] (cexp2f): Likewise.
37625         [C99-based standards] (cexpm1f): Likewise.
37626         [C99-based standards] (clog10f): Likewise.
37627         [C99-based standards] (clog1pf): Likewise.
37628         [C99-based standards] (clog2f): Likewise.
37629         [C99-based standards] (clgammaf): Likewise.
37630         [C99-based standards] (ctgammaf): Likewise.
37631         [C99-based standards] (cerfl): Likewise.
37632         [C99-based standards] (cerfcl): Likewise.
37633         [C99-based standards] (cexp2l): Likewise.
37634         [C99-based standards] (cexpm1l): Likewise.
37635         [C99-based standards] (clog10l): Likewise.
37636         [C99-based standards] (clog1pl): Likewise.
37637         [C99-based standards] (clog2l): Likewise.
37638         [C99-based standards] (clgammal): Likewise.
37639         [C99-based standards] (ctgammal): Likewise.
37640         * conform/data/inttypes.h-data [C99-based standards]: Include
37641         stdint.h-data.  Remove all expectations for stdint.h contents.
37642         [C99-based standards] (PRI*): Do not allow.
37643         [C99-based standards] (SCN*): Likewise.
37644         [C99-based standards] (*_t): Likewise.
37645         [C99-based-standards] (PRId8): Expect macro.
37646         [C99-based-standards] (PRIi8): Likewise.
37647         [C99-based-standards] (PRIo8): Likewise.
37648         [C99-based-standards] (PRIu8): Likewise.
37649         [C99-based-standards] (PRIx8): Likewise.
37650         [C99-based-standards] (PRIX8): Likewise.
37651         [C99-based-standards] (SCNd8): Likewise.
37652         [C99-based-standards] (SCNi8): Likewise.
37653         [C99-based-standards] (SCNo8): Likewise.
37654         [C99-based-standards] (SCNu8): Likewise.
37655         [C99-based-standards] (SCNx8): Likewise.
37656         [C99-based-standards] (PRIdLEAST8): Likewise.
37657         [C99-based-standards] (PRIiLEAST8): Likewise.
37658         [C99-based-standards] (PRIoLEAST8): Likewise.
37659         [C99-based-standards] (PRIuLEAST8): Likewise.
37660         [C99-based-standards] (PRIxLEAST8): Likewise.
37661         [C99-based-standards] (PRIXLEAST8): Likewise.
37662         [C99-based-standards] (SCNdLEAST8): Likewise.
37663         [C99-based-standards] (SCNiLEAST8): Likewise.
37664         [C99-based-standards] (SCNoLEAST8): Likewise.
37665         [C99-based-standards] (SCNuLEAST8): Likewise.
37666         [C99-based-standards] (SCNxLEAST8): Likewise.
37667         [C99-based-standards] (PRIdFAST8): Likewise.
37668         [C99-based-standards] (PRIiFAST8): Likewise.
37669         [C99-based-standards] (PRIoFAST8): Likewise.
37670         [C99-based-standards] (PRIuFAST8): Likewise.
37671         [C99-based-standards] (PRIxFAST8): Likewise.
37672         [C99-based-standards] (PRIXFAST8): Likewise.
37673         [C99-based-standards] (SCNdFAST8): Likewise.
37674         [C99-based-standards] (SCNiFAST8): Likewise.
37675         [C99-based-standards] (SCNoFAST8): Likewise.
37676         [C99-based-standards] (SCNuFAST8): Likewise.
37677         [C99-based-standards] (SCNxFAST8): Likewise.
37678         [C99-based-standards] (PRId16): Likewise.
37679         [C99-based-standards] (PRIi16): Likewise.
37680         [C99-based-standards] (PRIo16): Likewise.
37681         [C99-based-standards] (PRIu16): Likewise.
37682         [C99-based-standards] (PRIx16): Likewise.
37683         [C99-based-standards] (PRIX16): Likewise.
37684         [C99-based-standards] (SCNd16): Likewise.
37685         [C99-based-standards] (SCNi16): Likewise.
37686         [C99-based-standards] (SCNo16): Likewise.
37687         [C99-based-standards] (SCNu16): Likewise.
37688         [C99-based-standards] (SCNx16): Likewise.
37689         [C99-based-standards] (PRIdLEAST16): Likewise.
37690         [C99-based-standards] (PRIiLEAST16): Likewise.
37691         [C99-based-standards] (PRIoLEAST16): Likewise.
37692         [C99-based-standards] (PRIuLEAST16): Likewise.
37693         [C99-based-standards] (PRIxLEAST16): Likewise.
37694         [C99-based-standards] (PRIXLEAST16): Likewise.
37695         [C99-based-standards] (SCNdLEAST16): Likewise.
37696         [C99-based-standards] (SCNiLEAST16): Likewise.
37697         [C99-based-standards] (SCNoLEAST16): Likewise.
37698         [C99-based-standards] (SCNuLEAST16): Likewise.
37699         [C99-based-standards] (SCNxLEAST16): Likewise.
37700         [C99-based-standards] (PRIdFAST16): Likewise.
37701         [C99-based-standards] (PRIiFAST16): Likewise.
37702         [C99-based-standards] (PRIoFAST16): Likewise.
37703         [C99-based-standards] (PRIuFAST16): Likewise.
37704         [C99-based-standards] (PRIxFAST16): Likewise.
37705         [C99-based-standards] (PRIXFAST16): Likewise.
37706         [C99-based-standards] (SCNdFAST16): Likewise.
37707         [C99-based-standards] (SCNiFAST16): Likewise.
37708         [C99-based-standards] (SCNoFAST16): Likewise.
37709         [C99-based-standards] (SCNuFAST16): Likewise.
37710         [C99-based-standards] (SCNxFAST16): Likewise.
37711         [C99-based-standards] (PRId32): Likewise.
37712         [C99-based-standards] (PRIi32): Likewise.
37713         [C99-based-standards] (PRIo32): Likewise.
37714         [C99-based-standards] (PRIu32): Likewise.
37715         [C99-based-standards] (PRIx32): Likewise.
37716         [C99-based-standards] (PRIX32): Likewise.
37717         [C99-based-standards] (SCNd32): Likewise.
37718         [C99-based-standards] (SCNi32): Likewise.
37719         [C99-based-standards] (SCNo32): Likewise.
37720         [C99-based-standards] (SCNu32): Likewise.
37721         [C99-based-standards] (SCNx32): Likewise.
37722         [C99-based-standards] (PRIdLEAST32): Likewise.
37723         [C99-based-standards] (PRIiLEAST32): Likewise.
37724         [C99-based-standards] (PRIoLEAST32): Likewise.
37725         [C99-based-standards] (PRIuLEAST32): Likewise.
37726         [C99-based-standards] (PRIxLEAST32): Likewise.
37727         [C99-based-standards] (PRIXLEAST32): Likewise.
37728         [C99-based-standards] (SCNdLEAST32): Likewise.
37729         [C99-based-standards] (SCNiLEAST32): Likewise.
37730         [C99-based-standards] (SCNoLEAST32): Likewise.
37731         [C99-based-standards] (SCNuLEAST32): Likewise.
37732         [C99-based-standards] (SCNxLEAST32): Likewise.
37733         [C99-based-standards] (PRIdFAST32): Likewise.
37734         [C99-based-standards] (PRIiFAST32): Likewise.
37735         [C99-based-standards] (PRIoFAST32): Likewise.
37736         [C99-based-standards] (PRIuFAST32): Likewise.
37737         [C99-based-standards] (PRIxFAST32): Likewise.
37738         [C99-based-standards] (PRIXFAST32): Likewise.
37739         [C99-based-standards] (SCNdFAST32): Likewise.
37740         [C99-based-standards] (SCNiFAST32): Likewise.
37741         [C99-based-standards] (SCNoFAST32): Likewise.
37742         [C99-based-standards] (SCNuFAST32): Likewise.
37743         [C99-based-standards] (SCNxFAST32): Likewise.
37744         [C99-based-standards] (PRId64): Likewise.
37745         [C99-based-standards] (PRIi64): Likewise.
37746         [C99-based-standards] (PRIo64): Likewise.
37747         [C99-based-standards] (PRIu64): Likewise.
37748         [C99-based-standards] (PRIx64): Likewise.
37749         [C99-based-standards] (PRIX64): Likewise.
37750         [C99-based-standards] (SCNd64): Likewise.
37751         [C99-based-standards] (SCNi64): Likewise.
37752         [C99-based-standards] (SCNo64): Likewise.
37753         [C99-based-standards] (SCNu64): Likewise.
37754         [C99-based-standards] (SCNx64): Likewise.
37755         [C99-based-standards] (PRIdLEAST64): Likewise.
37756         [C99-based-standards] (PRIiLEAST64): Likewise.
37757         [C99-based-standards] (PRIoLEAST64): Likewise.
37758         [C99-based-standards] (PRIuLEAST64): Likewise.
37759         [C99-based-standards] (PRIxLEAST64): Likewise.
37760         [C99-based-standards] (PRIXLEAST64): Likewise.
37761         [C99-based-standards] (SCNdLEAST64): Likewise.
37762         [C99-based-standards] (SCNiLEAST64): Likewise.
37763         [C99-based-standards] (SCNoLEAST64): Likewise.
37764         [C99-based-standards] (SCNuLEAST64): Likewise.
37765         [C99-based-standards] (SCNxLEAST64): Likewise.
37766         [C99-based-standards] (PRIdFAST64): Likewise.
37767         [C99-based-standards] (PRIiFAST64): Likewise.
37768         [C99-based-standards] (PRIoFAST64): Likewise.
37769         [C99-based-standards] (PRIuFAST64): Likewise.
37770         [C99-based-standards] (PRIxFAST64): Likewise.
37771         [C99-based-standards] (PRIXFAST64): Likewise.
37772         [C99-based-standards] (SCNdFAST64): Likewise.
37773         [C99-based-standards] (SCNiFAST64): Likewise.
37774         [C99-based-standards] (SCNoFAST64): Likewise.
37775         [C99-based-standards] (SCNuFAST64): Likewise.
37776         [C99-based-standards] (SCNxFAST64): Likewise.
37777         [C99-based-standards] (PRIdMAX): Likewise.
37778         [C99-based-standards] (PRIiMAX): Likewise.
37779         [C99-based-standards] (PRIoMAX): Likewise.
37780         [C99-based-standards] (PRIuMAX): Likewise.
37781         [C99-based-standards] (PRIxMAX): Likewise.
37782         [C99-based-standards] (PRIXMAX): Likewise.
37783         [C99-based-standards] (SCNdMAX): Likewise.
37784         [C99-based-standards] (SCNiMAX): Likewise.
37785         [C99-based-standards] (SCNoMAX): Likewise.
37786         [C99-based-standards] (SCNuMAX): Likewise.
37787         [C99-based-standards] (SCNxMAX): Likewise.
37788         [C99-based-standards] (PRIdPTR): Likewise.
37789         [C99-based-standards] (PRIiPTR): Likewise.
37790         [C99-based-standards] (PRIoPTR): Likewise.
37791         [C99-based-standards] (PRIuPTR): Likewise.
37792         [C99-based-standards] (PRIxPTR): Likewise.
37793         [C99-based-standards] (PRIXPTR): Likewise.
37794         [C99-based-standards] (SCNdPTR): Likewise.
37795         [C99-based-standards] (SCNiPTR): Likewise.
37796         [C99-based-standards] (SCNoPTR): Likewise.
37797         [C99-based-standards] (SCNuPTR): Likewise.
37798         [C99-based-standards] (SCNxPTR): Likewise.
37799         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
37800         allow.
37801         * conform/data/stdint.h-data: Update comments to clarify
37802         requirements.
37803         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
37804         type.
37805         [C99-based standards] (INT8_MAX): Likewise.
37806         [C99-based standards] (INT16_MIN): Likewise.
37807         [C99-based standards] (INT16_MAX): Likewise.
37808         [C99-based standards] (INT32_MIN): Likewise.
37809         [C99-based standards] (INT32_MAX): Likewise.
37810         [C99-based standards] (INT64_MIN): Likewise.
37811         [C99-based standards] (INT64_MAX): Likewise.
37812         [C99-based standards] (UINT8_MAX): Likewise.
37813         [C99-based standards] (UINT16_MAX): Likewise.
37814         [C99-based standards] (UINT32_MAX): Likewise.
37815         [C99-based standards] (UINT64_MAX): Likewise.
37816         [C99-based standards] (INT_LEAST8_MIN): Likewise.
37817         [C99-based standards] (INT_LEAST8_MAX): Likewise.
37818         [C99-based standards] (INT_LEAST16_MIN): Likewise.
37819         [C99-based standards] (INT_LEAST16_MAX): Likewise.
37820         [C99-based standards] (INT_LEAST32_MIN): Likewise.
37821         [C99-based standards] (INT_LEAST32_MAX): Likewise.
37822         [C99-based standards] (INT_LEAST64_MIN): Likewise.
37823         [C99-based standards] (INT_LEAST64_MAX): Likewise.
37824         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
37825         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
37826         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
37827         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
37828         [C99-based standards] (INT_FAST8_MIN): Likewise.
37829         [C99-based standards] (INT_FAST8_MAX): Likewise.
37830         [C99-based standards] (INT_FAST16_MIN): Likewise.
37831         [C99-based standards] (INT_FAST16_MAX): Likewise.
37832         [C99-based standards] (INT_FAST32_MIN): Likewise.
37833         [C99-based standards] (INT_FAST32_MAX): Likewise.
37834         [C99-based standards] (INT_FAST64_MIN): Likewise.
37835         [C99-based standards] (INT_FAST64_MAX): Likewise.
37836         [C99-based standards] (UINT_FAST8_MAX): Likewise.
37837         [C99-based standards] (UINT_FAST16_MAX): Likewise.
37838         [C99-based standards] (UINT_FAST32_MAX): Likewise.
37839         [C99-based standards] (UINT_FAST64_MAX): Likewise.
37840         [C99-based standards] (INTPTR_MIN): Likewise.
37841         [C99-based standards] (INTPTR_MAX): Likewise.
37842         [C99-based standards] (UINTPTR_MAX): Likewise.
37843         [C99-based standards] (INTMAX_MIN): Likewise.
37844         [C99-based standards] (INTMAX_MAX): Likewise.
37845         [C99-based standards] (UINTMAX_MAX): Likewise.
37846         [C99-based standards] (PTRDIFF_MIN): Likewise.
37847         [C99-based standards] (PTRDIFF_MAX): Likewise.
37848         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
37849         [C99-based standards] (SIZE_MAX): Likewise.
37850         [C99-based standards] (WCHAR_MAX): Likewise.
37851         [C99-based standards] (WINT_MAX): Likewise.
37852         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
37853         constraint on value.
37854         [C99-based standards] (WCHAR_MIN): Likewise.
37855         [C99-based standards] (WINT_MIN): Likewise.
37856         [C99-based standards] (*_t): Allow.
37857         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
37858         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
37859         Include math.h-data and complex.h-data.  Remove all expectations
37860         of math.h and complex.h contents.
37861         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
37862         at end of line.
37863         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
37864         (struct tm): Expect tag.
37865         [C99-based-standards] (wcstof): Expect function.
37866         [C99-based-standards] (wcstold): Likewise.
37867         [C99-based-standards] (wcstoll): Likewise.
37868         [C99-based-standards] (wcstoull): Likewise.
37869         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
37870         macro-int-constant.  Specify type.
37871         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
37872         constraint on value.
37873         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
37874         Specify type.
37875         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
37876         Specify value.
37877         [ISO C standards]: Do not allow headers.
37878         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
37879         wcs[abcdefghijklmnopqrstuvwxyz]*.
37880         [ISO C standards] (*_t): Do not allow.
37881         * conform/data/wctype.h-data [C99-based standards] (iswblank):
37882         Expect function.
37883         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
37884         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
37885         Specify type.
37886         [ISO C standards]: Do not allow headers.
37887         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
37888         is[abcdefghijklmnopqrstuvwxyz]*.
37889         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
37890         to[abcdefghijklmnopqrstuvwxyz]*.
37891         [ISO C standards] (*_t): Do not allow.
37892         * conform/data/stdalign.h-data: New file.
37893         * conform/data/stdbool.h-data: Likewise.
37894         * conform/data/stdnoreturn.h-data: Likewise.
37896 2012-11-07  Roland McGrath  <roland@hack.frob.com>
37898         [BZ #14815]
37899         * manual/filesys.texi (Directory Entries): Typo fix.
37900         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
37902 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37904         * elf/elf.h (EM_AARCH64): New macro.
37905         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
37906         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
37907         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
37908         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
37909         (R_AARCH64_TLSDESC): Likewise.
37910         (NT_ARM_TLS): Likewise.
37911         (NT_ARM_HW_BREAK): Likewise.
37912         (NT_ARM_HW_WATCH): Likewise.
37914 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
37916         [BZ #14811]
37917         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
37918         (__ieee754_powl): Saturate nonzero exponents with absolute value
37919         below 0x1p-79 to +/- 0x1p-79.
37920         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
37921         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
37922         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
37923         nonzero exponents with absolute value below 0x1p-32 to +/-
37924         0x1p-32.
37925         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
37926         (__ieee754_powl): Saturate nonzero exponents with absolute value
37927         below 0x1p-79 to +/- 0x1p-79.
37928         * math/libm-test.inc (pow_test): Add more tests.
37930 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37932         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
37933         _dl_s390_cap_flags with kernel. Increase string length.
37934         (_dl_s390_platforms): Add z196 and zEC12.
37936 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
37938         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
37939         Change XOPEN21K to XOPEN2K.
37941 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
37943         * string/memmove.c: Use memcpy when possible.
37945 2012-11-06  Andreas Jaeger  <aj@suse.de>
37947         * po/eo.po: Update from translation team.
37949 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
37951         [BZ #14793]
37952         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
37953         exponent and small x and y exponents, scale x or y up.  Increase
37954         by 2 the exponent used in scaling up.
37955         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37956         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37957         * math/libm-test.inc (fma_test): Add more tests.
37958         (fma_test_towardzero): Likewise.
37959         (fma_test_downward): Likewise.
37960         (fma_test_upward): Likewise.
37962 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
37964         [BZ #14805]
37965         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
37966         fenv_t *.
37968         [BZ #14801]
37969         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
37970         namespace for names of struct fields.
37971         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
37972         fenv_t fields.
37973         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
37974         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
37976 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37978         [BZ #3665]
37979         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
37981 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
37983         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
37984         PTR_DEMANGLE.
37986         [BZ #5246]
37987         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
37988         PTR_DEMANGLE.
37990 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
37992         [BZ #14797]
37993         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
37994         definitely overflow as x * y not x * y + z.
37995         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37996         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37997         * math/libm-test.inc (fma_test): Add more tests.
37998         (fma_test_towardzero): Likewise.
37999         (fma_test_downward): Likewise.
38000         (fma_test_upward): Likewise.
38002 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
38004         [BZ #157]
38006         * include/stub-tag.h: Remove file.
38007         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
38008         '#include' of it.
38009         * manual/maint.texi (Porting): Don't reference it.
38010         * Makerules ($(objpfx)stubs): Likewise.
38011         * dirent/closedir.c: Don't include <stub-tag.h>.
38012         * dirent/dirfd.c: Likewise.
38013         * dirent/fdopendir.c: Likewise.
38014         * dirent/getdents.c: Likewise.
38015         * dirent/getdents64.c: Likewise.
38016         * dirent/opendir.c: Likewise.
38017         * dirent/readdir.c: Likewise.
38018         * dirent/readdir64.c: Likewise.
38019         * dirent/readdir64_r.c: Likewise.
38020         * dirent/readdir_r.c: Likewise.
38021         * dirent/rewinddir.c: Likewise.
38022         * dirent/seekdir.c: Likewise.
38023         * dirent/telldir.c: Likewise.
38024         * gmon/profil.c: Likewise.
38025         * grp/setgroups.c: Likewise.
38026         * inet/if_index.c: Likewise.
38027         * io/access.c: Likewise.
38028         * io/chdir.c: Likewise.
38029         * io/chmod.c: Likewise.
38030         * io/chown.c: Likewise.
38031         * io/close.c: Likewise.
38032         * io/dup.c: Likewise.
38033         * io/dup2.c: Likewise.
38034         * io/dup3.c: Likewise.
38035         * io/euidaccess.c: Likewise.
38036         * io/faccessat.c: Likewise.
38037         * io/fchdir.c: Likewise.
38038         * io/fchmod.c: Likewise.
38039         * io/fchmodat.c: Likewise.
38040         * io/fchown.c: Likewise.
38041         * io/fchownat.c: Likewise.
38042         * io/fcntl.c: Likewise.
38043         * io/flock.c: Likewise.
38044         * io/fstatfs.c: Likewise.
38045         * io/fstatfs64.c: Likewise.
38046         * io/fstatvfs.c: Likewise.
38047         * io/fstatvfs64.c: Likewise.
38048         * io/futimens.c: Likewise.
38049         * io/fxstat.c: Likewise.
38050         * io/fxstat64.c: Likewise.
38051         * io/fxstatat.c: Likewise.
38052         * io/fxstatat64.c: Likewise.
38053         * io/getcwd.c: Likewise.
38054         * io/isatty.c: Likewise.
38055         * io/lchmod.c: Likewise.
38056         * io/lchown.c: Likewise.
38057         * io/link.c: Likewise.
38058         * io/linkat.c: Likewise.
38059         * io/lseek.c: Likewise.
38060         * io/lseek64.c: Likewise.
38061         * io/lxstat64.c: Likewise.
38062         * io/mkdir.c: Likewise.
38063         * io/mkdirat.c: Likewise.
38064         * io/mkfifo.c: Likewise.
38065         * io/mkfifoat.c: Likewise.
38066         * io/open.c: Likewise.
38067         * io/open64.c: Likewise.
38068         * io/openat.c: Likewise.
38069         * io/openat64.c: Likewise.
38070         * io/pipe.c: Likewise.
38071         * io/pipe2.c: Likewise.
38072         * io/poll.c: Likewise.
38073         * io/posix_fadvise.c: Likewise.
38074         * io/posix_fadvise64.c: Likewise.
38075         * io/posix_fallocate.c: Likewise.
38076         * io/posix_fallocate64.c: Likewise.
38077         * io/read.c: Likewise.
38078         * io/readlink.c: Likewise.
38079         * io/readlinkat.c: Likewise.
38080         * io/rmdir.c: Likewise.
38081         * io/sendfile.c: Likewise.
38082         * io/sendfile64.c: Likewise.
38083         * io/statfs.c: Likewise.
38084         * io/statfs64.c: Likewise.
38085         * io/statvfs.c: Likewise.
38086         * io/statvfs64.c: Likewise.
38087         * io/symlink.c: Likewise.
38088         * io/symlinkat.c: Likewise.
38089         * io/ttyname.c: Likewise.
38090         * io/ttyname_r.c: Likewise.
38091         * io/umask.c: Likewise.
38092         * io/unlink.c: Likewise.
38093         * io/unlinkat.c: Likewise.
38094         * io/utime.c: Likewise.
38095         * io/utimensat.c: Likewise.
38096         * io/write.c: Likewise.
38097         * io/xmknod.c: Likewise.
38098         * io/xmknodat.c: Likewise.
38099         * io/xstat.c: Likewise.
38100         * io/xstat64.c: Likewise.
38101         * login/getpt.c: Likewise.
38102         * login/grantpt.c: Likewise.
38103         * login/unlockpt.c: Likewise.
38104         * math/e_acoshl.c: Likewise.
38105         * math/e_acosl.c: Likewise.
38106         * math/e_asinl.c: Likewise.
38107         * math/e_atan2l.c: Likewise.
38108         * math/e_atanhl.c: Likewise.
38109         * math/e_coshl.c: Likewise.
38110         * math/e_expl.c: Likewise.
38111         * math/e_fmodl.c: Likewise.
38112         * math/e_gammal_r.c: Likewise.
38113         * math/e_hypotl.c: Likewise.
38114         * math/e_j0l.c: Likewise.
38115         * math/e_j1l.c: Likewise.
38116         * math/e_jnl.c: Likewise.
38117         * math/e_lgammal_r.c: Likewise.
38118         * math/e_log10l.c: Likewise.
38119         * math/e_log2l.c: Likewise.
38120         * math/e_logl.c: Likewise.
38121         * math/e_powl.c: Likewise.
38122         * math/e_rem_pio2l.c: Likewise.
38123         * math/e_sinhl.c: Likewise.
38124         * math/e_sqrtl.c: Likewise.
38125         * math/fclrexcpt.c: Likewise.
38126         * math/fedisblxcpt.c: Likewise.
38127         * math/feenablxcpt.c: Likewise.
38128         * math/fegetenv.c: Likewise.
38129         * math/fegetexcept.c: Likewise.
38130         * math/fegetround.c: Likewise.
38131         * math/feholdexcpt.c: Likewise.
38132         * math/fesetenv.c: Likewise.
38133         * math/fesetround.c: Likewise.
38134         * math/feupdateenv.c: Likewise.
38135         * math/fgetexcptflg.c: Likewise.
38136         * math/fraiseexcpt.c: Likewise.
38137         * math/fsetexcptflg.c: Likewise.
38138         * math/ftestexcept.c: Likewise.
38139         * math/k_cosl.c: Likewise.
38140         * math/k_rem_pio2l.c: Likewise.
38141         * math/k_sinl.c: Likewise.
38142         * math/k_tanl.c: Likewise.
38143         * math/s_asinhl.c: Likewise.
38144         * math/s_atanl.c: Likewise.
38145         * math/s_cbrtl.c: Likewise.
38146         * math/s_erfl.c: Likewise.
38147         * math/s_expm1l.c: Likewise.
38148         * math/s_log1pl.c: Likewise.
38149         * math/s_tanhl.c: Likewise.
38150         * misc/acct.c: Likewise.
38151         * misc/brk.c: Likewise.
38152         * misc/chflags.c: Likewise.
38153         * misc/chroot.c: Likewise.
38154         * misc/fchflags.c: Likewise.
38155         * misc/fgetxattr.c: Likewise.
38156         * misc/flistxattr.c: Likewise.
38157         * misc/fremovexattr.c: Likewise.
38158         * misc/fsetxattr.c: Likewise.
38159         * misc/fsync.c: Likewise.
38160         * misc/ftruncate.c: Likewise.
38161         * misc/futimes.c: Likewise.
38162         * misc/futimesat.c: Likewise.
38163         * misc/getdomain.c: Likewise.
38164         * misc/getdtsz.c: Likewise.
38165         * misc/gethostid.c: Likewise.
38166         * misc/gethostname.c: Likewise.
38167         * misc/getloadavg.c: Likewise.
38168         * misc/getpagesize.c: Likewise.
38169         * misc/getsysstats.c: Likewise.
38170         * misc/getxattr.c: Likewise.
38171         * misc/gtty.c: Likewise.
38172         * misc/ioctl.c: Likewise.
38173         * misc/lgetxattr.c: Likewise.
38174         * misc/listxattr.c: Likewise.
38175         * misc/llistxattr.c: Likewise.
38176         * misc/lremovexattr.c: Likewise.
38177         * misc/lsetxattr.c: Likewise.
38178         * misc/lutimes.c: Likewise.
38179         * misc/madvise.c: Likewise.
38180         * misc/mincore.c: Likewise.
38181         * misc/mlock.c: Likewise.
38182         * misc/mlockall.c: Likewise.
38183         * misc/mmap.c: Likewise.
38184         * misc/mprotect.c: Likewise.
38185         * misc/msync.c: Likewise.
38186         * misc/munlock.c: Likewise.
38187         * misc/munlockall.c: Likewise.
38188         * misc/munmap.c: Likewise.
38189         * misc/preadv.c: Likewise.
38190         * misc/preadv64.c: Likewise.
38191         * misc/ptrace.c: Likewise.
38192         * misc/pwritev.c: Likewise.
38193         * misc/pwritev64.c: Likewise.
38194         * misc/readv.c: Likewise.
38195         * misc/reboot.c: Likewise.
38196         * misc/remap_file_pages.c: Likewise.
38197         * misc/removexattr.c: Likewise.
38198         * misc/revoke.c: Likewise.
38199         * misc/select.c: Likewise.
38200         * misc/setdomain.c: Likewise.
38201         * misc/setegid.c: Likewise.
38202         * misc/seteuid.c: Likewise.
38203         * misc/sethostid.c: Likewise.
38204         * misc/sethostname.c: Likewise.
38205         * misc/setregid.c: Likewise.
38206         * misc/setreuid.c: Likewise.
38207         * misc/setxattr.c: Likewise.
38208         * misc/sstk.c: Likewise.
38209         * misc/stty.c: Likewise.
38210         * misc/swapoff.c: Likewise.
38211         * misc/swapon.c: Likewise.
38212         * misc/sync.c: Likewise.
38213         * misc/syncfs.c: Likewise.
38214         * misc/syscall.c: Likewise.
38215         * misc/truncate.c: Likewise.
38216         * misc/ualarm.c: Likewise.
38217         * misc/usleep.c: Likewise.
38218         * misc/ustat.c: Likewise.
38219         * misc/utimes.c: Likewise.
38220         * misc/vhangup.c: Likewise.
38221         * misc/writev.c: Likewise.
38222         * posix/_exit.c: Likewise.
38223         * posix/alarm.c: Likewise.
38224         * posix/execve.c: Likewise.
38225         * posix/fexecve.c: Likewise.
38226         * posix/fork.c: Likewise.
38227         * posix/fpathconf.c: Likewise.
38228         * posix/getaddrinfo.c: Likewise.
38229         * posix/getegid.c: Likewise.
38230         * posix/geteuid.c: Likewise.
38231         * posix/getgid.c: Likewise.
38232         * posix/getgroups.c: Likewise.
38233         * posix/getlogin.c: Likewise.
38234         * posix/getlogin_r.c: Likewise.
38235         * posix/getpgid.c: Likewise.
38236         * posix/getpid.c: Likewise.
38237         * posix/getppid.c: Likewise.
38238         * posix/getresgid.c: Likewise.
38239         * posix/getresuid.c: Likewise.
38240         * posix/getsid.c: Likewise.
38241         * posix/getuid.c: Likewise.
38242         * posix/glob64.c: Likewise.
38243         * posix/nanosleep.c: Likewise.
38244         * posix/pathconf.c: Likewise.
38245         * posix/pause.c: Likewise.
38246         * posix/posix_madvise.c: Likewise.
38247         * posix/pread.c: Likewise.
38248         * posix/pread64.c: Likewise.
38249         * posix/pwrite.c: Likewise.
38250         * posix/pwrite64.c: Likewise.
38251         * posix/sched_getaffinity.c: Likewise.
38252         * posix/sched_getp.c: Likewise.
38253         * posix/sched_gets.c: Likewise.
38254         * posix/sched_primax.c: Likewise.
38255         * posix/sched_primin.c: Likewise.
38256         * posix/sched_rr_gi.c: Likewise.
38257         * posix/sched_setaffinity.c: Likewise.
38258         * posix/sched_setp.c: Likewise.
38259         * posix/sched_sets.c: Likewise.
38260         * posix/sched_yield.c: Likewise.
38261         * posix/setgid.c: Likewise.
38262         * posix/setlogin.c: Likewise.
38263         * posix/setpgid.c: Likewise.
38264         * posix/setresgid.c: Likewise.
38265         * posix/setresuid.c: Likewise.
38266         * posix/setsid.c: Likewise.
38267         * posix/setuid.c: Likewise.
38268         * posix/sleep.c: Likewise.
38269         * posix/spawni.c: Likewise.
38270         * posix/sysconf.c: Likewise.
38271         * posix/times.c: Likewise.
38272         * posix/wait.c: Likewise.
38273         * posix/wait3.c: Likewise.
38274         * posix/wait4.c: Likewise.
38275         * posix/waitpid.c: Likewise.
38276         * resolv/gai_sigqueue.c: Likewise.
38277         * resource/getpriority.c: Likewise.
38278         * resource/getrlimit.c: Likewise.
38279         * resource/getrusage.c: Likewise.
38280         * resource/nice.c: Likewise.
38281         * resource/setpriority.c: Likewise.
38282         * resource/setrlimit.c: Likewise.
38283         * resource/ulimit.c: Likewise.
38284         * rt/aio_cancel.c: Likewise.
38285         * rt/aio_fsync.c: Likewise.
38286         * rt/aio_read.c: Likewise.
38287         * rt/aio_sigqueue.c: Likewise.
38288         * rt/aio_suspend.c: Likewise.
38289         * rt/aio_write.c: Likewise.
38290         * rt/clock_getres.c: Likewise.
38291         * rt/clock_gettime.c: Likewise.
38292         * rt/clock_nanosleep.c: Likewise.
38293         * rt/clock_settime.c: Likewise.
38294         * rt/lio_listio.c: Likewise.
38295         * rt/mq_close.c: Likewise.
38296         * rt/mq_getattr.c: Likewise.
38297         * rt/mq_notify.c: Likewise.
38298         * rt/mq_open.c: Likewise.
38299         * rt/mq_receive.c: Likewise.
38300         * rt/mq_send.c: Likewise.
38301         * rt/mq_setattr.c: Likewise.
38302         * rt/mq_timedreceive.c: Likewise.
38303         * rt/mq_timedsend.c: Likewise.
38304         * rt/mq_unlink.c: Likewise.
38305         * rt/shm_open.c: Likewise.
38306         * rt/shm_unlink.c: Likewise.
38307         * rt/timer_create.c: Likewise.
38308         * rt/timer_delete.c: Likewise.
38309         * rt/timer_getoverr.c: Likewise.
38310         * rt/timer_gettime.c: Likewise.
38311         * rt/timer_settime.c: Likewise.
38312         * setjmp/__longjmp.c: Likewise.
38313         * setjmp/setjmp.c: Likewise.
38314         * signal/kill.c: Likewise.
38315         * signal/killpg.c: Likewise.
38316         * signal/raise.c: Likewise.
38317         * signal/sigaction.c: Likewise.
38318         * signal/sigaltstack.c: Likewise.
38319         * signal/sigblock.c: Likewise.
38320         * signal/sigignore.c: Likewise.
38321         * signal/sigintr.c: Likewise.
38322         * signal/signal.c: Likewise.
38323         * signal/sigpause.c: Likewise.
38324         * signal/sigpending.c: Likewise.
38325         * signal/sigqueue.c: Likewise.
38326         * signal/sigreturn.c: Likewise.
38327         * signal/sigset.c: Likewise.
38328         * signal/sigsetmask.c: Likewise.
38329         * signal/sigstack.c: Likewise.
38330         * signal/sigsuspend.c: Likewise.
38331         * signal/sigtimedwait.c: Likewise.
38332         * signal/sigvec.c: Likewise.
38333         * signal/sigwait.c: Likewise.
38334         * signal/sigwaitinfo.c: Likewise.
38335         * signal/sysv_signal.c: Likewise.
38336         * socket/accept.c: Likewise.
38337         * socket/accept4.c: Likewise.
38338         * socket/bind.c: Likewise.
38339         * socket/connect.c: Likewise.
38340         * socket/getpeername.c: Likewise.
38341         * socket/getsockname.c: Likewise.
38342         * socket/getsockopt.c: Likewise.
38343         * socket/isfdtype.c: Likewise.
38344         * socket/listen.c: Likewise.
38345         * socket/recv.c: Likewise.
38346         * socket/recvfrom.c: Likewise.
38347         * socket/recvmsg.c: Likewise.
38348         * socket/send.c: Likewise.
38349         * socket/sendmsg.c: Likewise.
38350         * socket/sendto.c: Likewise.
38351         * socket/setsockopt.c: Likewise.
38352         * socket/shutdown.c: Likewise.
38353         * socket/sockatmark.c: Likewise.
38354         * socket/socket.c: Likewise.
38355         * socket/socketpair.c: Likewise.
38356         * stdio-common/ctermid.c: Likewise.
38357         * stdio-common/cuserid.c: Likewise.
38358         * stdio-common/remove.c: Likewise.
38359         * stdio-common/rename.c: Likewise.
38360         * stdio-common/renameat.c: Likewise.
38361         * stdio-common/tempname.c: Likewise.
38362         * stdlib/getcontext.c: Likewise.
38363         * stdlib/makecontext.c: Likewise.
38364         * stdlib/setcontext.c: Likewise.
38365         * stdlib/swapcontext.c: Likewise.
38366         * stdlib/system.c: Likewise.
38367         * streams/fattach.c: Likewise.
38368         * streams/fdetach.c: Likewise.
38369         * streams/getmsg.c: Likewise.
38370         * streams/getpmsg.c: Likewise.
38371         * streams/putmsg.c: Likewise.
38372         * streams/putpmsg.c: Likewise.
38373         * sysdeps/unix/bsd/getpt.c: Likewise.
38374         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
38375         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
38376         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38378         Likewise.
38379         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
38380         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38381         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38382         * sysvipc/msgctl.c: Likewise.
38383         * sysvipc/msgget.c: Likewise.
38384         * sysvipc/msgrcv.c: Likewise.
38385         * sysvipc/msgsnd.c: Likewise.
38386         * sysvipc/semctl.c: Likewise.
38387         * sysvipc/semget.c: Likewise.
38388         * sysvipc/semop.c: Likewise.
38389         * sysvipc/semtimedop.c: Likewise.
38390         * sysvipc/shmat.c: Likewise.
38391         * sysvipc/shmctl.c: Likewise.
38392         * sysvipc/shmdt.c: Likewise.
38393         * sysvipc/shmget.c: Likewise.
38394         * termios/tcdrain.c: Likewise.
38395         * termios/tcflow.c: Likewise.
38396         * termios/tcflush.c: Likewise.
38397         * termios/tcgetattr.c: Likewise.
38398         * termios/tcgetpgrp.c: Likewise.
38399         * termios/tcsendbrk.c: Likewise.
38400         * termios/tcsetattr.c: Likewise.
38401         * termios/tcsetpgrp.c: Likewise.
38402         * time/adjtime.c: Likewise.
38403         * time/clock.c: Likewise.
38404         * time/getitimer.c: Likewise.
38405         * time/gettimeofday.c: Likewise.
38406         * time/setitimer.c: Likewise.
38407         * time/settimeofday.c: Likewise.
38408         * time/stime.c: Likewise.
38409         * time/time.c: Likewise.
38411 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
38413         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
38414         /usr/old/bin.
38416         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
38417         instead of spaces.
38418         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
38420 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
38422         [BZ #14796]
38423         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
38424         FE_TONEAREST before applying Dekker multiplication and Knuth
38425         addition.  Clear inexact exceptions and check for exact zero
38426         results afterwards.
38427         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38428         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38429         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38430         * math/libm-test.inc (fma_test): Add more tests.
38431         (fma_test_towardzero): Likewise.
38432         (fma_test_downward): Likewise.
38433         (fma_test_upward): Likewise.
38434         * sysdeps/generic/math_private.h (default_libc_fesetround): New
38435         function.
38436         (libc_fesetround): New macro.
38437         (libc_fesetroundf): Likewise.
38438         (libc_fesetroundl): Likewise.
38439         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
38440         function.
38441         (libc_fesetround_387): Likewise.
38442         (libc_fesetroundf): New macro.
38443         (libc_fesetround): Likewise.
38444         (libc_fesetroundl): Likewise.
38445         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
38446         function.
38447         (libc_fesetroundf): New macro.
38448         (libc_fesetround): Likewise.
38449         (libc_fesetroundl): Likewise.
38450         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
38451         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
38452         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
38453         libm_hidden_ver.
38454         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
38455         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
38456         libm_hidden_def.
38457         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
38458         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
38459         libm_hidden_ver.
38460         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
38461         libm_hidden_def.
38463         [BZ #3439]
38464         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
38465         integer constant usable in #if and use that to give value to enum
38466         constant.
38467         (FE_DIVBYZERO): Likewise.
38468         (FE_UNDERFLOW): Likewise.
38469         (FE_OVERFLOW): Likewise.
38470         (FE_INVALID): Likewise.
38471         (FE_INVALID_SNAN): Likewise.
38472         (FE_INVALID_ISI): Likewise.
38473         (FE_INVALID_IDI): Likewise.
38474         (FE_INVALID_ZDZ): Likewise.
38475         (FE_INVALID_IMZ): Likewise.
38476         (FE_INVALID_COMPARE): Likewise.
38477         (FE_INVALID_SOFTWARE): Likewise.
38478         (FE_INVALID_SQRT): Likewise.
38479         (FE_INVALID_INTEGER_CONVERSION): Likewise.
38480         (FE_TONEAREST): Likewise.
38481         (FE_TOWARDZERO): Likewise.
38482         (FE_UPWARD): Likewise.
38483         (FE_DOWNWARD): Likewise.
38484         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
38485         (FE_DIVBYZERO): Likewise.
38486         (FE_OVERFLOW): Likewise.
38487         (FE_UNDERFLOW): Likewise.
38488         (FE_INEXACT): Likewise.
38489         (FE_TONEAREST): Likewise.
38490         (FE_DOWNWARD): Likewise.
38491         (FE_UPWARD): Likewise.
38492         (FE_TOWARDZERO): Likewise.
38493         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
38494         (FE_UNDERFLOW): Likewise.
38495         (FE_OVERFLOW): Likewise.
38496         (FE_DIVBYZERO): Likewise.
38497         (FE_INVALID): Likewise.
38498         (FE_TONEAREST): Likewise.
38499         (FE_TOWARDZERO): Likewise.
38500         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
38501         (FE_OVERFLOW): Likewise.
38502         (FE_UNDERFLOW): Likewise.
38503         (FE_DIVBYZERO): Likewise.
38504         (FE_INEXACT): Likewise.
38505         (FE_TONEAREST): Likewise.
38506         (FE_TOWARDZERO): Likewise.
38507         (FE_UPWARD): Likewise.
38508         (FE_DOWNWARD): Likewise.
38509         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
38510         (FE_DIVBYZERO): Likewise.
38511         (FE_OVERFLOW): Likewise.
38512         (FE_UNDERFLOW): Likewise.
38513         (FE_INEXACT): Likewise.
38514         (FE_TONEAREST): Likewise.
38515         (FE_DOWNWARD): Likewise.
38516         (FE_UPWARD): Likewise.
38517         (FE_TOWARDZERO): Likewise.
38519 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
38521         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
38523 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
38525         * scripts/cross-test-ssh.sh (command): Use newlines to separate
38526         commands.  Quote $PWD.
38527         (blacklist_exports): Don't use remove_newlines.  Replace "declare
38528         -x" by "export".
38529         (remove_newlines): Remove.
38531 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
38533         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
38534         * stdlib/stdlib.h (atof): Moved to ...
38535         * include/bits/stdlib-float.h: Here.  New file.
38536         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
38537         * stdlib/bits/stdlib-float.h: New file.
38538         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
38539         -mno-sse -mno-mmx.
38540         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
38541         <xmmintrin.h>.
38543 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
38545         * conform/conformtest.pl (@headers): Add fenv.h.
38546         * conform/data/fenv.h-data: New file.
38547         * include/fenv.h [_ISOMAC]: Disable all contents of file except
38548         include of <math/fenv.h>.
38550         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
38551         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
38552         && !UNIX98].  Enables tests for XOPEN2K8.
38553         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
38554         POSIX2008]: Likewise.
38556         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
38557         (struct rusage): Do not expect type or its members.
38559         [BZ #3439]
38560         * math/math.h (FP_NAN): Define macro to integer constant usable in
38561         #if and use that to give value to enum constant.
38562         (FP_INFINITE): Likewise.
38563         (FP_ZERO): Likewise.
38564         (FP_SUBNORMAL): Likewise.
38565         (FP_NORMAL): Likewise.
38567 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
38569         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
38570         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
38571         arguments.
38573 2012-11-02  Roland McGrath  <roland@hack.frob.com>
38575         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
38576         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
38577         autoconf-time if not.
38578         * configure.in: Remove AC_PREREQ.
38580 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38582         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
38583         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
38584         of the internal implementation.
38586 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
38588         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
38589         except include of <misc/sys/syslog.h>.
38591 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
38593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
38594         function returns with a NULL context exit with zero.
38596 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38598         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
38600 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
38602         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
38603         (run_program_cmd): This.
38604         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
38605         (tst_langinfo): New variable.  Use it.
38607 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
38609         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
38610         floating point opcodes.
38612 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
38614         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
38615         variable.
38617         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
38619         * sysdeps/mach/hurd/powerpc: Remove directory.
38620         * sysdeps/mach/powerpc: Likewise.
38622 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
38624         * scripts/check-local-headers.sh: Ignore c++ headers.
38626 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
38628         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
38629         __libc_cleanup_region_start argument.
38631 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
38633         [BZ #14784]
38634         [BZ #14785]
38635         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
38636         x * y using scaling, not as x * y + z.
38637         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38638         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38639         * math/libm-test.inc (fma_test): Add more tests.
38640         (fma_test_towardzero): Likewise.
38641         (fma_test_downward): Likewise.
38642         (fma_test_upward): Likewise.
38644 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
38646         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
38648 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
38650         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
38651         New variable.
38653 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
38655         * rt/tst-shm.c (worker): Correct checking for mmap failure.
38657 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
38659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38660         Fix sort order.
38661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38662         Likewise.
38664 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38667         Fix the order of the list for glibc 2.17.
38668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38669         Likewise.
38671 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
38673         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38675 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
38677         [BZ #14610]
38678         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
38679         for low part of x being zero before using __atanl (y).
38680         * math/libm-test.inc (atan2_test): Add another test.
38682         * manual/install.texi (Configuring and compiling): Document
38683         general use of test-wrapper and test-wrapper-env.
38684         * INSTALL: Regenerated.
38686         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
38687         (__fma): Do not extract and scale down low bits on after-rounding
38688         systems when result rounded to normal precision would have normal
38689         exponent.
38690         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
38691         (__fmal): Do not extract and scale down low bits on after-rounding
38692         systems when result rounded to normal precision would have normal
38693         exponent.
38694         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
38695         (__fmal): Do not extract and scale down low bits on after-rounding
38696         systems when result rounded to normal precision would have normal
38697         exponent.
38698         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
38699         macro.
38700         (fma_test): Add more tests.
38701         (fma_test_towardzero): Likewise.
38702         (fma_test_downward): Likewise.
38703         (fma_test_upward): Likewise.
38705 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
38707         * sysdeps/i386/tininess.h: Renamed to ...
38708         * sysdeps/x86/tininess.h: This.
38709         * sysdeps/x86_64/tininess.h: Removed.
38711 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
38713         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
38714         input.  Use $(build-program-cmd).
38715         ($(objpfx)tst-array1-static.out): Likewise.
38716         ($(objpfx)tst-array2.out): Likewise.
38717         ($(objpfx)tst-array3.out): Likewise.
38718         ($(objpfx)tst-array4.out): Likewise.
38719         ($(objpfx)tst-array5.out): Likewise.
38720         ($(objpfx)tst-array5-static.out): Likewise.
38722 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
38724         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
38725         if defined.
38727         * nss/nsswitch.h (nss_interface_function): Provide new
38728         macro for use with NSS functions.
38729         * grp/initgroups.c: Use new macro.
38730         * nss/getXXbyYY.c: Likewise.
38731         * nss/getXXbyYY_r.c: Likewise.
38732         * nss/getXXent.c: Likewise.
38733         * nss/getXXent_r.c: Likewise.
38734         * sysdeps/posix/getaddrinfo.c: Likewise.
38736 2012-10-30  Andreas Jaeger  <aj@suse.de>
38738         * po/ru.po: Update Russion translation from translation project.
38740 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
38742         [BZ #14152]
38743         [BZ #14783]
38744         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
38745         result and shift together with sticky bit instead of replicating
38746         round-to-nearest rounding.
38747         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38748         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38749         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
38750         missing underflow exceptions.
38751         (fma_test_towardzero): Add more tests.
38752         (fma_test_downward): Likewise.
38753         (fma_test_upward): Likewise.
38755         [BZ #14047]
38756         * sysdeps/generic/tininess.h: New file.
38757         * sysdeps/i386/tininess.h: Likewise.
38758         * sysdeps/sh/tininess.h: Likewise.
38759         * sysdeps/x86_64/tininess.h: Likewise.
38760         * stdlib/tst-strtod-underflow.c: Likewise.
38761         * stdlib/tst-tininess.c: Likewise.
38762         * stdlib/strtod_l.c: Include <tininess.h>.
38763         (round_and_return): Do not set errno for exact underflow cases.
38764         Force an underflow exception when setting errno for underflow.
38765         Determine underflow based on rounding to normal precision if
38766         TININESS_AFTER_ROUNDING.
38767         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
38768         ERANGE for exact underflow cases.
38769         * stdlib/Makefile (tests): Add tst-tininess and
38770         tst-strtod-underflow.
38771         ($(objpfx)tst-tininess): Use $(link-libm).
38772         ($(objpfx)tst-strtod-underflow): Likewise.
38774 2012-10-30  Andreas Jaeger  <aj@suse.de>
38776         [BZ#14767]
38777         * elf/Makefile (tests): Remove conditional for have-initfini-array
38778         since this is now always required and the variable does not exist
38779         anymore.
38780         (tests-static): Likewise.
38781         (modules-names): Likewise.
38783         * po/eo.po: Add Esperanto translation from translation project.
38785         * elf/tst-array1.c (fini_array): Make writeable so that it can be
38786         merged with constructor/destructor.
38787         (init_array): Likewise.
38788         * elf/tst-array2dep.c (fini_array): Likewise.
38789         (init_array): Likewise.
38791 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
38793         * manual/message.texi: Delete @cartouche tags.
38795 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
38797         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
38798         EOPNOTSUPP.
38799         * sysdeps/mach/hurd/fsync.c: Likewise.
38801         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
38802         [_POSIX_REALTIME_SIGNALS]: Change condition to
38803         [_POSIX_REALTIME_SIGNALS > 0].
38805 2012-10-27  Andreas Jaeger  <aj@suse.de>
38807         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
38808         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
38809         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
38810         [__WORDSIZE != 64]: Likewise.
38812 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
38814         *  iconvdata/tst-table.sh: Remove ${SHELL}.
38815         *  iconvdata/tst-tables.sh: Likewise.
38817 2012-10-25  David S. Miller  <davem@davemloft.net>
38819         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38820         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
38821         of strtoull.
38823         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
38824         ifunc-impl-list.c
38825         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38826         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
38827         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
38828         file.
38830 2012-10-25  Roland McGrath  <roland@hack.frob.com>
38832         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38833         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
38834         __getdirentries.
38836 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
38837             Jim Blandy  <jimb@codesourcery.com>
38839         * scripts/cross-test-ssh.sh: New file.
38840         * manual/install.texi (Configuring and compiling): Document use of
38841         cross-test-ssh.sh.
38842         * INSTALL: Regenerated.
38844 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
38846         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
38847         EOPNOTSUPP.
38849 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
38851         * Makeconfig (run-program-prefix): Fix comment.
38853 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
38854             Jim Blandy  <jimb@codesourcery.com>
38856         * Makeconfig (test-wrapper): New variable,
38857         (test-wrapper-env): Likewise.
38858         [$(cross-compiling) = yes && $(test-wrapper) != ""]
38859         (run-built-tests): Define to yes.
38860         (run-program-prefix): Use $(test-wrapper).
38861         (built-program-cmd): Likewise.
38862         * Rules (make-test-out): Use $(test-wrapper-env) and
38863         $(host-built-program-cmd).
38864         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
38865         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
38866         tst-pathopt.sh.
38867         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
38868         $(test-wrapper-env) to tst-rtld-load-self.sh.
38869         ($(objpfx)order2.out): Use $(test-wrapper).
38870         ($(objpfx)tst-initorder.out): Likewise.
38871         ($(objpfx)tst-initorder2.out): Likewise.
38872         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
38873         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
38874         (test_wrapper_env): New variable.  Use it to run ld.so.
38875         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
38876         Use it to run ld.so.
38877         (test_wrapper_env): Likewise.
38878         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
38879         $(test-wrapper) to run-iconv-test.sh.
38880         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
38881         (ICONV): Use $test_wrapper.
38882         * posix/Makefile ($(objpfx)globtest.out): Pass
38883         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
38884         globtest.sh, not $(run-program-prefix).
38885         * posix/globtest.sh (run_via_rtld_prefix): New variable.
38886         (test_wrapper): Likewise.
38887         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
38888         set together with run_via_rtld_prefix.
38889         (run_program_prefix): Define in terms of test_wrapper and
38890         run_via_rtld_prefix.
38892 2012-10-24  Roland McGrath  <roland@hack.frob.com>
38894         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
38895         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
38896         Targets removed.
38898         [BZ #14743]
38899         * include/time.h: Remove librt_hidden_proto (clock_gettime).
38900         Declare __clock_getres, __clock_gettime, __clock_settime,
38901         __clock_nanosleep, and __clock_getcpuclockid.
38902         * rt/clock_gettime.c: Define __clock_gettime as an alias.
38903         Remove librt_hidden_def (clock_gettime).
38904         * sysdeps/unix/clock_gettime.c: Likewise.
38905         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
38906         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38907         * rt/clock_getres.c: Define __clock_getres as an alias.
38908         * sysdeps/posix/clock_getres.c: Likewise.
38909         * rt/clock_settime.c: Define __clock_settime as an alias.
38910         * sysdeps/unix/clock_settime.c: Likewise.
38911         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
38912         * sysdeps/unix/clock_nanosleep.c: Likewise.
38913         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38914         * rt/clock-compat.c: New file.
38915         * rt/Makefile (librt-routines): Add clock-compat and move
38916         $(clock-routines) to ...
38917         (routines): ... here, new variable.
38918         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
38919         Don't add get_clockfreq here.
38920         * rt/Versions (libc: GLIBC_2.17): New version set.
38921         Add clock_* symbols here.
38922         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
38923         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
38924         (GLIBC_2.17): Add clock_* symbols.
38925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38926         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38927         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38929         Likewise.
38930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38931         Likewise.
38932         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38933         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38934         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38935         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38936         * NEWS: Mention the move.
38938         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38939         Use __open, __read, __close rather than their public counterparts.
38940         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38941         (__get_clockfreq_via_cpuinfo): Likewise.
38942         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
38943         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
38945         * config.h.in (HAVE_IFUNC): New #undef.
38946         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
38947         was successful.
38948         * configure: Regenerated.
38950 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
38952         * configure.in: Move READELF check to start of file.
38953         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
38954         libc_cv_asm_gnu_indirect_function in the process.
38955         * configure: Regenerated.
38957 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
38959         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
38960         send the output to /dev/null.
38961         (libc_cv_cc_with_libunwind): Likewise.
38962         (libc_cv_as_noexecstack): Likewise.
38963         * configure: Regenerate.
38965 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
38967         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
38969         * posix/globtest.sh (TMPDIR): Do not set.
38970         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
38971         (testout): Likewise.
38973 2012-10-24  Andreas Jaeger  <aj@suse.de>
38975         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
38976         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
38977         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
38978         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
38979         posix_fadvise64, posix_fallocate64.
38981         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
38982         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
38983         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
38984         Likewise.
38985         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
38986         Likewise.
38987         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
38989         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
38990         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
38991         <bits/fcntl-linux.h>.
38992         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
38994         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
38995         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
38996         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
38997         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
38998         [__WORDSIZE != 64]: Likewise.
39000 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
39002         * Makeconfig (run-built-tests): New variable.
39003         * Rules [$(cross-compiling) = yes]: Change condition to
39004         [$(run-built-tests) = no].
39005         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
39006         to [$(run-built-tests) = yes].
39007         * elf/Makefile [$(cross-compiling) = no]: Likewise
39008         * grp/Makefile [$(cross-compiling) = no]: Likewise.
39009         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
39010         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
39011         * intl/Makefile [$(cross-compiling) = no]: Likewise.
39012         * io/Makefile [$(cross-compiling) = no]: Likewise.
39013         * libio/Makefile [$(cross-compiling) = no]: Likewise.
39014         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
39015         * misc/Makefile [$(cross-compiling) = no]: Likewise.
39016         * posix/Makefile [$(cross-compiling) = no]: Likewise.
39017         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
39018         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
39019         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
39020         * string/Makefile [$(cross-compiling) = no]: Likewise.
39022         * posix/Makefile ($(objpfx)globtest.out): Pass
39023         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
39024         $(rtld-installed-name).
39025         * posix/globtest.sh (elf_objpfx): Remove variable.
39026         (rtld_installed_name): Likewise.
39027         (library_path): Likewise.
39028         (run_program_prefix): New variable.  Use for running globtest
39029         binary.
39031 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
39032             Joseph Myers  <joseph@codesourcery.com>
39034         * Makeconfig (host-built-program-cmd): New variable.
39035         * elf/Makefile (tst-stackguard1-ARGS): Use
39036         $(host-built-program-cmd).
39037         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
39038         (tst-spawn-ARGS): Likewise.
39039         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
39041 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
39042             Jim Blandy  <jimb@codesourcery.com>
39044         * Makeconfig (run-via-rtld-prefix): New variable.
39045         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
39046         (built-program-cmd): Likewise.
39048 2012-10-22  Andreas Jaeger  <aj@suse.de>
39050         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
39051         __O_RSYNC if it exists, otherwise to O_SYNC.
39053 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
39054             Joseph Myers  <joseph@codesourcery.com>
39056         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
39057         /dev/null.
39058         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
39059         from /dev/null
39060         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
39061         /dev/null.
39063 2012-10-22  Andreas Jaeger  <aj@suse.de>
39065         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
39066         Define always.
39067         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
39069         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39070         bits/fcntl-linux.h.
39072         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
39073         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
39075         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
39076         to __O_LARGEFILE.
39077         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
39078         to __O_LARGEFILE.
39080 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
39081             Joseph Myers  <joseph@codesourcery.com>
39083         * config.make.in (NM): New variable.
39085 2012-10-21  Andreas Jaeger  <aj@suse.de>
39087         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
39088         definitions and declarations that are provided by
39089         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39091 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
39093         [BZ #14683]
39094         * elf/Makefile (tests-static): Add tst-leaks1-static.
39095         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
39096         ($(objpfx)tst-leaks1-static): New rule.
39097         ($(objpfx)tst-leaks1-static-mem): Likewise.
39098         (tst-leaks1-static-ENV): New macro.
39099         * elf/dl-open.c (dl_open_worker): Check the main application
39100         only if SHARED is defined.
39101         * elf/tst-leaks1-static.c: New file.
39103 2012-10-20  Andreas Jaeger  <aj@suse.de>
39105         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
39106         generic values for Linux.
39107         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
39108         and declarations that are provided by <bits/fcntl-linux.h> and
39109         include <bits/fcntl-linux.h>.
39110         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39111         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39113 2012-10-20  Roland McGrath  <roland@hack.frob.com>
39115         * io/fcntl.h: Move include of <bits/types.h> to the top and
39116         include it unconditionally.
39118 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
39120         * wcsmbs/Makefile (tests-ifunc): New variable.
39121         (tests): Add $(tests-ifunc).
39122         * wcsmbs/test-wcschr-ifunc.c: New file.
39123         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39124         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39125         * wcsmbs/test-wcslen-ifunc.c: Likewise.
39126         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39127         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39129         * string/Makefile (tests-ifunc): New variable.
39130         (tests): Add $(tests-ifunc).
39131         * string/test-memccpy.c (TEST_NAME): New macro.
39132         * string/test-memchr.c (TEST_NAME): Likewise.
39133         * string/test-memcmp.c (TEST_NAME): Likewise.
39134         * string/test-memcpy.c (TEST_NAME): Likewise.
39135         * string/test-memmem.c (TEST_NAME): Likewise.
39136         * string/test-memmove.c (TEST_NAME): Likewise.
39137         * string/test-memset.c (TEST_NAME): Likewise.
39138         * string/test-rawmemchr.c (TEST_NAME): Likewise.
39139         * string/test-stpcpy.c (TEST_NAME): Likewise.
39140         * string/test-stpncpy.c (TEST_NAME): Likewise.
39141         * string/test-strcasecmp.c (TEST_NAME): Likewise.
39142         * string/test-strcasestr.c (TEST_NAME): Likewise.
39143         * string/test-strcat.c (TEST_NAME): Likewise.
39144         * string/test-strchr.c (TEST_NAME): Likewise.
39145         * string/test-strcmp.c(TEST_NAME): Likewise.
39146         * string/test-strcpy.c (TEST_NAME): Likewise.
39147         * string/test-strcspn.c (TEST_NAME): Likewise.
39148         * string/test-strlen.c (TEST_NAME): Likewise.
39149         * string/test-strncasecmp.c (TEST_NAME): Likewise.
39150         * string/test-strncmp.c (TEST_NAME): Likewise.
39151         * string/test-strncpy.c (TEST_NAME): Likewise.
39152         * string/test-strnlen.c (TEST_NAME): Likewise.
39153         * string/test-strpbrk.c (TEST_NAME): Likewise.
39154         * string/test-strrchr.c (TEST_NAME): Likewise.
39155         * string/test-strspn.c (TEST_NAME): Likewise.
39156         * string/test-strstr.c (TEST_NAME): Likewise.
39157         * string/test-bcopy-ifunc.c: New file.
39158         * string/test-bzero-ifunc.c: Likewise.
39159         * string/test-memccpy-ifunc.c: Likewise.
39160         * string/test-memchr-ifunc.c: Likewise.
39161         * string/test-memcmp-ifunc.c: Likewise.
39162         * string/test-memcpy-ifunc.c: Likewise.
39163         * string/test-memmem-ifunc.c: Likewise.
39164         * string/test-memmove-ifunc.c: Likewise.
39165         * string/test-mempcpy-ifunc.c: Likewise.
39166         * string/test-memset-ifunc.c: Likewise.
39167         * string/test-rawmemchr-ifunc.c: Likewise.
39168         * string/test-stpcpy-ifunc.c: Likewise.
39169         * string/test-stpncpy-ifunc.c: Likewise.
39170         * string/test-strcasecmp-ifunc.c: Likewise.
39171         * string/test-strcasestr-ifunc.c: Likewise.
39172         * string/test-strcat-ifunc.c: Likewise.
39173         * string/test-strchr-ifunc.c: Likewise.
39174         * string/test-strchrnul-ifunc.c: Likewise.
39175         * string/test-strcmp-ifunc.c: Likewise.
39176         * string/test-strcpy-ifunc.c: Likewise.
39177         * string/test-strcspn-ifunc.c: Likewise.
39178         * string/test-strlen-ifunc.c: Likewise.
39179         * string/test-strncasecmp-ifunc.c: Likewise.
39180         * string/test-strncat-ifunc.c: Likewise.
39181         * string/test-strncmp-ifunc.c: Likewise.
39182         * string/test-strncpy-ifunc.c: Likewise.
39183         * string/test-strnlen-ifunc.c: Likewise.
39184         * string/test-strpbrk-ifunc.c: Likewise.
39185         * string/test-strrchr-ifunc.c: Likewise.
39186         * string/test-strspn-ifunc.c: Likewise.
39187         * string/test-strstr-ifunc.c: Likewise.
39189         * debug/Makefile (tests-ifunc): New variable.
39190         (tests): Add $(tests-ifunc).
39191         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
39192         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
39193         * debug/test-stpcpy_chk-ifunc.c: New file.
39194         * debug/test-strcpy_chk-ifunc.c: Likewise.
39196 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39198         [BZ #13601]
39199         * elf/dl-load.c (open_verify): Retry read if the entire ELF
39200         header is not read in.
39202 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
39204         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
39205         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
39206         directly.  Pass built executable to script as
39207         $(built-program-cmd).
39208         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
39209         $testprogram without using LD_LIBRARY_PATH and $ldso.
39211         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
39212         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
39213         $(rtld-installed-name).
39214         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
39215         (rtld_installed_name): Likewise.
39216         (library_path): Likewise.
39217         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
39218         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
39219         $(run-program-prefix) to tst-tables.sh.
39220         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
39221         it to run tst-table-from and tst-table-to.
39222         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
39223         Pass it to tst-table.sh.
39224         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
39225         $(run-program-prefix) to tst-gettext.sh.
39226         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
39227         tst-translit.sh.
39228         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
39229         tst-gettext2.sh.
39230         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
39231         to run tst-gettext.
39232         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
39233         to run tst-gettext2.
39234         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
39235         to run tst-translit.
39236         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
39237         $(run-program-prefix) to tst-mtrace.sh.
39238         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
39239         to run tst-mtrace.
39240         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
39241         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
39242         $(rtld-installed-name).
39243         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
39244         (rtld_installed_name): Likewise.
39245         (run_program_prefix): New variable.  Use it to run wordexp-test.
39247         * Makeconfig (ARCH): Remove all definitions.
39248         (machine): Likewise.
39249         [ARCH]: Remove conditional code.
39250         [!objdir]: Give error.
39251         [!objdir] (objpfx): Remove.
39252         [!objdir] (common-objpfx): Likewise.
39253         [!objdir] (common-objdir): Likewise.
39254         * configure.in (config_makefile): Remove.  Hardcode Makefile in
39255         AC_CONFIG_FILES call.
39256         * configure: Regenerated.
39258         [BZ #13888]
39259         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
39260         or TMPDIR.
39261         (testout): Likewise.
39263         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
39264         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
39265         $(rtld-installed-name).
39266         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
39267         (rtld_installed_name): Likwise.
39268         (runit): Remove function.
39269         (run_getconf): New variable,  Use it for running getconf binary.
39271 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
39273         [BZ #14716]
39274         * string/test-memmem.c (check_result): New function.
39275         (do_one_test): Use it.
39276         (check1): New function.
39277         (test_main): Use it.
39279 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
39281         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
39283 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
39285         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
39286         (_G_LSEEK64): Likewise.
39287         (_G_MMAP64): Likewise.
39288         (_G_FSTAT64): Likewise.
39289         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
39290         (_G_LSEEK64): Likewise.
39291         (_G_MMAP64): Likewise.
39292         (_G_FSTAT64): Likewise.
39293         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
39294         unconditional.  Call __mmap64 directly.
39295         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
39296         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
39297         __lseek64 directly.
39298         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
39299         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
39300         __mmap64 directly.
39301         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
39302         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
39303         __lseek64 directly.
39304         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
39305         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
39306         __lseek64 directly.
39307         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
39308         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
39309         __lseek64 directly.
39310         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
39311         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
39312         __fxstat64 directly.
39313         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
39314         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
39315         unconditional.
39316         (freopen64) [!_G_OPEN64]: Remove conditional code.
39317         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
39318         unconditional.
39319         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
39320         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
39321         unconditional.
39322         (ftello64) [!_G_LSEEK64]: Remove conditional code.
39323         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
39324         unconditional.
39325         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39326         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
39327         unconditional.
39328         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
39329         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
39330         unconditional.
39331         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39332         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
39333         unconditional.
39334         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39335         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
39336         unconditional.
39337         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39339 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39341         [BZ #12140]
39342         * manual/memory.texi (Malloc Tunable Parameters): Add note
39343         about free list pointers overwriting some perturb bytes.
39344         Wording suggested by Roland McGrath.
39346 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
39348         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
39349         (lgamma_test): Likewise.
39350         (tgamma_test): Likewise.
39352 2012-10-16  Florian Weimer  <fweimer@redhat.com>
39354         [BZ #14700]
39355         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
39356         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
39358 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
39360         * NEWS: Mention BZ #14716.
39361         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
39362         when removing AVAILABLE1_USES_J macro.
39364 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
39366         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
39367         (__bswap_64): __uint64_t for unsigned 64-bit int.
39369 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
39371         * include/string.h (memmem): Declare libc hidden alias.
39372         * string/memmem.c (memmem): Define libc hidden alias.
39373         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
39374         __read, __close instead of open, read, close.
39376 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
39378         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
39379         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
39380         global and hidden.
39381         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
39382         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
39383         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
39384         Likewise.
39385         (__rawmemchr_sse2): Likewise.
39386         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
39387         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
39388         (__strchr_sse2): Likewise.
39389         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
39390         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
39391         (__strcasecmp_sse2): Likewise.
39392         (__strncasecmp_sse2): Likewise.
39393         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
39394         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
39395         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
39396         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
39397         (__strrchr_sse2): Likewise.
39398         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
39399         ifunc-impl-list.c.
39400         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
39401         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
39402         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
39403         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39404         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
39405         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
39406         * sysdeps/x86_64/multiarch/memset.S: Likewise.
39407         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39408         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
39409         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
39410         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
39411         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
39412         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
39413         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
39414         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
39415         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39416         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
39417         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
39418         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
39419         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
39420         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
39421         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
39422         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
39423         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39424         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
39425         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39426         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
39427         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39428         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
39429         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
39431         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
39432         global and hidden.
39433         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
39434         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
39435         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
39436         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
39437         Likewise.
39438         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
39439         Likewise.
39440         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
39441         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
39442         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
39443         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
39444         ifunc-impl-list.c.
39445         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39446         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39447         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39448         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39449         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39450         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39451         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39452         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39453         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39454         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39455         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39456         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39457         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39458         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
39459         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
39460         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39461         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
39462         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
39463         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39464         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39465         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39466         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39467         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39468         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39469         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39470         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
39471         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
39472         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
39473         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
39474         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39475         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
39476         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39477         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39478         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
39479         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39480         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39481         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39482         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39483         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39484         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39485         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
39487         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
39488         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
39489         * include/ifunc-impl-list.h: New file.
39490         * misc/ifunc-impl-list.c: Likewise.
39491         * misc/Makefile (routines): Add ifunc-impl-list.
39492         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
39493         * string/test-string.h: Include <ifunc-impl-list.h>.
39494         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
39495         TEST_NAME]: New variables.
39496         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
39497         are defined.
39498         (test_init): Call __libc_ifunc_impl_list to initialize
39499         func_list if TEST_IFUNC and TEST_NAME are defined.
39501         * string/Makefile (strop-tests): Add bcopy and bzero.
39502         * string/test-bcopy.c: New file.
39503         * string/test-bzero.c: Likewise.
39504         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
39505         defined.
39506         * string/test-memset.c: Support bzero test if TEST_BZERO is
39507         defined.
39508         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
39509         __libc_memmove.
39510         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
39511         __libc_memset.
39512         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
39513         of memset.
39515 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
39517         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
39518         * configure: Regenerated.
39520         * Makeconfig (+link-static-before-libc): Don't include
39521         $(link-static-libc).
39523         * libio/libio.h (_IO_pos_t): Remove.
39525 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
39527         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
39528         McGrath.
39530 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
39532         * crypt/crypt-entry.c: Include fips-private.h.
39533         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
39534         * crypt/md5c-test.c (main): Tolerate disabled MD5.
39535         * sysdeps/unix/sysv/linux/fips-private.h: New file.
39536         * sysdeps/generic/fips-private.h: New file, dummy fallback.
39538 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
39540         * crypt/crypt-private.h: Include stdbool.h.
39541         (_ufc_setup_salt_r): Return bool.
39542         * crypt/crypt-entry.c: Include errno.h.
39543         (__crypt_r): Return NULL with EINVAL for bad salt.
39544         * crypt/crypt_util.c (bad_for_salt): New.
39545         (_ufc_setup_salt_r): Check that salt is long enough and within
39546         the specified alphabet.
39547         * crypt/badsalttest.c: New file.
39548         * crypt/Makefile (tests): Add it.
39549         ($(objpfx)badsalttest): New.
39551 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
39553         * NEWS: Add entry for BZ #14602.
39555 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
39557         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
39558         type-generic.
39559         * math/libm-test.inc: Update comment listing what functions and
39560         macros are tested.
39561         (isgreater_test): New function.
39562         (isgreaterequal_test): Likewise.
39563         (isless_test): Likewise.
39564         (islessequal_test): Likewise.
39565         (islessgreater_test): Likewise.
39566         (isunordered_test): Likewise.
39567         (main): Call the new functions.
39569 2012-10-09  Roland McGrath  <roland@hack.frob.com>
39571         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
39572         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
39573         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
39574         * sysdeps/i386/configure: Regenerated.
39575         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
39576         * sysdeps/mach/configure: Regenerated.
39577         * sysdeps/mach/hurd/configure: Regenerated.
39578         * sysdeps/powerpc/configure: Regenerated.
39579         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39580         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39581         * sysdeps/s390/s390-32/configure: Regenerated.
39582         * sysdeps/s390/s390-64/configure: Regenerated.
39583         * sysdeps/sh/configure: Regenerated.
39584         * sysdeps/sparc/configure: Regenerated.
39585         * sysdeps/unix/sysv/linux/configure: Regenerated.
39586         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
39587         * sysdeps/x86_64/configure: Regenerated.
39589         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
39590         defined.  Don't check if MAP is NULL.
39592 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
39594         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
39595         (_G_stat64): Likewise.
39596         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
39597         (_G_stat64): Likewise.
39598         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
39599         instead of struct _G_stat64.
39600         * libio/fileops.c (mmap_remap_check): Likewise.
39601         (decide_maybe_mmap): Likewise.
39602         (_IO_new_file_seekoff): Likewise.
39603         (_IO_file_stat): Likewise.
39604         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
39605         _G_off64_t.
39606         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
39607         instead of struct _G_stat64.
39608         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
39610 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
39612         [BZ #14602]
39613         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39614         Replace with ...
39615         (CHECK_EOL): New macro.
39616         (two_way_short_needle): Check beginning of haystack for EOL.  Use
39617         CHECK_EOL.
39618         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39619         Replace with CHECK_EOL.
39620         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39621         Replace with CHECK_EOL.
39623 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
39625         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
39626         type-generic.
39627         * math/libm-test.inc: Update comment listing what functions and
39628         macros are tested.
39629         (finite_test): New function.
39630         (isinf_test): Likewise.
39631         (isnan_test): Likewise.
39632         (fpclassify_test): Test subnormal input.
39633         (isfinite_test): Likewise.
39634         (isnormal_test): Likewise.
39635         (main): Call the new functions.
39637 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
39639         [BZ #14660]
39640         * Makerules (%.dynsym): Force C locale when running
39641         $(OBJDUMP) --dynamic-syms.
39643 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
39645         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
39646         <stdint.h>.
39648 2012-10-06  David S. Miller  <davem@davemloft.net>
39650         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
39651         upper 32-bits of the length value in %o2 since we use branch-on-register
39652         tests which consider the entire 64-bit register.
39654 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
39656         * string/test-strstr.c (check2): Add a test for page boundary.
39658 2012-10-05  David S. Miller  <davem@davemloft.net>
39660         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
39661         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
39662         file.
39663         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39664         sysdep_routines.
39665         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
39666         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
39667         and bzero when HWCAP_SPARC_CRYPTO is present.
39669 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
39671         [BZ #14602]
39672         * string/test-strstr.c (check2): New function.
39673         (test_main): Call check2.
39675         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
39676         and bug-strchr1.
39677         * string/bug-strcasestr1.c (do_test): Moved to ...
39678         * string/test-strcasestr.c (check1): Here.  New function.
39679         (do_one_test): Break out result checking code into ...
39680         (check_result): This.  New function.
39681         (do_one_test): Call check_result.
39682         (test_main): Call check1.
39683         * string/bug-strchr1.c (do_test): Moved to ...
39684         * string/test-strchr.c (check1): Here.  New function.
39685         (do_one_test): Break out result checking code into ...
39686         (check_result): This.  New function.
39687         (do_one_test): Call check_result.
39688         (test_main): Call check1.
39689         * string/bug-strstr1.c (main): Moved to ...
39690         * string/test-strstr.c (check1): Here.  New function.
39691         (do_one_test): Break out result checking code into ...
39692         (check_result): This.  New function.
39693         (do_one_test): Call check_result.
39694         (test_main): Call check1.
39695         * string/bug-strcasestr1.c: Removed.
39696         * string/bug-strchr1.c: Likewise.
39697         * string/bug-strstr1.c: Likewise.
39699         * elf/Makefile (dl-routines): Add hwcaps.
39700         * elf/dl-support.c (_dl_important_hwcaps): Removed.
39701         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
39702         (_dl_important_hwcaps): Moved to ...
39703         * elf/dl-hwcaps.c: Here.  New file.
39704         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
39706         [BZ #14557]
39707         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
39708         if IS_IN_rtld isn't defined.
39710         * elf/dl-support.c (_dl_sysinfo_map): New.
39711         Include "get-dynamic-info.h" and "setup-vdso.h".
39712         (_dl_non_dynamic_init): Call setup_vdso.
39713         * elf/dynamic-link.h: Don't include <assert.h>.
39714         (elf_get_dynamic_info): Moved to ...
39715         * elf/get-dynamic-info.h: Here.  New file.
39716         * elf/dynamic-link.h: Include "get-dynamic-info.h".
39717         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
39718         * elf/setup-vdso.h: Here.  New file.
39719         * elf/rtld.c: Include "setup-vdso.h".
39720         (dl_main): Call setup_vdso.
39722 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
39724         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
39725         creal in comment listing functions tested.  List finite, isinf,
39726         isnan, isless, islessequal, isgreater, isgreaterequal,
39727         islessgreater, isunordered, lgamma_r and pow10 as functions and
39728         macros not tested.  Mention which functions not tested are aliases
39729         for other functions.  Fix typo.  Note that signs of NaNs are not
39730         tested.
39732         * scripts/config.guess: Update from config.git.
39733         * scripts/config.sub: Likewise.
39735 2012-10-04  Roland McGrath  <roland@hack.frob.com>
39737         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
39738         * misc/madvise.c (madvise): Renamed to __madvise.
39739         Make madvise a weak alias.
39740         * include/sys/mman.h: Declare __madvise.
39741         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
39742         * sysdeps/unix/syscalls.list
39743         (madvise): Make __madvise the strong name, and madvise a weak alias.
39744         * sysdeps/unix/sysv/linux/syscalls.list
39745         (madvise, mmap): Remove redundant entries.
39746         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
39747         * malloc/malloc.c (mtrim): Likewise.
39748         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
39750 2012-10-03  Roland McGrath  <roland@hack.frob.com>
39752         * sysdeps/mach/hurd/dl-cache.c: File removed.
39753         * config.h.in (USE_LDCONFIG): New #undef.
39754         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
39755         * configure: Regenerated.
39756         * elf/Makefile (dl-routines): Add dl-cache only under
39757         [$(use-ldconfig) = yes].
39758         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
39759         cache on [USE_LDCONFIG].
39760         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
39761         [USE_LDCONFIG].
39762         * elf/rtld.c (dl_main): Likewise.
39764 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
39766         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
39767         _SC_LEVEL4_CACHE_LINESIZE.
39769 2012-10-03  Roland McGrath  <roland@hack.frob.com>
39771         * sysdeps/unix/bsd/confstr.h: File removed.
39773 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
39775         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
39776         sys/sdt-config.h.
39778 2012-10-02  Roland McGrath  <roland@hack.frob.com>
39780         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
39781         Make 'mapoff' field ElfW(Off) rather than off_t.
39783 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
39785         * nscd/Makefile: Remove nscd-cflags and all its users.
39786         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
39787         (CFLAGS-nonlib): Add compiler flags for nscd modules.
39789         [BZ #10631]
39790         * malloc.c (malloc_printerr): Clarify error message.
39792 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
39794         [BZ #14648]
39795         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39796         Set bit_FMA_Usable if FMA is supported.
39797         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
39798         macro.
39799         (bit_FMA4_Usable): Updated.
39800         (index_FMA_Usable): New macro.
39801         (CPUID_FMA): Likewise
39802         (HAS_FMA): Defined with bit_FMA_Usable.
39804 2012-10-01  Roland McGrath  <roland@hack.frob.com>
39806         * bits/types.h (__swblk_t): Type removed.
39807         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
39808         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
39809         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39810         (__SWBLK_T_TYPE): Likewise.
39811         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39812         (__SWBLK_T_TYPE): Likewise.
39813         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39814         (__SWBLK_T_TYPE): Likewise.
39815         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39816         (__SWBLK_T_TYPE): Likewise.
39818 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
39819             Honza Horak <hhorak@redhat.com>
39821         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
39822         (xdr_mapname): Use YPMAXMAP as maxsize.
39823         (xdr_peername): Use YPMAXPEER as maxsize.
39824         (xdr_keydat): Use YPAXRECORD as maxsize.
39825         (xdr_valdat): Use YPMAXRECORD as maxsize.
39827 2012-10-01  Roland McGrath  <roland@hack.frob.com>
39829         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
39831         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
39832         * csu/init-first.c: ... here.
39833         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
39834         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
39835         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
39836         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
39837         * sysdeps/i386/init-first.c: File removed.
39838         * sysdeps/sh/init-first.c: File removed.
39840 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
39842         [BZ #14645]
39843         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
39844         if x * y might underflow to zero and z is zero.
39845         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39846         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39847         * math/libm-test.inc (min_subnorm_value): New variable.
39848         (fma_test): Add more tests.
39849         (fma_test_towardzero): Likewise.
39850         (fma_test_downward): Likewise
39851         (fma_test_upward): Likewise.
39852         (initialize): Set min_subnorm_value.
39854 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
39856         [BZ #14638]
39857         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
39858         0 + 0.
39859         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
39860         mode for addition resulting in exact zero.
39861         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
39862         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
39863         exact 0 + 0.
39864         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39865         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39866         * math/libm-test.inc (fma_test): Add more tests.
39867         (fma_test_towardzero): New function.
39868         (fma_test_downward): Likewise.
39869         (fma_test_upward): Likewise.
39870         (main): Call the new functions.
39872 2012-09-28  David S. Miller  <davem@davemloft.net>
39874         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
39876 2012-09-28  Roland McGrath  <roland@hack.frob.com>
39878         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
39879         instead of SIGALRM.
39881         * sysdeps/gnu/_G_config.h: Moved to ...
39882         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
39883         * sysdeps/mach/hurd/_G_config.h: Moved to ...
39884         * sysdeps/generic/_G_config.h: ... here.
39886         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
39888         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
39890         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
39891         Conditionalize target on [libnss_test1.so-version].
39893         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
39895         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
39896         (elfobjdir): Move out of conditionals.
39898         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
39899         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
39900         (__nss_lookup_function): Conditionalize label remove_from_tree on
39901         [!DO_STATIC_NSS || SHARED], matching its only use.
39903 2012-09-28  David S. Miller  <davem@davemloft.net>
39905         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
39906         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
39907         file.
39908         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39909         sysdep_routines.
39910         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
39911         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
39912         when HWCAP_SPARC_CRYPTO is present.
39914 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
39916         * io/tst-mknodat.c: Create a FIFO instead of a socket.
39918 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
39920         [BZ #6530]
39921         * stdio-common/vfprintf.c (process_string_arg): Revert
39922         2000-07-22 change.
39924 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
39926         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
39927         for testcase.
39928         * stdio-common/tst-sprintf.c: Include <locale.h>
39929         (main): Test sprintf's handling of incomplete multibyte
39930         characters.
39932 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
39934         * elf/dl-runtime.c (VERSYMIDX): Removed.
39935         * elf/dl-version.c (VERSYMIDX): Likewise.
39936         * elf/do-rel.h (VERSYMIDX): Likewise.
39937         (VALIDX): Likewise.
39938         * elf/dynamic-link.h (VERSYMIDX): Likewise.
39939         * elf/rtld.c (VALIDX): Likewise.
39940         (ADDRIDX): Likewise.
39941         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
39942         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
39943         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
39944         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
39945         (VALIDX): Likewise.
39946         (ADDRIDX): Likewise.
39948 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
39950         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
39952 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
39954         [BZ #11438]
39955         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
39956         to global scope.
39957         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
39958         addresses are in the same scope as 192.0.2/24.
39959         * posix/gai.conf: Document new scope table defaults.
39961 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39963         [BZ #5298]
39964         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
39965         for ftell.  Compute offsets from write pointers instead.
39966         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
39968 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39970         [BZ #14543]
39971         * libio/Makefile (tests): New test case tst-fseek.
39972         * libio/tst-fseek.c: New test case to verify that fseek/ftell
39973         combination works in wide mode.
39974         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
39975         state when the external buffer state changes.
39977 2012-09-27  David S. Miller  <davem@davemloft.net>
39979         [BZ #14376]
39980         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
39981         pass reloc->r_addend in as the 'high' argument to
39982         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
39984         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39986 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
39988         * rt/tst-aio2.c: Include <pthread.h>.
39989         * rt/tst-aio3.c: Likewise.
39991 2012-09-27  Steve Ellcey  <sellcey@mips.com>
39993         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
39995 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
39997         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
39998         contents on [SHARED].
40000 2012-09-26  Marek Polacek  <polacek@redhat.com>
40002         [BZ #14530]
40003         [BZ #13741]
40004         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
40005         for C++ and GCC <4.3 as well as for non GCC compilers.
40007 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
40009         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40011 2012-09-25  Roland McGrath  <roland@hack.frob.com>
40013         * Makefile.in (all, install): Declare with .PHONY.
40014         Reported by Michael Hope <michael.hope@linaro.org>.
40016 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40018         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
40019         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
40020         system header.
40021         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
40022         Likewise.
40023         (sydep_routines): Add the new and the internal functions.
40024         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
40025         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
40026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
40027         (GLIBC_2.17): Add the new function.
40028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40029         (GLIBC_2.17): Likewise.
40030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
40031         (GLIBC_2.17): Likewise.
40032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
40033         (GLIBC_2.17): Likewise.
40034         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
40036 2012-09-25  Alan Modra  <amodra@gmail.com>
40038         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
40039         Add release barrier before setting once_control to say
40040         initialisation is done.  Add hints on lwarx.  Use macro in
40041         place of isync.
40042         (clear_once_control): Add release barrier.
40044 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
40046         [BZ #13629]
40047         * math/s_clog.c (__clog): Handle more values close to |z| = 1
40048         specially.
40049         * math/s_clog10.c (__clog10): Likewise.
40050         * math/s_clog10f.c (__clog10f): Likewise.
40051         * math/s_clog10l.c (__clog10l): Likewise.
40052         * math/s_clogf.c (__clogf): Likewise.
40053         * math/s_clogl.c (__clogl): Likewise.
40054         * math/Makefile (libm-calls): Add x2y2m1.
40055         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
40056         (__x2y2m1): Likewise.
40057         (__x2y2m1l): Likewise.
40058         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
40059         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
40060         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
40061         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40062         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
40063         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
40064         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
40065         * sysdeps/i386/fpu/libm-test-ulps: Update.
40066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40068         [BZ #14621]
40069         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
40070         int as type of variable DEPTH.
40071         (glob): Use size_t instead of int as type of variables NEWCOUNT
40072         and OLD_PATHC.
40074 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40076         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40077         Add s_sincosf-sse2.
40078         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
40079         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
40080         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
40081         macros for using routine as __sincosf_ia32.
40082         Use macro for function declaration and weak_alias.
40083         * sysdeps/i386/fpu/libm-test-ulps: Update.
40085         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
40086         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40088         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
40089         subnormal argument.
40090         * math/s_cexpf.c (__cexpf): Likewise.
40091         * math/s_csinf.c (__csinf): Likewise.
40092         * math/s_csinhf.c (__csinhf): Likewise.
40093         * math/s_ctanf.c (__ctanf): Likewise.
40094         * math/s_ctanhf.c (__ctanhf): Likewise.
40095         * math/s_ccosh.c (__ccoshf): Likewise.
40096         * math/s_cexp.c (__cexpl): Likewise.
40097         * math/s_csin.c (__csin): Likewise.
40098         * math/s_csinh.c (__csinh): Likewise.
40099         * math/s_ctan.c (__ctan): Likewise.
40100         * math/s_ctanh.c (ctanh): Likewise.
40101         * math/s_ccoshl.c (__ccoshl): Likewise.
40102         * math/s_cexpl.c (__cexpl): Likewise.
40103         * math/s_csinl.c (__csinl): Likewise.
40104         * math/s_csinhl.c (__csinhl): Likewise.
40105         * math/s_ctanl.c (__ctanl): Likewise.
40106         * math/s_ctanhl.c (__ctanhl): Likewise.
40108 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
40110         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
40111         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
40112         (_IO_off_t): Define to __off_t, not _G_off_t.
40113         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
40114         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
40115         (_IO_wint_t): Define to wint_t, not _G_wint_t.
40116         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
40117         type of __dummy and __dummy2 fields.
40118         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
40119         (_G_ssize_t): Likewise.
40120         (_G_off_t): Likewise.
40121         (_G_pid_t): Likewise.
40122         (_G_uid_t): Likewise.
40123         (_G_wchar_t): Likewise.
40124         (_G_wint_t): Likewise.
40125         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
40126         (_G_ssize_t): Likewise.
40127         (_G_off_t): Likewise.
40128         (_G_pid_t): Likewise.
40129         (_G_uid_t): Likewise.
40130         (_G_wchar_t): Likewise.
40131         (_G_wint_t): Likewise.
40132         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
40133         (_G_ssize_t): Likewise.
40134         (_G_off_t): Likewise.
40135         (_G_pid_t): Likewise.
40136         (_G_uid_t): Likewise.
40137         (_G_wchar_t): Likewise.
40138         (_G_wint_t): Likewise.
40140 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40142         * malloc/arena.c: Include malloc-sysdep.h.
40143         (shrink_heap): Use check_may_shrink_heap to decide if madvise
40144         is sufficient to shrink the heap or an unmap is needed.
40145         * sysdeps/generic/malloc-sysdep.h: New file.  Define
40146         new function check_may_shrink_heap.
40147         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
40148         new function check_may_shrink_heap.
40150 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40152         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
40153         comments.
40155 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
40157         * catgets/test-gencat.sh: Add "set -e".
40158         * elf/tst-pathopt.sh: Likewise.
40159         * grp/tst_fgetgrent.sh: Likewise.
40160         * iconvdata/run-iconv-test.sh: Likewise.
40161         * intl/tst-gettext.sh: Likewise.
40162         * intl/tst-gettext2.sh: Likewise.
40163         * intl/tst-gettext4.sh: Likewise.
40164         * intl/tst-gettext6.sh: Likewise.
40165         * intl/tst-translit.sh: Likewise.
40166         * io/ftwtest-sh: Likewise.
40167         * libio/test-freopen.sh: Likewise.
40168         * malloc/tst-mtrace.sh: Likewise.
40169         * posix/globtest.sh: Likewise.
40170         * posix/tst-getconf.sh: Likewise.
40171         * posix/wordexp-tst.sh: Likewise.
40172         * stdio-common/tst-printf.sh: Likewise.
40173         * stdio-common/tst-unbputc.sh: Likewise.
40174         * stdlib/tst-fmtmsg.sh: Likewise.
40175         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40176         * catgets/Makefile: Do not specify -e option when running
40177         testsuite shell scripts.
40178         * elf/Makefile: Likewise.
40179         * grp/Makefile: Likewise.
40180         * iconvdata/Makefile: Likewise.
40181         * intl/Makefile: Likewise.
40182         * io/Makefile: Likewise.
40183         * libio/Makefile: Likewise.
40184         * malloc/Makefile: Likewise.
40185         * posix/Makefile: Likewise.
40186         * stdio-common/Makefile: Likewise.
40187         * stdlib/Makefile: Likewise.
40188         * sysdeps/x86_64/Makefile: Likewise.
40190         * io/ftwtest-sh: Add copyright header.
40191         * posix/globtest.sh: Likewise.
40192         * posix/tst-getconf.sh: Likewise.
40193         * posix/wordexp-tst.sh: Likewise.
40194         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40196 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
40198         [BZ #13679]
40199         * Makeconfig (+link): Defined as $(+link-static) if
40200         $(build-shared) isn't yes.
40201         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
40202         isn't yes.
40203         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
40205         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
40207         [BZ #14562]
40208         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
40209         new chunk size with MALLOC_ALIGN_MASK.
40211 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
40213         [BZ #5044]
40214         * stdio-common/printf_fphex.c: Include <stdbool.h> and
40215         <rounding-mode.h>.
40216         (__printf_fphex): Determine rounding using get_rounding_mode and
40217         round_away.
40218         * stdio-common/tst-printf-round.c (struct hex_test): New
40219         structure.
40220         (hex_tests): New variable.
40221         (test_hex_in_one_mode): New function.
40222         (do_test): Also run tests for hex float output.
40224 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
40226         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40227         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40228         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
40229         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40230         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40231         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
40232         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40233         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40235 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
40237         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
40238         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
40239         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
40240         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
40242 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
40244         [BZ #14579]
40245         * elf/rtld.c (dl_main): Limit the check for self loading to normal
40246         mode only.
40247         * elf/tst-rtld-load-self.sh: New test.
40248         * elf/Makefile: Run it.
40250 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
40252         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
40253         (tst-writev-ENV): Remove.
40254         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
40256 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
40258         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
40260 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
40262         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
40263         unconditional.
40264         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
40265         Likewise.
40266         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
40267         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
40268         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
40269         Likewise.
40271 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
40273         [BZ #14587]
40274         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
40275         * config.make.in (have-cpp-asm-debuginfo): Removed.
40276         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
40277         * configure: Regenerated.
40279 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
40281         [BZ #5044]
40282         * stdio-common/printf_fp.c: Include <stdbool.h> and
40283         <rounding-mode.h>.
40284         (___printf_fp): Determine rounding using get_rounding_mode and
40285         round_away.
40286         * stdio-common/tst-printf-round.c: New file.
40287         * stdio-common/Makefile (tests): Add tst-printf-round.
40288         (link-libm): New variable.
40289         ($(objpfx)tst-printf-round): Depend in $(link-libm).
40291 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
40293         [BZ #14576]
40294         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
40295         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
40296         Likewise.
40297         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
40298         Likewise.
40300 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
40302         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
40303         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40304         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40305         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40307 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
40309         [BZ #14518]
40310         * include/rounding-mode.h: New file.
40311         * sysdeps/generic/get-rounding-mode.h: Likewise.
40312         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
40313         * stdlib/strtod_l.c: Include <rounding-mode.h>.
40314         (MAX_VALUE): New macro.
40315         (MIN_VALUE): Likewise.
40316         (overflow_value): New function.
40317         (underflow_value): Likewise.
40318         (round_and_return): Use overflow_value and underflow_value to
40319         determine return values in overflow and underflow cases.  Use
40320         round_away to determine rounding depending on rounding mode.
40321         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
40322         determine return values in overflow and underflow cases.
40323         * stdlib/tst-strtod-round.c: Include <fenv.h>.
40324         (struct test_results): New structure.
40325         (struct test): Use struct test_results to store expected results
40326         for all rounding modes.
40327         (TEST): Include expected results for all rounding modes.
40328         (test_in_one_mode): New function.
40329         (do_test): Use test_in_one_mode to compute and check results.
40330         Check results for all rounding modes.
40331         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
40332         $(link-libm).
40334 2012-12-09  Allan McRae  <allan@archlinux.org>
40336         * sysdeps/i386/fpu/libm-test-ulps: Update
40338 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
40340         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
40341         (_G_int32_t): Likewise.
40342         (_G_uint16_t): Likewise.
40343         (_G_uint32_t): Likewise.
40344         (_G_HAVE_BOOL): Likewise.
40345         (_G_HAVE_ATEXIT): Likewise.
40346         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40347         (_G_HAVE_IO_FILE_OPEN): Likewise.
40348         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
40349         (_G_int32_t): Likewise.
40350         (_G_uint16_t): Likewise.
40351         (_G_uint32_t): Likewise.
40352         (_G_HAVE_BOOL): Likewise.
40353         (_G_HAVE_ATEXIT): Likewise.
40354         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40355         (_G_HAVE_IO_FILE_OPEN): Likewise.
40356         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
40357         (_G_int32_t): Likewise.
40358         (_G_uint16_t): Likewise.
40359         (_G_uint32_t): Likewise.
40360         (_G_HAVE_BOOL): Likewise.
40361         (_G_HAVE_ATEXIT): Likewise.
40362         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40363         (_G_HAVE_IO_FILE_OPEN): Likewise.
40365 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
40367         * csu/libc-tls.c: Update copyright years.
40369 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
40371         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
40372         [!_G_USING_THUNKS]: Remove conditional code.
40373         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
40374         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
40376         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
40377         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
40378         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40379         (_G_VTABLE_LABEL_PREFIX): Likewise.
40380         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40381         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40382         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40383         (_G_VTABLE_LABEL_PREFIX): Likewise.
40384         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
40385         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40386         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40387         (_G_VTABLE_LABEL_PREFIX): Likewise.
40388         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
40390 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
40392         * libio/Makefile: Include ../Makeconfig before tests.
40393         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
40394         only if $(build-shared) is yes.
40396         * iconv/gconv_db.c: Update copyright years.
40398 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40400         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
40401         unwind info if defined PIC. Fix special cases description.
40402         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
40404         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
40405         DP_HI_MASK entry.
40406         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
40408 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
40410         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
40412         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
40413         is NULL.
40415         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
40416         (LDLIBS-tst-chk4): This.
40417         (LDFLAGS-tst-chk5): Renamed to ...
40418         (LDLIBS-tst-chk5): This.
40419         (LDFLAGS-tst-chk6): Renamed to ...
40420         (LDLIBS-tst-chk6): This.
40421         (LDFLAGS-tst-lfschk4): Renamed to ...
40422         (LDLIBS-tst-lfschk4): This.
40423         (LDFLAGS-tst-lfschk5): Renamed to ...
40424         (LDLIBS-tst-lfschk5): This.
40425         (LDFLAGS-tst-lfschk6): Renamed to ...
40426         (LDLIBS-tst-lfschk6): This.
40428         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
40429         on $(common-objpfx)soversions.mk.
40431 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
40433         [BZ #10014]
40434         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
40435         example host name.
40437 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
40439         * malloc/arena.c (arena_get_retry): New function that gets
40440         another arena for the caller to try its request on.
40441         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
40442         current arena cannot fulfill the request.
40443         (__libc_memalign): Likewise.
40444         (__libc_memalign): Likewise.
40445         (__libc_pvalloc): Likewise.
40446         (__libc_calloc): Likewise.
40448 2012-09-05  John Tobey  <john.tobey@gmail.com>
40450         [BZ #13542]
40451         * manual/arith.texi (Operations on Complex): Fix description
40452         of carg branch cut.
40454 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
40456         [BZ #10014]
40457         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
40458         host name.
40460         [BZ #10038]
40461         * manual/memory.texi (Memory): Make order of menu items match
40462         order of sections.
40464 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
40466         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
40467         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
40468         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
40470 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
40472         * csu/libc-tls.c (static_dtv): Renamed to ...
40473         (_dl_static_dtv): This.  Make it global.
40474         (_dl_initial_dtv): Removed.
40475         (__libc_setup_tls): Updated.
40476         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
40477         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
40478         DL_INITIAL_DTV.
40480 2012-09-06  Petr Machata  <pmachata@redhat.com>
40482         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
40483         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
40484         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
40485         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
40487 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
40489         [BZ #14545]
40490         * csu/libc-tls.c (_dl_initial_dtv): New variable.
40491         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
40492         freeing dtv[-1].
40494 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
40496         [BZ #14544]
40497         * Makeconfig (link-static-before-libc): Replace $(+prector)
40498         with $(+prectorT).
40499         (link-static-after-libc): Replace $(+postctor) with
40500         $(+postctorT).
40501         (link-bounded): Replace $(+prector)/$(+postctor) with
40502         $(+prectorT)/$(+postctorT).
40503         (+prectorT): New macro.
40504         (+postctorT): Likewise.
40506 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
40508         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
40509         (round_str): Handle values above the maximum for IBM long double
40510         as inexact.
40511         * stdlib/tst-strtod-round.c (tests): Regenerated.
40513 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40515         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
40516         assembler flag.
40517         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
40518         zarch_nohighgprs around the zarch optimized routines.
40519         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
40520         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
40521         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
40522         for zarch.
40524 2012-09-05  David S. Miller  <davem@davemloft.net>
40526         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40528         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
40529         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
40530         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
40531         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40532         entries.
40534 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40536         * malloc/arena.c: Fold copyright years.
40537         * malloc/mcheck.c, malloc/memusage.c: Likewise.
40539 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40541         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
40543 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40545         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
40547 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40549         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
40550         change internal state upon failure.
40552 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40554         * malloc/mcheck.c (mcheck_check_all): Fix typo.
40555         * malloc/memusage.c (mmap): Likewise.
40556         (mmap64, mremap): Likewise.  Adjust name in comment.
40558 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40560         * libio/fileops.c: Fix typos in comments.
40561         * libio/oldfileops.c: Likewise.
40562         * libio/wfileops.c: Likewise.
40564 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40566         [BZ #1349]
40567         * malloc/Makefile (tests): Add tst-malloc-usable test case.
40568         (tst-malloc-usable-ENV): Set environment for test case.
40569         * malloc/hooks.c (malloc_check_get_size): New function to get
40570         requested size.
40571         * malloc/malloc.c (musable): Use malloc_check_get_size.
40572         * malloc/tst-malloc-usable.c: New test case.
40574 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
40576         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
40578 2012-09-05  Allan McRae  <allan@archlinux.org>
40580         [BZ #13966]
40581         * configure.in (CXX_SYSINCLUDES): Use compiler output to
40582         determine header location.
40583         * configure: Regenerated.
40585 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
40587         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
40588         float format.
40589         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
40590         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
40591         format.
40592         (test): Regenerate.
40594 2012-09-04  David S. Miller  <davem@davemloft.net>
40596         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
40597         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
40598         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
40600 2012-09-04  Florian Weimer  <fweimer@redhat.com>
40602         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
40603         failures.
40605         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
40607 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
40609         [BZ #9914]
40610         * libio/iogetdelim.c: Include <limits.h>.
40611         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
40612         + len + 1 would overflow.
40614 2012-09-03  Andreas Jaeger  <aj@suse.de>
40616         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40617         * sysdeps/i386/fpu/libm-test-ulps: Update.
40619 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40621         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40622         Add s_sinf-sse2, s_conf-sse2.
40624         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
40625         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
40626         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
40627         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
40629         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
40630         for using routine as __sinf_ia32.
40631         Use macro for function declaration and weak_alias.
40632         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
40633         for using routine as __cosf_ia32.
40634         Use macro for function declaration and weak_alias.
40636         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
40637         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
40639         * sysdeps/x86_64/fpu/s_sinf.S: New file.
40640         * sysdeps/x86_64/fpu/s_cosf.S: New file.
40641         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40643         * math/libm-test.inc (cos_test): Add more test cases.
40644         (sin_test): Likewise.
40645         (sincos_test): Likewise.
40647 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40649         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40650         (IFUNC_RESOLVE): Make pointers to the specialized implementations
40651         hidden.
40652         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40654 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
40656         [BZ #14538]
40657         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
40658         first element of the GOT.
40659         (elf_machine_load_address): Return the difference between
40660         the runtime address of _DYNAMIC and elf_machine_dynamic ().
40662 2012-09-01  Allan McRae  <allan@archlinux.org>
40664         [BZ #13412]
40665         * configure.in (AWK): Require gawk version 3.0 or later.
40666         * configure: Regenerated.
40668 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
40670         * sysdeps/unix/sysv/linux/kernel-features.h
40671         (__ASSUME_POSIX_CPU_TIMERS): Remove.
40672         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40673         [__NR_clock_getres]: Make code unconditional.
40674         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
40675         (clock_getcpuclockid): Remove code left unreachable by removal of
40676         conditionals.
40677         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
40678         code unconditional.
40679         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
40680         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40681         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
40682         Make code unconditional.
40683         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
40684         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40685         * sysdeps/unix/sysv/linux/clock_settime.c
40686         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
40687         conditional code.
40688         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
40689         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40691 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
40693         [BZ #14476]
40694         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
40695         scripts/test-installation.pl.
40697         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
40698         and $ld_so_version if it is set.
40700 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40702         [BZ #14516]
40703         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
40704         failure if reading from procfs failed.
40705         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
40707 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
40709         * sysdeps/unix/sysv/linux/kernel-features.h
40710         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
40711         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
40712         Remove conditional code.
40713         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40714         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
40715         Remove conditional code.
40716         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40717         * sysdeps/unix/sysv/linux/i386/fxstat.c
40718         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40719         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40720         * sysdeps/unix/sysv/linux/i386/fxstatat.c
40721         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40722         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40723         * sysdeps/unix/sysv/linux/i386/lxstat.c
40724         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40725         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40726         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
40727         Remove conditional code.
40728         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40729         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
40730         Remove conditional code.
40731         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40732         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
40733         <kernel-features.h>.
40734         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
40735         Remove.
40736         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
40737         Remove conditional code.
40738         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40739         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
40740         Remove conditional.
40742 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
40744         [BZ #5400]
40745         * NEWS: Add fixed bug number.
40747 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
40749         [BZ #14519]
40750         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
40751         underflowing exponent in case of negative sign.
40752         * stdlib/tst-strtod-round-data: Add more tests.
40753         * stdlib/tst-strtod-round.c (tests): Regenerated.
40755         [BZ #3479]
40756         * stdlib/strtod_l.c (NDIG): Remove.
40757         (HEXNDIG): Likewise.
40758         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
40759         smallest representable value.
40760         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
40761         lie within an exact representation of 1/2 ulp of the result.
40762         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
40763         unconditionally.
40764         (TENS_P9_IDX): Define unconditionally.
40765         (TENS_P9_SIZE): Likewise.
40766         (TENS_P10_IDX): Likewise.
40767         (TENS_P10_SIZE): Likewise.
40768         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
40769         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
40770         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
40771         entries for 10^2^13 and 10^2^14.
40772         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
40773         (TENS_P13_IDX): Define.
40774         (TENS_P13_SIZE): Likewise.
40775         (TENS_P14_IDX): Likewise.
40776         (TENS_P14_SIZE): Likewise.
40777         (_fpioconst_pow10): Change array size to
40778         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
40779         unconditional.
40780         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
40781         1024]: Add entries for 10^2^13 and 10^2^14.
40782         [LAST_POW10 > _LAST_POW10]: Remove #error.
40783         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
40784         (_fpioconst_pow10): Change array size to
40785         FPIOCONST_POW10_ARRAY_SIZE.
40786         * stdlib/gen-fpioconst.c: New file.
40787         * stdlib/gen-tst-strtod-round.c: Likewise.
40788         * stdlib/tst-strtod-round-data: Likewise.
40789         * stdlib/tst-strtod-round.c: Likewise.
40790         * stdlib/Makefile (tests): Add tst-strtod-round.
40792         [BZ #14459]
40793         * stdlib/strtod_l.c: Include <stdint.h>.
40794         (NDEBUG): Do not define.
40795         (round_and_return): Change EXPONENT parameter to type intmax_t.
40796         Rearrange calculations to avoid internal overflow possibilities.
40797         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
40798         Rearrange calculations to avoid internal overflow possibilities.
40799         Assert that number fits inside MPNSIZE limbs.
40800         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
40801         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
40802         calculations and add assertions to avoid internal overflow
40803         possibilities.  Add casts to avoid signed/unsigned operations.
40804         * stdlib/tst-strtod-overflow.c: New file.
40805         * stdlib/Makefile (tests): Add tst-strtod-overflow.
40807 2012-08-25  Marek Polacek  <polacek@redhat.com>
40809         * time/time.h: Fix some typos in comments.
40811 2012-08-23  Roland McGrath  <roland@hack.frob.com>
40813         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
40814         * posix/tst-rfc3484-2.c: Likewise.
40815         * posix/tst-rfc3484-3.c: Likewise.
40817 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
40819         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
40820         (EF_ARM_ABI_FLOAT_HARD): Likewise.
40822 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
40824         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
40825         #include of fxstatat64.c.
40827 2012-08-22  Roland McGrath  <roland@hack.frob.com>
40829         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
40830         * shadow/getspent_r.c: Likewise.
40831         * shadow/getspnam.c: Likewise.
40832         * shadow/getspnam_r.c: Likewise.
40833         * gshadow/getsgent.c: Likewise.
40834         * gshadow/getsgent_r.c: Likewise.
40835         * gshadow/getsgnam.c: Likewise.
40836         * gshadow/getsgnam_r.c: Likewise.
40837         * inet/getnetbyad.c: Likewise.
40838         * inet/getnetbyad_r.c: Likewise.
40839         * inet/getnetbynm.c: Likewise.
40840         * inet/getnetbynm_r.c: Likewise.
40841         * inet/getnetent.c: Likewise.
40842         * inet/getnetent_r.c: Likewise.
40843         * inet/getproto.c: Likewise.
40844         * inet/getproto_r.c: Likewise.
40845         * inet/getprtent.c: Likewise.
40846         * inet/getprtent_r.c: Likewise.
40847         * inet/getprtname.c: Likewise.
40848         * inet/getprtname_r.c: Likewise.
40849         * inet/getrpcbyname.c: Likewise.
40850         * inet/getrpcbyname_r.c: Likewise.
40851         * inet/getrpcbynumber.c: Likewise.
40852         * inet/getrpcbynumber_r.c: Likewise.
40853         * inet/getrpcent.c: Likewise.
40854         * inet/getrpcent_r.c: Likewise.
40855         * inet/getaliasent.c: Likewise.
40856         * inet/getaliasent_r.c: Likewise.
40857         * inet/getaliasname.c: Likewise.
40858         * inet/getaliasname_r.c: Likewise.
40859         * nscd/getgrgid_r.c: Likewise.
40860         * nscd/getgrnam_r.c: Likewise.
40861         * nscd/gethstbyad_r.c: Likewise.
40862         * nscd/gethstbynm3_r.c: Likewise.
40863         * nscd/getpwnam_r.c: Likewise.
40864         * nscd/getpwuid_r.c: Likewise.
40865         * nscd/getsrvbynm_r.c: Likewise.
40866         * nscd/getsrvbypt_r.c: Likewise.
40867         * nscd/gai.c: Likewise.
40869         * configure.in (build_nscd): New substituted variable, set
40870         by --disable-build-nscd and defaults to $use_nscd.
40871         * configure: Regenerated.
40872         * config.make.in (build-nscd): New substituted variable.
40873         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
40874         Change conditional to require [$(build-nscd) = yes] as well.
40875         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
40877         [BZ# 13696]
40878         * configure.in (use_nscd): New substituted variable, set by
40879         --disable-nscd.  If enabled, define USE_NSCD.
40880         * configure: Regenerated.
40881         * config.h.in: Add USE_NSCD.
40882         * config.make.in (use-nscd): New substituted variable.
40883         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
40884         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
40885         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
40886         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
40887         (CFLAGS-getgrnam_r.c): Likewise.
40888         (CFLAGS-initgroups.c): Likewise.
40889         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
40890         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
40891         Variables removed.
40892         * inet/getnetgrent_r.c
40893         (nscd_setnetgrent): New function, broken out of ...
40894         (setnetgrent): ... here.  Call it.
40895         (innetgr): Conditionalize nscd bits on [USE_NSCD].
40896         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
40897         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
40898         * nscd/Makefile (routines, aux): Move definitions after include of
40899         Makeconfig.  Conditionalize on [$(use-nscd) != no].
40900         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
40901         Conditionalize on [USE_NSCD].
40902         (is_nscd, nscd_init_cb): Likewise.
40903         (nss_load_library): Conditionalize init callback on [USE_NSCD].
40904         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
40905         * nss/nss_db/db-init.c: Likewise.
40906         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
40907         [USE_NSCD].
40908         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
40909         (make_request): Use it.
40910         (cache_valid_p): New function.
40911         (__check_pf): Use it.
40912         * NEWS: Add item for --disable-nscd.
40914 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
40916         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
40917         to support sed >= 4.2.1-20-ga9bf076.
40918         * configure: Regenerated.
40920 2012-08-22  Roland McGrath  <roland@hack.frob.com>
40922         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
40923         Conditionalize whole body on [IREL].
40925 2012-08-22  Jeff Law <law@redhat.com>
40927         [BZ #14505]
40928         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
40929         if the family is PF_UNSPEC.
40931 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
40933         * Makerules (lib-version): Rename from V.
40934         (install-lib-nosubdir): Change V to lib-version.
40936 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
40938         [BZ #14252]
40939         * powerpc32/power6/wcschr.c: New file.
40940         * powerpc32/power6/wcscpy.c: New file.
40941         * powerpc32/power6/wcsrchr.c: New file.
40942         * powerpc64/power6/wcschr.c: New file.
40943         * powerpc64/power6/wcscpy.c: New file.
40944         * powerpc64/power6/wcsrchr.c: New file.
40946 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
40948         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
40949         (two_way_short_needle): Use it.
40950         * string/strstr.c (AVAILABLE1_USES_J): Define.
40951         * string/strcasestr.c: Likewise.
40953         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
40954         array references.
40955         * string/strcasestr.c (TOLOWER): Make side-effect safe.
40957         [BZ #11607]
40958         * NEWS: Add an entry.
40959         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
40960         define their defaults.
40961         (two_way_short_needle): Detect end-of-string on-the-fly.
40962         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
40963         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
40964         * string/bug-strcasestr1.c: New test.
40965         * string/Makefile: Run it.
40967 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
40969         [BZ #11607]
40970         * string/str-two-way.h (two_way_short_needle): Optimize matching of
40971         the first character.
40973 2012-08-21  Roland McGrath  <roland@hack.frob.com>
40975         * csu/elf-init.c (__libc_csu_irel): Function removed.
40976         * csu/libc-start.c (apply_irel): New function.
40977         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
40979 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
40981         * sysdeps/unix/sysv/linux/kernel-features.h
40982         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
40983         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40984         <kernel-features.h>.
40985         [__NR_fadvise64_64]: Make code unconditional.
40986         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
40987         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
40988         !__NR_fadvise64_64)]: Likewise.
40989         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
40990         !__NR_fadvise64_64))]: Likewise.
40991         [__NR_fadvise64]: Make code unconditional.
40992         [!__NR_fadvise64]: Remove conditional code.
40993         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
40994         <kernel-features.h>.
40995         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40996         unconditional.
40997         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40998         conditional code.
40999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
41000         not include <kernel-features.h>.
41001         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41002         unconditional.
41003         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41004         conditional code.
41005         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
41006         include <kernel-features.h>.
41007         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41008         unconditional.
41009         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41010         conditional code.
41012 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41014         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
41015         slight instruction rearrangements per scrollpipe analysis.
41016         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41018 2012-08-20  Roland McGrath  <roland@hack.frob.com>
41020         * manual/syslog.texi (syslog; vsyslog, closelog):
41021         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
41022         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
41024         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
41025         DSOCAPS to match condition on defining it.
41027 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
41029         * sysdeps/unix/sysv/linux/kernel-features.h
41030         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
41031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
41032         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41033         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
41035         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41036         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
41038         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41039         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41041         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
41042         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
41044         * sysdeps/unix/sysv/linux/kernel-features.h
41045         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
41046         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
41047         unconditional.
41048         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41049         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
41050         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41051         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41052         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
41053         Make code unconditional.
41054         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41055         (__mmap64) [!__NR_mmap2]: Likewise.
41056         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
41057         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41058         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41059         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
41060         [__NR_mmap2]: Make code unconditional.
41061         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41062         (__mmap64) [!__NR_mmap2]: Likewise.
41064 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41066         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
41068 2012-08-18  Andreas Jaeger  <aj@suse.de>
41070         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
41072 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
41074         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
41075         * include/unistd.h (__have_sock_cloexec): Likewise.
41076         (__have_pipe2): Likewise.
41077         (__have_dup3): Likewise.
41079 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
41081         [BZ #9685]
41082         * include/unistd.h (__have_pipe2): Change define into an extern int.
41083         (__have_dup3): Likewise.
41084         * socket/have_sock_cloexec.c: Include fcntl.h.
41085         (__have_pipe2): New variable.
41086         (__have_dup3): Likewise.
41088 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
41090         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
41092 2012-08-17  Marek Polacek  <polacek@redhat.com>
41094         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
41095         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
41097 2012-08-17  Roland McGrath  <roland@hack.frob.com>
41099         * configure.in: Add AC_SUBST for sysheaders.
41100         * configure: Regenerated.
41101         * config.make.in (sysheaders): New substituted variable.
41103         * sysdeps/unix/mkfifo.c: Moved ...
41104         * sysdeps/posix/mkfifo.c: ... here.
41105         * sysdeps/unix/mkfifoat.c: Moved ...
41106         * sysdeps/posix/mkfifoat.c: ... here.
41108         * sysdeps/unix/utime.c: Moved ...
41109         * sysdeps/posix/utime.c: ... here.
41111         * sysdeps/unix/time.c: Moved ...
41112         * sysdeps/posix/time.c: ... here.
41113         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
41114         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
41116         * sysdeps/unix/nice.c: Moved ...
41117         * sysdeps/posix/nice.c: ... here.
41119         * sysdeps/unix/alarm.c: Moved ...
41120         * sysdeps/posix/alarm.c: ... here.
41122         * intl/Makefile ($(codeset_mo)): Depend on the input file.
41124 2012-08-17  Jeff Law <law@redhat.com>
41126         * intl/Makefile (codeset_mo): New variable.
41127         ($(codeset_mo)): New target.
41128         (tst-codeset.out): Depend on that.  Remove explicit rule.
41129         (tst-gettext3.out, tst-gettext5.out): Likewise.
41130         (LOCPATH-ENV, tst-codeset-ENV): New variables.
41131         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
41132         * intl/tst-codeset.sh: Remove.
41133         * intl/tst-gettext3.sh: Likewise.
41134         * intl/tst-gettext5.sh: Likewise.
41136 2012-08-17  Roland McGrath  <roland@hack.frob.com>
41138         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
41139         * sysdeps/unix/syscalls.list: ... here.
41141         * sysdeps/posix/getaddrinfo.c
41142         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
41143         (gaiconf_init, gaiconf_reload): Use them.
41144         [!_STATBUF_ST_NSEC]
41145         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
41146         Define using time_t rather than struct timespec.
41148         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
41149         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
41150         Macros removed.
41151         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
41152         [!NO_THREADS].
41153         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
41154         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
41155         Likewise.
41157         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
41158         __libc_cleanup_push argument.
41160         * bits/param.h: New file.
41161         * misc/sys/param.h: New file.
41162         * include/sys/param.h: New file.
41163         * misc/Makefile (headers): Add bits/param.h.
41164         * sysdeps/generic/sys/param.h: File removed.
41165         * sysdeps/unix/sysv/linux/bits/param.h: New file.
41166         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
41167         * sysdeps/mach/hurd/bits/param.h: New file.
41168         * sysdeps/mach/hurd/sys/param.h: File removed.
41170         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
41171         last change.
41173         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
41174         [_IO_MTSAFE_IO].
41175         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
41176         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
41177         New macros.
41179         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
41180         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
41181         rather than -D_IO_MTSAFE_IO conditionally.
41182         * stdio-common/Makefile (CPPFLAGS): Likewise.
41183         * wcsmbs/Makefile (CPPFLAGS): Likewise.
41184         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
41185         Use $(libio-mtsafe).
41186         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
41187         of -D_IO_MTSAFE_IO.
41188         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
41189         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
41190         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
41191         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
41192         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
41193         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
41194         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
41195         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
41196         (CFLAGS-fread_u_chk.c): Likewise.
41197         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
41198         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
41199         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
41200         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
41201         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
41202         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
41203         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
41204         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
41205         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
41207         * libio/Makefile: Test [$(libc-reentrant) = yes]
41208         instead of [$(filter %REENTRANT, $(defines)) nonempty].
41210         * Makeconfig
41211         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
41212         * sysdeps/pthread/configure: File removed.
41213         * sysdeps/pthread/Makeconfig: New file.
41214         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
41215         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
41217 2012-08-16  Gary Benson  <gbenson@redhat.com>
41219         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
41220         unmapping the first object in a namespace.
41222 2012-08-16  Roland McGrath  <roland@hack.frob.com>
41224         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
41225         (__internal_setnetgrent): ... this.  Add internal_function to
41226         definition.  Add libc_hidden_def.
41227         (setnetgrent): Update caller.
41228         (internal_endnetgrent): Renamed to ...
41229         (__internal_endnetgrent): ... this.  Add internal_function to
41230         definition.  Add libc_hidden_def.
41231         (endnetgrent): Update caller.
41232         (internal_getnetgrent_r): Renamed to ...
41233         (__internal_getnetgrent_r): ... this.  Add internal_function to
41234         definition.  Add libc_hidden_def.
41235         (__getnetgrent_r): Update caller.
41236         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
41238 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
41240         * stdlib/longlong.h: Update from GCC.
41242 2012-08-16  Roland McGrath  <roland@hack.frob.com>
41244         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
41245         on _QL, which is set by umul_ppmm but never used.
41246         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
41247         variables, which are set by GMP macros but never used.
41248         * stdio-common/_itowa.c (_itowa): Likewise.
41249         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
41250         * stdlib/mod_1.c (mpn_mod_1): Likewise.
41252 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
41254         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
41255         struct La_sh_regs is not constant.
41256         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
41257         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
41258         and struct La_sparc64_regs are not constant.
41260 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
41262         * sysdeps/unix/sysv/linux/kernel-features.h
41263         (__ASSUME_POSIX_TIMERS): Remove.
41264         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41265         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41266         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
41267         Make code unconditional.
41268         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41269         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
41270         Make code unconditional.
41271         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41272         * sysdeps/unix/sysv/linux/clock_nanosleep.c
41273         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
41274         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41275         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
41276         Make code unconditional.
41277         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41278         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
41279         (__libc_missing_posix_timers): Remove.
41281 2012-08-15  Roland McGrath  <roland@hack.frob.com>
41283         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
41284         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
41286         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
41288         * elf/dl-sym.c: Include <stdlib.h>.
41290         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
41291         constants, which avoids warnings in 32-bit builds.
41293         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
41294         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
41296         * misc/lseek.c: File moved to ...
41297         * io/lseek.c: ... here.
41299         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
41301         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
41302         shifting LEN more than 31 bits at once.
41304 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41306         [BZ #14195]
41307         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
41308         segmentation fault for a case of two empty input strings.
41309         * string/test-strncasecmp.c (check1): Renamed to...
41310         (bz12205): ...this.
41311         (bz14195): Add new testcase for two empty input strings and N > 0.
41312         (test_main): Call new testcase, adapt for renamed function.
41314 2012-08-15  Andreas Jaeger  <aj@suse.de>
41316         [BZ #14090]
41317         * crypt/md5test2.c: New test, based on test supplied by Serge
41318         Belyshev <belyshev@depni.sinp.msu.ru>.
41319         * crypt/Makefile (xtests): Add md5test-giant..
41320         * crypt/Makefile ($(objpfx)md5test-giant): Add.
41322 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
41324         [BZ #14090]
41325         * crypt/md5.c (md5_process_block): Don't assume the buffer
41326         length is less than 2**32.
41327         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
41328         length is less than 2**64.
41330 2012-08-15  Roland McGrath  <roland@hack.frob.com>
41332         * string/str-two-way.h: Include <sys/param.h>.
41333         (MAX): Macro removed.
41335         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
41336         Move #define and #undef of memmove to just before and after
41337         including <string.h>.
41339         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
41340         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
41341         and after including <string.h>.  Move declarations of
41342         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
41343         to before #include "string/memmove.c".
41345         * include/dirent.h: Declare __getdirentries.
41347         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
41348         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
41350 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
41352         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
41353         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
41354         * sysdeps/i386/configure: Regenerated.
41355         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
41356         STABS_CURRENT_FILE, and STABS_FUN.
41357         (END): Remove call to STABS_FUN_END.
41358         (STABS_CURRENT_FILE1): Delete.
41359         (STABS_CURRENT_FILE): Likewise.
41360         (STABS_FUN): Likewise.
41361         (STABS_FUN_END): Likewise.
41362         (STABS_FUN2): Likewise.
41363         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
41364         * sysdeps/x86_64/configure: Regenerated.
41366 2012-08-14  Roland McGrath  <roland@hack.frob.com>
41368         * elf/dl-open.c: Include <atomic.h>.
41369         * elf/dl-lookup.c: Likewise.
41371 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
41373         * sysdeps/unix/sysv/linux/kernel-features.h
41374         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
41375         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
41376         unconditionally.
41377         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
41378         unconditionally.
41379         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
41380         condition on __ASSUME_CLONE_THREAD_FLAGS.
41382 2012-08-14  Andreas Jaeger  <aj@suse.de>
41384         * sysdeps/i386/fpu/libm-test-ulps: Update.
41386 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
41388         * include/atomic.h (atomic_exchange_and_add): Split into ...
41389         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
41390         New atomic macros.
41392 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
41394         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41396 2012-08-13  Jeff Law <law@redhat.com>
41398         * manual/stdio.texi (snprintf): Clarify handling of the trailing
41399         null byte in the output string.
41401 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
41403         * sysdeps/unix/sysv/linux/kernel-features.h
41404         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
41405         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
41406         (__ASSUME_ARG_MAX_STACK_BASED): Define.
41407         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
41408         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
41409         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
41410         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
41412 2012-08-09  Jeff Law <law@redhat.com>
41414         [BZ #13939]
41415         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
41416         When avoid_arena is set, don't retry in the that arena.  Pick the
41417         next one, whatever it might be.
41418         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
41419         (arena_lock): Pass in new parameter to arena_get2.
41420         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
41421         arena_get2.
41422         (__libc_malloc): Unify retrying after main arena failure with
41423         __libc_memalign version.
41424         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
41426 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
41428         [BZ #14166]
41429         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
41430         to __redirect_strstr.
41431         (__strstr_sse42): Use typeof __redirect_strstr.
41432         (__strstr_ia32): Likewise.
41433         (__libc_strstr): New prototype.
41434         (strstr): Renamed to ...
41435         (__libc_strstr): This.
41436         (strstr): New strong alias of __libc_strstr.
41437         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41438         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
41439         __redirect_time.
41440         Include <time.h>.
41441         (__libc_time): New prototype.
41442         (time_ifunc): Replace time with __libc_time.
41443         (time): New strong alias and hidden definition of __libc_time.
41444         (__GI_time): Remove strong alias.
41445         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
41446         Include <stddef.h>.
41447         (memmove): Redefined to __redirect_memmove.
41448         (__memmove_sse2): Use typeof __redirect_memmove.
41449         (__memmove_ssse3): Likewise.
41450         (__memmove_ssse3_back): Likewise.
41451         (__libc_memmove): New prototype.
41452         (memmove): Renamed to ...
41453         (__libc_memmove): This.
41454         (memmove): New strong alias of __libc_memmove.
41456 2012-08-08  Mark Salter  <msalter@redhat.com>
41458         * elf/elf.h
41459         (R_MN10300_TLS_GD): Define.
41460         (R_MN10300_TLS_LD): Likewise.
41461         (R_MN10300_TLS_LDO): Likewise.
41462         (R_MN10300_TLS_GOTIE): Likewise.
41463         (R_MN10300_TLS_IE): Likewise.
41464         (R_MN10300_TLS_LE): Likewise.
41465         (R_MN10300_TLS_DTPMOD): Likewise.
41466         (R_MN10300_TLS_DTPOFF): Likewise.
41467         (R_MN10300_TLS_TPOFF): Likewise.
41468         (R_MN10300_SYM_DIFF): Likewise.
41469         (R_MN10300_ALIGN): Likewise.
41470         (R_MN10300_NUM): Update.
41472 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
41474         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
41475         Remove.
41477 2012-08-08  Roland McGrath  <roland@hack.frob.com>
41479         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
41481         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
41482         sysdeps/unix -> sysdeps/posix move.
41483         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
41485 2012-08-07      Allan McRae     <allan@archlinux.org>
41487         [BZ #14303]
41488         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
41489         (SUNOS_CPP): Likewise.
41490         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
41491         not found.
41492         (open_input): Call CPP using execvp.
41494 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
41496         * sysdeps/unix/sysv/linux/kernel-features.h
41497         (__ASSUME_PROT_GROWSUPDOWN): Remove.
41498         (__ASSUME_NO_CLONE_DETACHED): Likewise.
41499         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
41500         (__ASSUME_WAITID_SYSCALL): Likewise.
41501         * sysdeps/unix/sysv/linux/dl-execstack.c
41502         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
41503         code unconditional.
41504         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
41505         conditional code.
41506         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
41507         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
41508         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
41509         code.
41510         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
41511         unconditional.
41512         [__ASSUME_WAITID_SYSCALL]: Likewise.
41513         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
41515 2012-08-07  Roland McGrath  <roland@hack.frob.com>
41517         * sysdeps/unix/closedir.c: Renamed to ...
41518         * sysdeps/posix/closedir.c: ... here.
41519         * sysdeps/unix/dirfd.c: Renamed to ...
41520         * sysdeps/posix/dirfd.c: ... here.
41521         * sysdeps/unix/dirstream.h: Renamed to ...
41522         * sysdeps/posix/dirstream.h: ... here.
41523         * sysdeps/unix/fdopendir.c: Renamed to ...
41524         * sysdeps/posix/fdopendir.c: ... here.
41525         * sysdeps/unix/opendir.c: Renamed to ...
41526         * sysdeps/posix/opendir.c: ... here.
41527         * sysdeps/unix/readdir.c: Renamed to ...
41528         * sysdeps/posix/readdir.c: ... here.
41529         * sysdeps/unix/readdir_r.c: Renamed to ...
41530         * sysdeps/posix/readdir_r.c: ... here.
41531         * sysdeps/unix/rewinddir.c: Renamed to ...
41532         * sysdeps/posix/rewinddir.c: ... here.
41533         * sysdeps/unix/seekdir.c: Renamed to ...
41534         * sysdeps/posix/seekdir.c: ... here.
41535         * sysdeps/unix/telldir.c: Renamed to ...
41536         * sysdeps/posix/telldir.c: ... here.
41537         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
41538         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
41539         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
41540         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
41542         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
41543         * bits/fcntl.h: ... here.
41545         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
41546         not 0.
41547         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
41548         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
41549         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
41550         (struct flock): Move l_start, l_len to the beginning.
41551         Use __pid_t for l_pid.
41552         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
41553         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
41554         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
41555         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
41556         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
41557         [__USE_LARGEFILE64] (struct flock64): New type.
41558         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
41560         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
41561         * bits/dirent.h: ... here.
41563         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
41564         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
41566 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
41568         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41569         Change from 2.6.0 to 2.6.16.
41570         * sysdeps/unix/sysv/linux/configure: Regenerated.
41571         * sysdeps/unix/sysv/linux/kernel-features.h
41572         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
41573         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
41574         version.
41575         (__ASSUME_UTIMES): Likewise.
41576         (__ASSUME_CLONE_STOPPED): Remove.
41577         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
41578         architectures, not kernel version.
41579         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
41580         (__ASSUME_NO_CLONE_DETACHED): Likewise.
41581         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
41582         (__ASSUME_WAITID_SYSCALL): Likewise.
41583         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
41584         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
41585         * README: State 2.6.16 as minimum Linux kernel version.  Do not
41586         refer to older versions.
41588 2012-08-06  Roland McGrath  <roland@hack.frob.com>
41590         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
41591         Define alphasort64 as an alias.
41592         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
41593         Define versionsort64 as an alias.
41594         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
41595         Define scandir64 as an alias.
41596         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
41597         Define scandirat64 as an alias.
41598         * dirent/alphasort64.c (alphasort64):
41599         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
41600         * dirent/versionsort64.c: Likewise.
41601         * dirent/scandir64.c: Likewise.
41602         * dirent/scandirat64.c: Likewise.
41603         * sysdeps/wordsize-64/alphasort.c: File removed.
41604         * sysdeps/wordsize-64/alphasort64.c: File removed.
41605         * sysdeps/wordsize-64/scandir.c: File removed.
41606         * sysdeps/wordsize-64/scandir64.c: File removed.
41607         * sysdeps/wordsize-64/scandirat.c: File removed.
41608         * sysdeps/wordsize-64/scandirat64.c: File removed.
41609         * sysdeps/wordsize-64/versionsort.c: File removed.
41610         * sysdeps/wordsize-64/versionsort64.c: File removed.
41611         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
41612         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
41613         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
41614         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
41615         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
41616         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
41617         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
41618         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
41620         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
41621         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
41622         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
41623         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41624         [defined __arch64__ || defined __sparcv9]
41625         (__INO_T_MATCHES_INO64_T): New macro.
41626         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41627         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
41628         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
41629         * sysdeps/unix/sysv/linux/bits/dirent.h
41630         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
41631         (_DIRENT_MATCHES_DIRENT64): New macro.
41633         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
41634         Define lockf64 as an alias.
41635         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
41636         Define fseeko64 as an alias.
41637         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
41638         Define ftello64 as an alias.
41639         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
41640         Define _IO_fgetpos64 and fgetpos64 as aliases.
41641         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
41642         Define _IO_fsetpos64 and fsetpos64 as aliases.
41643         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
41644         Conditionalize body on this.
41645         * libio/fseeko64.c: Likewise.
41646         * libio/ftello64.c: Likewise.
41647         * libio/iofgetpos64.c: Likewise.
41648         * libio/iofsetpos64.c: Likewise.
41649         * sysdeps/wordsize-64/lockf.c: File removed.
41650         * sysdeps/wordsize-64/lockf64.c: File removed.
41651         * sysdeps/wordsize-64/fseeko.c: File removed.
41652         * sysdeps/wordsize-64/fseeko64.c: File removed.
41653         * sysdeps/wordsize-64/ftello.c: File removed.
41654         * sysdeps/wordsize-64/ftello64.c: File removed.
41655         * sysdeps/wordsize-64/iofgetpos.c: File removed.
41656         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
41657         * sysdeps/wordsize-64/iofsetpos.c: File removed.
41658         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
41659         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
41660         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
41661         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
41662         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
41663         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
41664         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
41665         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
41666         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
41667         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
41668         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
41670         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
41671         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
41672         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
41673         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41674         [defined __arch64__ || defined __sparcv9]
41675         (__OFF_T_MATCHES_OFF64_T): New macro.
41676         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41677         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
41678         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41679         (__OFF_T_MATCHES_OFF64_T): New macro.
41681 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
41683         * stdlib/secure-getenv.c (__secure_getenv): Replace
41684         GLIBC_2_16 with GLIBC_2_17.
41686 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
41688         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
41689         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41691 2012-08-03  David S. Miller  <davem@davemloft.net>
41693         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41695 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
41697         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
41698         Remove.
41699         (__ASSUME_CORRECT_SI_PID): Likewise.
41700         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
41701         (__ASSUME_TMPFS_NAME): Likewise.
41702         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
41703         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
41704         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
41705         (HAVE_AUX_SECURE): Make definition unconditional.
41706         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
41707         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
41709 2012-08-03  Roland McGrath  <roland@hack.frob.com>
41711         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
41712         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
41713         * sysdeps/mach/hurd/eloop-threshold.h: New file.
41714         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41715         __eloop_threshold instead of SYMLOOP_MAX.
41717         * sysdeps/generic/eloop-threshold.h: New file.
41718         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
41719         of MAXSYMLINKS.
41720         * elf/chroot_canon.c (chroot_canon): Likewise.
41722 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
41724         [BZ #13717]
41725         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41726         Change to 2.6.0 everywhere.
41727         * sysdeps/unix/sysv/linux/configure: Regenerated.
41728         * sysdeps/unix/sysv/linux/kernel-features.h
41729         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
41730         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
41731         kernel versions.
41732         (__ASSUME_POSIX_TIMERS): Define unconditionally.
41733         (__ASSUME_FUTEX_REQUEUE): Remove.
41734         (__ASSUME_STATFS64): Define unconditionally.
41735         (__ASSUME_AT_SECURE): Likewise.
41736         (__ASSUME_CORRECT_SI_PID): Likewise.
41737         (__ASSUME_TGKILL): Define without depending on kernel version for
41738         i386.
41739         (__ASSUME_UTIMES): Likewise.
41740         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
41741         kernel version.
41742         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
41743         (__ASSUME_TMPFS_NAME): Likewise.
41744         * README: Update reference to Linux kernel versions.
41746 2012-08-02  Marek Polacek  <polacek@redhat.com>
41748         [BZ# 14150]
41749         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
41750         libc_cv_asm_type_prefix with %.
41751         * configure: Regenerated.
41752         * include/libc-symbols.h: Remove comment about
41753         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
41754         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
41755         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
41756         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
41757         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
41758         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
41759         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
41760         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
41761         * elf/tst-unique2mod1.c: Likewise.
41762         * elf/tst-unique1mod2.c: Likewise.
41763         * elf/tst-unique1mod1.c: Likewise.
41764         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
41765         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
41766         Replace ASM_TYPE_DIRECTIVE with .type.
41767         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41768         * sysdeps/i386/sysdep.h: Likewise.
41769         * sysdeps/x86_64/sysdep.h: Likewise.
41770         * sysdeps/sh/sysdep.h: Likewise.
41771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41772         Do not define ASM_TYPE_DIRECTIVE.
41773         * sysdeps/powerpc/sysdep.h: Likewise.
41774         * sysdeps/powerpc/powerpc32/sysdep.h:
41775         Replace ASM_TYPE_DIRECTIVE with .type.
41776         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41777         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41778         * sysdeps/i386/fpu/e_powf.S: Likewise.
41779         * sysdeps/i386/fpu/e_expl.S: Likewise.
41780         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41781         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41782         * sysdeps/i386/fpu/e_pow.S: Likewise.
41783         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41784         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41785         * sysdeps/i386/fpu/s_expm1.S: Likewise.
41786         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41787         * sysdeps/i386/fpu/e_log2.S: Likewise.
41788         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41789         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41790         * sysdeps/i386/fpu/e_powl.S: Likewise.
41791         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41792         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41793         * sysdeps/i386/fpu/e_logl.S: Likewise.
41794         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41795         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41796         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41797         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41798         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41799         * sysdeps/i386/fpu/e_log.S: Likewise.
41800         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41801         * sysdeps/i386/fpu/e_logf.S: Likewise.
41802         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41803         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41804         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41805         * sysdeps/i386/fpu/e_log10.S: Likewise.
41806         * sysdeps/i386/fpu/s_frexp.S: Likewise.
41807         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41808         * sysdeps/i386/fpu/s_asinh.S: Likewise.
41809         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41810         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41811         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
41812         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41813         * sysdeps/i386/i686/strtok.S: Likewise.
41814         * sysdeps/i386/i386-mcount.S: Likewise.
41815         * sysdeps/i386/strtok.S: Likewise.
41816         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
41817         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41818         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41819         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41820         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41821         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41822         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41823         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41824         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41825         * sysdeps/x86_64/_mcount.S: Likewise.
41826         * sysdeps/x86_64/strtok.S: Likewise.
41827         * sysdeps/sh/_mcount.S: Likewise.
41829 2012-08-01  Roland McGrath  <roland@hack.frob.com>
41831         * libio/iofopen.c: Include <fcntl.h>.
41832         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
41833         (_IO_fopen64, fopen64): Define as aliases.
41834         * libio/iofopen64.c: Include <fcntl.h>.
41835         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
41836         Conditionalize body on this.
41837         * sysdeps/wordsize-64/iofopen.c: File removed.
41838         * sysdeps/wordsize-64/iofopen64.c: File removed.
41840 2012-08-01  Marek Polacek  <polacek@redhat.com>
41842         * libc/Makeconfig: Use elf in place of binfmt-subdir.
41843         Use dlfcn directly instead of a variable.
41844         (binfmt-subdir): Do not define.
41845         (dlfcn): Likewise.
41847 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
41849         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
41850         Remove all definitions.
41851         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
41852         <kernel-features.h>.
41853         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
41854         (miss_F_GETOWN_EX): Remove all definitions.
41855         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
41856         macro definition.
41857         [!__ASSUME_FCNTL64]: Remove conditional code.
41858         [__ASSUME_FCNTL64]: Make code unconditional.
41859         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
41860         <kernel-features.h>.
41861         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
41862         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
41863         (lockf64) [__NR_fcntl64]: Make code unconditional.
41864         (lockf64) [__ASSUME_FCNTL64]: Likewise.
41866         * sysdeps/unix/sysv/linux/kernel-features.h
41867         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
41868         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
41869         Make code unconditional.
41870         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41871         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
41873         [__NR_vfork]: Make code unconditional.
41874         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41875         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
41877         [__NR_vfork]: Make code unconditional.
41878         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41879         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41881 2012-08-01  Roland McGrath  <roland@hack.frob.com>
41883         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
41884         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
41886         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41887         Define mkstemp64 as an alias.
41888         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41889         Define mkstemps64 as an alias.
41890         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41891         Define mkostemp64 as an alias.
41892         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41893         Define mkostemps64 as an alias.
41894         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
41895         Conditionalize body on this.
41896         * misc/mkostemp64.c: Likewise.
41897         * misc/mkostemps64.c: Likewise.
41898         * misc/mkstemps64.c: Likewise.
41899         * sysdeps/wordsize-64/mkstemp64.c: File removed.
41900         * sysdeps/wordsize-64/mkostemp64.c: File removed.
41901         * sysdeps/wordsize-64/mkostemp.c: File removed.
41902         * sysdeps/wordsize-64/mkstemp.c: File removed.
41903         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
41904         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
41905         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
41906         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
41908         [BZ #14138]
41909         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
41910         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
41911         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
41912         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
41914         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
41915         compat_symbol macros from <shlib-compat.h> rather than the underlying
41916         default_symbol_version and symbol_version macros, so that DEFAULT
41917         lines in shlib-versions are respected.
41918         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
41920 2012-08-01  Florian Weimer  <fweimer@redhat.com>
41922         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
41923         Declare with warn_unused_result.
41924         (setgid, setregid, setegid, setresgid): Likewise.
41925         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
41926         Likewise.
41927         * WUR-REPORT: Remove set*id functions.
41929 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
41931         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
41933 2012-07-31  Roland McGrath  <roland@hack.frob.com>
41935         [BZ #10191]
41936         * include/sys/socket.h (__libc_accept, __libc_accept4):
41937         Add attribute_hidden.
41938         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
41940         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
41941         use of PTR_MANGLE.
41942         * inet/getnetgrent_r.c (setup): Likewise.
41944         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
41946 2012-07-31  David S. Miller  <davem@davemloft.net>
41948         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41950 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
41952         [BZ #13629]
41953         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
41954         value between 1.0 and 2.0 and smaller part has absolute value less
41955         than 1.0.
41956         * math/s_clog10.c (__clog10): Likewise.
41957         * math/s_clog10f.c (__clog10f): Likewise.
41958         * math/s_clog10l.c (__clog10l): Likewise.
41959         * math/s_clogf.c (__clogf): Likewise.
41960         * math/s_clogl.c (__clogl): Likewise.
41961         * math/libm-test.inc (clog_test): Add more tests.
41962         (clog10_test): Likewise.
41963         * sysdeps/i386/fpu/libm-test-ulps: Update.
41964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41966 2012-07-31  Florian Weimer  <fweimer@redhat.com>
41968         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
41969         Exit with zero in case no suitable GID is found, and write a
41970         message to standard error.
41972 2012-07-30  Roland McGrath  <roland@hack.frob.com>
41974         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
41975         rather than to 1.
41976         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
41977         (MAXPATHLEN): Removed.
41978         (NOGROUP, NODEV): New macros.
41979         (setbit, clrbit, isset, isclr): New macros.
41980         (howmany, roundup, powerof2): New macros.
41981         (DEV_BSIZE): New macro.
41983         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
41984         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
41986         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
41987         definition on [!__NO_LONG_DOUBLE_MATH].
41989         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
41990         PTR_MANGLE and PTR_DEMANGLE.
41992         * socket/accept4.c (accept4): Rename to __libc_accept4.
41993         Define accept4 as a weak alias.
41995         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
41996         on [_DIRENT_HAVE_D_TYPE].
41997         * io/ftw.c (ftw_dir): Likewise.
41999         * io/xmknod.c (__xmknod): Don't check PATH for being null.
42001         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
42003         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
42004         Use the BSD numbers rather than the arbitrary ones we had.
42005         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
42006         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
42007         (SIGXCPU, SIGXFSZ): New macros.
42008         (_NSIG): Now 32.
42010         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
42011         initializer on [_LIBC_REENTRANT].
42013         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
42014         definitions inside [_POSIX_MAPPED_FILES].
42016         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
42018         * dirent/opendir.c: Include <fcntl.h>.
42020         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
42021         (__libc_getspecific): Likewise.
42022         (__libc_key_create): Likewise.
42024         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
42025         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
42026         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
42027         (tmpfile64): Define as alias.
42028         * sysdeps/wordsize-64/tmpfile.c: File removed.
42029         * sysdeps/wordsize-64/tmpfile64.c: File removed.
42030         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
42031         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
42033         * stdio-common/vfscanf.c: Include <stdbool.h>.
42034         * nss/makedb.c: Likewise.
42035         * stdio-common/_i18n_number.h: Likewise.
42036         * argp/argp-help.c: Likewise.
42037         * posix/wordexp.c: Likewise.
42038         * sysdeps/posix/spawni.c: Likewise.
42039         * nss/nss_files/files-initgroups.c: Likewise.
42040         * stdio-common/reg-modifier.c: Include <stdlib.h>.
42041         * nss/nss_files/files-initgroups.c: Likewise.
42042         * nss/nss_db/db-netgrp.c: Likewise.
42043         * nss/nss_db/db-initgroups.c: Likewise.
42044         * io/fchmodat.c: Include <sys/stat.h>.
42046         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
42047         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
42049         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
42050         [HAVE_MMAP].
42052         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
42053         Add multiple inclusion protection.
42055 2012-07-27  David S. Miller  <davem@davemloft.net>
42057         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42059 2012-07-27  Gary Benson  <gbenson@redhat.com>
42061         [BZ #14298]
42062         * elf/rtld.c: Include <stap-probe.h>.
42063         (dl_main): Added static probes "init_start" and "init_complete".
42064         * elf/dl-load.c: Include <stap-probe.h>.
42065         (lose): Take new parameter "nsid".
42066         Added static probe "map_failed".
42067         (_dl_map_object_from_fd): Pass namespace id to lose.
42068         Added static probe "map_start".
42069         (open_verify): Pass namespace id to lose.
42070         * elf/dl-open.c: Include <stap-probe.h>.
42071         (dl_open_worker) Added static probes "map_complete", "reloc_start"
42072         and "reloc_complete".
42073         * elf/dl-close.c: Include <stap-probe.h>.
42074         (_dl_close_worker): Added static probes "unmap_start" and
42075         "unmap_complete".
42076         * elf/rtld-debugger-interface.txt: New file documenting the above.
42078 2012-07-26  Roland McGrath  <roland@hack.frob.com>
42080         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
42081         rather than a string variable.
42082         * sunrpc/rpc_main.c (h_output): Likewise.
42083         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
42085 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
42087         * inet/check_native.c: New file.
42089 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
42091         [BZ #13629]
42092         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
42093         if larger part has absolute value 1.0.
42094         * math/s_clog10.c (__clog10): Likewise.
42095         * math/s_clog10f.c (__clog10f): Likewise.
42096         * math/s_clog10l.c (__clog10l): Likewise.
42097         * math/s_clogf.c (__clogf): Likewise.
42098         * math/s_clogl.c (__clogl): Likewise.
42099         * math/libm-test.inc (clog_test): Add more tests.
42100         (clog10_test): Likewise.
42101         * sysdeps/i386/fpu/libm-test-ulps: Update.
42102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42104         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
42105         (pltexit): Likewise.
42106         (La_regs): Likewise.
42107         (La_retval): Likewise.
42108         (int_retval): Likewise.
42109         Update #error for removed macros to refer only to definitions in
42110         tst-audit.h.
42111         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
42112         macro.
42113         (pltexit): Likewise.
42114         (La_regs): Likewise.
42115         (La_retval): Likewise.
42116         (int_retval): Likewise.
42117         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
42118         macro.
42119         (pltexit): Likewise.
42120         (La_regs): Likewise.
42121         (La_retval): Likewise.
42122         (int_retval): Likewise.
42123         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
42124         macro.
42125         (pltexit): Likewise.
42126         (La_regs): Likewise.
42127         (La_retval): Likewise.
42128         (int_retval): Likewise.
42129         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
42130         macro.
42131         (pltexit): Likewise.
42132         (La_regs): Likewise.
42133         (La_retval): Likewise.
42134         (int_retval): Likewise.
42135         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
42136         macro.
42137         (pltexit): Likewise.
42138         (La_regs): Likewise.
42139         (La_retval): Likewise.
42140         (int_retval): Likewise.
42141         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
42142         macro.
42143         (pltexit): Likewise.
42144         (La_regs): Likewise.
42145         (La_retval): Likewise.
42146         (int_retval): Likewise.
42147         * sysdeps/generic/tst-audit.h: Update comment to refer only to
42148         macro definitions in tst-audit.h.
42149         * sysdeps/i386/tst-audit.h: New file.
42150         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
42151         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
42152         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
42153         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
42154         * sysdeps/sh/tst-audit.h: Likewise.
42155         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
42156         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
42157         * sysdeps/x86_64/tst-audit.h: Likewise.
42159 2012-07-26  Andreas Jaeger  <aj@suse.de>
42161         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
42162         ptrace.
42164         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
42165         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
42166         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
42167         PTRACE_O_MASK.
42168         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
42169         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
42170         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
42172         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
42173         value.
42175         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
42176         _sigsys.
42177         (si_call_addr, si_syscall, si_arch): Define new macro.
42178         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
42179         _sigsys.
42180         (si_call_addr, si_syscall, si_arch): Define new marcro.
42181         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
42182         _sigsys.
42183         (si_call_addr, si_syscall, si_arch): Define new macro.
42184         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
42185         _sigsys.
42186         (si_call_addr, si_syscall, si_arch): Define new macro.
42188 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
42190         [BZ #13717]
42191         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42192         Change to 2.4.21 where previously 2.4.1.
42193         * sysdeps/unix/sysv/linux/configure: Regenerated.
42194         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
42195         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
42196         Linux kernel version.
42197         (__ASSUME_STD_AUXV): Remove.
42198         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
42199         kernel version.
42200         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
42201         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
42202         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
42203         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
42204         (__ASSUME_NETLINK_SUPPORT): Likewise.
42205         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
42206         (__no_netlink_support): Remove conditional definition.
42207         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
42208         Remove.
42209         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42210         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
42211         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
42212         (if_nameindex_ioctl): Remove.
42213         (if_nameindex_netlink): Do not handle __no_netlink_support.
42214         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42215         code.
42216         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
42217         Remove conditional code.
42218         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42219         code.
42220         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
42221         unconditional.
42222         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42223         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
42224         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
42225         Remove.
42226         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
42227         [!__ASSUME_STD_AUXV]: Remove conditional code.
42228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
42229         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
42230         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
42231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
42232         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
42233         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42234         code.
42235         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42237         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
42238         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42239         conditional code.
42240         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42242         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42243         code.
42244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42245         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42246         conditional code.
42247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
42248         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42249         code unconditional.
42250         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42251         conditional code.
42252         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42253         unconditional.
42254         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42255         conditional code.
42256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42257         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42258         unconditional.
42259         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42260         conditional code.
42261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
42262         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42263         code unconditional.
42264         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42265         conditional code.
42266         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42267         unconditional.
42268         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42269         conditional code.
42270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
42271         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42272         code unconditional.
42273         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42274         conditional code.
42275         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42276         unconditional.
42277         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42278         conditional code.
42280 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
42282         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
42283         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
42284         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
42285         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
42286         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
42287         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42288         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42289         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
42290         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
42291         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
42292         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
42293         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
42294         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
42295         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42296         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
42297         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
42298         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
42299         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
42300         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
42301         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
42302         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
42303         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
42304         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42306 2012-07-25  Florian Weimer  <fweimer@redhat.com>
42308         * Versions.def: Add GLIBC_2.17.
42309         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
42310         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
42311         Introduce __libc_secure_getenv.
42312         * stdlib/Versions (2.17): Add secure_getenv
42313         (GLIBC_PRIVATE): Add __libc_secure_getenv.
42314         * stdlib/secure-getenv.c: Rename __secure_getenv to
42315         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
42316         symbol __secure_getenv for GLIBC_2.0.
42317         * stdlib/tst-secure-getenv.c: New.
42318         * stdlib/Makefile (tests): Add testcase.
42319         * manual/startup.texi (Environment Access): Document
42320         secure_getenv.
42321         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
42322         __libc_secure_getenv.
42323         * inet/ruserpass.c (ruserpass): Likewise.
42324         * malloc/mtrace.c (mtrace): Likewise.
42325         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
42326         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
42327         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
42328         * sysdeps/posix/tempname.c: Likewise.  Evaluate
42329         HAVE_SECURE_GETENV.
42330         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
42331         __secure_getenv to __libc_secure_getenv.
42332         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
42333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42334         Likewise.
42335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42336         Likewise.
42337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42339         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42340         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42342         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42343         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42345 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
42347         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
42348         (struct La_i86_retval): Likewise.
42349         (struct La_x86_64_regs): Likewise.
42350         (struct La_x86_64_retval): Likewise.
42351         (struct La_x32_regs): Likewise.
42352         (struct La_x32_retval): Likewise.
42353         (struct La_ppc32_regs): Likewise.
42354         (struct La_ppc32_retval): Likewise.
42355         (struct La_ppc64_regs): Likewise.
42356         (struct La_ppc64_retval): Likewise.
42357         (struct La_sh_regs): Likewise.
42358         (struct La_sh_retval): Likewise.
42359         (struct La_s390_32_regs): Likewise.
42360         (struct La_s390_32_retval): Likewise.
42361         (struct La_s390_64_regs): Likewise.
42362         (struct La_s390_64_retval): Likewise.
42363         (struct La_sparc32_regs): Likewise.
42364         (struct La_sparc32_retval): Likewise.
42365         (struct La_sparc64_regs): Likewise.
42366         (struct La_sparc64_retval): Likewise.
42367         (struct audit_ifaces): Remove architecture-specific pltenter and
42368         pltexit members.
42369         * sysdeps/i386/ldsodefs.h: New file.
42370         * sysdeps/powerpc/ldsodefs.h: Likewise.
42371         * sysdeps/s390/ldsodefs.h: Likewise.
42372         * sysdeps/sh/ldsodefs.h: Likewise.
42373         * sysdeps/sparc/ldsodefs.h: Likewise.
42374         * sysdeps/x86_64/ldsodefs.h: Likewise.
42376 2012-07-25  Marek Polacek  <polacek@redhat.com>
42378         [BZ #6808]
42379         * math/libm-test.inc (yn_test): Add another test.
42380         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
42381         to ERANGE when the result is +-Inf.
42382         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
42383         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
42384         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
42385         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
42387 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
42389         * conform/data/time.h-data (NULL): Use macro-constant.  Require
42390         equal to 0.
42391         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
42392         clock_t.
42393         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
42395 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
42397         * configure.in <sysdeps resolving>: Correct printing
42398         Implies_before.
42399         * configure: Regenerate.
42401 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
42403         * math/w_ilogb.c: Include <limits.h>.
42404         * math/w_ilogbl.c: Likewise.
42406 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
42408         * manual/lang.texi (__va_copy): Document primarily as ISO C99
42409         va_copy.  Document allowing for unavailable va_copy only as
42410         pre-C99 compatibility.
42411         * manual/string.texi (Copying and Concatenation): Use va_copy
42412         instead of __va_copy in concat example.
42414 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
42416         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
42417         (__sendto): Use create_address_port.  Initialize APORT and deallocate
42418         it if not null.
42420         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
42421         with O_NOLINK passed to __file_name_lookup.
42423         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
42424         with O_NOLINK passed to __file_name_lookup.
42426         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
42427         negative N or less than NGIDS.
42429         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
42430         type to string_t.  Set ERANGE as errno and return it if NAME is not big
42431         enough.  Use memcpy instead of strncpy.
42433 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
42435         * elf/Makefile (check-data): Remove.
42436         (localplt.data): New vpath directive.
42437         ($(objpfx)check-localplt.out): Use localplt.data from vpath
42438         instead of $(check-data).
42439         * scripts/data/localplt-generic.data: Move to ...
42440         * sysdeps/generic/localplt.data: ... here.
42441         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
42442         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
42443         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
42444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
42445         ... here.
42446         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
42447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
42448         ... here.
42449         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
42450         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
42451         ... here.
42452         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
42453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
42454         ... here.
42455         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
42456         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
42457         ... here.
42458         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
42459         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
42460         ... here.
42462 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42464         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
42465         PPC32 and PPC64 files.
42466         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
42467         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
42469 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42471         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
42472         __makecontext_ret to ...
42473         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
42474         ... here and call exit if uc_link is NULL.  New file.
42475         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
42476         __makecontext_ret.S.
42477         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
42478         __makecontext_ret to ...
42479         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
42480         ... here and call exit if uc_link is NULL.  New file.
42481         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
42482         __makecontext_ret.S.
42484 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42486         * elf/elf.h (R_390_IRELATIVE): New definition.
42487         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
42488         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
42489         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
42490         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42491         (elf_machine_lazy_rel): Likewise.
42492         * sysdeps/s390/dl-irel.h: New file.
42493         * sysdeps/s390/s390-64/memcpy.S: New asm code.
42494         * sysdeps/s390/s390-64/memset.S: New asm code.
42495         * sysdeps/s390/s390-64/memcmp.S: New asm code.
42496         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
42497         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
42498         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
42499         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
42500         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
42501         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
42502         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
42503         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
42504         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
42505         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
42506         * sysdeps/s390/s390-32/memcpy.S: New asm code.
42507         * sysdeps/s390/s390-32/memset.S: New asm code.
42508         * sysdeps/s390/s390-32/memcmp.S: New asm code.
42510 2012-07-17  Marek Polacek  <polacek@redhat.com>
42512         [BZ #14349]
42513         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
42514         * sysdeps/s390/s390-64/configure.in: Likewise.
42515         * sysdeps/sparc/configure.in: Likewise.
42516         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
42517         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
42518         * sysdeps/i386/configure.in: Likewise.
42519         * sysdeps/x86_64/configure.in: Likewise.
42520         * sysdeps/sh/configure.in: Likewise.
42521         * sysdeps/s390/s390-32/configure: Regenerated.
42522         * sysdeps/s390/s390-64/configure: Likewise.
42523         * sysdeps/x86_64/configure: Likewise.
42524         * sysdeps/sh/configure: Likewise.
42525         * sysdeps/powerpc/powerpc64/configure: Likewise.
42526         * sysdeps/powerpc/powerpc32/configure: Likewise.
42527         * sysdeps/sparc/configure: Likwise.
42528         * sysdeps/i386/configure: Likewise.
42530         * elf/dl-open.c: Comment fixes.
42532 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
42534         * Makefile [CXX] (check-data): Remove.
42535         [CXX] (c++-types.data): New vpath directive.
42536         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
42537         vpath.  Do not allow for C++ type data being missing.
42538         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
42539         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
42540         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
42541         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
42542         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
42543         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
42544         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
42545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
42546         ... here.
42547         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
42548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
42549         ... here.
42550         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
42551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
42552         ... here.
42553         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
42554         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
42555         ... here.
42556         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
42557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
42558         ... here.
42559         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
42560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
42561         ... here.
42562         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
42563         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
42564         ... here.
42565         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
42566         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
42568         * elf/tls-macros.h (TLS_LE): Move architecture-specific
42569         definitions to architecture-specific files.
42570         (TLS_IE): Likewise.
42571         (TLS_LD): Likewise.
42572         (TLS_GD): Likewise.
42573         * sysdeps/i386/tls-macros.h: New file.
42574         * sysdeps/powerpc/tls-macros.h: Likewise.
42575         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
42576         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
42577         * sysdeps/sh/tls-macros.h: Likewise.
42578         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
42579         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
42580         * sysdeps/x86_64/tls-macros.h: Likewise.
42582 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
42584         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
42585         zero value for regular exit case.
42587         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
42588         (__start_context): Preserve zero value for regular exit case.
42590 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
42591             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42593         * manual/setjmp.texi (setcontext): Clarify normal process
42594         termination when uc_link is the null pointer.
42595         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
42596         exit call.
42598 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
42600         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
42601         preprocessor.  Test for each exception mask separately.
42603 2012-07-16  Andreas Jaeger  <aj@suse.de>
42605         * po/ru.po: Update from translation team.
42607 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
42609         * conform/data/string.h-data (NULL): Use macro-constant.  Require
42610         equal to 0.
42611         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42612         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42613         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
42614         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
42615         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42617 2012-07-13  Andreas Jaeger  <aj@suse.de>
42619         * po/fr.po: Update from translation team.
42621 2012-07-12  Marek Polacek  <polacek@redhat.com>
42623         [BZ #14173]
42624         * math/libm-test.inc (yn_test): Add test for BZ #14173.
42625         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
42626         loop condition.
42628 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
42630         [BZ #13717]
42631         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42632         Change to 2.4.1 where previously 2.4.0.
42633         * sysdeps/unix/sysv/linux/configure: Regenerated.
42634         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
42635         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
42636         version.
42637         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
42638         (__ASSUME_AT_CLKTCK): Remove.
42639         (__ASSUME_AT_PAGESIZE): Likewise.
42640         (__ASSUME_AT_XID): Likewise.
42641         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
42642         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
42643         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
42644         unconditionally.
42645         (HAVE_AUX_PAGESIZE): Likewise.
42646         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
42647         [__ASSUME_AT_CLKTCK]: Make code unconditional.
42648         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
42650 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
42652         [BZ #14307]
42653         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
42654         the temporary buffer used to invoke __gethostbyname2_r,
42655         __gethostbyaddr_r and gethostbyname4_r to make room for struct
42656         host_data / struct gaih_addrtuple.
42657         * resolv/nss_dns/dns-host.c (global scope): Move definition of
42658         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
42659         header file nss/nsswitch.h.
42660         * nss/nsswitch.h (global scope): Add definition of implementation
42661         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
42662         resolv/nss_dns/dns-host.c).
42664 2012-07-11  Andreas Jaeger  <aj@suse.de>
42666         * po/fr.po: Update from translation team.
42668         * po/sv.po: Update from translation team
42669         * po/fr.po: Another update from translation team.
42671 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42673         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
42674         for subnormals or multiply small sinh result by itself.
42675         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42678 2012-07-11  David S. Miller  <davem@davemloft.net>
42680         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42682 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
42684         [BZ #14347]
42685         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
42686         (INTERNAL_MARK): Shift it here.
42688 2012-07-10  Marek Polacek  <polacek@redhat.com>
42690         [BZ #14151]
42691         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
42692         libc_cv_asm_global_directive with .globl.
42693         * configure: Regenerated.
42694         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
42695         with .globl.
42696         * sysdeps/i386/configure: Regenerated.
42697         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
42698         with .globl.
42699         * sysdeps/x86_64/configure: Regenerated.
42700         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
42701         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
42702         * elf/tst-unique2mod2.c: Likewise.
42703         * elf/tst-unique2mod1.c: Likewise.
42704         * elf/tst-unique1mod2.c: Likewise.
42705         * elf/tst-unique1mod1.c: Likewise.
42706         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42707         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42708         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42709         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42710         * sysdeps/mach/sysdep.h: Likewise.
42711         * sysdeps/i386/sysdep.h: Likewise.
42712         * sysdeps/i386/i386-mcount.S: Likewise.
42713         * sysdeps/x86_64/_mcount.S: Likewise.
42714         * sysdeps/x86_64/sysdep.h: Likewise.
42715         * sysdeps/sh/_mcount.S: Likewise.
42716         * sysdeps/sh/sysdep.h: Likewise.
42717         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
42718         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
42719         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
42720         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42721         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
42722         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
42723         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
42724         * locale/localeinfo.h: Likewise.
42725         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
42726         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
42728 2012-07-09  Roland McGrath  <roland@hack.frob.com>
42730         [BZ #14336]
42731         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
42732         system".
42733         * manual/message.texi (The Uniforum approach): Likewise.
42734         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
42735         (glibc iconv Implementation): Likewise.
42737 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
42739         [BZ #14337]
42740         * math/s_clog.c (__clog): Avoid scaling a value down where that
42741         could result in underflow.
42742         * math/s_clog10.c (__clog10): Likewise.
42743         * math/s_clog10f.c (__clog10f): Likewise.
42744         * math/s_clog10l.c (__clog10l): Likewise.
42745         * math/s_clogf.c (__clogf): Likewise.
42746         * math/s_clogl.c (__clogl): Likewise.
42747         * math/libm-test.inc (clog_test): Add more tests.
42748         (clog10_test): Likewise.
42749         * sysdeps/i386/fpu/libm-test-ulps: Update.
42750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42752 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
42754         [BZ #14283]
42755         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
42756         by 7 not 8 to examine high bit of fractional part.
42758         [BZ #14042]
42759         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
42760         for call to __mcount_internal.
42761         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
42762         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
42763         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
42765 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
42767         [BZ #14154]
42768         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
42769         approximation for values within 0x1p-13f of an odd multiple of
42770         pi/4.
42771         * math/libm-test.inc (tan_test): Do not allow spurious underflow
42772         exception.  Add more tests.
42773         * sysdeps/i386/fpu/libm-test-ulps: Update.
42775         [BZ #6778]
42776         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
42777         inputs and return -1 for them.  Do not check for +Inf in case not
42778         reachable for +Inf.
42779         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42780         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
42781         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
42782         and return -1 for them.  Do not check for +Inf in case not
42783         reachable for +Inf.
42784         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
42785         define.
42786         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
42787         and return -1 for them.  Do not check for +Inf in case not
42788         reachable for +Inf.
42789         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
42790         spurious underflow.
42791         * sysdeps/i386/fpu/libm-test-ulps: Update.
42792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42794 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
42796         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
42798 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
42800         [BZ #14157]
42801         [BZ #14331]
42802         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
42803         could result in spurious underflow.  Scale down values above
42804         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
42805         * math/s_csqrtf.c (__csqrtf): Likewise.
42806         * math/s_csqrtl.c (__csqrtl): Likewise.
42807         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
42808         spurious underflow.
42809         * sysdeps/i386/fpu/libm-test-ulps: Update.
42810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42812 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
42814         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
42815         xopen-msg.sed.
42816         * catgets/xopen-msg.awk: New file.
42817         * catgets/xopen-msg.sed: Removed.
42819         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
42820         po2text.sed.
42821         * intl/po2test.awk: New file.
42822         * intl/po2test.sed: Removed.
42824 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
42826         [BZ #14328]
42827         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
42828         or multiply small sinh result by itself.
42829         * math/s_ctanf.c (__ctanf): Likewise.
42830         * math/s_ctanh.c (__ctanh): Likewise.
42831         * math/s_ctanhf.c (__ctanhf): Likewise.
42832         * math/s_ctanhl.c (__ctanhl): Likewise.
42833         * math/s_ctanl.c (__ctanl): Likewise.
42834         * math/libm-test.inc (ctan_test_tonearest): New function.
42835         (ctan_test_towardzero): Likewise.
42836         (ctan_test_downward): Likewise.
42837         (ctan_test_upward): Likewise.
42838         (ctanh_test_tonearest): Likewise.
42839         (ctanh_test_towardzero): Likewise.
42840         (ctanh_test_downward): Likewise.
42841         (ctanh_test_upward): Likewise.
42842         (main): Call these new functions.
42843         * sysdeps/i386/fpu/libm-test-ulps: Update.
42844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42846 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
42848         * .gitignore: Delete /ports entry.
42850 2012-07-03  Andreas Jaeger  <aj@suse.de>
42852         * po/bg.po: Update from translation team.
42853         * po/cs.po: Likewise.
42854         * po/de.po: Likewise.
42855         * po/hr.po: Likewise.
42856         * po/nl.pl: Likewise.
42857         * po/pl.po: Likewise.
42858         * po/vi.po: Likewise.
42860 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
42862         * Makeconfig [!+link] (+link-before-libc): New variable.
42863         [!+link] (+link-after-libc): Likewise.
42864         [!+link] (+link-tests): Likewise.
42865         [!+link] (+link): Define in terms of $(+link-before-libc) and
42866         $(+link-after-libc).
42867         [!+link-static] (+link-static-before-libc): New variable.
42868         [!+link-static] (+link-static-after-libc): Likewise.
42869         [!+link-static] (+link-static-tests): Likewise.
42870         [!+link-static] (+link-static): Define in terms of
42871         $(+link-static-before-libc) and $(+link-static-after-libc).
42872         [build-shared] (link-libc-before-gnulib): New variable.
42873         [build-shared] (link-libc-tests): Likewise.
42874         [build-shared] (link-libc): Define in terms of
42875         $(link-libc-before-gnulib).
42876         [!build-shared] (link-libc-tests): New variable.
42877         (link-libc-static-tests): New variable.
42878         [!gnulib] (gnulib-arch): New variable.
42879         [!gnulib] (gnulib-tests): Likewise.
42880         [!gnulib] (static-gnulib-arch): Likewise.
42881         [!gnulib] (static-gnulib-tests): Likewise.
42882         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
42883         Define with "=" instead of ":=".
42884         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
42885         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
42886         * Rules (binaries-all-notests): New variable.
42887         (binaries-all-tests): Likewise.
42888         (binaries-static-notests): Likewise.
42889         (binaries-static-tests): Likewise.
42890         (binaries-all): Define using $(binaries-all-notests) and
42891         $(binaries-all-tests).
42892         (binaries-static): Define using $(binaries-static-notests) and
42893         $(binaries-static-tests).
42894         (binaries-shared-tests): New variable.
42895         (binaries-shared-notests): Likewise.
42896         (binaries-shared): Remove variable.
42897         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
42898         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
42899         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
42900         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
42901         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
42902         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
42903         * elf/Makefile (sln-modules): New variable.
42904         (extra-objs): Add $(sln-modules:=.o).
42905         (ldconfig-modules): Add static-stubs.
42906         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
42907         * elf/static-stubs.c: New file.
42909         [BZ #14283]
42910         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
42911         by 7 not 8 to examine high bit of fractional part.  Use volatile
42912         variables when splitting into final array of floats if
42913         __FLT_EVAL_METHOD__ != 0.
42914         * math/libm-test.inc (cos_test): Add another test.
42915         (sin_test): Likewise.
42916         * sysdeps/i386/fpu/libm-test-ulps: Update.
42918         [BZ #14273]
42919         * math/libm-test.inc (cosh_test): Add more tests.
42921         * version.h (RELEASE): Set to "development".
42922         (VERSION): Set to "2.16.90".
42924 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
42926         * NEWS: Update copyright. Remove last-updated date.
42927         Mention math library bug fixes and timezone data changes.
42928         * README: Mention GNU/Hurd, x32, and HPPA support status.
42930 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
42932         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
42934 2012-06-27  Andreas Jaeger  <aj@suse.de>
42936         * manual/contrib.texi (Contributors): Add Samuel Thibault.
42938 2012-06-25  Andreas Jaeger  <aj@suse.de>
42940         * sysdeps/s390/fpu/libm-test-ulps: Update.
42942 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
42943             Thomas Schwinge  <thomas@codesourcery.com>
42945         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
42946         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
42947         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
42948         fanotify_mark.
42950 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
42952         * sysdeps/mach/start.c: Remove file.
42953         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
42954         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
42955         * sysdeps/sh/init-first.c: Likewise.
42957         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
42958         registers for frame unwinding purposes, add CFI directives.
42959         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
42960         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
42961         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
42962         Likewise.
42964         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
42965         __fortify_fail returning.
42966         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
42968         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
42969         sysdeps/sh/____longjmp_chk.S.
42970         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
42971         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
42972         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
42973         (gen-as-const-headers): Append sigaltstack-offsets.sym.
42975         * sysdeps/sh/abort-instr.h: New file.
42976         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
42977         process in case exit returns.
42979         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
42980         initialize the GOT register before use.
42982         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
42983         calculation of ARGC > 4.
42985         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
42986         meaningful names to some local labels.
42988 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42989             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42991         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
42992         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
42993         (__arch_compare_and_exchange_val_16_acq): Likewise.
42994         (__arch_compare_and_exchange_val_32_acq): Likewise.
42995         (atomic_exchange_and_add): Fix gUSA sequence.
42996         (atomic_add): Likewise.
42997         (atomic_add_negative): Likewise.
42998         (atomic_add_zero): Likewise.
42999         (atomic_bit_test_set): Likewise.
43001 2012-06-22  Andreas Schwab  <schwab@redhat.com>
43003         [BZ #13579]
43004         * include/link.h (struct link_map): Add l_free_initfini.
43005         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
43006         l_initfini.
43007         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
43008         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
43009         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
43010         set.
43012 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
43014         * configure.in: Use AC_LANG_SOURCE.
43015         * configure: Regenerate.
43017 2012-06-22  Roland McGrath  <roland@hack.frob.com>
43019         * configure.in (libc_cv_localstatedir): New substituted variable.
43020         * configure: Regenerated.
43021         * config.make.in (localstatedir): New variable, substituted from
43022         libc_cv_localstatedir.
43023         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
43024         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
43025         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
43026         * sysdeps/gnu/configure: Regenerated.
43028 2012-06-21  Jeff Law  <law@redhat.com>
43030         [BZ #14277]
43031         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
43032         free.  Simplify list management for _LIBC case.
43034 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
43036         [BZ #14273]
43037         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
43038         Clear sign bit of 64-bit integer value before comparing against
43039         overflow value.
43041         * sysdeps/mach/configure: Regenerated.
43043 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
43045         [BZ #14278]
43046         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
43048 2012-06-21  Jeff Law  <law@redhat.com>
43050         [BZ #13882]
43051         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
43052         uint16_t for elements in the "seen" array to avoid char overflows.
43053         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43054         * elf/dl-open.c (dl_open_worker): Likewise.
43056 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
43058         * scripts/list-sources.sh: Scan PORTS for translations.
43059         * po/libc.pot: Regenerated.
43061 2012-06-21  Andreas Jaeger  <aj@suse.de>
43063         [BZ #12194]
43064         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
43065         warning.
43066         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
43067         * bits/byteswap-16.h (__bswap_16): Likewise.
43068         * bits/byteswap.h (__bswap_constant_16): Likewise.
43070 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
43072         [BZ #14117]
43073         * sysdeps/i386/fpu_control.h: Removed.
43074         * sysdeps/x86_64/fpu_control.h: Moved to ...
43075         * sysdeps/x86/fpu_control.h: Here.
43077         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
43078         (_FPU_SETCW): Likewise.
43080 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
43082         [BZ #14117]
43083         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
43084         * sysdeps/x86/fpu/bits/mathinline.h: This.
43085         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
43087         [BZ #14050]
43088         [BZ #14117]
43089         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
43090         functions if __x86_64__ is defined.
43092 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
43094         * string/endian.h: Add !__ASSEMBLER__ condition for including
43095         conversion interfaces.
43097 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
43099         [BZ #14241]
43100         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
43101         of ABS(x) in calculating zero to negative powers other than odd
43102         integers.
43103         * math/libm-test.inc (pow_test): Add more tests.
43105 2012-06-15  Andreas Jaeger  <aj@suse.de>
43107         * manual/contrib.texi (Contributors): Update entry of Liubov
43108         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
43109         Machado Filho.
43111 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
43113         * string/string.h: Add __wur to GNU version of strerror_r.
43115 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
43117         [BZ #14229]
43118         * string/Makefile (tests): Add tst-strtok_r.
43119         * string/tst-strtok_r.c: New file.
43120         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
43121         RAX_LP/RDX_LP on SAVE_PTR.
43123 2012-06-14  Roland McGrath  <roland@hack.frob.com>
43125         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
43127 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
43129         * libm_test.inc (csqrt_test): Allow more spurious underflow
43130         exceptions.
43131         (j0_test): Likewise.
43132         (j1_test): Likewise.
43133         (y0_test): Likewise.
43134         (y1_test): Likewise.
43136 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
43138         * po/Makefile (libc.pot): Use UTF-8 charset.
43140 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
43142         [BZ #14210]
43143         Suppress sign-conversion warning from FD_SET.
43144         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
43145         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
43146         not unsigned long int.
43147         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
43149 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
43151         [BZ #14050]
43152         [BZ #14117]
43153         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
43154         __extern_always_inline instead of __extern_inline.
43155         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
43156         (__signbit): Likewise.
43157         (__signbitl): Support C++ namespace.
43158         (lrintf): New inline function.
43159         (lrint): Likewise.
43160         (llrintf): Likewise.
43161         (llrint): Likewise.
43162         (fmaxf): Likewise.
43163         (fmax): Likewise.
43164         (fminf): Likewise.
43165         (fmin): Likewise.
43166         (rint): Likewise.
43167         (rintf): Likewise.
43168         (ceil): Likewise.
43169         (ceilf): Likewise.
43170         (floor): Likewise.
43171         (floorf): Likewise.
43172         (nearbyint): Likewise.
43173         (nearbyintf): Likewise.
43175 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
43177         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
43178         non-default versions.
43180 2012-06-11  Roland McGrath  <roland@hack.frob.com>
43182         [BZ #14218]
43183         * manual/argp.texi (Argp): Reword argp_parse description slightly.
43185 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
43187         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
43188         (FE_UPWARD, FE_DOWNWARD): Don't define.
43189         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
43190         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43192         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
43193         reading it.
43194         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43195         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43197 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43199         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43200         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
43201         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
43202         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
43204 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
43206         [BZ #14117]
43207         * sysdeps/i386/fpu/bits/fenv.h: Removed.
43208         * sysdeps/i386/fpu/Implies: New file.
43209         * sysdeps/x86_64/fpu/Implies: Likewise.
43210         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
43211         * sysdeps/x86/fpu/bits/fenv.h: This.
43213         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
43214         __SSE_MATH__.
43216 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43218         [BZ #14134]
43219         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
43220         character 0xffff that matches the last element of the
43221         conversion table.
43223 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43225         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
43226         fmodl commit.
43228 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43230         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
43231         values higher than 25.6283.
43233 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43235         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
43236         subnormal exponent extraction and add some __builtin_expect.
43237         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
43238         Fix for subnormal mantissa calculation.
43240 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
43242         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
43243         cpu2 is -1 and errno is not ENOSYS.
43245 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
43247         [BZ #14117]
43248         * sysdeps/i386/i486/bits/string.h: Renamed to ...
43249         * sysdeps/x86/bits/string.h: This.
43250         * sysdeps/x86_64/bits/string.h: Removed.
43252         * sysdeps/i386/i486/bits/string.h: Define inline functions only
43253         if not compiling for x86-64, but compiling for >= i486.
43255         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
43256         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
43258         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
43259         New macro from Linux kernel 3.4.0.
43260         (FP_XSTATE_MAGIC2): Likewise.
43261         (FP_XSTATE_MAGIC2_SIZE): Likewise.
43262         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
43263         (struct _fpx_sw_bytes): New struct.
43264         (struct _xsave_hdr): Likewise.
43265         (struct _ymmh_state): Likewise.
43266         (struct _xstate): Likewise.
43268         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
43269         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
43270         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
43271         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
43272         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
43273         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
43275         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
43276         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
43277         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
43278         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
43279         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
43280         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
43282 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43284         [BZ #13743]
43285         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
43286         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
43287         (sysdep_headers): Include sys/platform/ppc.h.
43288         * sysdeps/powerpc/test-gettimebase.c: Test for
43289         __ppc_get_timebase() to catch future ISA opcode/insn changes.
43290         * manual/Makefile (appendices): Include platform.texi.
43291         * manual/contrib.texi (Contributors): Update @node pointers.
43292         * manual/maint.texi (Maintenance): Likewise.
43293         (Platform): New node.
43294         * manual/platform.texi: New file.  Document the new features.
43296 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43297             Jakub Jelinek  <jakub@redhat.com>
43299         [BZ #14188]
43300         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
43301         where __builtin_expect is unavailable.
43303 2012-06-03  David S. Miller  <davem@davemloft.net>
43305         * stdlib/longlong.h: Updated from GCC.
43307 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
43309         [BZ #14042]
43310         * sysdeps/powerpc/powerpc32/mcount.c: New file.
43311         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
43312         __mcount_internal.
43313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43314         (GLIBC_2.16): Likewise.
43316 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
43318         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
43320 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
43322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
43323         (default-abi): New variable.
43324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
43325         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
43326         variable.
43327         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
43328         Likewise.
43329         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
43330         Likewise.
43331         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
43332         Likewise.
43334         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
43335         definition.  Document in comment.
43337 2012-06-01  David S. Miller  <davem@davemloft.net>
43339         * stdlib/longlong.h: Updated from GCC.
43341 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
43343         [BZ #14117]
43344         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
43345         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
43346         sys/debugreg.h sys/io.h here.
43347         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
43348         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
43349         sys/io.h.
43350         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
43351         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
43352         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
43353         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
43354         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
43355         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
43357         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
43358         Define only if __x86_64__ is defined.
43360 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
43362         [BZ #14048]
43363         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
43364         Use int64_t for variable i.
43365         * math/libm-test.inc (fmod_test): Add more tests.
43367         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
43368         z computation is not scheduled after fetestexcept.
43369         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
43370         Use math_force_eval instead of asm to ensure calculation scheduled
43371         before exception test.
43372         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
43373         Ensure a1 + u.d computation is not scheduled after fetestexcept.
43375 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
43377         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
43378         computation is not scheduled after fetestexcept.
43380 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
43382         [BZ #14117]
43383         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
43384         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
43386 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43388         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
43389         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43391 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
43393         [BZ #14117]
43394         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
43395         <bits/wordsize.h>.
43396         (__WCHAR_MIN): Support __WORDSIZE == 64.
43397         (__WCHAR_MAX): Likewise.
43399         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
43400         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
43402         [BZ #14183]
43403         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
43404         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
43406         [BZ #14117]
43407         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
43408         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
43410         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
43411         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
43413         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
43414         Defined to 1 if __x86_64__ isn't defined.
43415         (_STAT_VER_LINUX_OLD): New.
43416         (st_atime): Remove duplicate.
43417         (st_mtime): Likewise.
43418         (st_ctime): Likewise.
43420 2012-05-31  David S. Miller  <davem@davemloft.net>
43422         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
43423         entries.
43425 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
43427         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
43428         gen-libm-test.pl.
43430         [BZ #14132]
43431         * elf/dl-reloc.c: Include <_itoa.h>.
43432         (_dl_reloc_bad_type): Remove use of INTUSE.
43433         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
43434         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
43435         * stdio-common/psiginfo.c (psiginfo): Likewise.
43436         * stdio-common/psignal.c (psignal): Likewise.
43437         * string/strsignal.c (strsignal): Likewise.
43438         * include/signal.h (_sys_siglist): Declare hidden proto.
43439         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
43440         INTVARDEF with libc_hidden_data_def.
43441         * stdio-common/itoa-udigits.c: Likewise.
43442         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
43443         (_itoa_lower_digits_internal): Remove declaration.
43444         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
43445         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
43446         (_sys_sigabbrev_internal): Remove aliases.
43447         (_sys_siglist): Define hidden alias.
43449 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
43451         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43452         bits/sysctl.h.
43454 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
43456         [BZ #14117]
43457         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
43458         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
43460         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
43461         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
43462         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
43463         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
43464         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
43465         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
43467         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
43468         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
43469         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
43471         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
43472         with __addr.
43473         (insw): Likewise.
43474         (insl): Likewise.
43475         (outsb): Likewise.
43476         (outsw): Likewise.
43477         (outsl): Likewise.
43479         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
43480         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
43481         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
43483         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
43484         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
43485         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
43486         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
43487         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
43488         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
43490         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
43491         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
43493         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
43494         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
43496         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
43497         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
43498         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
43500         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
43501         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
43502         to ...
43503         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
43505         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
43506         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
43507         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
43509         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
43510         for x86-64.
43511         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
43513 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
43515         * math/math.h (M_El): Use two more decimal places.
43516         (M_LOG2El): Likewise.
43517         (M_LOG10El): Likewise.
43518         (M_LN2l): Likewise.
43519         (M_LN10l): Likewise.
43520         (M_PIl): Likewise.
43521         (M_PI_2l): Likewise.
43522         (M_PI_4l): Likewise.
43523         (M_1_PIl): Likewise.
43524         (M_2_PIl): Likewise.
43525         (M_2_SQRTPIl): Likewise.
43526         (M_SQRT2l): Likewise.
43527         (M_SQRT1_2l): Likewise.
43529 2012-05-31  David S. Miller  <davem@davemloft.net>
43531         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
43532         values between float registers.
43533         * sysdeps/sparc/sparc64/memset.S: Likewise.
43534         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43536 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
43538         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
43539         -D_FORTIFY_SOURCE=1.
43540         (CPPFLAGS-tst-longjmp_chk.c): Define.
43541         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
43542         (CPPFLAGS-tst-longjmp_chk2.c): Define.
43543         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
43544         CFLAGS-tst-wchar-h.c.
43546 2012-05-31  Marek Polacek  <polacek@redhat.com>
43548         [BZ #14132]
43549         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
43550         __endmntent_internal): Remove declaration.
43551         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
43552         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
43553         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
43555 2012-05-30  David S. Miller  <davem@davemloft.net>
43557         * sysdeps/sparc/sparc32/soft-fp/q_util.c
43558         (___Q_simulate_exceptions): Use real FP ops rather than writing
43559         into the %fsr.
43560         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
43561         Likewise.
43563 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
43565         [BZ #14117]
43566         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
43567         * sysdeps/x86/bits/xtitypes.h: This.
43569         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
43570         * sysdeps/x86/bits/wordsize.h: This.
43572         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
43573         * sysdeps/x86/bits/huge_vall.h: This.
43575         * sysdeps/i386/bits/select.h: Removed.
43576         * sysdeps/x86_64/bits/select.h: Renamed to ...
43577         * sysdeps/x86/bits/select.h: This.
43579         * sysdeps/i386/bits/setjmp.h: Removed.
43580         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
43581         * sysdeps/x86/bits/setjmp.h: This.
43583         * sysdeps/i386/bits/mathdef.h: Removed.
43584         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
43585         * sysdeps/x86/bits/mathdef.h: This.
43587 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
43589         [BZ #14132]
43590         * include/sys/socket.h (__connect_internal)
43591         (__libc_sa_len_internal): Remove declaration.
43592         (__connect, __libc_sa_len): Declare hidden_proto.
43593         (SA_LEN): Remove use of INTUSE.
43594         * socket/connect.c: Add libc_hidden_def.
43595         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
43596         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
43597         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
43598         alias.
43599         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
43600         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
43601         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
43602         of adding _internal alias.
43604 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
43606         [BZ #14117]
43607         * sysdeps/i386/bits/link.h: Removed.
43608         * sysdeps/i386/bits/linkmap.h: Likewise.
43609         * sysdeps/x86_64/bits/link.h: Renamed to ...
43610         * sysdeps/x86/bits/link.h: This.
43611         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
43612         * sysdeps/x86/bits/linkmap.h: This.
43614         * sysdeps/i386/bits/endian.h: Removed.
43615         * sysdeps/x86_64/bits/endian.h: Renamed to ...
43616         * sysdeps/x86/bits/endian.h: This.
43618         * sysdeps/i386/bits/byteswap.h: Removed.
43619         * sysdeps/i386/bits/byteswap-16.h: Likewise.
43620         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
43621         * sysdeps/x86/bits/byteswap.h: This.
43622         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
43623         * sysdeps/x86/bits/byteswap-16.h: This.
43624         * sysdeps/i386/Implies: Add x86.
43625         * sysdeps/x86_64/Implies: Likewise.
43627 2012-05-30  David S. Miller  <davem@davemloft.net>
43629         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
43630         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
43631         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
43632         (FP_TRAPPING_EXCEPTIONS): Define.
43633         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
43634         (FP_TRAPPING_EXCEPTIONS): Define.
43635         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
43636         subnormals only when inexact has been signalled or underflow
43637         exceptions are enabled.
43638         (_FP_PACK_CANONICAL): Likewise.
43640 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
43642         [BZ #14183]
43643         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
43644         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
43646 2012-05-30  Richard Henderson  <rth@twiddle.net>
43648         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
43649         with #ifndef NOT_IN_libc.
43651         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
43652         marked to avoid plt entry.
43654 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
43656         [BZ #14112]
43657         * Makeconfig (default-abi): New macro.
43658         (abi-includes): Likewise.
43659         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
43660         $(abi-$(default-abi)-lib-soname) for soname if defined.
43661         ($(common-objpfx)gnu/lib-names.stmp): Generate from
43662         abi-variants.
43663         * Makefile (installed-stubs): Likewise.
43664         * include/stubs-biarch.h: Removed.
43665         * scripts/lib-names.awk: Only handle one library at a time.
43666         * scripts/soversions.awk: Remove WORDSIZE support.
43667         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
43668         entries.
43669         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
43670         Removed.
43671         (syscall-list-default-condition): Likewise.
43672         (syscall-list-default-condition): Likewise.
43673         (syscall-list-includes): Likewise.
43674         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
43675         syscall-list-* with abi-*.  Handle undefined abi-variants.
43676         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
43677         * sysdeps/unix/sysv/linux/i386/Implies: New file.
43678         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
43679         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
43680         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
43681         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
43682         Removed.
43683         (syscall-list-32-options): Likewise.
43684         (syscall-list-32-condition): Likewise.
43685         (syscall-list-64-options): Likewise.
43686         (syscall-list-64-condition): Likewise.
43687         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
43688         macro.
43689         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
43690         Renamed to ...
43691         (abi-*): This.
43692         (abi-64-ld-soname): New macro.
43693         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
43694         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
43695         Renamed to ...
43696         (abi-*): This.
43697         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
43698         * sysdeps/x86_64/x32/shlib-versions: Likewise.
43700 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
43702         * sysdeps/unix/sysv/linux/kernel-features.h
43703         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
43704         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
43705         include <kernel-features.h>.
43706         [!__NR_ftruncate64]: Remove conditional code.
43707         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43708         [__NR_ftruncate64]: Make code unconditional.
43709         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43710         * sysdeps/unix/sysv/linux/truncate64.c: Do not
43711         include <kernel-features.h>.
43712         [!__NR_ftruncate64]: Remove conditional code.
43713         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43714         [__NR_ftruncate64]: Make code unconditional.
43715         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
43717         include <kernel-features.h>.
43718         [!__NR_ftruncate64]: Remove conditional code.
43719         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43720         [__NR_ftruncate64]: Make code unconditional.
43721         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
43723         include <kernel-features.h>.
43724         [!__NR_ftruncate64]: Remove conditional code.
43725         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43726         [__NR_ftruncate64]: Make code unconditional.
43727         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43729         * configure.in (libc_cv_fpie): Weaken to a compile test using
43730         LIBC_TRY_CC_OPTION.
43731         * configure: Regenerated.
43733 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43735         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
43736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
43737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
43738         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43739         Refreshed.
43740         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
43741         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
43742         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
43743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
43744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
43745         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43746         Refreshed.
43748 2012-05-27  David S. Miller  <davem@davemloft.net>
43750         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
43751         (___Q_zero): New.
43752         (__Q_simulate_exceptions): Return void.  Change to simulate
43753         exceptions by writing into the %fsr.
43754         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
43755         (__Qp_handle_exceptions): Likewise.
43756         (numbers): Delete.
43757         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
43758         __Qp_handle_exceptions.
43759         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
43760         __Qp_handle_exceptions.
43761         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
43762         as unused and give dummy FP_RND_NEAREST initializer.
43763         (FP_INHIBIT_RESULTS): Define.
43764         (___Q_simulate_exceptions): Update declaration.
43765         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
43766         formatting.
43767         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
43768         as unused and give dummy FP_RND_NEAREST initializer.
43769         (__Qp_handle_exceptions): Update declaration.
43770         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
43771         formatting.
43773 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
43775         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
43776         the temporary FPU control word.
43777         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
43778         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
43779         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
43780         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43781         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
43782         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
43783         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
43784         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43785         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
43786         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
43787         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43789 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43791         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
43792         fields.
43794 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
43796         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
43797         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
43798         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
43799         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
43800         Likewise.
43801         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
43802         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
43803         Likewise.
43805 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
43807         * po/h.po: Update from translation team.
43809 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
43811         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
43813         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
43814         handling of denormals.
43815         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43816         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
43817         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43818         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43819         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43820         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
43821         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
43822         Likewise.
43824 2012-05-26  Marek Polacek  <polacek@redhat.com>
43826         [BZ #14152]
43827         * math/libm-test.inc (fma_test): Don't always expect underflow
43828         exception.
43830 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43832         [BZ #12416]
43833         * elf/tst-execstack.c: Include stackinfo.h.
43834         (do_test): Adjust test case to ensure that pthread_getattr_np
43835         behaviour remains the same after marking stack executable.
43837 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
43839         * sysdeps/unix/sysv/linux/kernel-features.h
43840         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
43841         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
43842         kernel-features.h.
43843         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
43844         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
43845         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
43846         kernel-features.h.
43847         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
43848         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
43850 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
43852         * configure.in: Define the default includes to being none.
43853         * configure: Regenerated.
43855 2012-05-25  Roland McGrath  <roland@hack.frob.com>
43857         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
43858         * sysdeps/x86_64/setjmp.S: Likewise.
43859         * sysdeps/i386/bsd-setjmp.S: Likewise.
43860         * sysdeps/i386/bsd-_setjmp.S: Likewise.
43861         * sysdeps/i386/setjmp.S: Likewise.
43862         * sysdeps/i386/__longjmp.S: Likewise.
43863         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43864         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
43866         * include/stap-probe.h: New file.
43867         * configure.in: Handle --enable-systemtap.
43868         * configure: Regenerated.
43869         * config.h.in (USE_STAP_PROBE): New #undef.
43870         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
43871         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
43872         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43874 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
43876         [BZ #13717]
43877         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43878         to 2.4.0 where earlier.
43879         * sysdeps/unix/sysv/linux/configure: Regenerated.
43880         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
43881         <kernel-features.h>.
43882         [__ASSUME_32BITUIDS]: Make code unconditional.
43883         [!__ASSUME_32BITUIDS]: Remove conditional code.
43884         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
43885         <kernel-features.h>.
43886         [__ASSUME_32BITUIDS]: Make code unconditional.
43887         [!__ASSUME_32BITUIDS]: Remove conditional code.
43888         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
43889         [__ASSUME_32BITUIDS]: Make code unconditional.
43890         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
43891         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
43892         <kernel-features.h>.
43893         [__ASSUME_32BITUIDS]: Make code unconditional.
43894         [!__ASSUME_32BITUIDS]: Remove conditional code.
43895         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
43896         <kernel-features.h>.
43897         [__ASSUME_32BITUIDS]: Make code unconditional.
43898         [!__ASSUME_32BITUIDS]: Remove conditional code.
43899         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
43900         <kernel-features.h>.
43901         [__ASSUME_32BITUIDS]: Make code unconditional.
43902         [!__ASSUME_32BITUIDS]: Remove conditional code.
43903         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
43904         <kernel-features.h>.
43905         [__ASSUME_32BITUIDS]: Make code unconditional.
43906         [!__ASSUME_32BITUIDS]: Remove conditional code.
43907         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
43908         <kernel-features.h>.
43909         [__ASSUME_32BITUIDS]: Make code unconditional.
43910         [!__ASSUME_32BITUIDS]: Remove conditional code.
43911         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
43912         <kernel-features.h>.
43913         [__ASSUME_32BITUIDS]: Make code unconditional.
43914         [!__ASSUME_32BITUIDS]: Remove conditional code.
43915         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
43916         <kernel-features.h>.
43917         [__ASSUME_32BITUIDS]: Make code unconditional.
43918         [!__ASSUME_32BITUIDS]: Remove conditional code.
43919         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
43920         <kernel-features.h>.
43921         [__ASSUME_32BITUIDS]: Make code unconditional.
43922         [!__ASSUME_32BITUIDS]: Remove conditional code.
43923         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
43924         <kernel-features.h>.
43925         [__ASSUME_32BITUIDS]: Make code unconditional.
43926         [!__ASSUME_32BITUIDS]: Remove conditional code.
43927         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
43928         <kernel-features.h>.
43929         [__ASSUME_32BITUIDS]: Make code unconditional.
43930         [!__ASSUME_32BITUIDS]: Remove conditional code.
43931         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
43932         <kernel-features.h>.
43933         [__NR_setresgid] (__setresgid): Do not declare.
43934         [__ASSUME_32BITUIDS]: Make code unconditional.
43935         [!__ASSUME_32BITUIDS]: Remove conditional code.
43936         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
43937         <kernel-features.h>.
43938         [__NR_setresuid] (__setresuid): Do not declare.
43939         [__ASSUME_32BITUIDS]: Make code unconditional.
43940         [!__ASSUME_32BITUIDS]: Remove conditional code.
43941         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
43942         <kernel-features.h>.
43943         [__ASSUME_32BITUIDS]: Make code unconditional.
43944         [!__ASSUME_32BITUIDS]: Remove conditional code.
43945         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
43946         <kernel-features.h>.
43947         [__ASSUME_32BITUIDS]: Make code unconditional.
43948         [!__ASSUME_32BITUIDS]: Remove conditional code.
43949         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
43950         <kernel-features.h>.
43951         [__ASSUME_32BITUIDS]: Make code unconditional.
43952         [!__ASSUME_32BITUIDS]: Remove conditional code.
43953         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
43954         <kernel-features.h>.
43955         [__ASSUME_32BITUIDS]: Make code unconditional.
43956         [!__ASSUME_32BITUIDS]: Remove conditional code.
43957         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
43958         <kernel-features.h>.
43959         [__ASSUME_32BITUIDS]: Make code unconditional.
43960         [!__ASSUME_32BITUIDS]: Remove conditional code.
43961         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
43962         <kernel-features.h>.
43963         [__ASSUME_32BITUIDS]: Make code unconditional.
43964         [!__ASSUME_32BITUIDS]: Remove conditional code.
43965         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
43966         <kernel-features.h>.
43967         [__ASSUME_32BITUIDS]: Make code unconditional.
43968         [!__ASSUME_32BITUIDS]: Remove conditional code.
43969         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
43970         <kernel-features.h>.
43971         [__ASSUME_32BITUIDS]: Make code unconditional.
43972         [!__ASSUME_32BITUIDS]: Remove conditional code.
43973         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
43974         <kernel-features.h>.
43975         [__ASSUME_32BITUIDS]: Make code unconditional.
43976         [!__ASSUME_32BITUIDS]: Remove conditional code.
43977         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
43978         <kernel-features.h>.
43979         [__ASSUME_32BITUIDS]: Make code unconditional.
43980         [!__ASSUME_32BITUIDS]: Remove conditional code.
43981         * sysdeps/unix/sysv/linux/kernel-features.h
43982         (__ASSUME_SETRESUID_SYSCALL): Remove.
43983         (__ASSUME_SETRESGID_SYSCALL): Likewise.
43984         (__ASSUME_32BITUIDS): Likewise.
43985         (__ASSUME_LDT_WORKS): Likewise.
43986         (__ASSUME_O_DIRECTORY): Likewise.
43987         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
43988         architecture but not kernel version.
43989         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
43990         (__ASSUME_MMAP2_SYSCALL): Likewise.
43991         (__ASSUME_STAT64_SYSCALL): Likewise.
43992         (__ASSUME_IPC64): Likewise.
43993         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
43994         <kernel-features.h>.
43995         [__ASSUME_32BITUIDS]: Make code unconditional.
43996         [!__ASSUME_32BITUIDS]: Remove conditional code.
43997         * sysdeps/unix/sysv/linux/opendir.c: Do not include
43998         <kernel-features.h>.
43999         [__ASSUME_O_DIRECTORY]: Make code unconditional.
44000         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
44001         132096]: Remove conditional code.
44002         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
44003         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
44004         <kernel-features.h>.
44005         [__ASSUME_32BITUIDS]: Make code unconditional.
44006         [!__ASSUME_32BITUIDS]: Remove conditional code.
44007         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
44008         <kernel-features.h>.
44009         [__ASSUME_32BITUIDS]: Make code unconditional.
44010         [!__ASSUME_32BITUIDS]: Remove conditional code.
44011         * sysdeps/unix/sysv/linux/setegid.c: Do not include
44012         <kernel-features.h>.
44013         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
44014         unconditional.
44015         (__setresgid): Do not declare.
44016         [__ASSUME_32BITUIDS]: Make code unconditional.
44017         [!__ASSUME_32BITUIDS]: Remove conditional code.
44018         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
44019         <kernel-features.h>.
44020         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
44021         unconditional.
44022         (__setresuid): Do not declare.
44023         [__ASSUME_32BITUIDS]: Make code unconditional.
44024         [!__ASSUME_32BITUIDS]: Remove conditional code.
44025         * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
44030         <kernel-features.h>.
44031         [__ASSUME_32BITUIDS]: Make code unconditional.
44032         [!__ASSUME_32BITUIDS]: Remove conditional code.
44034 2012-05-25  Richard Henderson  <rth@twiddle.net>
44036         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
44037         dl_hwcap to ifunc resolver.
44038         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
44039         elf_ifunc_invoke.
44040         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
44041         dl_hwcap to ifunc resolver.
44042         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
44044 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
44046         [BZ #14153]
44047         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
44048         for |x| <= 2**-26, not 2**-57.
44049         * math/libm-test.inc (acos_test): Do not allow spurious underflow
44050         exception.
44052 2012-05-24  Jeff Law  <law@redhat.com>
44054         * stdio-common/Makefile (tests): Add bug25.
44055         * stdio-common/bug25.c: New test.
44057 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
44059         [BZ #13576]
44060         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
44061         multiple of MALLOC_ALIGNMENT in size.
44062         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
44064 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
44066         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
44067         Require >= 256.
44068         (FILENAME_MAX): Use macro-int-constant.
44069         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
44070         (_IOFBF): Use macro-int-constant.
44071         (_IOLBF): Likewise.
44072         (_IONBF): Likewise.
44073         (SEEK_CUR): Likewise.
44074         (SEEK_END): Likewise.
44075         (SEEK_SET): Likewise.
44076         (TMP_MAX): Likewise.
44077         (EOF): Use macro-int-constant.  Require < 0.
44078         (NULL): Use macro-constant.  Require == 0.
44079         (stdin): Require type to be FILE *.
44080         (stdout): Likewise.
44081         (stderr): Likewise.
44082         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
44083         macro-int-constant.
44084         (EXIT_SUCCESS): Likewise.
44085         (NULL): Use macro-constant.  Require == 0.
44086         (RAND_MAX): Use macro-int-constant.
44087         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
44088         [C99-based standards] (strtof): Require function.
44089         [C99-based standards] (strtold): Likewise.
44090         [C99-based standards] (strtoll): Likewise.
44091         [C99-based standards] (strtoull): Likewise.
44092         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44093         [ISO || ISO99 || ISO11] (limits.h): Likewise.
44094         [ISO || ISO99 || ISO11] (math.h): Likewise.
44095         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
44096         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44097         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44099 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
44101         [BZ #14132]
44102         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
44103         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
44104         * intl/dgettext.c (DCGETTEXT): Likewise.
44105         * intl/gettext.c (DCGETTEXT): Likewise.
44106         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
44107         * posix/regex_internal.h (gettext): Likewise.
44108         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
44109         Remove declaration.
44110         * include/argz.h (__argz_count_internal)
44111         (__argz_stringify_internal): Remove declaration.
44112         (__argz_count, __argz_stringify): Declare hidden proto.
44113         * intl/dcgettext.c: Remove use of INTDEF.
44114         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
44115         * string/argz-stringify.c: Likewise.
44116         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44117         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44118         Declare hidden proto.
44119         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44120         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44121         Declare hidden proto.
44122         * include/stdio.h (__asprintf_internal): Don't declare.
44123         (__asprintf): Don't define as macro.  Declare hidden proto.
44124         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
44125         (__fsetlocking): Declare hidden proto.
44126         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
44127         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
44128         hidden proto.
44129         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
44130         (_IO_setlinebuf): Remove use of INTUSE.
44131         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
44132         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
44133         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
44134         Remove declaration.
44135         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
44136         (_IO_do_flush): Remove use of INTUSE.
44137         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
44138         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
44139         (_IO_adjust_column, _IO_least_wmarker)
44140         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
44141         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
44142         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
44143         (_IO_default_doallocate, _IO_wdefault_doallocate)
44144         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
44145         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
44146         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
44147         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
44148         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
44149         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
44150         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
44151         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
44152         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
44153         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
44154         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
44155         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
44156         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
44157         proto.
44158         (_IO_flush_all_internal, _IO_adjust_column_internal)
44159         (_IO_default_uflow_internal, _IO_default_finish_internal)
44160         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
44161         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
44162         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
44163         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
44164         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
44165         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
44166         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
44167         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
44168         (_IO_file_close_internal, _IO_file_close_it_internal)
44169         (_IO_file_underflow_internal, _IO_file_overflow_internal)
44170         (_IO_file_init_internal, _IO_file_attach_internal)
44171         (_IO_file_fopen_internal, _IO_file_read_internal)
44172         (_IO_file_sync_internal, _IO_file_seek_internal)
44173         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
44174         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
44175         (_IO_str_underflow_internal, _IO_str_overflow_internal)
44176         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
44177         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
44178         (_IO_list_all_internal, _IO_link_in_internal)
44179         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
44180         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
44181         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
44182         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
44183         (_IO_do_write_internal, _IO_padn_internal)
44184         (_IO_getline_info_internal, _IO_getline_internal)
44185         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
44186         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
44187         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
44188         (_IO_vfscanf_internal, _IO_vfprintf_internal)
44189         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
44190         (_IO_init_internal, _IO_un_link_internal): Don't declare.
44191         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
44192         with libc_hidden_ver, remove use of INTUSE.
44193         * libio/genops.c: Likewise.
44194         * libio/freopen.c: Likewise.
44195         * libio/freopen64.c: Likewise.
44196         * libio/iofclose.c: Likewise.
44197         * libio/iofdopen.c: Likewise.
44198         * libio/iofflush.c: Likewise.
44199         * libio/iofflush_u.c: Likewise.
44200         * libio/iofgets.c: Likewise.
44201         * libio/iofgets_u.c: Likewise.
44202         * libio/iofopen.c: Likewise.
44203         * libio/iofopncook.c: Likewise.
44204         * libio/iofread.c: Likewise.
44205         * libio/iofread_u.c: Likewise.
44206         * libio/ioftell.c: Likewise.
44207         * libio/iofwrite.c: Likewise.
44208         * libio/iogetline.c: Likewise.
44209         * libio/iogets.c: Likewise.
44210         * libio/iogetwline.c: Likewise.
44211         * libio/iopadn.c: Likewise.
44212         * libio/iopopen.c: Likewise.
44213         * libio/ioseekoff.c: Likewise.
44214         * libio/ioseekpos.c: Likewise.
44215         * libio/iosetbuffer.c: Likewise.
44216         * libio/iosetvbuf.c: Likewise.
44217         * libio/ioungetc.c: Likewise.
44218         * libio/ioungetwc.c: Likewise.
44219         * libio/iovdprintf.c: Likewise.
44220         * libio/iovsprintf.c: Likewise.
44221         * libio/iovsscanf.c: Likewise.
44222         * libio/memstream.c: Likewise.
44223         * libio/obprintf.c: Likewise.
44224         * libio/oldfileops.c: Likewise.
44225         * libio/oldiofclose.c: Likewise.
44226         * libio/oldiofdopen.c: Likewise.
44227         * libio/oldiofopen.c: Likewise.
44228         * libio/oldiopopen.c: Likewise.
44229         * libio/oldstdfiles.c: Likewise.
44230         * libio/putc.c: Likewise.
44231         * libio/setbuf.c: Likewise.
44232         * libio/setlinebuf.c: Likewise.
44233         * libio/stdfiles.c: Likewise.
44234         * libio/strops.c: Likewise.
44235         * libio/vasprintf.c: Likewise.
44236         * libio/vscanf.c: Likewise.
44237         * libio/vsnprintf.c: Likewise.
44238         * libio/vswprintf.c: Likewise.
44239         * libio/wfiledoalloc.c: Likewise.
44240         * libio/wfileops.c: Likewise.
44241         * libio/wgenops.c: Likewise.
44242         * libio/wmemstream.c: Likewise.
44243         * libio/wstrops.c: Likewise.
44244         * libio/__fpurge.c: Likewise.
44245         * libio/__fsetlocking.c: Likewise.
44246         * assert/assert.c: Likewise.
44247         * debug/fgets_chk.c: Likewise.
44248         * debug/fgets_u_chk.c: Likewise.
44249         * debug/fread_chk.c: Likewise.
44250         * debug/fread_u_chk.c: Likewise.
44251         * debug/gets_chk.c: Likewise.
44252         * debug/obprintf_chk.c: Likewise.
44253         * debug/vasprintf_chk.c: Likewise.
44254         * debug/vdprintf_chk.c: Likewise.
44255         * debug/vsnprintf_chk.c: Likewise.
44256         * debug/vsprintf_chk.c: Likewise.
44257         * malloc/mtrace.c: Likewise.
44258         * misc/error.c: Likewise.
44259         * misc/syslog.c: Likewise.
44260         * stdio-common/asprintf.c: Likewise.
44261         * stdio-common/fxprintf.c: Likewise.
44262         * stdio-common/getw.c: Likewise.
44263         * stdio-common/isoc99_fscanf.c: Likewise.
44264         * stdio-common/isoc99_scanf.c: Likewise.
44265         * stdio-common/isoc99_vfscanf.c: Likewise.
44266         * stdio-common/isoc99_vscanf.c: Likewise.
44267         * stdio-common/isoc99_vsscanf.c: Likewise.
44268         * stdio-common/printf-prs.c: Likewise.
44269         * stdio-common/printf_fp.c: Likewise.
44270         * stdio-common/printf_fphex.c: Likewise.
44271         * stdio-common/printf_size.c: Likewise.
44272         * stdio-common/putw.c: Likewise.
44273         * stdio-common/scanf.c: Likewise.
44274         * stdio-common/sprintf.c: Likewise.
44275         * stdio-common/tmpfile.c: Likewise.
44276         * stdio-common/vfprintf.c: Likewise.
44277         * stdio-common/vfscanf.c: Likewise.
44278         * stdlib/strfmon_l.c: Likewise.
44279         * sunrpc/openchild.c: Likewise.
44280         * sunrpc/xdr_stdio.c: Likewise.
44281         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
44282         * sysdeps/mach/hurd/tmpfile.c: Likewise.
44284 2012-05-24  Roland McGrath  <roland@hack.frob.com>
44286         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44288         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
44289         in the third column, to generate for the shared library an IFUNC
44290         that uses _dl_vdso_vsym.
44291         * Makerules (COMPILE.c, compile-stdin.c): New variables.
44292         * Makeconfig (object-suffixes-noshared): New variable.
44294         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
44295         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
44296         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
44297         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
44299         [BZ #14132]
44300         * include/sys/time.h (__gettimeofday): Remove macro.
44301         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
44302         * time/gettimeofday.c (__gettimeofday): Remove #undef.
44303         Remove INTDEF.
44304         (__gettimeofday): Add libc_hidden_def.
44305         (gettimeofday): Add libc_hidden_weak.
44306         * sysdeps/mach/gettimeofday.c: Likewise.
44307         * sysdeps/posix/gettimeofday.c: Likewise.
44308         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
44309         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
44310         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
44311         (__gettimeofday_internal): Remove strong_alias.
44312         (__gettimeofday): Add libc_hidden_def.
44313         (gettimeofday): Add libc_hidden_weak.
44314         * sysdeps/unix/syscalls.list (gettimeofday):
44315         Remove __gettimeofday_internal alias.
44317 2012-05-24  Daniel Jacobowitz  <drow@false.org>
44318             H.J. Lu  <hongjiu.lu@intel.com>
44320         [BZ #12495]
44321         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
44322         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
44323         (largebin_index_32_big): New.
44324         (largebin_index): Use it for 16-byte alignment.
44325         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
44326         correction with front_misalign.
44328 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
44330         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
44331         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
44332         Likewise.
44333         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
44334         Likewise.
44335         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
44336         Likewise.
44337         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
44338         Likewise.
44339         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
44340         Likewise.
44341         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
44342         Likewise.
44343         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
44344         Likewise.
44345         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44346         Likewise.
44347         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
44348         Likewise.
44349         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
44350         Likewise.
44351         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
44352         Likewise.
44353         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
44354         Likewise.
44356         * scripts/data/c++-types-x32-linux-gnu.data: New file.
44357         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
44359 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
44361         [BZ #10846]
44362         [BZ #14036]
44363         * math/libm-test.inc (exp_test): Add test from bug 14036.
44364         (pow_test): Add test from bug 10846.
44366         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
44367         and other flags.
44368         (special_function): Do not include flags in test name.
44369         (parse_args): Likewise.
44370         * sysdeps/i386/fpu/libm-test-ulps: Update.
44371         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44372         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44373         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44376         * math/gen-libm-test.pl (%beautify): Add entries for underflow
44377         exceptions.
44378         * math/libm-test.inc ("Philosophy"): Update comment about
44379         exception testing.
44380         (UNDERFLOW_EXCEPTION): New macro.
44381         (UNDERFLOW_EXCEPTION_OK): Likewise.
44382         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
44383         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
44384         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
44385         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
44386         (INVALID_EXCEPTION_OK): Update value.
44387         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44388         (OVERFLOW_EXCEPTION_OK): Likewise.
44389         (IGNORE_ZERO_INF_SIGN): Likewise.
44390         (test_exceptions): Handle underflow exceptions.
44391         (acos_test): Update for underflow exception expectations.
44392         (cexp_test): Likewise.
44393         (clog_test): Likewise.
44394         (clog10_test): Likewise.
44395         (csqrt_test): Likewise.
44396         (ctan_test): Likewise.
44397         (ctanh_test): Likewise.
44398         (exp_test): Likewise.
44399         (exp10_test): Likewise.
44400         (exp2_test): Likewise.
44401         (expm1_test): Likewise.
44402         (fma_test): Likewise.
44403         (j0_test): Likewise.
44404         (jn_test): Likewise.
44405         (nexttoward_test): Likewise.
44406         (pow_test): Likewise.
44407         (scalbn_test): Likewise.
44408         (scalbln_test): Likewise.
44409         (tan_test): Likewise.
44410         (y1_test): Likewise.
44411         * sysdeps/i386/fpu/libm-test-ulps: Update.
44412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44414 2012-05-23  David S. Miller  <davem@davemloft.net>
44416         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44417         (__libc_sigaction): Remove unused local variables.
44419 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
44421         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
44423 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
44425         mktime: avoid signed integer overflow
44426         * time/mktime.c (__mktime_internal): Do not mishandle the case
44427         where diff == INT_MIN.
44429         mktime: simplify computation of average
44430         * time/mktime.c (ranged_convert): Use new time_t_avg function
44431         instead of rolling our own (probably-slower) code.
44433         mktime: do not assume signed right shift propagates sign bit
44434         * time/mktime.c (isdst_differ): New static function.
44435         (__mktime_internal): No need to normalize tm_isdst now.
44436         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
44437         tm_isdst values.
44439         mktime: merge another wrapv change from gnulib
44440         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
44441         from some compilers.
44443         mktime: remove incorrect attempt at unusual arithmetics
44444         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
44445         The code didn't really work on such machines anyway.
44446         (TYPE_MINIMUM): Assume two's complement.
44447         (twos_complement_arithmetic): Verify that long_int and time_t
44448         are two's complement (or unsigned, in the latter case).
44450         mktime: check signed shifts on long_int and time_t, too
44451         * time/mktime.c (SHR): Check that shifts work as desired
44452         on the types long_int and time_t too, as SHR is used on
44453         such types.
44455         mktime: do not assume 'long' is wide enough
44456         * time/mktime.c (verify): Move decl up.
44457         (long_int): New type.
44458         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
44459         to remove assumption in the code that 'long' is wide enough to
44460         store year values.  This assumption is not true on x32 and on
44461         some non-glibc platforms.
44463         mktime: merge wrapv change from gnulib
44464         * time/mktime.c (WRAPV): New macro.
44465         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
44466         (guess_time_tm, __mktime_internal): Do not assume that signed
44467         integer overflow wraps around; modern compilers generate code
44468         where this assumption is no longer valid.
44470 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
44472         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
44473         Replace "jmp L(pseudo_end)" with "ret".
44474         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
44475         Likewise.
44477 2012-05-23  Andreas Jaeger  <aj@suse.de>
44479         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
44480         * sysdeps/unix/sysv/linux/poll.c: Remove file.
44482 2012-05-23  Andreas Jaeger  <aj@suse.de>
44483             Maximilian Attems  <max@stro.at>
44485         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
44486         New macros.
44488 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
44490         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
44491         code so that pseudo_end is just ret and the stack pointer is
44492         correct also for static library in error case.
44494 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
44496         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
44497         move to syscalls.list.
44498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
44499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44503         * manual/install.texi (Running make install): Do not mention Linux
44504         kernel version for which pt_chown is not needed.
44505         (Linux): Do not mention problems with nscd with 2.0 kernels.
44506         * INSTALL: Regenerated.
44508 2012-05-23  Andreas Jaeger  <aj@suse.de>
44510         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
44511         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
44512         macro.
44513         * sysdeps/unix/sysv/linux/s390/bits/mman.h
44514         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44515         * sysdeps/unix/sysv/linux/sh/bits/mman.h
44516         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44517         * sysdeps/unix/sysv/linux/i386/bits/mman.h
44518         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44519         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
44520         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44521         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
44522         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44523         * sysdeps/unix/sysv/linux/bits/in.h
44524         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
44526 2012-05-22  Roland McGrath  <roland@hack.frob.com>
44528         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
44529         (PREPARE_VERSION): Just use assert instead, it will be elided
44530         under [NDEBUG] anyway.
44532 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
44534         * sysdeps/unix/sysv/linux/Makefile: Include
44535         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
44536         (sysdep_routines): Remove sysctl.
44537         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
44538         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
44539         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
44540         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
44541         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
44543 2012-05-22  Andreas Jaeger  <aj@suse.de>
44545         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
44546         that pseudo_end is just ret and the stack pointer is correct also
44547         for static library in error case.
44549 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
44551         [BZ #14122]
44552         * nss/nsswitch.c (defconfig_entries): New variable.
44553         (__nss_database_lookup): Don't leak defconfig entries.
44554         (nss_parse_service_list): Don't leak on error paths.
44555         (free_database_entries): New function.
44556         (free_defconfig): New function.
44557         (free_mem): Move common code to free_database_entries.
44559 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
44561         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
44562         Add arch_prctl.
44563         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
44565         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
44566         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
44567         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
44568         New macro.
44569         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
44570         (INTERNAL_SYSCALL_TYPES): Likewise.
44571         (LOAD_ARGS_TYPES_[1-6]): Likewise.
44572         (LOAD_REGS_TYPES_[1-6]): Likewise.
44573         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
44574         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
44576 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44578         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
44579         copysignl for GLIBC_2_0.
44580         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
44581         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
44582         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
44583         logbl for GLIBC_2_0.
44584         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
44585         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
44587 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
44589         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
44590         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
44592         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
44593         Use "neg %eax".
44595         * time/mktime.c: Update copyright years.
44597 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
44599         mktime: merge comment-quoting-style change from gnulib
44600         * time/mktime.c: Quote 'like this' in comments.
44601         The GNU coding standards suggest that we no longer quote `like this',
44602         as "`" and "'" are typically rendered asymmetrically nowadays.
44603         The typical gnulib style is to quote 'like this' when quoting
44604         code, and "like this" when quoting English.
44606         * time/mktime.c (compile-command): Add "-I.".
44608         mktime: merge mktime-internal.h change from gnulib
44609         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
44611         mktime: merge time_r change from gnulib
44612         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
44614         mktime: merge DEBUG change from gnulib
44615         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
44616         case system <time.h> has a #define.
44618         mktime: merge <sys/types.h> change from gnulib
44619         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
44620         since <time.t> is now guaranteed to define time_t.
44622         mktime: merge HAVE_CONFIG_H change from gnulib
44623         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
44625 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
44627         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
44628         Use "neg %eax".
44630         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
44631         __rlim_t cast.
44632         (struct rusage): Use anonymous union to pad each field to
44633         __syscall_slong_t.
44635 2012-05-21  David S. Miller  <davem@davemloft.net>
44637         * Makefules (o-iterator): Remove .s cases.
44638         (compile-command.s): Delete.
44639         (COMPILE.s): Delete.
44640         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
44642 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
44644         * configure.in (libc_cv_predef_stack_protector): Only consider
44645         "foobar" and "__stack_chk_fail" lines in libc_undefs.
44646         * configure: Regenerated.
44648 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
44650         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
44651         New macro.  Use R*LP on int and pointer.
44652         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
44653         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
44654         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
44655         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
44657         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
44658         [__WORDSIZE_TIME64_COMPAT32] instead of
44659         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
44660         (struct utmp): Likewise.
44661         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
44662         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
44663         Renamed to ...
44664         (__WORDSIZE_TIME64_COMPAT32): This.
44665         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
44666         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
44667         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
44668         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
44669         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
44670         (__WORDSIZE_TIME64_COMPAT32): New macro.
44672 2012-05-21  Andreas Jaeger  <aj@suse.de>
44674         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
44675         only if [SHARED]. Add prototype for __wcschr_ia32.
44677 2012-05-21  Roland McGrath  <roland@hack.frob.com>
44679         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
44680         of %rbp unmolested in the jmp_buf while mangling the low bits.
44681         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
44682         unmolested high bits of %rbp while demangling the low bits.
44683         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44685 2012-05-21  Andreas Jaeger  <aj@suse.de>
44687         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
44688         * sunrpc/svc_simple.c: Use it for registerrpc.
44689         * sunrpc/xcrypt.c: Use it for passwd2des.
44691         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
44693 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
44695         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
44696         Don't define if [__SYSCALL_WORDSIZE != 32].
44697         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
44698         New macro.
44700 2012-05-21  Bruno Haible  <bruno@clisp.org>
44701             Andreas Jaeger  <aj@suse.de>
44703         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
44704         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
44705         inptr and inend for must_buffer_ch.
44706         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
44707         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
44708         * stdio-common/Makefile (tests): Remove bug15.
44709         (bug15-ENV): Remove macro.
44710         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
44711         anymore.
44713 2012-05-19  Andreas Jaeger  <aj@suse.de>
44714             Roland McGrath  <roland@hack.frob.com>
44716         * manual/contrib.texi: Completely rewritten. It contains now an
44717         alphabetical list of contributors and their contributions.
44719 2012-05-21  Richard Henderson  <rth@twiddle.net>
44721         * misc/getauxval.c (__getauxval): Use unsigned long int.
44722         * misc/sys/auxv.h: Include <sys/cdefs.h>.
44723         (getauxval): Use unsigned long int.
44725 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
44727         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44729 2012-05-21  Roland McGrath  <roland@hack.frob.com>
44731         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
44732         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
44733         __alignof__ (long double).
44735 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44739 2012-05-20  Richard Henderson  <rth@twiddle.net>
44741         * misc/getauxval.c: New file.
44742         * misc/sys/auxv.h: New file.
44743         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
44744         (routines): Add getauxval.
44745         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
44746         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
44747         * elf/dl-sysdep.c (_dl_auxv): Remove.
44748         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
44749         * elf/dl-support.c (_dl_auxv): New variable.
44750         (_dl_aux_init): Initialize it.
44751         * manual/startup.texi (Auxiliary Vector): New node.
44752         * sysdeps/generic/bits/hwcap.h: New file.
44753         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
44754         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
44755         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
44756         * sysdeps/sparc/sysdep.h: ... here.  Include it.
44757         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
44758         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
44759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44760         Update.
44761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
44762         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
44763         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
44764         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
44765         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
44766         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
44767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
44768         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
44770 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44774 2012-05-19  David S. Miller  <davem@davemloft.net>
44776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44778 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
44780         [BZ #14123]
44781         * math/s_ccosh.c: Include <float.h>
44782         (__ccosh): Avoid internal overflow calculating sinh and cosh
44783         values before multiplying by sin and cos values.
44784         * math/s_ccoshf.c: Likewise.
44785         * math/s_ccoshl.c: Likewise.
44786         * math/s_csin.c: Likewise.
44787         * math/s_csinf.c: Likewise.
44788         * math/s_csinl.c: Likewise.
44789         * math/s_csinh.c: Likewise.
44790         * math/s_csinhf.c: Likewise.
44791         * math/s_csinhl.c: Likewise.
44792         * math/libm-test.inc (ccos_test): Add more tests.
44793         (ccosh_test): Likewise.
44794         (csin_test): Likewise.
44795         (csinh_test): Likewise.
44796         * sysdeps/i386/fpu/libm-test-ulps: Update.
44797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44799 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
44801         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
44802         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
44804         * sysdeps/x86_64/x32/_itoa.h: Add comment.
44806 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
44808         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
44809         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
44810         * sysdeps/powerpc/soft-fp/Versions: Likewise.
44811         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
44812         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
44813         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
44814         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
44815         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
44816         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
44817         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
44818         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
44819         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
44820         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
44821         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
44822         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
44823         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
44824         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
44825         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
44826         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
44827         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
44828         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
44829         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
44830         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
44831         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
44832         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
44833         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
44834         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
44835         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
44836         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
44837         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
44838         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
44840 2012-05-18  Andreas Jaeger  <aj@suse.de>
44842         * csu/.gitignore: Delete.
44844 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
44846         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
44847         (timex): Use __syscall_slong_t.
44849 2012-05-18  Andreas Jaeger  <aj@suse.de>
44850             Carlos O'Donell  <carlos_odonell@mentor.com>
44852         * manual/install.texi (Configuring and compiling): Update
44853         description about files modified in the source directory.
44854         * INSTALL: Regenerated.
44856 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
44858         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
44859         value.  Use "or" to set return value to -1.
44860         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
44861         negate return value.
44863 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44865         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
44866         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
44867         failure if the compiler has Graphite support disabled.
44868         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
44869         Likewise.
44870         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
44871         (CFLAGS-memmove.c): Likewise.
44872         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
44873         Likewise.
44875 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
44877         * sysdeps/x86_64/x32/_itoa.h: New file.
44879         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
44880         getdents system call only if kernel and user dirents have the
44881         same d_ino and d_off.
44883         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44884         LLONG_MAX != LONG_MAX.
44885         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44886         (_fitoa_word): Likewise.
44888         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
44889         years.
44890         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
44891         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
44892         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
44894         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
44895         include <bits/wordsize.h>.  Check __x86_64__ instead of
44896         __WORDSIZE.
44897         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
44898         if __x86_64__ is defined.  Use anonymous union on fpstate.
44900         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
44901         anonymous union.
44903 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
44905         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44906         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
44907         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
44908         Refer to _rtld_local_ro instead of _rtld_global_ro.
44909         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
44910         Likewise.
44911         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
44912         Likewise.
44913         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
44914         Likewise.
44915         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
44916         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
44917         of _rtld_global, and rtld_progname instead of _dl_argv[0].
44919         * sysdeps/powerpc/powerpc32/dl-machine.c
44920         (__elf_machine_runtime_setup) [PROF]: Don't reference
44921         _dl_prof_resolve.
44923 2012-05-18  Andreas Jaeger  <aj@suse.de>
44925         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
44926         function only available for GCCs before 3.4 since GCC 3.4
44927         introduced a builtin.
44928         (lrint): Likewise.
44929         (llrintf): Likewise.
44930         (llrint): Likewise.
44931         (fmaxf): Likewise.
44932         (fmax): Likewise.
44933         (fminf): Likewise.
44934         (fmin): Likewise.
44935         (rint): Likewise.
44936         (rintf): Likewise.
44937         (nearbyint): Likewise.
44938         (nearbyintf): Likewise.
44939         (ceil): Likewise.
44940         (ceilf): Likewise.
44941         (floor): Likewise.
44942         (floorf): Likewise.
44944 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44946         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
44947         on both fields and cast pointer to __syscall_ulong_t.
44949         * bits/types.h (__fsword_t): New type.
44950         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
44951         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
44952         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44953         (__FSWORD_T_TYPE): Likewise.
44954         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44955         (__FSWORD_T_TYPE): Likewise.
44956         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44957         (__FSWORD_T_TYPE): Likewise.
44958         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
44959         (__FSWORD_T_TYPE): Likewise.
44960         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
44961         __SWORD_TYPE with __fsword_t.
44962         (statfs64): Likewise.
44964 2012-05-17  David S. Miller  <davem@davemloft.net>
44966         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
44968 2012-05-17  Andreas Jaeger  <aj@suse.de>
44970         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
44971         warning.
44973 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44975         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
44977 2012-05-17  Andreas Jaeger  <aj@suse.de>
44979         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
44980         when it is used.
44982 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
44984         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
44986 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44988         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
44989         * sysdeps/x86_64/tst-mallocalign1.c: New file.
44991 2012-05-17  Andreas Jaeger  <aj@suse.de>
44992             Carlos O'Donell  <carlos_odonell@mentor.com>
44994         [BZ #14059]
44995         * sysdeps/x86_64/multiarch/init-arch.h
44996         (bit_YMM_Usable): Rename to...
44997         (bit_AVX_Usable): ... this.
44998         (bit_FMA4_Usable): New macro.
44999         (bit_XMM_state): New macro.
45000         (bit_YMM_state): New macro.
45001         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
45002         [__ASSEMBLER__] (index_AVX_Usable): ... this.
45003         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
45004         (CPUID_OSXSAVE): New macro.
45005         (CPUID_AVX): New macro.
45006         (CPUID_FMA4): New macro.
45007         (index_YMM_Usable): Rename to...
45008         (index_AVX_Usable): ... this.
45009         (HAS_AVX): Use HAS_ARCH_FEATURE.
45010         (HAS_FMA4): Likewise.
45011         (HAS_YMM_USABLE): Remove.
45012         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45013         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
45014         are present.
45015         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
45016         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
45017         * sysdeps/x86_64/multiarch/Makefile: Likewise.
45018         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
45019         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
45021 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
45023         * math/libm-test.c: Support platforms without multiple rounding modes.
45024         * math/bug-nextafter.c: Support platforms without FP exceptions.
45025         * math/bug-nexttoward.c: Likewise.
45026         * math/test-fenv.c: Likewise.
45027         * math/test-misc.c: Likewise.
45028         * stdlib/bug-getcontext.c: Likewise.
45030 2012-05-17  Andreas Jaeger  <aj@suse.de>
45032         * manual/examples/search.c (critter_cmp): Change signature to
45033         avoid warnings.
45034         * manual/string.texi (Collation Functions): Likewise.
45036 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45038         * bits/types.h: Fold copyright years.
45039         * bits/typesizes.h: Likewise.
45040         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
45041         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45042         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
45043         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
45044         * time/time.h: Likewise.
45046 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
45048         [BZ #208]
45049         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
45050         in instead of returning them.  Return void.
45051         (__libc_mallinfo): Accumulate over all arenas.
45052         (__malloc_stats): Adjust for change in int_mallinfo interface.
45054 2012-05-16  Roland McGrath  <roland@hack.frob.com>
45056         [BZ #10375]
45057         * configure.in (NM): Add AC_CHECK_TOOL for it.
45058         (libc_extra_cflags): New substituted variable.
45059         Check for -fstack-protector being used implicitly.
45060         * configure: Regenerated.
45061         * config.make.in (config-extra-cflags): New variable,
45062         gets @libc_extra_cflags@.
45063         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
45065         [BZ #10375]
45066         * configure.in: Check for _FORTIFY_SOURCE being predefined.
45067         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
45068         * configure: Regenerated.
45069         * config.make.in (CPPUNDEFS): New substituted variable.
45070         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
45071         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
45072         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
45074 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45076         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
45077         (mq_attr): Use __syscall_slong_t.
45079 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45081         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
45082         Check __x86_64__ instead of __WORDSIZE.
45083         (_STAT_VER_LINUX): Likewise.
45084         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
45085         __syscall_ulong_t and __syscall_slong_t.
45086         (stat64): Likewise.
45088 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45090         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
45092 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45094         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
45096 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45098         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
45099         __syscall_ulong_t.
45101         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
45102         include <bits/wordsize.h>.  Check __x86_64__ instead of
45103         __WORDSIZE.
45104         (greg_t): Use "__extension__ long long int" if __x86_64__ is
45105         defined.
45106         (mcontext_t): Replace "unsigned long" with "unsigned long long".
45108         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
45109         include <bits/wordsize.h>.  Check __x86_64__ instead of
45110         __WORDSIZE.
45111         (user_regs_struct): Use "__extension__ unsigned long long"
45112         instead of "unsigned long" if __x86_64__ is defined.
45113         (user): Likewise.  Pad after pointer field if __ILP32__ is
45114         defined.
45116 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
45118         * configure.in (makeinfo): Require version 4.5 or later.  Allow
45119         versions 5 to 9.
45120         * configure: Regenerated.
45121         * manual/install.texi (texinfo): Increase version requirement to
45122         4.5 or later.
45123         * INSTALL: Regenerated.
45125         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
45127 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45129         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
45131         * sysdeps/x86_64/x32/ffs.c: New file.
45133         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
45134         __syscall_ulong_t.
45135         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
45136         defined.  Use __syscall_ulong_t.
45137         (shminfo): Use __syscall_ulong_t.
45138         (shm_info): Likewise.
45140         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
45141         __syscall_ulong_t.
45143         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
45144         <bits/wordsize.h>.
45145         (msgqnum_t): Use __syscall_ulong_t.
45146         (msglen_t): Likewise.
45147         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
45148         __syscall_ulong_t.
45150         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
45151         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
45153         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
45155         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
45156         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
45158         * sysvipc/sys/msg.h (msgbuf): Replace long int with
45159         __syscall_slong_t.
45161         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
45162         include <bits/wordsize.h>.  Check __x86_64__ instead of
45163         __WORDSIZE.
45165         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
45166         "unsigned long long int" if __x86_64__ is defined.
45167         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
45169         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
45170         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
45171         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
45173         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
45174         <stdint.h>.
45175         (GET_PC): Cast to uintptr_t first.
45176         (GET_FRAME): Likewise.
45177         (GET_STACK): Likewise.
45179         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
45180         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
45181         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
45182         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
45183         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
45184         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
45185         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
45186         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
45187         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
45188         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
45189         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
45190         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
45191         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45192         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
45193         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
45194         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
45195         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
45196         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
45197         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
45198         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
45199         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
45200         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
45201         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
45202         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
45203         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
45204         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
45205         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
45206         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
45207         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
45209 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
45211         * Makerules (+depfiles): Also collect depfiles from .oS in
45212         $(extra-objs).
45213         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
45214         .oS, $(libnldbl-routines)).
45216         * Makerules (native-compile-mkdep-flags): Define.
45217         * sunrpc/Makefile (extra-objs): Add $(addprefix
45218         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
45219         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
45220         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
45221         calling $(make-target-directory).
45223 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45225         * bits/types.h (__snseconds_t): Removed.
45226         * time/time.h (struct timespec): Replace __snseconds_t with
45227         __syscall_slong_t.
45228         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
45229         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
45230         Likewise.
45231         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45232         (__SNSECONDS_T_TYPE): Likewise.
45233         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45234         (__SNSECONDS_T_TYPE): Likewise.
45235         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45236         (__SNSECONDS_T_TYPE): Likewise.
45238 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45240         * sysdeps/mach/hurd/bits/typesizes.h
45241         (__SYSCALL_SLONG_TYPE): New macro.
45242         (__SYSCALL_ULONG_TYPE): Likewise.
45244 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45246         * bits/types.h (__syscall_slong_t): New type.
45247         (__syscall_ulong_t): Likewise.
45249         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
45250         (__SYSCALL_ULONG_TYPE): Likewise.
45251         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45252         (__SYSCALL_SLONG_TYPE): Likewise.
45253         (__SYSCALL_ULONG_TYPE): Likewise.
45254         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45255         (__SYSCALL_SLONG_TYPE): Likewise.
45256         (__SYSCALL_ULONG_TYPE): Likewise.
45257         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45258         (__SYSCALL_SLONG_TYPE): Likewise.
45259         (__SYSCALL_ULONG_TYPE): Likewise.
45261 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45263         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
45264         Add sigaltstack-offsets.sym.
45265         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
45266         <sigaltstack-offsets.h>.
45267         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
45268         longjmp_msg pointer.
45269         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
45270         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
45271         signal stack.
45272         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
45274 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
45276         * elf/stackguard-macros.h: Remove file.
45277         * sysdeps/generic/stackguard-macros.h: New file.
45278         * sysdeps/i386/stackguard-macros.h: Likewise.
45279         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45280         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45281         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45282         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45283         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45284         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45285         * sysdeps/x86_64/stackguard-macros.h: Likewise.
45286         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
45287         <elf/stackguard-macros.h>.
45289         [BZ #14109]
45290         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
45291         __aligned__ in attribute.
45292         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
45293         (gregset_t): Likewise.
45295 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45297         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
45298         * sysdeps/x86_64/64/Implies-after: Here.  New file.
45299         * sysdeps/x86_64/x32/Implies-after: New file.
45301 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45303         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
45304         and access return value for _dl_profile_fixup.  Use R10_LP to
45305         load frame size.
45307 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45309         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
45311 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45313         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
45314         * sysdeps/x86_64/x32/sysdep.h: New file.
45316 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45318         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
45319         * sysdeps/x86_64/setjmp.S: Likewise.
45321 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45323         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
45324         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
45325         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
45326         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
45327         remove unused global constant.
45329 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
45331         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
45332         include of <not-cancel.h>.
45334 2012-05-15  Roland McGrath  <roland@hack.frob.com>
45336         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
45338 2012-05-15  Jeff Law  <law@redhat.com>
45339             Andreas Jaeger  <aj@suse.de>
45341         [BZ #13594]
45342         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
45343         out from...
45344         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
45345         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
45346         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
45347         code changing __hst_map_handle.map.
45349 2012-05-15  Roland McGrath  <roland@hack.frob.com>
45351         * configure.in (sysnames): Look for Implies-before and Implies-after
45352         files.
45353         * configure: Regenerated.
45355 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45357         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
45358         8-byte data alignment with LP_SIZE alignment.
45360 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45362         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
45363         into R10_LP.
45365 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45367         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
45369 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45371         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
45372         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
45373         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
45374         Likewise.
45375         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45377 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45379         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
45380         (stackinfo_sub_sp): Likewise.
45382 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45384         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
45385         RAX_LP.
45387 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45389         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
45390         into R*_LP.
45392 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45394         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
45395         sizes into R*_LP.
45397 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45399         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
45401 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45403         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
45404         into R11_LP and load __x86_64_shared_cache_size_half into
45405         R8_LP.
45407 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45409         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
45410         R8_LP.
45412 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45414         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
45415         logb for POWER7.
45416         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
45417         logbf for POWER7.
45418         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
45419         logbl for POWER7.
45420         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
45421         powerpc32/power7/fpu/s_logb.c via #include.
45422         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
45423         powerpc32/power7/fpu/s_logbf.c via #include.
45424         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
45425         powerpc32/power7/fpu/s_logbl.c via #include.
45427 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
45429         * README.libm: Remove file.
45431 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45433         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
45434         count for x32.  Use R*_LP and omit operand-size suffix.
45436 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45438         * shlib-versions: Move x86_64-.*-linux.* entries to ...
45439         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
45440         * sysdeps/x86_64/x32/shlib-versions: New file.
45442 2012-05-14  Roland McGrath  <roland@hack.frob.com>
45444         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
45445         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
45446         Use _dl_fatal_printf instead.
45448 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
45450         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
45451         set if not set by the user.  Do not allow for being unset.
45452         * sysdeps/unix/sysv/linux/configure: Regenerated.
45454 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45456         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
45457         the `q' suffix from lea and replace .quad with ASM_ADDR.
45459 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45461         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
45462         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
45463         instead of $17.
45464         (PTR_DEMANGLE): Likewise.
45466 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45468         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
45469         (LP_OP): Likewise.
45470         (ASM_ADDR): Likewise.
45471         (RAX_LP): Likewise.
45472         (RBP_LP): Likewise.
45473         (RBX_LP): Likewise.
45474         (RCX_LP): Likewise.
45475         (RDI_LP): Likewise.
45476         (RSI_LP): Likewise.
45477         (RSP_LP): Likewise.
45478         (R8_LP): Likewise.
45479         (R9_LP): Likewise.
45480         (R10_LP): Likewise.
45481         (R10_LP): Likewise.
45482         (R11_LP): Likewise.
45483         (R12_LP): Likewise.
45484         (R13_LP): Likewise.
45485         (R14_LP): Likewise.
45486         (R15_LP): Likewise.
45488 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45490         * sysdeps/x86_64/x32/dl-machine.h: New file.
45492 2012-05-14  Andreas Jaeger  <aj@suse.de>
45494         * manual/Makefile (subdir): Remove export of subdir.
45495         (all): Remove target.
45496         (.PHONY): Remove all from list.
45497         (mkinstalldirs): Remove.
45498         (.PHONY): Remove installdirs from list.
45499         ($(inst_infodir)/libc.info): Use make-target-directory.
45500         (installdirs): Remove.
45501         (subdir_%): Remove.
45502         (glibc-targets): Remove.
45503         (lib): Remove.
45504         (stubs): Remove.
45505         ($(objpfx)stubs ../po/manual.pot): Remove.
45506         ($(objpfx)stamp%): Remove.
45507         (make-target-directory): Remove.
45508         (subdir_install): Remove.
45509         (routines): Remove.
45510         (aux): Remove.
45511         (sources): Remove.
45512         (objects): Remove.
45513         (headers): Remove.
45515         [BZ #13750]
45516         * manual/.gitignore: Remove, it's not needed anymore.
45517         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
45518         all files in it.
45519         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
45520         directory.
45521         (texis): Renamed to $(objpfx)texis.
45522         (texis-path): New, contains path to generated files.
45523         (chapters.%): Use texis-path for complete path, add extra argument
45524         libc-texinfo.sh.
45525         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
45526         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
45527         (summary,texi, stamp-summary): Use complete path of
45528         files. Generate files in build dir.
45529         (dir-add.texi): Build in build dir.
45530         (libm-err.texi,stamp-libm-err): Likewise.
45531         (version.texi, stamp-version): Likewise.
45532         (.%c.texi): Likewise.
45533         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
45534         (mostlyclean): Remove target.
45535         (realclean): Remove target.
45536         (generated): Add new variable with contents from mostlyclean and
45537         realclean, remove entries duplicated in common-mostlyclean, add
45538         stamp-libm-err and stamp-version.
45539         (generated-dirs): Add libc directory.
45540         ($(inst_infodir)/libc.info): Install files from build dir.
45542         * manual/install.texi (Configuring and compiling): Adjust since
45543         the info files are not part of the tar ball anymore.
45545 2012-05-14  Andreas Jaeger  <aj@suse.de>
45547         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
45548         variable.
45550 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
45552         [BZ #13717]
45553         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45554         to 2.2.0 where earlier.
45555         * sysdeps/unix/sysv/linux/configure: Regenerated.
45556         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
45557         Remove conditional code.
45558         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
45559         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
45560         Remove conditional code.
45561         [!__NR_lchown]: Likewise.
45562         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45563         [__NR_lchown]: Likewise.
45564         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
45565         comment referencing __ASSUME_LCHOWN_SYSCALL.
45566         * sysdeps/unix/sysv/linux/i386/sigaction.c
45567         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45568         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45569         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
45570         Remove conditional code.
45571         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
45572         (__protocol_available): Remove #if 0 code.
45573         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
45574         conditional code.
45575         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
45576         * sysdeps/unix/sysv/linux/kernel-features.h
45577         (__ASSUME_GETCWD_SYSCALL): Don't define.
45578         (__ASSUME_REALTIME_SIGNALS): Likewise.
45579         (__ASSUME_PREAD_SYSCALL): Likewise.
45580         (__ASSUME_PWRITE_SYSCALL): Likewise.
45581         (__ASSUME_POLL_SYSCALL): Likewise.
45582         (__ASSUME_LCHOWN_SYSCALL): Likewise.
45583         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
45584         non-SPARC.
45585         (__ASSUME_SIOCGIFNAME): Don't define.
45586         (__ASSUME_MSG_NOSIGNAL): Likewise.
45587         (__ASSUME_SENDFILE): Define unconditionally.
45588         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
45589         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
45590         conditional code.
45591         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
45592         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
45593         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
45594         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45595         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
45596         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
45597         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
45599         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45600         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
45602         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45603         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
45605         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45606         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
45608         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45609         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
45611         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45612         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
45614         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45615         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
45617         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45618         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
45620         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45621         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45622         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
45623         Remove conditional code.
45624         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45625         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
45626         Remove conditional code.
45627         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45628         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
45629         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
45630         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
45631         Remove conditional code.
45632         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45633         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
45634         Remove conditional code.
45635         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45636         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
45637         Remove conditional code.
45638         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45639         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
45640         Remove conditional code.
45641         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45642         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
45643         Remove conditional code.
45644         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45645         * sysdeps/unix/sysv/linux/sh/pwrite64.c
45646         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45647         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45648         * sysdeps/unix/sysv/linux/sigaction.c
45649         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45650         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45651         * sysdeps/unix/sysv/linux/sigpending.c
45652         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45653         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45654         * sysdeps/unix/sysv/linux/sigprocmask.c
45655         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45656         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45657         * sysdeps/unix/sysv/linux/sigsuspend.c
45658         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45659         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45660         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45661         (__libc_missing_rt_sigs): Remove.
45662         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
45663         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
45664         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
45665         Remove conditional code.
45666         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
45667         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
45668         return 1.
45669         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
45670         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
45671         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
45672         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
45674 2012-05-14  Andreas Jaeger  <aj@suse.de>
45676         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
45677         it's not used in glibc.
45678         (__coshm1): Likewise.
45679         (__acosh1p): Likewise.
45680         (__sgn): Likewise.
45682         * manual/string.texi (Copying and Concatenation): Add missing
45683         variable in concat example.
45684         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
45686 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45688         [BZ #14103]
45689         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
45690         __builtin_clzl with __builtin_clzll.
45692 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45694         [BZ #14104]
45695         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
45696         libc_freeres_ptr.
45698 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45700         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
45701         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
45702         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
45703         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
45705 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
45707         * NEWS: Update ia64 info.
45709 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
45711         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
45712         used as bcopy.
45714 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
45716         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
45717         * sysdeps/unix/syscalls.list (dup3): Likewise.
45718         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
45719         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
45721 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
45723         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
45724         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
45726 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
45728         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
45729         thread pointer.
45730         (TLS_IE): Use mov/add instead of movq/addq to load thread
45731         pointer.
45732         (TLS_GD_PREFIX): New.
45733         (TLS_GD): Use it.
45735 2012-05-11  David S. Miller  <davem@davemloft.net>
45737         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
45738         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
45739         (_FPU_SETCW): Likewise.
45741 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
45743         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
45744         is 32-byte aligned.
45746 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
45748         [BZ #11837]
45749         * iconvdata/gb18030.c: Update tables.
45750         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
45751         characters specially.
45752         (BODY for TO_LOOP): Add encoding of missing ranges.
45754 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
45756         [BZ #13673]
45757         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
45758         * sysdeps/mach/hurd/dup3.c: Likewise.
45759         * sysdeps/mach/hurd/readlinkat.c: Likewise.
45760         * sysdeps/powerpc/memmove.c:: Likewise.
45762 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
45764         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
45765         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
45767 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
45769         * elf/elf.h (R_X86_64_RELATIVE64): New.
45770         (R_X86_64_NUM): Updated.
45771         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
45772         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
45773         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
45774         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
45775         tst-quad1pie tst-quad2pie
45776         (modules-names): Add tst-quadmod1 tst-quadmod2.
45777         ($(objpfx)tst-quad1): New dependency.
45778         ($(objpfx)tst-quad2): Likewise.
45779         ($(objpfx)tst-quad1pie): Likewise.
45780         ($(objpfx)tst-quad2pie): Likewise.
45781         * sysdeps/x86_64/tst-quad1.c: New file.
45782         * sysdeps/x86_64/tst-quad1pie.c: New file.
45783         * sysdeps/x86_64/tst-quad2.c: Likewise.
45784         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
45785         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
45786         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
45787         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
45788         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
45790 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45792         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
45793         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
45794         * streams/stropts.h (t_scalar_t): Define type.
45796         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
45797         (_PATH_PRESERVE): Set to "/var/lib".
45798         (_PATH_RWHODIR): Set to "/var/spool/rwho".
45800         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
45801         instead of int.
45803         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
45804         if __dir_mkfile succeeded.
45806         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
45807         checking for _hurd_dtablesize.  Unlock it right after having
45808         finished _hurd_dtable allocation.
45810 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45812         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
45813         * sysdeps/mach/hurd/configure: Regenerated.
45814         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
45815         special-casing to...
45816         * sysdeps/gnu/configure.in: ... this new file.
45817         * sysdeps/unix/sysv/linux/configure: Regenerated.
45818         * sysdeps/gnu/configure: New generated file.
45820         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
45821         for Linux: use nsec instead of usec, as well as:
45822         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
45823         members of type struct timespec.
45824         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
45825         New macros.
45826         (struct stat64): Likewise.
45827         (_STATBUF_ST_NSEC): New macro.
45828         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
45830         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45831         __strtoul_internal rather than strtoul.
45833 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45835         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
45836         and reject them.
45838 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45840         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
45841         which preserves existing values.
45842         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
45844 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45846         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
45847         TIMEOUT values.  Return EINVAL for NFDS values either negative or
45848         greater than FD_SETSIZE.
45850 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45852         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
45853         allocated, call __vm_protect to finish enabling the existing space, and
45854         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
45855         allocate the remainder.
45857 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45859         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
45860         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
45862 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45864         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
45865         sysdeps/mach/hurd/readlink.c.
45867         * posix/tst-sysconf.c (posix_options): Only use
45868         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
45869         _POSIX_SYNCHRONIZED_IO when they are defined
45870         * sysdeps/mach/hurd/bits/posix_opt.h:
45871         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
45872         (_XOPEN_REALTIME): Undefine macro.
45873         (_XOPEN_REALTIME_THREADS): Undefine macro.
45874         (_XOPEN_SHM): Undefine macro.
45875         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
45876         macro to -1.
45877         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
45878         macro to -1.
45879         (_POSIX_ASYNC_IO): Undefine macro.
45880         (_POSIX_PRIORITIZED_IO): Undefine macro.
45881         (_POSIX_SPIN_LOCKS): Define macro to -1.
45883         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
45884         SA_NODEFER, SA_RESETHAND.
45885         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
45886         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
45887         F_DUPFD_CLOEXEC.
45889 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45891         * elf/Makefile (pldd-modules): Define unconditionally.
45893 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45895         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
45897 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45899         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
45900         Return ENOENT when name is empty.
45901         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
45903 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45905         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
45907         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
45909 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45911         Fix mlock in all cases except non-readable pages.
45912         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
45913         instead of VM_PROT_ALL as parameter to __vm_wire function.
45915         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
45916         (__mkdir): When path is `/', just fail with EEXIST.
45917         * sysdeps/mach/hurd/mkdirat.c: Likewise.
45919 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45921         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
45922         <sys/uio.h> (for writev).
45923         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
45924         and <sys/param.h> (for MIN).
45926 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45928         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
45929         REQUESTED_TIME.  Properly set the remaining time and return EINTR
45930         if interrupted.
45932 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45934         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
45935         Depend on against $(link-rpcuserlibs).
45937 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45939         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
45940         (__libc_stack_end): Do not use attribute_relro.
45941         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
45942         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
45943         to libthread-provided value.
45944         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
45945         attribute_relro.
45947 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45949         [BZ #3748]
45950         * bits/libc-lock.h (__libc_once_get): New macro.
45951         * sysdeps/mach/bits/libc-lock.h: Likewise.
45952         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
45953         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
45954         instead of using implementation details.
45956         * libio/fileops.c: Unconditionally include <kernel-features.h>.
45957         * libio/freopen.c: Likewise.
45958         * libio/freopen64.c: Likewise.
45959         * misc/syslog.c: Likewise.
45960         * nscd/connections.c: Likewise.
45961         * nscd/netgroupcache.c: Likewise.
45962         * sysdeps/posix/getcwd.c: Likewise.
45964 2012-05-10  Roland McGrath  <roland@hack.frob.com>
45966         * math/w_ilogbf.c: Add #include <limits.h>.
45968 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45970         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
45971         path instead of returning without unlocking.
45973         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
45974         immediate-write ioctls.
45975         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
45977 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45979         * sysdeps/mach/hurd/i386/init-first.c (init): Use
45980         __builtin_frame_address instead of making assumptions about the
45981         location of the return address relative to DATA.  Force early load of
45982         the return address.
45983         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
45984         __builtin_frame_address.
45986         dup3 for GNU Hurd.
45987         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
45988         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
45989         implement dup3 and do some further code clean-ups.
45990         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
45991         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
45993 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45995         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
45997         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
45998         HURD_CRITICAL_END around holding _hurd_dtable_lock.
45999         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
46000         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
46001         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
46002         d->port.lock.
46004         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
46005         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
46006         when handler == SIG_ERR, not when handler != SIG_ERR.
46008 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46010         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
46011         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
46012         definitions.
46014         accept4 for GNU Hurd.
46015         * include/sys/socket.h (__libc_accept4): New prototype.
46016         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
46017         to implement __libc_accept4.
46018         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
46019         __libc_accept4.
46020         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
46022         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
46023         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
46024         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
46025         signal-defines.sym.
46027 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46029         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
46031 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46033         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
46034         assertion on O_CLOEXEC flag.
46035         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
46036         * hurd/intern-fd.c: Likewise.
46037         * hurd/port2fd.c: Likewise.
46039 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46041         [BZ #3906]
46042         * bits/in.h (IPV6_PKTINFO): Define new macro.
46043         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
46045 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46047         [BZ #13954]
46048         [BZ #13955]
46049         [BZ #13956]
46050         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
46051         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46052         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
46053         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46054         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46055         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46056         * math/libm-test.inc (logb_test) : Additional logb tests.
46058 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
46059             Andreas Jaeger  <aj@suse.de>
46061         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
46062         * configure: Regenerated.
46063         * config.h.in (LINK_OBSOLETE_RPC): New macro.
46064         * config.make.in (link-obsolete-rpc): New substituted variable.
46065         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
46066         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
46067         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46068         (shared-only-routines): Don't set it under [link-obsolete-rpc],
46069         so that libc.a contains the symbols.
46070         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46071         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
46072         * sunrpc/auth_none.c: Likewise.
46073         * sunrpc/auth_unix.c: Likewise.
46074         * sunrpc/authdes_prot.c: Likewise.
46075         * sunrpc/authuxprot.c: Likewise.
46076         * sunrpc/clnt_gen.c: Likewise.
46077         * sunrpc/clnt_perr.c: Likewise.
46078         * sunrpc/clnt_raw.c: Likewise.
46079         * sunrpc/clnt_simp.c: Likewise.
46080         * sunrpc/clnt_tcp.c: Likewise.
46081         * sunrpc/clnt_udp.c: Likewise.
46082         * sunrpc/clnt_unix.c: Likewise.
46083         * sunrpc/des_crypt.c: Likewise.
46084         * sunrpc/des_soft.c: Likewise.
46085         * sunrpc/get_myaddr.c: Likewise.
46086         * sunrpc/key_call.c: Likewise.
46087         * sunrpc/key_prot.c: Likewise.
46088         * sunrpc/netname.c: Likewise.
46089         * sunrpc/pm_getmaps.c: Likewise.
46090         * sunrpc/pm_getport.c: Likewise.
46091         * sunrpc/pmap_clnt.c: Likewise.
46092         * sunrpc/pmap_prot.c: Likewise.
46093         * sunrpc/pmap_prot2.c: Likewise.
46094         * sunrpc/pmap_rmt.c: Likewise.
46095         * sunrpc/publickey.c: Likewise.
46096         * sunrpc/rpc_cmsg.c: Likewise.
46097         * sunrpc/rpc_common.c: Likewise.
46098         * sunrpc/rpc_dtable.c: Likewise.
46099         * sunrpc/rpc_prot.c: Likewise.
46100         * sunrpc/rpc_thread.c: Likewise.
46101         * sunrpc/rtime.c: Likewise.
46102         * sunrpc/svc.c: Likewise.
46103         * sunrpc/svc_auth.c: Likewise.
46104         * sunrpc/svc_raw.c: Likewise.
46105         * sunrpc/svc_run.c: Likewise.
46106         * sunrpc/svc_tcp.c: Likewise.
46107         * sunrpc/svc_udp.c: Likewise.
46108         * sunrpc/svc_unix.c: Likewise.
46109         * sunrpc/svcauth_des.c: Likewise.
46110         * sunrpc/xcrypt.c: Likewise.
46111         * sunrpc/xdr.c: Likewise.
46112         * sunrpc/xdr_array.c: Likewise.
46113         * sunrpc/xdr_float.c: Likewise.
46114         * sunrpc/xdr_intXX_t.c: Likewise.
46115         * sunrpc/xdr_mem.c: Likewise.
46116         * sunrpc/xdr_rec.c: Likewise.
46117         * sunrpc/xdr_ref.c: Likewise.
46118         * sunrpc/xdr_sizeof.c: Likewise.
46119         * sunrpc/xdr_stdio.c: Likewise.
46121 2012-05-10  Roland McGrath  <roland@hack.frob.com>
46123         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
46124         change.  Update copyright years.
46126 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
46128         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
46130 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
46131             Joseph Myers  <joseph@codesourcery.com>
46132             Paul Pluzhnikov  <ppluzhnikov@google.com>
46134         [BZ #14012]
46135         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
46136         requiring rpcgen.
46137         [cross-compiling] (extra-libs): Likewise.
46138         [cross-compiling] (extra-libs-others): Likewise.
46139         [cross-compiling] (librpcsvc-routines): Likewise.
46140         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
46141         [cross-compiling] (omit-deps): Likewise.
46142         (sunrpc-CPPFLAGS): New variable.
46143         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
46144         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
46145         (cross-rpcgen-objs): New variable.
46146         (extra-objs): Append $(cross-rpcgen-objs).
46147         ($(cross-rpcgen-objs)): New rule.
46148         ($(objpfx)cross-rpcgen): Likewise.
46149         (rpcgen-cmd): Define to use $(built-program-file).  Expand
46150         comment.
46151         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
46152         ($(objpfx)x%.stmp): Likewise.
46153         * sunrpc/proto.h [IS_IN_build] (_): Define.
46154         [IS_IN_build] (_libc_intl_domainname): Likewise.
46156 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46158         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
46159         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
46160         and R_X86_64_TPOFF64.
46162 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
46164         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
46165         sysdeps/unix/sysv/syscalls.list.
46166         (stime): Likewise.
46167         (utime): Likewise.
46168         * sysdeps/unix/sysv/syscalls.list: Remove file.
46170 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
46172         [BZ #3440]
46173         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
46174         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
46175         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
46176         (__LC_IDENTIFICATION): Make these macros useful in #if
46177         expressions, as required by C99.
46179 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
46181         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
46182         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
46183         after this.
46185 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
46187         * stdlib/longlong.h: Updated from GCC.
46189 2012-05-09  Andreas Jaeger  <aj@suse.de>
46191         * nscd/nscd.c (run_modes): Make named enum, reorder so that
46192         default is first entry.
46193         (run_mode): Set type.
46194         (main): Remove informal message about syslog.
46195         (options): Fix typo.
46197         [BZ #14053]
46198         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
46199         to asm.
46200         (lrint): Likewise.
46201         (llrintf): Likewise.
46202         (llrint): Likewise.
46203         (rint): Likewise.
46204         (rintf): Likewise.
46205         (nearbyint): Likewise.
46206         (nearbyintf): Likewise.
46208 2012-05-09  Andreas Jaeger  <aj@suse.de>
46209             Pedro Alves  <palves@redhat.com>
46211         * nscd/nscd.c (run_mode): Use enum.
46212         (main): Cleanup coding style issue.
46214 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
46215             Andreas Jaeger  <aj@suse.de>
46217         * nscd/nscd.c (go_background): Replaced with...
46218         (run_mode): ... this.
46219         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
46220         (options): Add -F --foreground.
46221         (main): Implement it.
46222         (parse_opt): Parse it.
46224 2012-05-09  Andreas Jaeger  <aj@suse.de>
46226         [BZ #14083]
46227         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
46228         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
46229         -Wconversion warning.
46230         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
46231         Likewise.
46233 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
46235         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
46236         == 0.
46237         (LC_ALL): Use macro-int-constant.
46238         (LC_COLLATE): Likewise.
46239         (LC_CTYPE): Likewise.
46240         (LC_MESSAGES): Likewise.
46241         (LC_MONETARY): Likewise.
46242         (LC_NUMERIC): Likewise.
46243         (LC_TIME): Likewise.
46244         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
46245         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46246         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46247         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
46248         Specify type.
46249         [C99-based standards] (float_t): Expect type.
46250         [C99-based standards] (double_t): Expect type.
46251         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
46252         type.
46253         [C99-based standards] (HUGE_VALL): Likewise.
46254         [C99-based standards] (INFINITY): Likewise.
46255         [C99-based standards] (NAN): Likewise.
46256         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
46257         [C99-based standards] (FP_NAN): Likewise.
46258         [C99-based standards] (FP_NORMAL): Likewise.
46259         [C99-based standards] (FP_SUBNORMAL): Likewise.
46260         [C99-based standards] (FP_ZERO): Likewise.
46261         [C99-based standards] (FP_FAST_FMA): Use
46262         optional-macro-int-constant.  Specify type.  Require == 1.
46263         [C99-based standards] (FP_FAST_FMAF): Likewise.
46264         [C99-based standards] (FP_FAST_FMAL): Likewise.
46265         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
46266         [C99-based standards] (FP_ILOGBNAN): Likewise.
46267         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
46268         Specify type.
46269         [C99-based standards] (MATH_ERREXCEPT): Likewise.
46270         [C99-based standards] (math_errhandling): Specify type.
46271         [ISO99 || ISO11] (signgam): Do not allow.
46272         [non-C99-based standards] (copysignf): Do not allow.
46273         [non-C99-based standards] (exp2f): Likewise.
46274         [non-C99-based standards] (log2f): Likewise.
46275         [non-C99-based standards] (modff): Allow.
46276         [non-C99-based standards] (erff): Do not allow.
46277         [non-C99-based standards] (erfcf): Likewise.
46278         [non-C99-based standards] (gammaf): Likewise.
46279         [non-C99-based standards] (hypotf): Likewise.
46280         [non-C99-based standards] (j0f): Likewise.
46281         [non-C99-based standards] (j1f): Likewise.
46282         [non-C99-based standards] (jnf): Likewise.
46283         [non-C99-based standards] (lgammaf): Likewise.
46284         [non-C99-based standards] (tgammaf): Likewise.
46285         [non-C99-based standards] (y0f): Likewise.
46286         [non-C99-based standards] (y1f): Likewise.
46287         [non-C99-based standards] (ynf): Likewise.
46288         [non-C99-based standards] (isnanf): Likewise.
46289         [non-C99-based standards] (acoshf): Likewise.
46290         [non-C99-based standards] (asinhf): Likewise.
46291         [non-C99-based standards] (atanhf): Likewise.
46292         [non-C99-based standards] (cbrtf): Likewise.
46293         [non-C99-based standards] (expm1f): Likewise.
46294         [non-C99-based standards] (ilogbf): Likewise.
46295         [non-C99-based standards] (log1pf): Likewise.
46296         [non-C99-based standards] (logbf): Likewise.
46297         [non-C99-based standards] (nextafterf): Likewise.
46298         [non-C99-based standards] (remainderf): Likewise.
46299         [non-C99-based standards] (rintf): Likewise.
46300         [non-C99-based standards] (scalbf): Likewise.
46301         [non-C99-based standards] (copysignl): Likewise.
46302         [non-C99-based standards] (exp2l): Likewise.
46303         [non-C99-based standards] (log2l): Likewise.
46304         [non-C99-based standards] (modfl): Allow.
46305         [non-C99-based standards] (erfl): Do not allow.
46306         [non-C99-based standards] (erfcl): Likewise.
46307         [non-C99-based standards] (gammal): Likewise.
46308         [non-C99-based standards] (hypotl): Likewise.
46309         [non-C99-based standards] (j0l): Likewise.
46310         [non-C99-based standards] (j1l): Likewise.
46311         [non-C99-based standards] (jnl): Likewise.
46312         [non-C99-based standards] (lgammal): Likewise.
46313         [non-C99-based standards] (tgammal): Likewise.
46314         [non-C99-based standards] (y0l): Likewise.
46315         [non-C99-based standards] (y1l): Likewise.
46316         [non-C99-based standards] (ynl): Likewise.
46317         [non-C99-based standards] (isnanl): Likewise.
46318         [non-C99-based standards] (acoshl): Likewise.
46319         [non-C99-based standards] (asinhl): Likewise.
46320         [non-C99-based standards] (atanhl): Likewise.
46321         [non-C99-based standards] (cbrtl): Likewise.
46322         [non-C99-based standards] (expm1l): Likewise.
46323         [non-C99-based standards] (ilogbl): Likewise.
46324         [non-C99-based standards] (log1pl): Likewise.
46325         [non-C99-based standards] (logbl): Likewise.
46326         [non-C99-based standards] (nextafterl): Likewise.
46327         [non-C99-based standards] (remainderl): Likewise.
46328         [non-C99-based standards] (rintl): Likewise.
46329         [non-C99-based standards] (scalbl): Likewise.
46330         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46331         [non-C99-based standards] (FP_*): Do not allow.
46332         [C99-based standards] (FP_*): Change to
46333         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46334         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46335         allow.
46336         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
46337         (SIG_ERR): Likewise.
46338         [X/Open-based standards] (SIG_HOLD): Likewise.
46339         (SIG_IGN): Likewise.
46340         (SIGABRT): Use macro-int-constant.  Specify type.  Require
46341         positive value.
46342         (SIGFPE): Likewise.
46343         (SIGILL): Likewise.
46344         (SIGINT): Likewise.
46345         (SIGSEGV): Likewise.
46346         (SIGTER): Likewise.
46347         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
46348         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
46349         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
46350         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
46351         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
46352         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
46353         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
46354         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
46355         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
46356         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
46357         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
46358         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
46359         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
46360         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
46361         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
46362         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
46363         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
46364         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
46365         [X/Open-based standards] (SIGTRAP): Likewise.
46366         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
46367         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
46368         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
46369         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
46370         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46371         allow.
46373 2012-05-08  Ian Wienand  <ianw@vmware.com>
46375         [BZ #14080]
46376         * time/tzset.c (__tzset_parse_tz): Update default rules for
46377         daylight time changes in the Energy Policy Act of 2005.
46379 2012-05-09  Andreas Jaeger  <aj@suse.de>
46381         [BZ #13983]
46382         * elf/ldconfig.c (parse_conf): Change string to make clear that
46383         ldconfig only issued a warning if ld.so.conf does not exist.
46385 2012-05-08  David S. Miller  <davem@davemloft.net>
46387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
46388         movxtod instead of popping the value on the stack.
46390         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46392 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
46394         * config.h.in: Add HAVE_ARM_PCS_VFP.
46396 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
46398         [BZ #13979]
46399         * include/features.h: Warn if user requests __FORTIFY_SOURCE
46400         checking but the checks are disabled for any reason.
46402 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
46404         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
46405         and ELF64_R_TYPE with ELFW(R_TYPE).
46407 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
46409         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
46410         (ulimit): Likewise.
46412         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
46413         (settimeofday): Likewise.
46415 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
46417         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
46418         a struct th_u2 inside the union, and move tu_block/tu_code into
46419         a new th_u3 union of tu_block/tu_code inside of that.  Move
46420         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
46421         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
46422         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
46423         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
46424         (th_stuff): Change to th_u1.tu_stuff.
46425         (th_data): Define.
46426         (th_msg): Change to th_u1.th_u2.tu_data.
46428 2012-05-07  David S. Miller  <davem@davemloft.net>
46430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46432         [BZ #14074]
46433         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
46434         (SETUP_PIC_REG): Use it.
46435         (SETUP_PIC_REG_LEAF): Use it.
46437 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
46439         [BZ #13885]
46440         [BZ #13923]
46441         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46442         USE_AS_EXPM1L.
46443         (EXPL_FINITE): Likewise.
46444         (FLDLOG): Likewise.
46445         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
46446         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
46447         e_expl.S.
46448         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46449         USE_AS_EXPM1L.
46450         (EXPL_FINITE): Likewise.
46451         (FLDLOG): Likewise.
46452         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
46453         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
46454         e_expl.S.
46455         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
46456         test of -max_value argument for long double.
46457         * sysdeps/i386/fpu/libm-test-ulps: Update.
46458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46460 2012-05-06  David S. Miller  <davem@davemloft.net>
46462         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
46463         quad soft-float symbols whose references which are compiler
46464         generated.
46465         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46467 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
46469         [BZ #13884]
46470         [BZ #13914]
46471         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46472         USE_AS_EXP10L.
46473         (EXPL_FINITE): Likewise.
46474         (FLDLOG): Likewise.
46475         (c0): Likewise.
46476         (c1): Likewise.
46477         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
46478         Adjust comments for base varying.
46479         (__expl_finite): Change alias to EXPL_FINITE.
46480         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
46481         e_expl.S.
46482         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
46483         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
46484         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46485         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
46486         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46487         USE_AS_EXP10L.
46488         (EXPL_FINITE): Likewise.
46489         (FLDLOG): Likewise.
46490         (c0): Likewise.
46491         (c1): Likewise.
46492         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
46493         Adjust comments for base varying.
46494         (__expl_finite): Change alias to EXPL_FINITE.
46495         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
46496         tests for bugs.
46497         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46499         [BZ #14064]
46500         * math/libm-test.inc (check_float_internal): Correct ulp
46501         calculation for subnormal expected results.
46503 2012-05-06  Andreas Jaeger  <aj@suse.de>
46505         * Makeconfig (+math-flags): New, set to -frounding-math.
46506         (+cflags): Add +math-flags so that all of glibc gets compiled with
46507         it.
46509         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
46511 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
46513         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
46514         Disable one test.
46516         [BZ #13787]
46517         [BZ #13922]
46518         [BZ #14036]
46519         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
46520         (__ieee754_expl): Allow for and saturate large arguments.
46521         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
46522         (u_threshold): Likewise.
46523         (__exp): Call __ieee754_exp before checking for overflow and
46524         underflow.
46525         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
46526         (u_threshold): Likewise.
46527         (__expf): Call __ieee754_expf before checking for overflow and
46528         underflow.
46529         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
46530         (u_threshold): Likewise.
46531         (__expl): Call __ieee754_expl before checking for overflow and
46532         underflow.
46533         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
46534         (__ieee754_expl): Allow for and saturate large arguments.
46535         * math/libm-test.inc (exp_test): Add another test.  Do not allow
46536         missing overflow exception on overflow.
46537         (expm1_test): Do not allow missing overflow exception on overflow.
46539         * sysdeps/i386/fpu/e_expl.c: Move to ...
46540         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
46541         rather than using inline asm.
46542         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
46543         * sysdeps/x86_64/fpu/e_expl.S: Copy from
46544         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
46546         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
46547         (nice): Likewise.
46548         (poll): Likewise.
46549         (signal): Likewise.
46550         (time): Likewise.
46551         (times): Likewise.
46553 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
46555         * sysdeps/unix/syscalls.list (adjtime): Add entry from
46556         sysdeps/unix/common/syscalls.list.
46557         (fchmod): Likewise.
46558         (fchown): Likewise.
46559         (ftruncate): Likewise.
46560         (getrusage): Likewise.
46561         (gettimeofday): Likewise.
46562         (setpgid): Likewise.
46563         (setregid): Likewise.
46564         (setreuid): Likewise.
46565         (sigaction): Likewise.
46566         (truncate): Likewise.
46567         (vhangup): Likewise.
46568         * sysdeps/unix/common/syscalls.list: Remove file.
46569         * sysdeps/unix/bsd/Implies: Don't include unix/common.
46570         * sysdeps/unix/sysv/linux/Implies: Likewise.
46572 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
46574         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
46575         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
46576         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
46577         Moved to ...
46578         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
46579         Here.
46580         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
46581         to ...
46582         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
46583         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
46584         to ...
46585         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
46586         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
46587         to ...
46588         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
46589         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
46590         to ...
46591         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
46592         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
46593         to ...
46594         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
46595         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
46596         to ...
46597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
46598         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
46599         to ...
46600         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46601         Here.
46602         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
46603         to ...
46604         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
46605         Here.
46606         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
46607         to ...
46608         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
46609         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
46610         Moved to ...
46611         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
46612         Here.
46613         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
46614         to ...
46615         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
46617 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
46619         * sysdeps/unix/common/bits/dirent.h: Remove file.
46620         * sysdeps/unix/common/bits/fcntl.h: Likewise.
46622         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
46623         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
46624         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
46625         * sysdeps/unix/bsd/isatty.c: Likewise.
46626         * sysdeps/unix/bsd/tcdrain.c: Likewise.
46627         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
46628         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
46630 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46632         [BZ #13563]
46633         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
46634         long double comparison inaccuracies.
46635         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46636         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46638 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
46640         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
46641         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
46643 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
46645         [BZ #14049]
46646         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
46647         nonzero digits before rounding a hex value.
46648         * stdlib/tst-strtod.c (tests): Add another test.
46650 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46652         * sysdeps/s390/fpu/libm-test-ulps: Update.
46654 2012-05-03  Andreas Jaeger  <aj@suse.de>
46656         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
46657         does not get optimized out.
46658         (malloc_opt_barrier): New.
46660 2012-05-03  Andreas Jaeger  <aj@suse.de>
46661             Roland McGrath  <roland@hack.frob.com>
46663         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
46664         intermediate file deletion.
46665         (generated): Add .symlist files.
46667 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
46669         [BZ #13775]
46670         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
46671         Redirect under this condition.
46672         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
46673         [__USE_GNU] (__dprintf_chk): Not under this condition.
46674         [__USE_GNU] (__vdprintf_chk): Likewise.
46675         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
46676         under this condition.
46677         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
46678         [__USE_XOPEN2K8] (dprintf): Define under this condition.
46679         [__USE_XOPEN2K8] (vdprintf): Likewise.
46680         [__USE_GNU] (__dprintf_chk): Not under this condition.
46681         [__USE_GNU] (__vdprintf_chk): Likewise.
46682         [__USE_GNU] (dprintf): Likewise.
46683         [__USE_GNU] (vdprintf): Likewise.
46685 2012-05-03  Roland McGrath  <roland@hack.frob.com>
46687         * elf/Makefile (common-generated): Set this instead of generated for
46688         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
46689         $(all-built-dso)-derived lists.
46691 2012-05-03  Andreas Jaeger  <aj@suse.de>
46693         * sysdeps/i386/fpu/libm-test-ulps: Update.
46695         * FAQ: Removed.
46696         * FAQ.in: Likewise.
46697         * scripts/gen-FAQ.pl: Likewise.
46698         * manual/install.texi (Installation): Point to online location of
46699         FAQ.
46700         * Makefile (files-for-dist): Remove FAQ.
46701         (FAQ): Remove.
46703 2012-05-02  Allan McRae  <allan@archlinux.org>
46705         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
46706         (LDFLAGS-reldepmod5.so): Likewise.
46707         (LDFLAGS-reldep6mod1.so): Likewise.
46708         (LDFLAGS-reldep6mod4.so): Likewise.
46709         (LDFLAGS-reldep8mod3.so): Likewise.
46710         (LDFLAGS-unload4mod1.so): Likewise.
46711         (LDFLAGS-unload4mod2.so): Likewise.
46712         (LDFLAGS-tst-initorder): Likewise.
46713         (LDFLAGS-tst-initordera2.so): Likewise.
46714         (LDFLAGS-tst-initordera3.so): Likewise.
46715         (LDFLAGS-tst-initordera4.so): Likewise.
46716         (LDFLAGS-tst-initorderb2.so): Likewise.
46717         (LDFLAGS-noload): Likewise.
46718         (LDFLAGS-next): Likewise.
46719         (LDFLAGS-order2mod1.so): Likewise.
46720         (LDFLAGS-order2mod2.so): Likewise.
46721         (LDFLAGS-tst-initorder2): Likewise.
46722         (LDFLAGS-tst-initorder2a.so): Likewise.
46723         (LDFLAGS-tst-initorder2b.so): Likewise.
46724         (LDFLAGS-tst-initorder2c.so): Likewise.
46725         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
46727 2012-05-02  David S. Miller  <davem@davemloft.net>
46729         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46731 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
46733         [BZ #14055]
46734         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
46736 2012-05-02  Andreas Jaeger  <aj@suse.de>
46738         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
46739         since we manipulate rounding mode.
46740         (CPPFLAGS-test-idouble.c): Likewise.
46741         (CPPFLAGS-test-ifloat.c): Likewise.
46742         (CFLAGS-test-ldouble.c): Likewise.
46743         (CFLAGS-test-double.c): Likewise.
46744         (CFLAGS-test-float.c): Likewise.
46745         (CFLAGS-test-misc.c): Likewise.
46746         (CFLAGS-test-test-fenv.c): Likewise.
46748 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46750         [BZ #2550]
46751         [BZ #2570]
46752         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
46753         comparisons to determine direction to adjust input.
46755 2012-05-01  Roland McGrath  <roland@hack.frob.com>
46757         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
46758         output to the target.
46760         * scripts/localplt.awk: New file.
46761         * elf/Makefile ($(objpfx)check-localplt): Target removed.
46762         (check-localplt-CFLAGS): Variable removed.
46763         ($(all-built-dso:=.jmprel)): New static pattern rule.
46764         (generated): Add those targets.
46765         (localplt-built-dso): New variable.
46766         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
46768         * elf/check-localplt.c: File removed.
46770         * scripts/check-execstack.awk: New file.
46771         * elf/Makefile ($(objpfx)check-execstack): Target removed.
46772         (check-execstack-CFLAGS): Variable removed.
46773         ($(objpfx)check-execstack.h): Target removed.
46774         ($(objpfx)execstack-default): New target.
46775         (generated): Add that instead of check-execstack.h.
46776         ($(all-built-dso:=.phdr)): New static pattern rule.
46777         (generated): Add those targets.
46778         * elf/check-execstack.c: File removed.
46780         * scripts/check-textrel.awk: New file.
46781         * elf/Makefile ($(objpfx)check-textrel): Target removed.
46782         (check-textrel-CFLAGS): Variable removed.
46783         (all-built-dso): Use := to define.o
46784         ($(all-built-dso:=.dyn)): New static pattern rule.
46785         (generated): Add those targets.
46786         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
46787         * config.make.in (READELF): New substituted variable.
46788         * elf/check-textrel.c: File removed.
46790 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
46792         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46793         allow.
46794         * conform/data/ctype.h-data [C99-based standards] (isblank):
46795         Expect function.
46796         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
46797         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
46798         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46799         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
46800         Specify type.  Require positive value.
46801         (EILSEQ): Likewise.
46802         (ERANGE): Likewise.
46803         [ISO || POSIX] (EILSEQ): Do not expect.
46804         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
46805         Specify type.  Require positive value.
46806         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
46807         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
46808         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
46809         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
46810         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
46811         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
46812         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
46813         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
46814         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
46815         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
46816         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
46817         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
46818         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
46819         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
46820         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
46821         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
46822         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
46823         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
46824         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
46825         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
46826         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
46827         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
46828         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
46829         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
46830         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
46831         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
46832         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
46833         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
46834         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
46835         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
46836         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
46837         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
46838         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
46839         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
46840         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
46841         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
46842         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
46843         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
46844         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
46845         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
46846         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
46847         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
46848         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
46849         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
46850         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
46851         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
46852         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
46853         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
46854         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
46855         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
46856         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
46857         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
46858         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
46859         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
46860         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
46861         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
46862         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
46863         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
46864         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
46865         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
46866         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
46867         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
46868         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
46869         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
46870         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
46871         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
46872         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
46873         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
46874         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
46875         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
46876         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
46877         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
46878         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
46879         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
46880         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
46881         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
46882         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
46883         Require >= 2.
46884         (FLT_ROUNDS): Expect as macro, not constant.
46885         (FLT_MANT_DIG): Use macro-int-constant.
46886         (DBL_MANT_DIG): Likewise.
46887         (LDBL_MANT_DIG): Likewise.
46888         (FLT_DIG): Likewise.
46889         (DBL_DIG): Likewise.
46890         (LDBL_DIG): Likewise.
46891         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
46892         (DBL_MIN_EXP): Likewise.
46893         (LDBL_MIN_EXP): Likewise.
46894         (FLT_MAX_EXP): Use macro-int-constant.
46895         (DBL_MAX_EXP): Likewise.
46896         (LDBL_MAX_EXP): Likewise.
46897         (FLT_MAX_10_EXP): Likewise.
46898         (DBL_MAX_10_EXP): Likewise.
46899         (LDBL_MAX_10_EXP): Likewise.
46900         (FLT_MAX): Use macro-constant.
46901         (DBL_MAX): Likewise.
46902         (LDBL_MAX): Likewise.
46903         (FLT_EPSILON): Use macro-constant.  Give upper bound.
46904         (DBL_EPSILON): Likewise.
46905         (LDBL_EPSILON): Likewise.
46906         (FLT_MIN): Likewise.
46907         (DBL_MIN): Likewise.
46908         (LDBL_MIN): Likewise.
46909         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
46910         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
46911         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
46912         [ISO11] (FLT_HAS_SUBNORM): Likewise.
46913         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
46914         [ISO11] (DBL_DECIMAL_DIG): Likewise.
46915         [ISO11] (FLT_DECIMAL_DIG): Likewise.
46916         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
46917         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
46918         [ISO11] (FLT_TRUE_MIN): Likewise.
46919         [ISO11] (LDBL_TRUE_MIN): Likewise.
46920         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46921         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
46922         (SCHAR_MIN): Use macro-int-constant.  Specify type.
46923         (SCHAR_MAX): Likewise.
46924         (UCHAR_MAX): Likewise.
46925         (CHAR_MIN): Likewise.
46926         (CHAR_MAX): Likewise.
46927         (MB_LEN_MAX): Use macro-int-constant.
46928         (SHRT_MIN): Use macro-int-constant.  Specify type.
46929         (SHRT_MAX): Likewise.
46930         (USHRT_MAX): Likewise.
46931         (INT_MAX): Likewise.
46932         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
46933         bound negative.
46934         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
46935         bound with "U".
46936         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
46937         bound with "L".
46938         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
46939         bound negative.  Suffix upper bound with "L".
46940         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
46941         bound with "UL".
46942         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
46943         Specify type.
46944         [C99-based standards] (LLONG_MAX): Likewise.
46945         [C99-based standards] (ULLONG_MAX): Likewise.
46946         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
46947         == 0.
46948         [ISO11] (max_align_t): Require type.
46949         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46951         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
46952         from $CFLAGS, without defining away __attribute__ calls.
46953         (checknamespace): Use $CFLAGS_namespace.
46955         * conform/conformtest.pl (@keywords): Only include C99 keywords
46956         for standards based on C99 or C11.
46958         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
46959         Disable tests.
46960         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
46961         UNIX98]: Likewise.
46963         * conform/conformtest.pl: Handle "macro-int-constant" and test for
46964         usability of symbols in #if.
46966         * conform/conformtest.pl: If macro or constant types start
46967         "promoted:", expect the symbol to be of the following type
46968         promoted by the integer promotions.
46970         * conform/conformtest.pl: Parse all "constant" and "macro" lines
46971         in one place.  Also handle "macro-constant".
46973         * conform/conformtest.pl: Only accept expected macro values with
46974         "==".  Parse all "macro" lines in one place.
46975         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
46977         * conform/conformtest.pl: Handle braced types on "constant" lines
46978         instead of handling "typed-constant".
46979         * conform/data/signal.h-data: Use "constant" instead of
46980         "typed-constant".
46982         * conform/conformtest.pl: Handle "optional-" at start of lines in
46983         one place rather than duplicating several cases.  Handle each
46984         format of "macro" line with initial "optional-".
46986         * conform/conformtest.pl: Only accept expected constant or
46987         optional-constant values with "==".  Parse all "constant" lines in
46988         one place.  Parse all "optional-constant" lines in one place.
46989         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
46990         * conform/data/fmtmsg.h-data: Likewise.
46991         * conform/data/netinet/in.h-data: Likewise.
46992         * conform/data/tar.h-data: Likewise.
46993         * conform/data/limits.h-data: Use "==" form on "constant" and
46994         "optional-constant" lines.
46996         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
46997         Use -std=c99 for XOPEN2K.
46998         (@knownproblems): Remove.
46999         (newtoken): Don't check %isknown.
47001         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
47002         Do not expect macro.
47003         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
47004         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
47005         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
47006         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
47007         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
47008         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
47009         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
47010         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
47011         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
47012         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
47013         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
47014         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
47015         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
47016         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
47017         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
47018         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
47019         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
47020         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
47021         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
47022         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
47023         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
47024         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
47025         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
47026         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
47027         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
47028         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
47029         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
47030         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
47031         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
47032         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
47033         [XPG3] (acosh): Likewise.
47034         [XPG3] (asinh): Likewise.
47035         [XPG3] (atanh): Likewise.
47036         [XPG3] (cbrt): Likewise.
47037         [XPG3] (expm1): Likewise.
47038         [XPG3] (ilogb): Likewise.
47039         [XPG3] (log1p): Likewise.
47040         [XPG3] (logb): Likewise.
47041         [XPG3] (nextafter): Likewise.
47042         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
47043         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
47044         [XPG3] (remainder): Likewise.
47045         [XPG3] (rint): Likewise.
47046         [XPG3 || XPG4 || UNIX98] (round): Likewise.
47047         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
47048         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
47049         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
47050         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
47051         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
47052         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
47053         [UNIX98 || XOPEN2K] (scalb): Expect.
47054         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
47055         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
47056         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
47057         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
47058         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
47059         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
47060         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
47061         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
47062         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
47063         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
47064         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
47065         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
47066         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
47067         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
47068         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
47069         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
47070         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
47071         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
47072         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
47073         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
47074         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
47075         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
47076         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
47077         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
47078         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
47079         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
47080         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
47081         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
47082         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
47083         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
47084         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
47085         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
47086         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
47087         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
47088         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
47089         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
47090         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
47091         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
47092         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
47093         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
47094         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
47095         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
47096         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
47097         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
47098         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
47099         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
47100         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
47101         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
47102         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
47103         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
47104         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
47105         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
47106         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
47107         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
47108         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
47109         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
47110         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
47111         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
47112         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
47113         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
47114         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
47115         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
47116         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
47117         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
47118         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
47119         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
47120         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
47121         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
47122         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
47123         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
47124         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
47125         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
47126         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
47127         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
47128         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
47129         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
47130         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
47131         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
47132         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
47133         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
47134         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
47135         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
47136         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
47137         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
47138         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
47139         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
47140         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
47141         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
47142         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
47143         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
47144         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
47145         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
47146         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
47147         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
47148         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
47149         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
47150         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
47151         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
47152         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
47153         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
47154         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
47155         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
47156         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
47157         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
47158         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
47159         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
47160         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
47161         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
47162         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
47163         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
47164         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
47165         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
47166         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
47167         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
47168         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
47169         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
47170         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
47171         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
47172         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
47173         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
47174         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
47175         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
47176         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
47177         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
47178         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
47179         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
47180         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
47181         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
47182         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
47183         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
47184         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
47185         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
47186         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
47187         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
47188         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
47189         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
47190         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
47192         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
47193         _XOPEN_SOURCE_EXTENDED for XPG4.
47195         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
47197         * Makeconfig (localtime): Remove variable.
47198         (inst_localtime-file): Likewise.
47200 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47203         Update.
47204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47205         Update.
47206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47207         Update.
47208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47209         Update.
47210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47211         Update.
47212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
47213         Update.
47214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47215         Update.
47216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
47217         Update.
47218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47219         Update.
47221 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
47223         [BZ #2550]
47224         [BZ #2570]
47225         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
47226         comparisons to determine direction to adjust input.
47227         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
47228         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
47229         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
47230         Likewise.
47231         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
47232         Likewise.
47233         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47234         Likewise.
47235         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
47236         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
47237         Likewise.
47238         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
47239         Likewise.
47240         * math/libm-test.inc (nexttoward_test): Add more tests.
47242 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47244         [BZ #14040]
47245         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
47246         in version GLIBC_2.1, not GLIBC_2.0.
47247         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
47248         Likewise.
47250 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
47252         [BZ #13942]
47253         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
47254         (1 - x) * (1 + x).
47255         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47256         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
47257         * math/libm-test.inc (acos_test): Add more tests.
47258         (asin_test): Likewise.
47259         * sysdeps/i386/fpu/libm-test-ulps: Update.
47260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47262         [BZ #14034]
47263         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
47264         of square root.
47265         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
47266         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47267         * math/libm-test.inc (acos_test_tonearest): New function.
47268         (acos_test_towardzero): Likewise.
47269         (acos_test_downward): Likewise.
47270         (acos_test_upward): Likewise.
47271         (asin_test_tonearest): Likewise.
47272         (asin_test_towardzero): Likewise.
47273         (asin_test_downward): Likewise.
47274         (asin_test_upward): Likewise.
47275         (main): Call the new functions.
47276         * sysdeps/i386/fpu/libm-test-ulps: Update.
47277         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47279         [BZ #13884]
47280         [BZ #13924]
47281         * math/e_exp10.c: Include <float.h>.
47282         (__ieee754_exp10): Handle underflow here rather than multiplying
47283         large negative argument by M_LN10.
47284         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
47285         of __ieee754_expf.
47286         * math/e_exp10l.c: Include <float.h>.
47287         (__ieee754_exp10l): Handle underflow here rather than multiplying
47288         large negative argument by M_LN10l.
47289         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
47290         spurious overflow exception on underflow.
47292 2012-04-29  Marek Polacek  <polacek@redhat.com>
47294         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
47295         (__fortify_function): New macro.
47296         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
47297         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
47298         __extern_always_inline.
47299         * libio/bits/stdio2.h: Likewise.
47300         * libio/bits/stdio.h: Likewise.
47301         * string/string.h: Likewise.
47302         * string/bits/string3.h: Likewise.
47303         * include/stdio.h: Likewise.
47304         * stdlib/bits/stdlib.h: Likewise.
47305         * stdlib/stdlib.h: Likewise.
47306         * rt/bits/mqueue2.h: Likewise.
47307         * rt/mqueue.h: Likewise.
47308         * posix/bits/unistd.h: Likewise.
47309         * posix/unistd.h: Likewise.
47310         * io/bits/poll2.h: Likewise.
47311         * io/bits/fcntl2.h: Likewise.
47312         * io/fcntl.h: Likewise.
47313         * io/sys/poll.h: Likewise.
47314         * misc/bits/syslog.h: Likewise.
47315         * misc/bits/syslog-ldbl.h: Likewise.
47316         * misc/sys/syslog.h: Likewise.
47317         * socket/bits/socket2.h: Likewise.
47318         * socket/sys/socket.h: Likewise.
47319         * debug/tst-chk1.c: Likewise.
47320         * wcsmbs/bits/wchar2.h: Likewise.
47321         * wcsmbs/bits/wchar-ldbl.h: Likewise.
47322         * wcsmbs/wchar.h: Likewise.
47324 2012-04-29  Andreas Jaeger  <aj@suse.de>
47326         * Makerules (tests): Remove enable-check-abi protection.
47327         (check-abi-warn): Remove.
47328         (check-abi-%): Remove check-abi-warn usage.
47330         * configure.in: Remove check-abi configure option.
47331         * configure: Regenerated.
47332         * config.make.in (enable-check-abi): Remove.
47334 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
47336         [BZ #14033]
47337         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
47338         double functions to double *_finite functions.
47340         [BZ #13941]
47341         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
47342         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
47343         LDBL_MIN_EXP.
47344         * stdio-common/Makefile (tests): Add tst-sprintf3.
47345         * stdio-common/tst-sprintf3.c: New file.
47347         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
47348         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
47350 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
47352         * conform/conformtest.pl: Remove duplicate typed-constant
47353         handling.
47355 2012-04-28  David S. Miller  <davem@davemloft.net>
47357         * Makerules (%.abilist): Add vpath on sysdep_dirs.
47358         (check-abi-%): Remove AWK script prerequisite and explicit
47359         abilist directory.
47360         (check-abi): Rewrite to just diff the symlist with the abilist.
47361         (config-tls, config-abi-config): Delete, no longer used.
47362         (update-abi-%): Remove AWK script and explicit abilist directory.
47363         (update-abi): Rewrite to simply compare and conditionally copy the
47364         symlist and the sysdep abilist file.  Remove update-abi-config
47365         checks.
47366         * abilist/ld.abilist: Remove.
47367         * abilist/libBrokenLocale.abilist: Remove.
47368         * abilist/libanl.abilist: Remove.
47369         * abilist/libcrypt.abilist: Remove.
47370         * abilist/libdl.abilist: Remove.
47371         * abilist/librt.abilist: Remove.
47372         * abilist/libthread_db.abilist: Remove.
47373         * abilist/libutil.abilist: Remove.
47374         * scripts/extract-abilist.awk: Remove.
47375         * scripts/merge-abilist.awk: Remove.
47376         * sysdeps/generic/libcidn.abilist: New file.
47377         * sysdeps/generic/libnss_compat.abilist: New file.
47378         * sysdeps/generic/libnss_db.abilist: New file.
47379         * sysdeps/generic/libnss_dns.abilist: New file.
47380         * sysdeps/generic/libnss_files.abilist: New file.
47381         * sysdeps/generic/libnss_hesiod.abilist: New file.
47382         * sysdeps/generic/libnss_nis.abilist: New file.
47383         * sysdeps/generic/libnss_nisplus.abilist: New file.
47384         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
47385         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
47386         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
47387         file.
47388         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
47389         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
47390         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
47391         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
47392         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
47393         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
47394         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
47395         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
47396         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
47397         file.
47398         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
47399         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
47400         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
47401         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
47402         file.
47403         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
47404         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
47405         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
47406         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
47407         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
47408         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
47409         file.
47410         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
47411         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
47412         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
47413         file.
47414         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
47415         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
47416         New file.
47417         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
47418         New file.
47419         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
47420         New file.
47421         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
47422         New file.
47423         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
47424         New file.
47425         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
47426         New file.
47427         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
47428         New file.
47429         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
47430         New file.
47431         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
47432         New file.
47433         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
47434         New file.
47435         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
47436         New file.
47437         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
47438         New file.
47439         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
47440         New file.
47441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
47442         file.
47443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
47444         New file.
47445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
47446         New file.
47447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
47448         file.
47449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
47450         New file.
47451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
47452         New file.
47453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
47454         file.
47455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
47456         New file.
47457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47458         New file.
47459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
47460         New file.
47461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
47462         New file.
47463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
47464         New file.
47465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
47466         New file.
47467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
47468         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
47469         file.
47470         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
47471         New file.
47472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
47473         file.
47474         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
47475         file.
47476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
47477         file.
47478         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
47479         file.
47480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
47481         file.
47482         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47483         New file.
47484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
47485         file.
47486         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
47487         file.
47488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
47489         New file.
47490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
47491         file.
47492         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
47493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
47494         file.
47495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
47496         New file.
47497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
47498         file.
47499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
47500         file.
47501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
47502         file.
47503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
47504         file.
47505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
47506         file.
47507         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47508         New file.
47509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
47510         file.
47511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
47512         file.
47513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
47514         New file.
47515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
47516         file.
47517         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47518         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
47519         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
47520         file.
47521         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
47522         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
47523         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
47524         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
47525         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
47526         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
47527         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
47528         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
47529         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
47530         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
47531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
47532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
47533         file.
47534         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
47535         New file.
47536         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
47537         file.
47538         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
47539         file.
47540         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
47541         file.
47542         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
47543         file.
47544         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
47545         file.
47546         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47547         New file.
47548         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
47549         New file.
47550         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
47551         file.
47552         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
47553         New file.
47554         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
47555         file.
47556         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
47557         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
47558         file.
47559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
47560         New file.
47561         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
47562         file.
47563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
47564         file.
47565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
47566         file.
47567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
47568         file.
47569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
47570         file.
47571         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47572         New file.
47573         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
47574         New file.
47575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
47576         file.
47577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
47578         New file.
47579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
47580         file.
47582 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
47584         * conform/conformtest.pl: Fix typo in handling typed-constant from
47585         allow-header.
47587 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
47589         * README: Cut down references to pre-2.6 Linux kernels and
47590         Linuxthreads.  Update lists of configurations in libc and ports
47591         and sort alphabetically.  Say "or newer" with Linux kernel version
47592         requirements.
47594         * config.h.in [IS_IN_build]: Allow compiling without optimization.
47596 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47598         [BZ #887]
47599         * math/libm-test.inc (logb_test_downward): New test to expose
47600         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
47601         rounding mode.
47603 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
47605         [BZ #14027]
47606         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
47607         to be done.
47608         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
47609         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
47611 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
47613         * sysdeps/unix/i386/brk.S: Remove file.
47614         * sysdeps/unix/i386/dl-brk.S: Likewise.
47615         * sysdeps/unix/i386/pipe.S: Likewise.
47616         * sysdeps/unix/i386/sigreturn.S: Likewise.
47617         * sysdeps/unix/i386/syscall.S: Likewise.
47618         * sysdeps/unix/i386/vfork.S: Likewise.
47619         * sysdeps/unix/i386/wait.S: Likewise.
47621         * sysdeps/unix/common/tcsendbrk.c: Move to ...
47622         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
47624         * configure.in (arm*-none*): Do not allow without
47625         --enable-hacker-mode.
47626         (netbsd*): Remove case setting base_os.
47627         (386bsd*): Likewise.
47628         (freebsd*): Likewise.
47629         (bsdi*): Likewise.
47630         (osf*): Likewise.
47631         (sunos*): Likewise.
47632         (ultrix*): Likewise.
47633         (newsos*): Likewise.
47634         (dynix*): Likewise.
47635         (*bsd*): Likewise.
47636         (sysv*): Likewise.
47637         (isc*): Likewise.
47638         (esix*): Likewise.
47639         (sco*): Likewise.
47640         (minix*): Likewise.
47641         (irix4*): Likewise.
47642         (irix6*): Likewise.
47643         (solaris[2-9]*): Likewise.
47644         (none): Likewise.
47645         * configure: Regenerated.
47647 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47649         [BZ #11521]
47650         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
47651         overflow or cancellation in calculating denominator.
47652         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
47653         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
47654         down expression to avoid unexpected rounding in newer GCCs.
47655         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
47657 2012-04-26  David S. Miller  <davem@davemloft.net>
47659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
47660         long-double compat symbols.
47661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
47665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
47667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
47668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
47669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
47670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
47671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
47672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
47673         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47675 2012-04-25  David S. Miller  <davem@davemloft.net>
47677         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
47678         HWCAP_* values only after the memory barriers have been defined.
47679         (atomic_full_barrier): Define.
47680         (atomic_read_barrier): Define.
47681         (atomic_write_barrier): Define.
47683 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47685         * shlib-versions: Add libgcc_s version information.
47686         * sysdeps/generic/libgcc_s.h: Remove.
47687         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
47688         libgcc_s.h.
47689         * sysdeps/gnu/unwind-resume.c: Likewise.
47690         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
47692 2012-04-25  David S. Miller  <davem@davemloft.net>
47694         * sysdeps/unix/sparc/brk.S: Delete.
47695         * sysdeps/unix/sparc/dl-brk.S: Delete.
47696         * sysdeps/unix/sparc/pipe.S: Delete.
47697         * sysdeps/unix/sparc/sysdep.S: Delete.
47698         * sysdeps/unix/sparc/sysdep.h: Delete.
47699         * sysdeps/unix/sparc/vfork.S: Delete.
47700         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
47701         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
47702         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
47703         (ret_ERRVAL, r0, r1, MOVE): Define.
47704         (JUMPTARGET): Remove.
47705         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
47706         sysdeps/unix/sparc/sysdep.h
47707         (ENTRY, END): Remove.
47708         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47710 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
47712         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
47713         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
47714         -DIS_IN_build.
47716         * timezone/README: Update upstream location and email address for
47717         tzcode and tzdata.
47718         * timezone/zdump.c: Update from tzcode 2012b.
47719         * timezone/zic.c: Likewise.
47721         * configure.in (libc_cv_as_needed): Remove test.
47722         * configure: Regenerated.
47723         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
47724         conditional definition.
47725         [$(have-as-needed) != yes] (no-as-needed): Likewise.
47726         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
47727         * config.make.in (have-as-needed): Remove variable.
47729 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47730             Paul Pluzhnikov  <ppluzhnikov@google.com>
47732         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
47733         strings correctly.
47735 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
47737         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
47738         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
47739         * sysdeps/sh/strlen.S: Likewise.
47741 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
47743         * sysdeps/unix/fork.S: Remove file.
47744         * sysdeps/unix/i386/fork.S: Likewise.
47745         * sysdeps/unix/sparc/fork.S: Likewise.
47747         * sysdeps/unix/system.c: Remove file.
47748         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
47750         * sysdeps/unix/getegid.S: Remove file.
47751         * sysdeps/unix/geteuid.S: Likewise.
47753 2012-04-24  Roland McGrath  <roland@hack.frob.com>
47755         * scripts/check-localplt.awk: New file.
47756         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
47757         of diff.
47758         * scripts/data/localplt-generic.data: Add a comment.
47760         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
47761         NODE when __dir_mkfile failed.
47762         * sysdeps/mach/hurd/symlinkat.c: Likewise.
47763         Reported by Ludovic Courtès <ludo@gnu.org>.
47765 2012-04-24  Andreas Jaeger  <aj@suse.de>
47767         * Makerules (common-clean): Also remove gen-as-const-headers
47768         files.
47770 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
47772         * Makerules (native-compile): Do not change working directory for
47773         build.  Use $(OUTPUT_OPTION) in command.
47774         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
47776 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47778         [BZ #13886]
47779         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
47780         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
47781         * math/libm-test.inc (floor_test): Add more tests.
47782         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
47784 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
47786         * sysdeps/unix/getdents.c: Remove file.
47787         * sysdeps/unix/sysv/getdents.c: Likewise.
47788         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
47790         * sysdeps/unix/syscalls.list (madvise): Add syscall from
47791         sysdeps/unix/mman/syscalls.list.
47792         (mmap): Likewise.
47793         (mprotect): Likewise.
47794         (msync): Likewise.
47795         (munmap): Likewise.
47796         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
47797         * sysdeps/unix/mman/syscalls.list: Remove.
47798         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
47800         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
47801         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
47802         * configure: Regenerated.
47803         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
47804         $(libgcc_s_suffix).
47805         * config.make.in (libgcc_s_suffix): Remove variable.
47807 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
47809         * sysdeps/unix/sysv/gethostname.c: Move to ...
47810         * sysdeps/posix/gethostname.c: ... here.
47812         * sysdeps/unix/execve.S: Remove file.
47814         * sysdeps/unix/_exit.S: Remove file.
47816 2012-04-23  Andreas Jaeger  <aj@suse.de>
47818         [BZ #13739]
47819         * manual/Makefile: Remove make dist support, there's no
47820         need for a stand-alone documentation tar ball.
47821         (TEXI2DVI): Define always, it's not in Makeconfig.
47822         (dist): Removed.
47823         (tar-it): Removed.
47824         (edition): Removed.
47825         (glibc-doc-$(edition).tar): Removed
47826         (%.Z): Removed.
47827         (%.gz): Removed.
47828         (%.uu): Removed.
47829         (ETAGS): Remove, it's in Makeconfig.
47830         (move-if-change): Remove, it's in Makeconfig.
47832 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
47834         [BZ #13970]
47835         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
47836         (strtod, strtof, strtold, strtol, strtoul, strtoq)
47837         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
47838         (strtod_l, strtof_l, strtold_l): Remove __wur.
47839         It is not necessarily an error to ignore strtol's return value.
47840         One can reliably look at the stored endptr to decide whether
47841         the number had valid syntax.
47843 2012-04-21  Andreas Jaeger  <aj@suse.de>
47845         [BZ #13739]
47846         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
47848 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
47850         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
47851         * sysdeps/unix/sysv/Versions: Remove file.
47853 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
47855         [BZ #13927]
47856         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47858 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
47860         [BZ #7064]
47861         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
47862         version from __vm86.
47864 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
47866         * sysdeps/unix/common/lxstat.c: Remove file.
47867         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
47869         * sysdeps/unix/sysv/Makefile: Remove file.
47871         * sysdeps/unix/sysv/direct.h: Remove file.
47873         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
47874         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
47875         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
47876         * sysdeps/unix/sysv/bits/signum.h: Likewise.
47877         * sysdeps/unix/sysv/bits/stat.h: Likewise.
47878         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
47879         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
47881         * sysdeps/unix/sysv/setrlimit.c: Remove file.
47883         * sysdeps/unix/xmknod.c: Remove file.
47884         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
47886         * sysdeps/unix/sysv/settimeofday.c: Remove file.
47888         * sysdeps/unix/sysv/i386/time.S: Remove file.
47890         * sysdeps/unix/fxstat.c: Remove file.
47891         * sysdeps/unix/xstat.c: Likewise.
47892         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
47894         * sysdeps/unix/sysv/sigaction.c: Remove file.
47896         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
47897         (sysdep_headers): Remove variable.
47898         [termio.h not in sysdep_headers] (generated): Likewise.
47899         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
47900         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
47901         * sysdeps/unix/sysv/tcdrain.c: Likewise.
47902         * sysdeps/unix/sysv/tcflow.c: Likewise.
47903         * sysdeps/unix/sysv/tcflush.c: Likewise.
47904         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
47905         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
47906         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
47907         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
47908         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
47910         * sysdeps/unix/siglist.c: Remove file.
47912         * sysdeps/unix/getppid.S: Remove file.
47914         * sysdeps/unix/mkdir.c: Remove file.
47915         * sysdeps/unix/rmdir.c: Likewise.
47917 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
47919         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
47920         ERR_MAX value.
47921         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
47922         errlist-compat value.
47924 2012-04-18  David S. Miller  <davem@davemloft.net>
47926         * sysdeps/generic/memcopy.h (reg_char): Delete.
47927         * debug/strcat_chk.c: Use char, not reg_char.
47928         * debug/strcpy_chk.c: Likewise.
47929         * debug/strncat_chk.c: Likewise.
47930         * debug/strncpy_chk.c: Likewise.
47931         * string/memchr.c: Likewise.
47932         * string/memrchr.c: Likewise.
47933         * string/rawmemchr.c: Likewise.
47934         * string/strcat.c: Likewise.
47935         * string/strchr.c: Likewise.
47936         * string/strchrnul.c: Likewise.
47937         * string/strcmp.c: Likewise.
47938         * string/strcpy.c: Likewise.
47939         * string/strncat.c: Likewise.
47940         * string/strncmp.c: Likewise.
47941         * string/strncpy.c: Likewise.
47943 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
47945         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
47946         __builtin_memcopy is called when src and dest ranges are known to not
47947         overlap.
47949 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
47951         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
47952         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
47953         fwd_align_merge macro call.
47954         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
47955         bwd_align_merge macro call.
47956         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47958 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
47960         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
47961         bwd_align_merge macros.
47962         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
47963         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
47964         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47966 2012-04-18  David S. Miller  <davem@davemloft.net>
47968         * sysdeps/sparc/sparc64/memcopy.h: Delete.
47970 2012-04-18  Andreas Jaeger  <aj@suse.de>
47972         [BZ# 6794]
47973         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
47974         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
47975         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47977         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
47978         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
47979         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47981         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
47982         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
47983         Adjust for changed ldbl-128 files.
47985         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
47986         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
47987         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47989 2012-04-17  David S. Miller  <davem@davemloft.net>
47991         * sysdeps/sparc/sparc32/memcopy.h: Delete.
47993 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
47995         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
47996         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
47997         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
47998         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
47999         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48000         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
48002 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48004         [BZ #6794]
48005         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
48006         * math/libm-test.inc: Add ilogb errno and exception tests.
48007         * math/w_ilogb.c: New file: ilogb wrapper.
48008         * math/w_ilogbf.c: New file: ilogbf wrapper.
48009         * math/w_ilogbl.c: New file: ilogbl wrapper.
48010         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
48011         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
48012         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
48013         exception being thrown with 0.0 as argument.
48014         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
48015         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
48016         exception being thrown with 0.0 as argument.
48017         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
48018         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48019         exception being thrown with 0.0 as argument.
48020         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
48021         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48022         exception being thrown with 0.0 as argument.
48023         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
48024         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
48025         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
48026         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
48027         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
48028         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
48029         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
48030         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
48031         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
48033 2012-04-17  Petr Baudis  <pasky@ucw.cz>
48035         * include/sys/uio.h: Change __vector to __iovec to avoid clash
48036         with altivec.
48038 2012-04-16  Marek Polacek  <polacek@redhat.com>
48040         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
48042 2012-04-16  Marek Polacek  <polacek@redhat.com>
48044         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
48045         operands of fdivp instruction.
48047 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
48049         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
48050         * elf/tst-auditmod3b.c: Likewise.
48051         * elf/tst-auditmod4b.c: Likewise.
48052         * elf/tst-auditmod5b.c: Likewise.
48053         * elf/tst-auditmod6b.c: Likewise.
48054         * elf/tst-auditmod6c.c: Likewise.
48055         * elf/tst-auditmod7b.c: Likewise.
48056         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
48057         * sysdeps/x86_64/preconfigure.in: Likewise.
48058         * sysdeps/x86_64/preconfigure: Regenerated.
48060 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
48062         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
48063         __ILP32__.
48065 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
48067         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48068         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
48070 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
48072         [BZ #13973]
48073         * locale/iso-639.def: Fix gl language name. Spotted by
48074         Yaron Shahrabani.
48076 2012-04-12  Roland McGrath  <roland@hack.frob.com>
48078         [BZ #2074]
48079         * libio/libio.h (__io_write_fn): Update comment.
48081 2012-04-12  Petr Baudis  <pasky@ucw.cz>
48083         [BZ #2074]
48084         * stdio.texi (Hook Functions): The user provided writer function
48085         is not allowed to return -1.
48087 2012-04-11  David S. Miller  <davem@davemloft.net>
48089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48091 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
48093         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
48094         Add a leading slash to rtkaio.
48096 2012-04-11  Jim Meyering  <meyering@redhat.com>
48098         [BZ #11959]
48099         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
48100         It is not necessarily an error to ignore fwrite's return
48101         value.  One can reliably use ferror to test for errors after
48102         the fact.
48104 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
48106         * bits/types.h (__snseconds_t): New type.
48107         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
48109         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
48110         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48111         (__SNSECONDS_T_TYPE): Likewise.
48112         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48113         (__SNSECONDS_T_TYPE): Likewise.
48114         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48115         (__SNSECONDS_T_TYPE): Likewise.
48117 2012-04-10  Andreas Jaeger  <aj@suse.de>
48119         [BZ #2636]
48120         * manual/time.texi (Processor Time): Return type of times is
48121         elapsed real time since an arbitrary point in the past.
48122         (CPU Time): Move CLK_TCK from here...
48123         (Processor Time): ...to here.  Correct description.
48124         * manual/conf.texi (Constants for Sysconf): Correct description of
48125         _SC_CLK_TCK.
48127 2012-04-10  David S. Miller  <davem@davemloft.net>
48129         [BZ #13967]
48130         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
48131         where the is a gap between DT_REL(A) and DT_JMPREL.
48133 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
48135         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
48136         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48137         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48139 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48141         * elf/dl-support.c (_dl_inhibit_cache): New variable.
48142         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
48143         (dl_main): Handle --inhibit-cache.
48144         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
48145         _dl_inhibit_cache.
48146         * elf/dl-load.c (_dl_map_object): Use it.
48147         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
48149 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
48151         [BZ #13872]
48152         * sysdeps/i386/fpu/e_powl.S (p78): New object.
48153         (__ieee754_powl): Saturate large exponents rather than testing for
48154         overflow of y*log2(x).
48155         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48156         * math/libm-test.inc (pow_test): Do not permit spurious overflow
48157         exceptions.
48159         [BZ #11521]
48160         * math/s_ctan.c: Include <float.h>.
48161         (__ctan): Avoid internal overflow or cancellation in calculating
48162         denominator.
48163         * math/s_ctanf.c: Likewise.
48164         * math/s_ctanl.c: Likewise.
48165         * math/s_ctanh.c: Likewise.
48166         * math/s_ctanhf.c: Likewise.
48167         * math/s_ctanhl.c: Likewise.
48168         * math/libm-test.inc (ctan_test): Add more tests.
48169         (ctanh_test): Likewise.
48170         * sysdeps/i386/fpu/libm-test-ulps: Update.
48171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48173 2012-04-09  Andreas Jaeger  <aj@suse.de>
48175         [BZ #6894]
48176         * manual/filesys.texi (Directory Entries): Mention that d_namlen
48177         is an optional BSD extension.
48179         [BZ #10254]
48180         * manual/stdio.texi (Opening Streams): Document additional fopen
48181         parameters.
48183 2012-04-09  Roland McGrath  <roland@hack.frob.com>
48185         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
48186         %eax without telling the compiler.
48188 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
48190         [BZ # 13963]
48191         * manual/install.texi: Use sourceware.org.
48193 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
48195         [BZ #13873]
48196         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
48197         (__ieee754_pow): Generate overflow and underflow using huge*huge
48198         and tiny*tiny rather than just returning constant infinity or zero
48199         for large exponents.
48200         * math/libm-test.inc (pow_test): Require overflow exceptions for
48201         applicable cases of large exponents.
48203         [BZ #706]
48204         * sysdeps/i386/fpu/e_pow.S (p10): New object.
48205         (__ieee754_pow): Use iterative multiplication algorithm only for
48206         integer exponents with absolute value below 1024.  Check for odd
48207         integer exponents when using algorithm for real exponents.
48208         * math/libm-test.inc (pow_test): Add more tests.
48209         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48211 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
48213         [BZ #13705]
48214         * math/libm-test.inc (exp_test): Do not allow overflow exception
48215         on underflow test.
48217 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
48219         [BZ #13705]
48220         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
48221         instead of __kernel_standard_f.
48223 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
48225         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
48226         * sysdeps/x86_64/memset_chk.S: Likewise.
48228 2012-04-08  Andreas Jaeger  <aj@suse.de>
48230         [BZ #10153]
48231         * manual/startup.texi (Environment Access): Describe return value
48232         for putenv and setenv.
48234         [BZ #6895]
48235         * manual/filesys.texi (Directory Entries): Add description for
48236         DT_LNK.
48238         [BZ #6890]
48239         * manual/filesys.texi (Directory Entries): Clarify that it's file
48240         system not operating system in the description of DT_UNKNOWN.
48242         [BZ #6578]
48243         * manual/syslog.texi (closelog): Fix reference, it's openlog.
48245 2012-04-08  Stephen Compall  <s11@member.fsf.org>
48247         [BZ #6649]
48248         * manual/llio.texi (Opening and Closing Files): Add cross
48249         reference to explain mode argument.
48251 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
48253         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
48254         * sysdeps/x86_64/memset_chk.S: Likewise.
48256 2012-04-07  David S. Miller  <davem@davemloft.net>
48258         * elf/elf.h (R_SPARC_WDISP10): Define.
48259         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
48260         R_SPARC_SIZE32.
48261         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
48262         R_SPARC_SIZE64 and R_SPARC_H34.
48264 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
48266         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
48267         conditions and remove no longer applicable assertion.
48269 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
48271         * bits/byteswap.h: Include <features.h>.
48272         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48273         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48275 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
48277         * bits/byteswap.h (__bswap_16): Removed.
48278         Include <bits/byteswap-16.h> to get __bswap_16.
48279         * sysdeps/i386/bits/byteswap.h: Likewise.
48280         * sysdeps/s390/bits/byteswap.h: Likewise.
48281         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48282         * bits/byteswap-16.h: New file.
48283         * sysdeps/i386/bits/byteswap-16.h: Likewise.
48284         * sysdeps/s390/bits/byteswap-16.h: Likewise.
48285         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
48286         * string/Makefile (headers): Add bits/byteswap-16.h.
48288 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48290         [BZ #13895]
48291         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
48292         extra indirection.
48293         * nss/Makefile (tests-static, tests): Add tst-nss-static.
48294         * nss/tst-nss-static.c: New.
48296 2012-04-06  Robert Millan  <rmh@gnu.org>
48298         [BZ #6486]
48299         * manual/llio.texi (File Position Primitive): lseek
48300         refers to WHENCE when it really means OFFSET.
48302 2012-04-06  Andreas Jaeger  <aj@suse.de>
48304         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
48305         strncmp declarations.
48307         * abilist/libc.abilist: Add __poll and __ppoll.
48309 2012-04-05  David S. Miller  <davem@davemloft.net>
48311         * scripts/check-local-headers.sh: Accept a host triplet in the
48312         path matched by the exclude regexp.
48314         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
48315         definition.
48316         * sysdeps/powerpc/powerpc32/dl-machine.h
48317         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
48318         * sysdeps/s390/s390-32/dl-machine.h
48319         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48320         * sysdeps/sparc/sparc32/dl-machine.h
48321         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48322         * sysdeps/sparc/sparc64/dl-machine.h
48323         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48325         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
48326         lazy binding.
48327         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
48328         undefined symbol errors.
48330         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
48331         DT_NEEDED entries.
48333 2012-04-05  Michael Matz  <matz@suse.de>
48335         [BZ #13592]
48336         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
48338 2012-04-05  Andreas Jaeger  <aj@suse.de>
48340         [BZ #13908]
48341         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
48342         comment.
48344 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48346         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
48347         which ROUND is no valid rounding mode.
48349 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48351         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
48352         read again.
48353         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
48355 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48357         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
48358         an exception using FPU order intentionally.
48360 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48362         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
48363         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
48364         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
48365         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
48367 2012-04-05  Simon Josefsson  <simon@josefsson.org>
48369         [BZ #12340]
48370         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
48371         EINVAL when BUFLEN is too smal.
48373 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
48375         [BZ #13553]
48376         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
48377         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
48379 2012-04-03  Andreas Jaeger  <aj@suse.de>
48381         [BZ #13938]
48382         * manual/setjmp.texi (System V contexts): Fix sentence.
48384         [BZ #13926]
48385         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
48386         New macro for this case.
48387         [!__GNUC__] (__bswap_64): New inline function for this case.
48388         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48389         * bits/byteswap.h: Likewise.
48390         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
48391         ull, guard with __GLIBC_HAVE_LONG_LONG.
48393         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
48394         __GLIBC_HAVE_LONG_LONG.
48396         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
48397         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
48399 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48401         [BZ #13691]
48402         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
48403         inptr and inend, rather than using last_ch.
48405 2012-04-02  David S. Miller  <davem@davemloft.net>
48407         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
48408         * stdio-common/printf-parse.h (read_int): Change return type to
48409         'int', return -1 on INT_MAX overflow.
48410         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
48411         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
48412         overflows INT_MAX.  Check for overflow of in-format-string precision
48413         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
48414         SIZE_MAX not INT_MAX for integer overflow test.
48415         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
48416         skip the construct in the format string but do not record anything.
48417         * stdio-common/bug22.c: Adjust to test both width/prevision
48418         INT_MAX overflow as well as total length INT_MAX overflow.  Check
48419         explicitly for proper errno values.
48421 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
48423         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
48424         CHAR_MAX.
48425         * string/test-strcmp.c [! WIDE]: Likewise.
48426         * time/tst-mktime2.c: Likewise for INT_MAX.
48427         * string/test-string.h: #include <sys/param.h> for MIN.
48429         * csu/init-first.c (__libc_init_first): Call __ctype_init.
48430         * sysdeps/i386/init-first.c (init): Likewise.
48431         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
48432         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
48433         * sysdeps/sh/init-first.c (init): Likewise.
48435 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
48437         * po/ru.po: Update from translation team.
48438         * po/vi.po: Likewise.
48440 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
48442         * resolv/nss_dns/dns-host.c: Merge copyright years.
48444 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48446         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48447         Optimize memcpy with prefetch if
48448         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
48449         src, dst pointers have unequal 16 byte alignments.
48451 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48453         [BZ #13928]
48454         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
48455         from a CNAME entry and return the minimum ttl for the query.
48456         (gaih_getanswer_slice): Likewise.
48458 2012-03-30  Jeff Law  <law@redhat.com>
48460         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
48461         due to long keys.
48462         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
48463         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
48465         * resolv/nss_dns/dns-host.c: Update copyright year.
48467 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
48469         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
48470         requests to save a system call.  Fix check that all bytes are sent.
48472         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
48473         comments for sendmmsg.
48475 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48477         [BZ #13691]
48478         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
48479         with only 1 character between 0x0041 and 0x01b0.
48480         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
48481         * wcsmbs/tst-mbsnrtowcs.c: New file.
48483 2012-03-29  David S. Miller  <davem@davemloft.net>
48485         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
48486         small copies by hand.
48488 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48490         [BZ #13761]
48491         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
48492         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
48493         group memberships.
48495 2012-03-28  David S. Miller  <davem@davemloft.net>
48497         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
48498         that branches into memcpy.
48499         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48500         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
48501         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48502         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
48503         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
48504         bits.
48505         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
48506         implementation too.
48507         * sysdeps/sparc/mempcpy.S: New file.
48509         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
48510         the IFUNC routine in the libc case.
48511         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48513         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
48514         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
48515         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
48516         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
48517         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
48518         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
48519         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
48520         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
48522         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
48523         loop to 256 bytes instead of 64 bytes and fix test signedness.
48525         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
48526         * sysdeps/sparc/sparc32/Makefile: rather than here...
48527         * sysdeps/sparc/sparc64/Makefile: and here.
48529 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
48531         * malloc/mallocbug.c: Avoid warnings about unused variables.
48533 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48535         [BZ #13760]
48536         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
48537         in the right place. Discard and retry query if response is
48538         larger than input buffer size.
48540 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
48542         [BZ #369]
48543         [BZ #2678]
48544         [BZ #3866]
48545         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
48546         x for large integer exponent.
48547         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48548         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
48549         sign of result as needed afterwards.
48550         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48551         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
48552         result for underflowing pow the same as for overflow.
48553         (__kernel_standard_l): Handle powl overflow and underflow here
48554         rather than calling __kernel_standard.
48555         * math/libm-test.inc (pow_test): Add more tests.
48557         [BZ #3868]
48558         [BZ #13879]
48559         [BZ #13910]
48560         [BZ #13911]
48561         [BZ #13912]
48562         [BZ #13913]
48563         [BZ #13915]
48564         [BZ #13916]
48565         [BZ #13917]
48566         [BZ #13918]
48567         [BZ #13919]
48568         [BZ #13920]
48569         [BZ #13921]
48570         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
48571         * sysdeps/ieee754/k_standard.c: Include <float.h>.
48572         (__kernel_standard_l): New function.
48573         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
48574         __kernel_standard.
48575         * math/w_acosl.c (__acosl): Likewise.
48576         * math/w_asinl.c (__asinl): Likewise.
48577         * math/w_atan2l.c (__atan2l): Likewise.
48578         * math/w_atanhl.c (__atanhl): Likewise.
48579         * math/w_coshl.c (__coshl): Likewise.
48580         * math/w_exp10l.c (__exp10l): Likewise.
48581         * math/w_exp2l.c (__exp2l): Likewise.
48582         * math/w_fmodl.c (__fmodl): Likewise.
48583         * math/w_hypotl.c (__hypotl): Likewise.
48584         * math/w_j0l.c (__j0l, __y0l): Likewise.
48585         * math/w_j1l.c (__j1l, __y1l): Likewise.
48586         * math/w_jnl.c (__jnl, __ynl): Likewise.
48587         * math/w_lgammal.c (__lgammal): Likewise.
48588         * math/w_log10l.c (__log10l): Likewise.
48589         * math/w_log2l.c (__log2l): Likewise.
48590         * math/w_logl.c (__logl): Likewise.
48591         * math/w_powl.c (__powl): Likewise.
48592         * math/w_remainderl.c (__remainderl): Likewise.
48593         * math/w_scalbl.c (sysv_scalbl): Likewise.
48594         * math/w_sinhl.c (__sinhl): Likewise.
48595         * math/w_sqrtl.c (__sqrtl): Likewise.
48596         * math/w_tgammal.c (__tgammal): Likewise.
48597         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
48598         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
48599         * math/libm-test.inc (acos_test): Add more tests.
48600         (acosh_test): Likewise.
48601         (asin_test): Likewise.
48602         (atanh_test): Likewise.
48603         (exp_test): Likewise.
48604         (exp10_test): Likewise.
48605         (exp2_test): Likewise.
48606         (expm1_test): Likewise.
48607         (lgamma_test): Likewise.
48608         (log_test): Likewise.
48609         (log10_test): Likewise.
48610         (log1p_test): Likewise.
48611         (log2_test): Likewise.
48612         (pow_test): Do not allow some spurious overflow exceptions.
48613         (sqrt_test): Add more tests.
48614         (tgamma_test): Likewise.
48615         (y0_test): Likewise.
48616         (y1_test): Likewise.
48617         (yn_test): Likewise.
48619 2012-03-27  Anton Blanchard  <anton@samba.org>
48621         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
48622         MAP_HUGETLB.
48623         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48624         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48625         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48627 2012-03-27  David S. Miller  <davem@davemloft.net>
48629         * conform/Makefile: Run run-conformtest.sh using $(BASH).
48631         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
48632         have-as-vis3 check.
48634 2012-03-27  Andreas Jaeger  <aj@suse.de>
48636         * sysdeps/x86_64/elf/configure.in: Moved to ...
48637         * sysdeps/x86_64/configure.in: ... here.
48638         * sysdeps/x86_64/elf/start.S: Moved to ...
48639         * sysdeps/x86_64/start.S: ... here.
48640         * sysdeps/x86_64/elf/configure: Delete.
48642         * sysdeps/x86_64/configure.in: Merge contents from
48643         sysdeps/i386/configure.in (without i686 check).
48645         * sysdeps/i386/elf/Versions: Merge into ...
48646         * sysdeps/i386/Versions: ... this.
48647         * sysdeps/i386/elf/Versions: Delete file.
48648         * sysdeps/i386/elf/start.S: Moved to ...
48649         * sysdeps/i386/start.S: ...here.
48650         * sysdeps/i386/elf/configure.in: Merge into...
48651         * sysdeps/i386/configure.in: ...here.
48652         * sysdeps/i386/elf/configure.in: Delete file.
48653         * sysdeps/i386/elf/configure: Delete file.
48655         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
48656         * debug/backtracesyms.c: ... here.
48657         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
48658         * debug/backtracesymsfd.c: ... here.
48659         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
48660         * sysdeps/generic/ifunc-sel.h: ... here.
48662         * sysdeps/unix/i386/start.c: Delete file.
48663         * sysdeps/unix/sparc/start.c: Delete file.
48664         * sysdeps/unix/start.c: Delete file.
48666         * sysdeps/sh/elf/configure.in: Moved to ...
48667         * sysdeps/sh/configure.in: ... here.
48668         * sysdeps/sh/elf/start.S: Moved to ...
48669         * sysdeps/sh/start.S: ... here.
48670         * sysdeps/sh/elf/configure: Delete file.
48672         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
48673         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
48674         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
48675         * sysdeps/powerpc/powerpc64/entry.h: ... here.
48676         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
48677         * sysdeps/powerpc/powerpc64/start.S: here.
48678         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
48679         * sysdeps/powerpc/powerpc64/Makefile: ... this.
48680         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
48681         * sysdeps/powerpc/powerpc64/configure.in: ... this.
48682         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
48684         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
48685         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
48686         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
48687         * sysdeps/powerpc/powerpc32/start.S: ... here.
48688         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
48689         * sysdeps/powerpc/powerpc32/configure.in: ... this.
48690         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
48692         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
48693         * sysdeps/powerpc/ifunc-sel.h: ... here.
48694         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
48695         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
48697         * sysdeps/sparc/elf/configure.in: Moved to ...
48698         * sysdeps/sparc/configure.in: ... here.
48699         * sysdeps/sparc/elf/configure: Delete file.
48700         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
48701         * sysdeps/sparc/sparc32/start.S: ... here.
48702         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
48703         * sysdeps/sparc/sparc64/start.S: ... here.
48704         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
48705         * sysdeps/sparc/sparc32/Makefile: ... this.
48706         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
48707         * sysdeps/sparc/sparc64/Makefile: ... this.
48709         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
48710         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
48711         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
48712         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
48713         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
48714         * sysdeps/s390/s390-32/setjmp.S: ... here.
48715         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
48716         * sysdeps/s390/s390-32/configure.in: ... here.
48717         * sysdeps/s390/s390-32/elf/configure: Delete file.
48718         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
48719         * sysdeps/s390/s390-32/start.S: ... here.
48721         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
48722         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
48723         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
48724         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
48725         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
48726         * sysdeps/s390/s390-64/setjmp.S: ... here.
48727         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
48728         * sysdeps/s390/s390-64/configure.in: ... here
48729         * sysdeps/s390/s390-64/elf/configure: Delete file.
48730         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
48731         * sysdeps/s390/s390-64/start.S: ... here.
48732         * sysdeps/s390/s390-64/elf/configure: Delete.
48734         * configure.in: Remove support for elf directories in sysdeps.
48736         * configure: Regenerated.
48737         * sysdeps/i386/configure: Regenerated.
48738         * sysdeps/powerpc/powerpc32/configure: Regenerated.
48739         * sysdeps/powerpc/powerpc64/configure: Regenerated.
48740         * sysdeps/s390/s390-32/configure: Regenerated.
48741         * sysdeps/s390/s390-64/configure: Regenerated.
48742         * sysdeps/sh/configure: Regenerated.
48743         * sysdeps/sparc/configure: Regenerated.
48744         * sysdeps/x86_64/configure: Regenerated.
48746 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
48748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48750         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
48751         denormal result into account.
48753 2012-03-25  Roland McGrath  <roland@hack.frob.com>
48755         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
48756         Reported by Allan McRae <allan@archlinux.org>.
48758 2012-03-23  Jeff Law  <law@redhat.com>
48760         * nss/getnssent.c (__nss_getent): Fix typo.
48762 2012-03-23  David S. Miller  <davem@davemloft.net>
48764         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48766 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
48768         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
48769         to pad to uint64_t for each field.
48770         (dl_tls_index): Replace unsigned long with uint64_t.
48772 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
48773         Paul Pluzhnikov  <ppluzhnikov@google.com>
48775         [BZ #6528]
48776         * grp/Makefile (otherlibs): Don't set it.
48777         * inet/Makefile (otherlibs): Likewise.
48778         * login/Makefile (otherlibs): Likewise.
48779         * nscd/Makefile (otherlibs): Likewise.
48780         * posix/Makefile (otherlibs): Likewise.
48781         * pwd/Makefile (otherlibs): Likewise.
48782         * rt/Makefile (otherlibs): Likewise.
48783         * sunrpc/Makefile (otherlibs): Likewise.
48784         * nss/Makefile (otherlibs): Likewise.
48785         Add libnss_files to routines and static-only-routines.
48786         ($(objpfx)getent): Remove rule.
48787         * resolv/Makefile: Add libnss_dns and libresolv to routines and
48788         static-only-routines.
48790 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
48792         [BZ #13892]
48793         * math/s_cexp.c: Include <float.h>.
48794         (__cexp): Handle exp result overflowing not necessarily
48795         overflowing both real and imaginary parts of result.
48796         * math/s_cexpf.c: Likewise.
48797         * math/s_cexpl.c: Likewise.
48798         * math/libm-test.inc (cexp_test): Add more tests.
48799         * sysdeps/i386/fpu/libm-test-ulps: Update.
48800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48802 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
48804         * include/link.h (ELFW): New macro.
48805         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
48806         Replace ELF64_R_TYPE with ELFW(R_TYPE).
48808 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
48810         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
48811         with uint64_t.
48813 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
48815         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
48816         declaration.
48817         (struct La_x32_retval): Likewise.
48819 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
48821         * sysdeps/x86_64/preconfigure.in: New file.
48822         * sysdeps/x86_64/preconfigure: New generated file.
48824 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
48826         [BZ #13824]
48827         * math/e_exp2l.c: Include <float.h>.
48828         (__ieee754_exp2l): Handle overflow and underflow cases
48829         separately.  Only pass fractional part of argument to
48830         __ieee754_expl.
48831         * math/libm-test.inc (exp2_test): Add more tests.
48833         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
48834         negating x to take absolute value.
48835         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
48836         Likewise.
48837         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
48838         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
48839         Likewise.
48840         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
48841         computing low part if x was negated.
48842         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
48844 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
48846         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
48847         la_x32_gnu_pltexit.
48848         (pltexit): Cast int_retval to ptrdiff_t.
48849         * elf/tst-auditmod3b.c: Likewise.
48850         * elf/tst-auditmod4b.c: Likewise.
48851         * elf/tst-auditmod5b.c: Likewise.
48852         * elf/tst-auditmod6b.c: Likewise.
48853         * elf/tst-auditmod6c.c: Likewise.
48854         * elf/tst-auditmod7b.c: Likewise.
48856         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
48857         and x32_gnu_pltexit.
48859         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
48860         __ELF_NATIVE_CLASS.
48861         (La_x32_regs): New macro.
48862         (La_x32_retval): Likewise.
48863         (la_x32_gnu_pltenter): New function prototype.
48864         (la_x32_gnu_pltexit): Likewise.
48866 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
48868         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
48869         exponent.
48871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48873         * configure.in (libc_cv_cc_nofma): Check for option to disable
48874         generation of FMA instructions.
48875         * configure: Regenerate.
48876         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
48877         * sysdeps/ieee754/dbl-64/Makefile: New file.
48878         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
48879         Remove brandred-fma4.
48880         (CFLAGS-brandred-fma4.c): Remove.
48881         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
48882         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
48883         define.
48884         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
48885         define.
48887 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
48889         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48890         LLONG_MAX != LONG_MAX.
48891         (_itoa_word): Use _ITOA_WORD_TYPE on value.
48892         (_fitoa_word): Likewise.
48893         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
48894         LLONG_MAX != LONG_MAX.
48895         * stdio-common/_itowa.h: Include <_itoa.h>.
48896         (_itowa_word): Use _ITOA_WORD_TYPE on value.
48897         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
48898         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
48899         only if not defined.
48900         (_ITOA_WORD_TYPE): Likewise.
48901         (_itoa_word): Use _ITOA_WORD_TYPE on value.
48902         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
48904 2012-03-21  David S. Miller  <davem@davemloft.net>
48906         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48908 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
48910         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
48911         of x86_64 when setting libc_cv_slibdir, libdir and
48912         libc_cv_localedir.
48913         * sysdeps/unix/sysv/linux/configure: Regenerated.
48915 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
48917         * manual/lang.texi (Old Varargs): Remove section.
48918         (How Variadic): Update menu.
48919         (va_start): Do not mention varargs.h.
48921 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48922             Joseph Myers  <joseph@codesourcery.com>
48924         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
48925         link test.
48926         * configure: Regenerated.
48928 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48930         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
48931         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
48932         conformtest.pl
48934 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
48936         * NOTES: Remove.
48937         * Makefile (files-for-dist): Remove NOTES.
48938         (NOTES): Remove rule.
48939         * README: Don't refer to NOTES.
48940         * manual/creature.texi: Don't include macros.texi.
48941         * manual/intro.texi (creature.texi): Remove comment referring to
48942         NOTES.
48944         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
48945         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
48946         * configure: Regenerated.
48947         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
48948         LIBC_TRY_CC_OPTION.
48949         (libc_cv_as_i686): Likewise.
48950         (libc_cv_cc_avx): Likewise.
48951         (libc_cv_cc_sse2avx): Likewise.
48952         (libc_cv_cc_fma4): Likewise.
48953         (libc_cv_cc_novzeroupper): Likewise.
48954         * sysdeps/i386/configure: Regenerated.
48956         [BZ #13883]
48957         * sysdeps/i386/fpu/s_cexp.S: Remove.
48958         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48959         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48960         * math/libm-test.inc (cexp_test): Add more tests.
48961         * sysdeps/i386/fpu/libm-test-ulps: Update.
48962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48964 2012-03-21  Allan McRae  <allan@archlinux.org>
48966         * timezone/Makefile: Do not install iso3166.tab and zone.tab
48968 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
48970         [BZ #13871]
48971         * math/w_exp2.c: Do not include <float.h>.
48972         (o_threshold, u_threshold): Remove.
48973         (__exp2): Calculate result before checking finiteness and calling
48974         __kernel_standard.
48975         * math/w_exp2f.c: Likewise.
48976         * math/w_exp2l.c: Likewise.
48977         * math/libm-test.inc (exp2_test): Require overflow exception for
48978         1e6 input.
48980         [BZ #3866]
48981         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
48982         range of signed 64-bit integers before using fistpll.  Remove
48983         checks for whether integers fit in mantissa bits.
48984         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
48985         the range of signed 32-bit integers before using fistpl.  Remove
48986         checks for whether integers fit in mantissa bits.
48987         * sysdeps/i386/fpu/e_powl.S (p64): New object.
48988         (__ieee754_powl): Test for y outside the range of signed 64-bit
48989         integers before using fistpll.  Reduce 64-bit values to 63-bit
48990         ones as needed.
48991         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
48992         divide-by-zero is raised for zero to large negative powers.
48993         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
48994         (__ieee754_powl): Test for y outside the range of signed 64-bit
48995         integers before using fistpll.  Reduce 64-bit values to 63-bit
48996         ones as needed.
48997         * math/libm-test.inc (pow_test): Add more tests.
48999 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49001         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
49002         <stdio-common/_itoa.h>.
49003         * debug/segfault.c: Likewise.
49004         * elf/dl-cache.c: Likewise.
49005         * elf/dl-minimal.c: Likewise.
49006         * elf/dl-misc.c: Likewise.
49007         * elf/dl-sysdep.c: Likewise.
49008         * elf/dl-version.c: Likewise.
49009         * elf/rtld.c: Likewise.
49010         * hurd/hurdsock.c: Likewise.
49011         * hurd/lookup-retry.c: Likewise.
49012         * malloc/malloc.c: Likewise.
49013         * malloc/mtrace.c: Likewise.
49014         * nscd/nscd_getgr_r.c: Likewise.
49015         * nscd/nscd_getpw_r.c: Likewise.
49016         * nscd/nscd_getserv_r.c: Likewise.
49017         * posix/getopt_init.c: Likewise.
49018         * posix/wordexp.c: Likewise.
49019         * stdio-common/_itoa.c: Likewise.
49020         * stdio-common/printf_fphex.c: Likewise.
49021         * stdio-common/vfprintf.c: Likewise.
49022         * string/_strerror.c: Likewise.
49023         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
49024         * sysdeps/i386/i686/hp-timing.h: Likewise.
49025         * sysdeps/mach/_strerror.c: Likewise.
49026         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
49027         * sysdeps/mach/hurd/sethostid.c: Likewise.
49028         * sysdeps/mach/hurd/xmknodat.c: Likewise.
49029         * sysdeps/mach/xpg-strerror.c: Likewise.
49030         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49031         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49032         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
49033         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
49034         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49035         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
49036         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
49037         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
49038         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
49039         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
49040         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
49041         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49042         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
49043         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49044         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49045         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
49046         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
49047         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
49048         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49049         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49050         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
49052         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
49054         * stdio-common/_itoa.h: Moved to ...
49055         * sysdeps/generic/_itoa.h: Here.
49057         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
49059         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
49060         instead of "_itoa.h" and "_itowa.h".
49061         * stdio-common/vfprintf.: Likewise.
49063 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49065         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
49066         <bits/wordsize.h>.
49067         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
49068         (__signbit): Likwise.
49069         (llrintf): Likwise.
49070         (llrint): Likwise.
49072 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49074         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
49075         __WORDSIZE != 64.
49077 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
49079         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
49080         OVERFLOW_EXCEPTION_OK.
49081         * math/libm-test.inc ("Philosophy"): Update comment about
49082         exception testing.
49083         (OVERFLOW_EXCEPTION): Define.
49084         (OVERFLOW_EXCEPTION_OK): Likewise.
49085         (INVALID_EXCEPTION_OK): Renumber.
49086         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49087         (IGNORE_ZERO_INF_SIGN): Likewise.
49088         (test_exceptions): Handle FE_OVERFLOW.
49089         (exp10_test): Expect overflow exceptions.
49090         (exp2_test): Likewise.
49091         (expm1_test): Likewise.
49092         (nextafter_test): Likewise.
49093         (pow_test): Likewise.
49094         (scalbn_test): Likewise.
49095         (scalbln_test): Likewise.
49097 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49099         * sysdeps/x86_64/bits/atomic.h
49100         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
49101         64bit integer.
49102         (atomic_exchange_acq): Likewise.
49103         (__arch_exchange_and_add_body): Likewise.
49104         (__arch_add_body): Likewise.
49105         (atomic_add_negative): Likewise.
49106         (atomic_add_zero): Likewise.
49108 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49110         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
49111         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
49113 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49115         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
49116         Check __x86_64__ instead of __WORDSIZE.
49118 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49120         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
49122 2012-03-19  David S. Miller  <davem@davemloft.net>
49124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49126         * sysdeps/sparc/fpu/fenv_private.h: New file.
49127         * sysdeps/sparc/fpu/math_private.h: Use it.
49128         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
49129         Remove.
49130         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
49131         (libc_feholdexcept_setroundl): Remove.
49132         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
49133         Remove.
49134         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
49135         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
49137 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49139         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
49140         int64_t instead of long int.
49141         (INSERT_WORDS64): Likwise.
49143 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49145         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
49146         _Unwind_GetCFA return to _Unwind_Ptr first.
49148 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
49150         [BZ #13629]
49151         * math/s_clog.c: Include <float.h>.
49152         (__clog): Scale large or subnormal inputs.
49153         * math/s_clogf.c: Likewise.
49154         * math/s_clogl.c: Likewise.
49155         * math/s_clog10.c: Include <float.h>.
49156         (M_LOG10_2): Define.
49157         (__clog10): Scale large or subnormal inputs.
49158         * math/s_clog10f.c: Likewise.
49159         * math/s_clog10l.c: Likewise.
49160         * math/libm-test.inc (clog_test): Add more tests.
49161         (clog10_test): Likewise.
49162         * sysdeps/i386/fpu/libm-test-ulps: Update.
49163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49165         [BZ #11451]
49166         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
49167         x and y.
49168         * math/libm-test.inc (atan2_test): Add another test.
49170         * Makerules (common-objdir-compile): Remove.
49171         * sysdeps/unix/Makefile (config-generated): Do not add
49172         $(unix-generated) to variable.
49173         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
49174         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
49175         Remove rule.
49176         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
49177         Likewise.
49178         [generic bits/local_lim.h] (before-compile): Do not append to
49179         variable.
49180         [generic bits/local_lim.h] (common-generated): Likewise.
49181         [generic sys/param.h] (before-compile): Do not append to variable.
49182         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
49183         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
49184         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
49185         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
49186         include.
49187         [generic sys/param.h] (sys/param.h-includes): Remove variable.
49188         [generic sys/param.h] (sys/param.h-includes): Remove rule.
49189         [generic sys/param.h] ($(addprefix
49190         $(common-objpfx),$(sys/param.h-includes))): Likewise.
49191         [generic sys/param.h] (common-generated): Do not append to
49192         variable.
49193         [generic sys/param.h] (sysdep_headers): Likewise.
49194         [generic bits/errno.h] (before-compile): Do not append to
49195         variable.
49196         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
49197         rule.
49198         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
49199         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
49200         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
49201         [generic bits/errno.h] (common-generated): Do not append to
49202         variable.
49203         [generic bits/ioctls.h] (before-compile): Do not append to
49204         variable.
49205         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
49206         rule.
49207         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
49208         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
49209         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
49210         rule.
49211         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
49212         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
49213         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
49214         [generic bits/ioctls.h] (common-generated): Do not append to
49215         variable.
49216         [generic sys/syscall.h] (syscall.h): Remove variable.
49217         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
49218         rule.
49219         [generic sys/syscall.h] (before-compile): Do not append to
49220         variable.
49221         [generic sys/syscall.h] (common-generated): Likewise.
49222         * sysdeps/unix/errnos-tmpl.c: Remove file.
49223         * sysdeps/unix/errnos.awk: Likewise.
49224         * sysdeps/unix/ioctls-tmpl.c: Likewise.
49225         * sysdeps/unix/ioctls.awk: Likewise.
49226         * sysdeps/unix/mk-local_lim.c: Likewise.
49227         * sysdeps/unix/snarf-ioctls: Likewise.
49229 2012-03-19  Richard Henderson  <rth@twiddle.net>
49231         * sysdeps/i386/fpu/fenv_private.h: New file.
49232         * sysdeps/i386/fpu/math_private.h: Use it.
49233         (math_opt_barrier, math_force_eval): Remove.
49234         (libc_feholdexcept_setround_53bit): Remove.
49235         (libc_feupdateenv_53bit): Remove.
49236         * sysdeps/x86_64/fpu/math_private.h: Likewise.
49237         (math_opt_barrier, math_force_eval): Remove.
49238         (libc_feholdexcept): Remove.
49239         (libc_feholdexcept_setround): Remove.
49240         (libc_fetestexcept, libc_fesetenv): Remove.
49241         (libc_feupdateenv_test): Remove.
49242         (libc_feupdateenv, libc_feholdsetround): Remove.
49243         (libc_feresetround): Remove.
49245         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
49246         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
49248         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
49249         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
49250         (libc_feupdateenv_testl): New.
49251         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
49252         (libc_feupdateenv_testf): New.
49253         (libc_feupdateenv): Use libc_feupdateenv_test.
49254         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
49255         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
49257         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
49258         (libc_feholdsetroundf, libc_feholdsetroundl): New.
49259         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
49260         (libc_feresetround_noex): New.
49261         (libc_feresetround_noexf): New.
49262         (libc_feresetround_noexl): New.
49263         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
49264         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
49265         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
49266         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
49267         SET_RESTORE_ROUND.
49268         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49269         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
49270         (__cos): Likewise.
49271         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
49272         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
49273         SET_RESTORE_ROUND_NOEX.
49274         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
49275         SET_RESTORE_ROUND_NOEXF.
49276         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
49277         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
49278         (libc_feholdsetroundf): New.
49279         (libc_feresetround, libc_feresetroundf): New.
49281         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
49282         (libc_feholdexcept_setround_53bit): Convert from macro to function.
49283         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
49285         * sysdeps/generic/math_private.h: Include <fenv.h>.
49286         (default_libc_feholdexcept): New.
49287         (default_libc_feholdexcept_setround): New.
49288         (default_libc_fesetenv, default_libc_feupdateenv): New.
49289         (libc_feholdexcept): Only define if undefined.
49290         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
49291         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
49292         (libc_feholdexcept_setroundl): Likewise.
49293         (libc_feholdexcept_setround_53bit): Likewise.
49294         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
49295         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
49296         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
49297         (libc_feupdateenv_53bit): Likewise.
49298         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
49299         (libc_feholdexcept): Convert from macro to inline function.
49300         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
49301         (libc_fesetenv, libc_feupdateenv): Likewise.
49303         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
49304         not previously defined.
49305         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
49306         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
49307         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
49308         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
49309         * sysdeps/ieee754/flt-32/math_private.h: New file.
49310         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
49311         math_private.h below SET_FLOAT_WORD.
49312         (__isnan, __isinf_ns, __finite): Remove.
49313         (__isnanf, __isinf_nsf, __finitef): Remove.
49315 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
49317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49319 2012-03-17  David S. Miller  <davem@davemloft.net>
49321         [BZ #6471]
49322         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
49323         for 2.16.
49325 2012-03-16  David S. Miller  <davem@davemloft.net>
49327         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
49328         warnings.
49330         [BZ #6471]
49331         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
49332         properly.
49333         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
49334         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
49335         sysdep_routines when subdir is sysvipc.
49336         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
49337         __getshmlba helper.
49339         * sysdeps/sparc/fpu/libm-test/ulps: Update.
49341 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
49343         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
49344         [__LP64__].
49346 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
49348         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
49349         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
49350         (__lround): Renamed to ...
49351         (__llround): This.  Replace long int with long long int.
49352         Define lround functions as aliases of llround functions.
49353         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
49355 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
49357         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
49358         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
49359         adresses to uintptr_t.  Replace "long int" and "unsigned long
49360         int" with "greg_t" on va_arg.
49362 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
49364         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
49365         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
49367         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
49368         Move e_machine check before EI_CLASS check.  Handle x32
49369         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
49370         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
49371         SKIP_EM_IA_64 and include
49372         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
49374         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
49375         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
49376         (add_system_dir): New macro.
49378         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
49379         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
49381 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
49383         [BZ #2551]
49384         [BZ #2552]
49385         [BZ #2553]
49386         [BZ #2554]
49387         [BZ #2562]
49388         [BZ #2563]
49389         [BZ #2565]
49390         [BZ #2566]
49391         [BZ #2576]
49392         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
49393         (y0): Likewise.
49394         * math/w_j0f.c (j0f): Likewise.
49395         (y0f): Likewise.
49396         * math/w_j0l.c (__j0l): Likewise.
49397         (__y0l): Likewise.
49398         * math/w_j1.c (j1): Likewise.
49399         (y1): Likewise.
49400         * math/w_j1f.c (j1f): Likewise.
49401         (y1f): Likewise.
49402         * math/w_j1l.c (__j1l): Likewise.
49403         (__y1l): Likewise.
49404         * math/w_jn.c (jn): Likewise.
49405         (yn): Likewise.
49406         * math/w_jnf.c (jnf): Likewise.
49407         (ynf): Likewise.
49408         * math/w_jnl.c (__jnl): Likewise.
49409         (__ynl): Likewise.
49410         * math/libm-test.inc (j0_test): Add more tests.
49411         (j1_test): Likewise.
49412         (jn_test): Likewise.  Add trailing semicolon to existing test.
49413         (y0_test): Likewise.
49414         (y1_test): Likewise.
49415         * sysdeps/i386/fpu/libm-test-ulps: Update.
49416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49418         [BZ #13851]
49419         [BZ #13854]
49420         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
49421         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
49422         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
49423         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
49424         (__tanl): Set errno for infinite argument.
49425         * sysdeps/i386/fpu/mptan.c: Remove.
49426         * sysdeps/i386/fpu/s_tan.S: Likewise.
49427         * sysdeps/i386/fpu/s_tanl.S: Likewise.
49428         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
49429         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
49430         * math/libm-test.inc (tan_test): Add more tests and enable more
49431         tests for double and long double.
49432         * sysdeps/i386/fpu/libm-test-ulps: Update.
49433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49435 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
49437         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
49438         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
49440 2012-03-16  Roland McGrath  <roland@hack.frob.com>
49442         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
49443         * configure.in: Use it for both main tree and add-ons.
49444         * configure: Regenerated.
49446 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
49448         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
49450 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
49452         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
49453         in comment.
49455         [BZ #13851]
49456         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
49457         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
49458         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
49459         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
49460         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
49461         infinite argument.
49462         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
49463         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
49464         != 0 for prec == 2.
49465         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
49466         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
49467         * sysdeps/i386/fpu/s_cosl.S: Likewise.
49468         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
49469         * sysdeps/i386/fpu/s_sinl.S: Likewise.
49470         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
49471         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
49472         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
49473         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
49474         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
49475         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
49476         * math/libm-test.inc (cos_test): Add more tests and enable more
49477         tests for long double.
49478         (sin_test): Likewise.
49479         (sincos_test): Likewise.
49480         * sysdeps/i386/fpu/libm-test-ulps: Update.
49481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49483 2012-03-16  David S. Miller  <davem@davemloft.net>
49485         * sysdeps/sparc/fpu/math_private.h: New file.
49487 2012-03-15  David S. Miller  <davem@davemloft.net>
49489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
49490         file.
49491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
49492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
49493         file.
49494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
49495         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
49496         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
49497         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
49498         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
49499         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
49500         sysdep routines.
49501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
49503         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
49504         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
49506         * sysdeps/sparc/sparc-ifunc.h: New file.
49507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
49508         sparc-ifunc.h
49509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
49510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
49511         Likewise.
49512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
49513         Likewise.
49514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
49515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
49516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49518         Likewise.
49519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
49521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
49523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
49524         Likewise.
49525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
49526         Likewise.
49527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
49529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
49530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
49531         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49532         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49533         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
49534         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
49535         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49536         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49537         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
49538         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
49539         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
49540         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
49541         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
49542         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
49543         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
49544         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
49545         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
49546         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
49547         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
49548         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
49549         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
49550         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
49552 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
49554         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
49555         scaling.
49556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49558 2012-03-15  Andreas Jaeger  <aj@suse.de>
49560         [BZ #13852]
49561         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
49562         ieee754/flt-32 implementation for sin, cos and sincos.
49563         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
49564         * sysdeps/i386/fpu/s_cosf.S: Likewise.
49565         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
49566         * sysdeps/i386/fpu/s_sinf.S: Likewise.
49567         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
49568         ieee754/flt-32 implementation for tan.
49570         * math/libm-test.inc (cos_test): Enable some large input tests for
49571         float as well
49572         (sin_test): Likewise.
49573         (sincos_test): Likewise.
49574         (tan_test): Add tests for large input.
49576         * sysdeps/i386/fpu/libm-test-ulps: Update.
49578 2012-03-15  Andreas Jaeger  <aj@suse.de>
49580         [BZ #13658]
49581         * math/libm-test.inc (cos_test): Add more test cases.
49582         (sin_test): Likewise.
49583         (sincos_test): Likewise.
49585 2012-03-15  Andreas Jaeger  <aj@suse.de>
49587         [BZ #13837]
49588         * math/libm-test.inc (cos_test): Add a test case for large input
49589         value.
49590         (sin_test): Likewise.
49591         (sincos_test): Likewise.
49593 2012-03-15  Andreas Jaeger  <aj@suse.de>
49594             Joseph Myers  <joseph@codesourcery.com>
49596         [BZ #13658]
49597         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
49598         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
49599         * sysdeps/i386/fpu/branred.c: Likewise.
49600         * sysdeps/i386/fpu/dosincos.c: Likewise.
49601         * sysdeps/i386/fpu/mpa.c: Likewise.
49602         * sysdeps/i386/fpu/s_cos.S: Likewise.
49603         * sysdeps/i386/fpu/s_sin.S: Likewise.
49604         * sysdeps/i386/fpu/s_sincos.S: Likewise.
49605         * sysdeps/i386/fpu/sincos32.c: Likewise.
49607         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
49608         Define.
49609         (libc_feupdateenv_53bit): Define.
49610         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
49611         Define.
49612         (libc_feupdateenv_53bit): Define.
49614         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
49615         53 bit (without extend i386 double precision).
49617         * math/libm-test.inc (sincos_test): Add tests for large input.
49618         (sin): Likewise.
49619         (cos): Likewise.
49621         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
49623 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
49625         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49627 2012-03-15  David S. Miller  <davem@davemloft.net>
49629         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
49630         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
49631         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
49632         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
49633         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
49634         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
49635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
49636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
49637         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
49638         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
49639         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
49640         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
49641         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
49642         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
49643         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
49644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
49645         file.
49646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
49647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
49648         file.
49649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
49650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
49651         file.
49652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
49653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
49654         file.
49655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
49656         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
49657         fmin/fmax sysdep routines.
49658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
49660 2012-03-14  David S. Miller  <davem@davemloft.net>
49662         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
49663         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
49664         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
49665         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
49666         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
49667         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
49668         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
49669         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
49670         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
49671         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
49672         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
49673         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
49674         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
49675         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
49676         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
49677         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
49678         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
49679         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
49680         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
49681         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
49682         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
49683         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
49684         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
49685         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
49686         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
49687         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
49688         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
49689         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
49690         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
49691         routines.
49692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
49693         file.
49694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
49695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
49696         file.
49697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
49698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
49699         file.
49700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
49701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
49702         file.
49703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
49704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
49705         file.
49706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
49707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
49708         file.
49709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
49710         file.
49711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
49712         file.
49713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
49714         file.
49715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
49716         New file.
49717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
49718         file.
49719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
49720         file.
49721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
49722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
49723         file.
49724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
49725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
49726         file.
49727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
49728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
49729         file.
49730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
49731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
49732         VIS3 routines.
49734         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
49735         New file.
49737         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49739         * sysdeps/sparc/configure.in: New file.
49740         * sysdeps/sparc/configure: Generate.
49741         * configure.in (libc_cv_sparc_as_vis3): Substitute.
49742         * configure: Regenerate.
49743         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
49744         * config.make.in (have-as-vis3): New.
49745         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
49746         available use -Av9d instead of -Av9a.
49747         * sysdeps/sparc/sparc64/Makefile: Likewise.
49748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
49749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
49750         New file.
49751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
49752         file.
49753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
49754         New file.
49755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
49756         file.
49757         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
49758         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
49759         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
49760         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
49761         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
49763         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
49764         fzeros/fnegs to load 0x80000000 into a float register instead of
49765         using the stack.
49766         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
49768 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
49770         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49771         bits/syscall.h.
49772         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
49773         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
49774         ($(inst_includedir)/bits/syscall.h): Remove rule.
49775         ($(objpfx)bits/syscall.d): Include instead of
49776         $(objpfx)syscall-list.d.
49777         (generated): Change syscall-list.h and syscall-list.d to
49778         bits/syscall.h and bits/syscall.d.
49780 2012-03-14  Roland McGrath  <roland@hack.frob.com>
49782         [BZ #13846]
49783         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
49785 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
49787         [BZ #13841]
49788         * math/s_csqrt.c: Include <float.h>.
49789         (__csqrt): Scale large or subnormal inputs.
49790         * math/s_csqrtf.c: Likewise.
49791         * math/s_csqrtl.c: Likewise.
49792         * math/libm-test.inc (csqrt_test): Add more tests.
49793         * sysdeps/i386/fpu/libm-test-ulps: Update.
49794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49796         [BZ #13840]
49797         * math/libm-test.inc (hypot_test): Add more tests.
49799 2012-03-13  David S. Miller  <davem@davemloft.net>
49801         [BZ #13840]
49802         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
49803         double-precision for the calculation instead of scaling.
49805 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
49807         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
49808         manipulate bits before adding and subtracting TWO52[sx].
49809         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
49810         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
49811         Likewise.
49812         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
49814 2012-03-13  David S. Miller  <davem@davemloft.net>
49816         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
49817         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
49818         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
49819         rtld-global-offsets.h
49820         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49822         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
49823         large parameters.
49825         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
49827         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
49828         'err' in the ifdef scope in which it is actually used.
49830         * nss/nss_db/db-init.c: Include string.h
49832 2012-03-12  David S. Miller  <davem@davemloft.net>
49834         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49835         masking out of the most significant byte of random value used.
49836         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49837         Fix coding style in previous change.
49839         * sysdeps/unix/sysv/linux/kernel-features.h
49840         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
49841         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
49842         expression.
49843         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
49844         later.
49846 2012-03-11  David S. Miller  <davem@davemloft.net>
49848         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
49849         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
49850         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
49851         for 'resultvar' otherwise things get truncated on 64-bit.
49853         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49854         Fix masking out of the most significant byte of random value used.
49856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49858 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
49860         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49862 2012-03-09  David S. Miller  <davem@davemloft.net>
49864         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
49865         variables with appropriate CPP guards.
49866         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
49867         from the frame pointer, not the stack pointer.  Correct layout
49868         comments.  Fix test on resulting framesize and the management of
49869         the outregs buffer for pltexit.  Preserve floating point return
49870         values across _dl_call_pltexit call.
49871         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
49872         framesize and the management of the outregs buffer for pltexit.
49873         Preserve floating point return values across _dl_call_pltexit
49874         call.
49875         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
49876         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
49877         (la_sparc64_gnu_pltexit): New functions.
49878         (print_exit): Fix format string for return register value.
49880 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
49882         * sunrpc/Makefile (others): Add rpcgen.
49883         ($(objpfx)rpcgen): Remove special build rule and dependency on
49884         libc.
49885         * sunrpc/rpcgen.c: New file.
49887 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
49889         [BZ #13673]
49890         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
49891         * stdio-common/bug-vfprintf-nargs.c: Likewise.
49892         * sysdeps/i386/crti.S: Likewise.
49893         * sysdeps/i386/crtn.S: Likewise.
49894         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
49895         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
49896         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
49897         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
49898         * sysdeps/sh/crti.S: Likewise.
49899         * sysdeps/sh/crtn.S: Likewise.
49900         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
49902         [BZ #13673]
49903         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
49904         with URL.
49905         * locale/programs/locfile-kw.gperf: Likewise.
49906         * locale/programs/charmap-kw.h: Regenerated.
49907         * locale/programs/locfile-kw.h: Likewise.
49909         [BZ #13673]
49910         * intl/plural.y: Replace FSF snail mail address with URL.
49911         * intl/plural.c: Regenerated.
49913 2012-03-09  Richard Henderson  <rth@twiddle.net>
49915         * include/math_private.h: Remove file.
49916         * math/math_private.h: Move file ...
49917         * sysdeps/generic/math_private.h: ... here.
49919         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
49920         * sysdeps/powerpc/fpu/math_private.h: Likewise.
49921         * sysdeps/x86_64/fpu/math_private.h: Likewise.
49923         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
49924         and <math_private.h>.
49925         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49926         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49927         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49928         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49929         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49930         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
49931         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49932         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49933         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49934         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49935         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49936         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49937         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49938         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49939         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49940         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49941         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49942         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49943         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49944         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49945         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49946         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49947         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49948         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49949         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
49950         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49951         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49952         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49953         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49954         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49955         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49956         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49957         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
49958         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49959         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49960         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49961         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49962         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49963         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49964         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49965         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
49966         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49967         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49968         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
49969         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
49970         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49971         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
49972         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
49973         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49974         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49975         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
49976         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
49977         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
49978         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49979         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
49980         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49981         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49982         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49983         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
49984         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
49985         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49986         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
49987         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49988         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49989         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
49990         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49991         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49992         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49993         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
49994         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
49995         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
49996         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49997         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
49998         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49999         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
50000         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
50001         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
50002         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50003         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
50004         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
50005         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50006         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
50007         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50008         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50009         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50010         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50011         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
50012         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
50013         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50014         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50015         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50016         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50017         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50018         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50019         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50020         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50021         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50022         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50023         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50024         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50025         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50026         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50027         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50028         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50029         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50030         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50031         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50032         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50033         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50034         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50035         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50036         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50037         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50038         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50039         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
50040         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50041         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50042         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50043         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50044         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50045         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50046         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50047         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50048         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
50049         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50050         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50051         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50052         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
50053         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50054         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
50055         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
50056         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50057         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50058         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
50059         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
50060         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50061         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50062         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50063         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
50064         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50065         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50066         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50067         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50068         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
50069         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
50070         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50071         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50072         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50073         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
50074         * sysdeps/ieee754/k_standard.c: Likewise.
50075         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50076         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50077         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50078         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50079         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50080         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50081         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50082         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50083         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50084         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50085         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50086         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50087         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50088         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50089         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50090         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50091         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50092         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50093         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50094         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
50095         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
50096         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
50097         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50098         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50099         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50100         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
50101         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50102         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50103         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50104         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50105         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50106         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50107         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50108         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50109         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50110         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50111         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50112         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
50113         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
50114         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50115         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50116         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50117         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50118         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50119         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50120         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50121         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50122         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50123         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50124         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50125         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50126         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50127         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50128         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
50129         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50130         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50131         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
50132         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
50133         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50134         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50135         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50136         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50137         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50138         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50139         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50140         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50141         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50142         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50143         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50144         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50145         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50146         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50147         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50148         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50149         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50150         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50151         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
50152         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50153         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50154         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50155         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50156         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50157         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50158         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50159         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
50160         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50161         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50162         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
50163         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
50164         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50165         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
50166         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50167         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
50168         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50169         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50170         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50171         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
50172         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
50173         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
50174         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
50175         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50176         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50177         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50178         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50179         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
50180         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50181         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50182         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
50183         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
50184         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50185         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50186         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50187         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50188         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50189         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50190         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50191         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50192         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50193         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50194         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50195         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50196         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50197         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50198         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50199         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50200         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
50201         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50202         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50203         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50204         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50205         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50206         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50207         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50208         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50209         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50210         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50211         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
50212         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50213         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50214         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
50215         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
50216         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50217         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
50218         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
50219         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50220         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50221         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50222         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50223         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50224         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
50225         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50226         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50227         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50228         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50229         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
50230         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
50231         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50232         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50233         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50234         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50235         * sysdeps/ieee754/s_lib_version.c: Likewise.
50236         * sysdeps/ieee754/s_matherr.c: Likewise.
50237         * sysdeps/ieee754/s_signgam.c: Likewise.
50238         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50239         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50240         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
50241         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
50242         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
50243         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50244         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
50245         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
50246         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
50247         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
50248         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50249         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
50250         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50251         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50252         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
50253         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50254         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50255         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50256         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50257         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50258         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50260 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
50262         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
50263         * sunrpc/rpc_main.c: Likewise.
50264         * sunrpc/rpc_svcout.c: Likewise.
50266 2012-03-09  David S. Miller  <davem@davemloft.net>
50268         * include/math_private.h: New file.
50270 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
50272         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
50273         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
50274         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
50275         from <bits/socket_type.h>.
50276         (enum __socket_type): Don't define here.
50277         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
50278         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50279         bits/socket_type.h.
50281         [BZ #13566]
50282         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
50283         checking __USE_GNU.
50285         * Makerules ($(inst_includedir)/%.h): New rule.
50286         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
50287         (install-others): Remove variable setting.
50288         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
50290 2012-03-08  Richard Henderson  <rth@twiddle.net>
50292         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
50293         from macro to inline function; merge with the
50294         !__LIBC_INTERNAL_MATH_INLINES version.
50295         (__ieee754_sqrtf): Likewise.
50297         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
50298         to inline function.
50299         (__rintf, __floor, __floorf): Likewise.
50301         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
50302         macro to inline function.
50303         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
50305         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
50306         not <math/math_private.h>.
50308 2012-03-08  David S. Miller  <davem@davemloft.net>
50310         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
50311         copyright year.
50312         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
50314 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
50316         * resolv/gai_misc.c (handle_requests): Fix struct timespec
50317         normalization.
50318         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
50319         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
50321 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
50323         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
50324         be defined individually, they must be defined as a block.  Define
50325         S for printing a string instead of hidint the different by using a
50326         macro for adding the 'l'.
50327         * stdio-common/tst-fphex-wide.c: Adjust.
50329 2012-03-07  Marek Polacek  <polacek@redhat.com>
50331         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
50333 2012-03-08  Marek Polacek  <polacek@redhat.com>
50335         [BZ #13806]
50336         * stdio-common/Makefile (tests): Add tst-fphex-wide.
50337         * stdio-common/tst-fphex.c: Define a few macros to make the
50338         test reusable.  Use them.
50339         * stdio-common/tst-fphex-wide.c: New file.
50341 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
50343         [BZ #6911]
50344         * manual/macros.texi (gnusystems): New macro.
50345         (nongnusystems): Likewise.
50346         (gnulinuxhurdsystems): Likewise.
50347         (gnuhurdsystems): Likewise..
50348         (gnulinuxsystems): Likewise.
50349         * manual/charset.texi: Use new macros or @theglibc{} to refer to
50350         variants of the GNU system, not "GNU system".
50351         * manual/conf.texi: Likewise.
50352         * manual/errno.texi: Likewise.  Update example of errno macro
50353         expansion.
50354         * manual/filesys.texi: Likewise.
50355         (getumask): Document as specific to GNU/Hurd.
50356         * manual/install.texi: Likewise.  Reword some references to
50357         GNU/Linux.
50358         * manual/intro.texi: Likewise.
50359         * manual/io.texi: Likewise.
50360         (File Name Portability): Detail which constraints are inapplicable
50361         to all GNU systems and which are only inapplicable to GNU/Hurd.
50362         * manual/job.texi: Likewise.
50363         * manual/llio.texi: Likewise.
50364         (O_NOCTTY): Document as present on GNU/Linux.
50365         * manual/maint.texi: Likewise.
50366         * manual/memory.texi: Likewise.
50367         * manual/pattern.texi: Likewise.
50368         * manual/pipe.texi: Likewise.
50369         * manual/process.texi: Likewise.
50370         * manual/resource.texi: Likewise.
50371         (RUSAGE_CHILDREN): Remove statement about specifying a particular
50372         child on GNU/Hurd.
50373         * manual/setjmp.texi: Likewise.
50374         * manual/signal.texi: Likewise.
50375         * manual/startup.texi: Likewise.
50376         * manual/stdio.texi: Likewise.
50377         * manual/terminal.texi: Likewise.
50378         (ONLCR): Document as POSIX.
50379         (OXTABS): Document availability on GNU/Linux as XTABS.
50380         (ONOEOT): Document availability separately from other bits.
50381         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
50382         * manual/time.texi: Likewise.
50383         * manual/users.texi: Likewise.
50384         * INSTALL: Regenerated.
50385         * sysdeps/gnu/errlist.c: Regenerated.
50387         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
50388         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
50389         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
50390         puts.
50391         * configure: Regenerated.
50393 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
50395         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
50396         default includes instead of AC_HEADER_CHECK.
50397         * sysdeps/i386/configure: Regenerated.
50399         [BZ #10716]
50400         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
50401         * math/s_cacoshf.c (__cacoshf): Likewise.
50402         * math/s_cacoshl.c (__cacoshl): Likewise.
50403         * math/s_casinh.c (__casinh): Set signs of result from argument.
50404         * math/s_casinhf.c (__casinhf): Likewise.
50405         * math/s_casinhl.c (__casinhl): Likewise.
50406         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
50407         (casinh_test): Add more tests.
50408         * sysdeps/i386/fpu/libm-test-ulps: Update.
50409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50411 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
50413         * po/zh_TW.po: Update from translation team.
50415         * login/Makefile (distribute): Remove variable.
50416         * catgets/Makefile: Likewise.
50417         * mach/Makefile: Likewise.
50418         * malloc/Makefile: Likewise.
50419         * misc/Makefile: Likewise.
50420         * iconv/Makefile: Likewise.
50421         * nscd/Makefile: Likewise.
50422         * hurd/Makefile: Likewise.
50423         * manual/Makefile: Likewise.
50424         * locale/Makefile: Likewise.
50425         * intl/Makefile: Likewise.
50426         * conform/Makefile: Likewise.
50427         * nss/Makefile: Likewise.
50428         * time/Makefile: Likewise.
50429         * soft-fp/Makefile: Likewise.
50430         * dirent/Makefile: Likewise.
50431         * gmon/Makefile: Likewise.
50432         * po/Makefile: Likewise.
50433         * rt/Makefile: Likewise.
50434         * socket/Makefile: Likewise.
50435         * math/Makefile: Likewise.
50436         * signal/Makefile: Likewise.
50437         * debug/Makefile: Likewise.
50438         * elf/Makefile: Likewise.
50439         * timezone/Makefile: Likewise.
50440         * stdlib/Makefile: Likewise.
50441         * iconvdata/Makefile: Likewise.
50442         * sunrpc/Makefile: Likewise.
50443         * io/Makefile: Likewise.
50444         * argp/Makefile: Likewise.
50445         * inet/Makefile: Likewise.
50446         * hesiod/Makefile: Likewise.
50447         * grp/Makefile: Likewise.
50448         * csu/Makefile: Likewise.
50449         * wctype/Makefile: Likewise.
50450         * crypt/Makefile: Likewise.
50451         * libio/Makefile: Likewise.
50452         * string/Makefile: Likewise.
50453         * nis/Makefile: Likewise.
50454         * resolv/Makefile: Likewise.
50455         * stdio-common/Makefile: Likewise.
50456         * wcsmbs/Makefile: Likewise.
50457         * dlfcn/Makefile: Likewise.
50458         * posix/Makefile: Likewise.
50460         [BZ #6959]
50461         * timezone/Makefile: Don't install timezone files, just the programs
50462         and scripts.
50464 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
50466         * nss/databases.def: Add missing gshadow entry.
50468         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
50470 2012-03-06  Marek Polacek  <polacek@redhat.com>
50472         [BZ #13726]
50473         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
50474         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
50475         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
50476         * stdio-common/tst-long-dbl-fphex.c: New file.
50478 2012-03-06  David S. Miller  <davem@davemloft.net>
50480         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50481         (set_obp_int): New function.
50482         (get_obp_int): New function.
50483         (__get_clockfreq_via_dev_openprom): Likewise.
50484         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
50485         Avoid unused variable warnings on 'val' and use builtin_expect.
50486         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
50487         __builtin_expect.
50488         (INLINE_CLONE_SYSCALL): Likewise.
50490 2012-03-05  David S. Miller  <davem@davemloft.net>
50492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50494 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
50496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50498         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
50499         only for |x| >= 40.
50500         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50502 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
50504         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
50505         Replace gettimeofday with __vdso_gettimeofday.
50507         * sysdeps/unix/sysv/linux/x86_64/init-first.c
50508         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
50509         __vdso_clock_gettime and __vdso_getcpu.
50511         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
50512         time with __vdso_time.
50514 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
50516         * manual/lang.texi (size_t): Note types to which size_t may be
50517         equivalent with the GNU C Library, but do not describe when
50518         differences between them are significant.
50520 2012-03-05  Andreas Jaeger  <aj@suse.de>
50522         * sysdeps/i386/fpu/libm-test-ulps: Update.
50524 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
50526         [BZ #3976]
50527         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
50528         (__ieee754_pow): Save and restore rounding mode and use
50529         round-to-nearest for main computations.
50530         * math/libm-test.inc (pow_test_tonearest): New function.
50531         (pow_test_towardzero): Likewise.
50532         (pow_test_downward): Likewise.
50533         (pow_test_upward): Likewise.
50534         (main): Call the new functions.
50535         * sysdeps/i386/fpu/libm-test-ulps: Update.
50536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50538         [BZ #3976]
50539         * math/libm-test.inc (cosh_test_tonearest): New function.
50540         (cosh_test_towardzero): Likewise.
50541         (cosh_test_downward): Likewise.
50542         (cosh_test_upward): Likewise.
50543         (sinh_test_tonearest): Likewise.
50544         (sinh_test_towardzero): Likewise.
50545         (sinh_test_downward): Likewise.
50546         (sinh_test_upward): Likewise.
50547         (main): Call the new functions.
50548         * sysdeps/i386/fpu/libm-test-ulps: Update.
50549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50551 2012-03-05  Tom de Vries  <tom@codesourcery.com>
50553         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
50554         default stack guard is set in last bytes.
50555         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
50557 2012-03-05  Kees Cook  <keescook@chromium.org>
50559         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
50561         [BZ #13656]
50562         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
50563         possibly allocate from heap instead of stack.
50564         * stdio-common/bug-vfprintf-nargs.c: New file.
50565         * stdio-common/Makefile (tests): Add nargs overflow test.
50567 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
50569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50571 2012-03-03  Marek Polacek  <polacek@redhat.com>
50573         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
50574         * math/math_private.h: Likewise.
50575         * stdlib/tst-strtod.c: Likewise.
50576         * sysdeps/i386/i486/bits/atomic.h: Likewise.
50577         * sysdeps/x86_64/bits/atomic.h: Likewise.
50579 2012-03-02  David S. Miller  <davem@davemloft.net>
50581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
50582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
50583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
50584         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
50585         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
50586         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
50587         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
50588         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
50590 2012-03-02  Roland McGrath  <roland@hack.frob.com>
50592         [BZ #13792]
50593         * manual/examples/README: New file, says the example source files
50594         can be used under GPL>=2.
50595         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
50596         line containing just "*/".
50597         * manual/examples/add.c: Add copyright header (GPL>=2).
50598         * manual/examples/argp-ex1.c: Likewise.
50599         * manual/examples/argp-ex2.c: Likewise.
50600         * manual/examples/argp-ex3.c: Likewise.
50601         * manual/examples/argp-ex4.c: Likewise.
50602         * manual/examples/atexit.c: Likewise.
50603         * manual/examples/db.c: Likewise.
50604         * manual/examples/dir.c: Likewise.
50605         * manual/examples/dir2.c: Likewise.
50606         * manual/examples/execinfo.c: Likewise.
50607         * manual/examples/filecli.c: Likewise.
50608         * manual/examples/filesrv.c: Likewise.
50609         * manual/examples/fmtmsgexpl.c: Likewise.
50610         * manual/examples/genpass.c: Likewise.
50611         * manual/examples/inetcli.c: Likewise.
50612         * manual/examples/inetsrv.c: Likewise.
50613         * manual/examples/isockad.c: Likewise.
50614         * manual/examples/longopt.c: Likewise.
50615         * manual/examples/memopen.c: Likewise.
50616         * manual/examples/memstrm.c: Likewise.
50617         * manual/examples/mkfsock.c: Likewise.
50618         * manual/examples/mkisock.c: Likewise.
50619         * manual/examples/mygetpass.c: Likewise.
50620         * manual/examples/pipe.c: Likewise.
50621         * manual/examples/popen.c: Likewise.
50622         * manual/examples/rprintf.c: Likewise.
50623         * manual/examples/search.c: Likewise.
50624         * manual/examples/select.c: Likewise.
50625         * manual/examples/setjmp.c: Likewise.
50626         * manual/examples/sigh1.c: Likewise.
50627         * manual/examples/sigusr.c: Likewise.
50628         * manual/examples/stpcpy.c: Likewise.
50629         * manual/examples/strdupa.c: Likewise.
50630         * manual/examples/strftim.c: Likewise.
50631         * manual/examples/strncat.c: Likewise.
50632         * manual/examples/subopt.c: Likewise.
50633         * manual/examples/swapcontext.c: Likewise.
50634         * manual/examples/termios.c: Likewise.
50635         * manual/examples/testopt.c: Likewise.
50636         * manual/examples/testpass.c: Likewise.
50637         * manual/examples/timeval_subtract.c: Likewise.
50639         [BZ #13792]
50640         * manual/time.texi (Elapsed Time): Move timeval_subtract example
50641         function to ...
50642         * manual/timeval_subtract.c.texi: ... here, new file.
50644 2012-03-02  David S. Miller  <davem@davemloft.net>
50646         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
50648 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
50650         [BZ #3976]
50651         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
50652         (__sin): Save and restore rounding mode and use round-to-nearest
50653         for all computations.
50654         (__cos): Save and restore rounding mode and use round-to-nearest
50655         for all computations.
50656         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
50657         <fenv.h>.
50658         (tan): Save and restore rounding mode and use round-to-nearest for
50659         all computations.
50660         * math/libm-test.inc (cos_test_tonearest): New function.
50661         (cos_test_towardzero): Likewise.
50662         (cos_test_downward): Likewise.
50663         (cos_test_upward): Likewise.
50664         (sin_test_tonearest): Likewise.
50665         (sin_test_towardzero): Likewise.
50666         (sin_test_downward): Likewise.
50667         (sin_test_upward): Likewise.
50668         (tan_test_tonearest): Likewise.
50669         (tan_test_towardzero): Likewise.
50670         (tan_test_downward): Likewise.
50671         (tan_test_upward): Likewise.
50672         (main): Call the new functions.
50673         * sysdeps/i386/fpu/libm-test-ulps: Update.
50674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50676         [BZ #10135]
50677         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
50678         small n, then large n, before computing and testing k+n.
50679         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
50680         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
50681         Likewise.
50682         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
50683         Likewise.
50684         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
50685         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
50686         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
50687         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
50688         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
50689         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
50690         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
50691         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
50692         * math/libm-test.inc (scalbn_test): Add more tests.
50693         (scalbln_test): Likewise.
50695         * manual/filesys.texi (mode_t): Describe constraints on size and
50696         signedness, not exact equivalence to a particular type.
50697         (ino_t): Likewise.
50698         (ino64_t): Likewise.
50699         (dev_t): Likewise.
50700         (nlink_t): Likewise.
50701         (blkcnt_t): Likewise.
50702         (blkcnt64_t): Likewise.
50703         * manual/llio.texi (off_t): Likewise.
50705         [BZ #3976]
50706         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
50707         (__ieee754_exp): Save and restore rounding mode and use
50708         round-to-nearest for all computations.
50709         * math/libm-test.inc (exp_test_tonearest): New function.
50710         (exp_test_towardzero): Likewise.
50711         (exp_test_downward): Likewise.
50712         (exp_test_upward): Likewise.
50713         (main): Call the new functions.
50714         * sysdeps/i386/fpu/libm-test-ulps: Update.
50715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50717 2012-03-01  Chris Demetriou  <cgd@google.com>
50719         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
50720         have predictable order.
50722 2012-03-01  David S. Miller  <davem@davemloft.net>
50724         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
50726         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
50727         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
50728         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
50729         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
50731         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
50732         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
50733         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
50734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
50735         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
50736         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
50737         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
50738         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
50739         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
50741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50743         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
50744         * sysdeps/sparc/fpu/libm-test-ulps: to here.
50745         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
50747         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
50748         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50749         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50750         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
50751         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
50752         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
50753         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
50754         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50755         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50756         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
50757         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
50758         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50759         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50760         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50761         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50762         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50763         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
50764         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
50765         * sysdeps/sparc/elf/configure: Regenerated.
50767 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
50769         * configure.in (AS, LD): Require binutils 2.20 or later.
50770         * configure: Regenerated.
50771         * manual/install.texi (Tools for Compilation): Give binutils 2.20
50772         as required minimum version.
50773         * INSTALL: Regenerated.
50775         [BZ #2541]
50776         [BZ #4108]
50777         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
50778         before squaring exponent.
50779         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
50780         bottom long double and 27 bits of top long double before squaring
50781         exponent.
50782         * math/libm-test.inc (erfc_test): Add more tests.
50783         * sysdeps/i386/fpu/libm-test-ulps: Update.
50784         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50787 2012-03-01  Kai Tietz  <ktietz@redhat.com>
50789         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
50790         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
50791         containing bit-fields.
50792         * soft-fp/extended.h (_FP_UNION_E): Likewise.
50793         * soft-fp/single.h (_FP_UNION_S): Likewise.
50794         * soft-fp/double.h (_FP_UNION_D): Likewise.
50796 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
50798         [BZ #13786]
50799         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
50800         not include ../strcmp.S.
50801         [USE_AS_STRNCASECMP_L]: Likewise.
50802         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
50803         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
50804         * sysdeps/i386/i686/multiarch/strncase_l-c.c
50805         (__strncasecmp_l_ia32): Define as alias to
50806         __strncasecmp_l_nonascii.
50808         [BZ #5794]
50809         * math/libm-test.inc (expm1_test): Add test for bug 5794.
50810         * sysdeps/i386/fpu/libm-test-ulps: Update.
50811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50813         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
50814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50816 2012-02-29  Jeff Law  <law@redhat.com>
50818         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
50819         out of bounds read.
50821 2012-02-29  Marek Polacek  <polacek@redhat.com>
50823         [BZ #13706]
50824         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
50825         * elf/Makefile: Add rules to run tst-unused-dep.out.
50827 2012-02-28  David S. Miller  <davem@davemloft.net>
50829         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
50830         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
50831         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
50832         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
50833         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
50834         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
50836 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
50838         * math/libm-test.inc (llround_test): Move one test from
50839         lround_test.  Use TEST_f_L in moved test.
50840         (lround_test): Move misplaced test to llround_test.  Add testcase
50841         from bug 2561.
50843 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
50845         * sysdeps/x86_64/fpu/e_expf.S: New file.
50846         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
50848 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
50850         [BZ #13637]
50851         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
50852         of remain_len that may cause incomplete multi-byte character and
50853         false match.
50854         * posix/bug-regex33.c: New file.
50855         * posix/Makefile (tests): Add bug-regex33.
50857 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
50859         * manual/macros.texi: New file.
50860         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
50861         * manual/libc.texinfo: Include macros.texi.
50862         * manual/creatute.texi: Likewise.
50863         * manual/install.texi: Likewise.
50864         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
50865         @glibcadj{} in references to the GNU C Library.
50866         * manual/charset.texi: Likewise.
50867         * manual/conf.texi: Likewise.
50868         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
50869         when not using those macros.
50870         * manual/creature.texi: Likewise.
50871         * manual/crypt.texi: Likewise.
50872         * manual/errno.texi: Likewise.
50873         * manual/filesys.texi: Likewise.
50874         * manual/header.texi: Likewise.
50875         * manual/install.texi: Likewise.
50876         * manual/intro.texi: Likewise.
50877         * manual/io.texi: Likewise.
50878         * manual/job.texi: Likewise.
50879         * manual/lang.texi: Likewise.
50880         * manual/libc.texiinfo: Likewise.
50881         * manual/llio.texi: Likewise.
50882         * manual/locale.texi: Likewise.
50883         * manual/maint.texi: Likewise.
50884         * manual/math.texi: Likewise.
50885         * manual/memory.texi: Likewise.
50886         * manual/message.texi: Likewise.
50887         * manual/nss.texi: Likewise.
50888         * manual/pattern.texi: Likewise.
50889         * manual/process.texi: Likewise.
50890         * manual/resource.texi: Likewise.
50891         * manual/search.texi: Likewise.
50892         * manual/setjmp.texi: Likewise.
50893         * manual/signal.texi: Likewise.
50894         * manual/socket.texi: Likewise.
50895         * manual/startup.texi: Likewise.
50896         * manual/stdio.texi: Likewise.
50897         * manual/string.texi: Likewise.
50898         * manual/sysinfo.texi: Likewise.
50899         * manual/syslog.texi: Likewise.
50900         * manual/terminal.texi: Likewise.
50901         * manual/time.texi: Likewise.
50902         * manual/users.texi: Likewise.
50903         * INSTALL: Regenerated.
50904         * NOTES: Regenerated.
50905         * sysdeps/gnu/errlist.c: Regenerated.
50907 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
50909         * include/dirent.h: Include <dirstream.h> before
50910         <dirent/dirent.h>.
50912 2012-02-28  David S. Miller  <davem@davemloft.net>
50914         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
50915         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
50916         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
50917         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
50919 2012-02-27  David S. Miller  <davem@davemloft.net>
50921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
50922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
50923         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
50924         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
50926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
50927         frame pointer instead of stack pointer relative arg slot.
50928         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50929         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50930         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50932 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
50934         [BZ #3992]
50935         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
50937 2012-02-27  David S. Miller  <davem@davemloft.net>
50939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
50940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50941         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
50943         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50944         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50945         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
50946         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
50948 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
50950         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
50951         later.  Allow versions 5-9.
50952         * configure: Regenerated.
50953         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
50954         required minimum version and 4.6 as recommended version.  Do not
50955         mention bugs in GCC 2.7 and 2.8.
50956         * INSTALL: Regenerated.
50958 2012-02-27  David S. Miller  <davem@davemloft.net>
50960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
50961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
50962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
50963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
50964         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
50965         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
50966         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
50967         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
50969         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
50970         manipulate bits before adding and subtracting TWO112[sx].
50971         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50973 2012-02-27  Roland McGrath  <roland@hack.frob.com>
50975         [BZ #13775]
50976         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
50977         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
50978         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
50979         being in POSIX, because they are in 1003.1-2008.
50981         * rt/tst-aio.c: Include <fcntl.h>.
50982         * rt/tst-aio7.c: Likewise.
50983         * rt/tst-aio64.c: Likewise.
50985         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
50987 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
50989         * manual/install.texi (--with-headers): Describe headers as
50990         interface headers, not private headers.
50991         (Specific advice for GNU/Linux systems): Describe use of headers
50992         from "make headers_install", not private headers from older
50993         kernels.
50994         * INSTALL: Regenerated.
50995         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
50996         Change to 2.6.19.
50997         * sysdeps/unix/sysv/linux/configure: Regenerated.
50999         * manual/llio.texi (fclean): Remove documentation.
51001         * manual/Makefile (libc-texi-generated): New variable.  Include
51002         version.texi.
51003         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
51004         $(libc-texi-generated), not duplicated list of files.
51005         (version.texi, stamp-version): New rules.
51006         (realclean): Remove $(libc-texi-generated), not individual files
51007         from that list.  Do not remove dir-add.texinfo.
51008         * manual/libc.texinfo: Comment out uses of edition numbers and
51009         references to printed manual.  Remove last-updated dates.
51010         (EDITION): Comment out.
51011         (ISBN): Likewise.
51012         (VERSION, UPDATED): Remove.
51013         (version.texi): Include.
51015 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
51017         * sysdeps/posix/spawni.c: Include <signal.h>.
51018         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
51019         * sysdeps/pthread/aio_fsync.c: Likewise.
51021 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
51023         * conform/Makefile (tests): Run only when not cross-compiling and
51024         when fast-check is not defined.
51026         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
51027         * conform/data/limits.h-data: Fixes for POSIX2008.
51028         * conform/run-conformtest.sh: Run all tests.
51029         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
51030         headers.
51031         * include/bits/dlfcn.h: Likewise.
51032         * include/langinfo.h: Likewise.
51033         * include/monetary.h: Likewise.
51034         * include/sys/poll.h: Likewise.
51036         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
51037         for __USE_GNU.
51038         * posix/spawn.h: Define __need_sigset_t.
51039         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
51040         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
51041         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
51042         to get sigevent_t only.
51043         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
51044         only for __USE_GNU.
51045         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51046         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51047         process_vm_writev only for __USE_GNU.
51048         * termios/termios.h: Declare tcgetsid also for POSIX2008.
51050         * conform/Makefile: For now ignore errors from run-conformtest.
51051         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
51052         POSIX to avoid namespace pollution.  Don't prepend headers.
51053         * conform/data/aio.h-data: Fixes for POSIX testing.
51054         * conform/data/fcntl.h-data: Likewise.
51055         * conform/data/glob.h-data: Likewise.
51056         * conform/data/grp.h-data: Likewise.
51057         * conform/data/pthread.h-data: Likewise.
51058         * conform/data/pwd.h-data: Likewise.
51059         * conform/data/signal.h-data: Likewise.
51060         * conform/data/spawn.h-data: Likewise.
51061         * conform/data/stdio.h-data: Likewise.
51062         * conform/data/stdlib.h-data: Likewise.
51063         * conform/data/stropts.h-data: Likewise.
51064         * conform/data/sys/mman.h-data: Likewise.
51065         * conform/data/sys/stat.h-data: Likewise.
51066         * conform/data/sys/types.h-data: Likewise.
51067         * conform/data/sys/wait.h-data: Likewise.
51068         * conform/data/time.h-data: Likewise.
51069         * conform/data/unistd.h-data: Likewise.
51070         * conform/data/utime.h-data: Likewise.
51072         * io/sys/stat.h: fchmod was always in POSIX.
51073         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
51074         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
51075         * rt/aio.h: Define __need_timespec before including <time.h>.
51076         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
51077         struct.  Add forward declaration of pthread_attr_t and use it in
51078         sigevent.
51079         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51080         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51081         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
51082         always remove CLK_TCK definition.
51084 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
51086         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
51088 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
51090         * conform/run-conformtest.sh: New file.
51091         * conform/Makefile: Run run-conformtest for tests.
51092         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
51093         support.
51095         * conform/data/uchar.h-data: New file.
51096         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
51097         * conform/data/arpa/inet.h-data: Likewise.
51098         * conform/data/assert.h-data: Likewise.
51099         * conform/data/complex.h-data: Likewise.
51100         * conform/data/cpio.h-data: Likewise.
51101         * conform/data/ctype.h-data: Likewise.
51102         * conform/data/dirent.h-data: Likewise.
51103         * conform/data/dlfcn.h-data: Likewise.
51104         * conform/data/errno.h-data: Likewise.
51105         * conform/data/fcntl.h-data: Likewise.
51106         * conform/data/float.h-data: Likewise.
51107         * conform/data/fmtmsg.h-data: Likewise.
51108         * conform/data/fnmatch.h-data: Likewise.
51109         * conform/data/ftw.h-data: Likewise.
51110         * conform/data/glob.h-data: Likewise.
51111         * conform/data/grp.h-data: Likewise.
51112         * conform/data/iconv.h-data: Likewise.
51113         * conform/data/inttypes.h-data: Likewise.
51114         * conform/data/langinfo.h-data: Likewise.
51115         * conform/data/libgen.h-data: Likewise.
51116         * conform/data/limits.h-data: Likewise.
51117         * conform/data/locale.h-data: Likewise.
51118         * conform/data/math.h-data: Likewise.
51119         * conform/data/monetary.h-data: Likewise.
51120         * conform/data/mqueue.h-data: Likewise.
51121         * conform/data/ndbm.h-data: Likewise.
51122         * conform/data/net/if.h-data: Likewise.
51123         * conform/data/netdb.h-data: Likewise.
51124         * conform/data/netinet/in.h-data: Likewise.
51125         * conform/data/nl_types.h-data: Likewise.
51126         * conform/data/poll.h-data: Likewise.
51127         * conform/data/pthread.h-data: Likewise.
51128         * conform/data/pwd.h-data: Likewise.
51129         * conform/data/regex.h-data: Likewise.
51130         * conform/data/sched.h-data: Likewise.
51131         * conform/data/search.h-data: Likewise.
51132         * conform/data/semaphore.h-data: Likewise.
51133         * conform/data/setjmp.h-data: Likewise.
51134         * conform/data/signal.h-data: Likewise.
51135         * conform/data/spawn.h-data: Likewise.
51136         * conform/data/stdarg.h-data: Likewise.
51137         * conform/data/stdio.h-data: Likewise.
51138         * conform/data/stdlib.h-data: Likewise.
51139         * conform/data/string.h-data: Likewise.
51140         * conform/data/strings.h-data: Likewise.
51141         * conform/data/stropts.h-data: Likewise.
51142         * conform/data/sys/ipc.h-data: Likewise.
51143         * conform/data/sys/mman.h-data: Likewise.
51144         * conform/data/sys/msg.h-data: Likewise.
51145         * conform/data/sys/resource.h-data: Likewise.
51146         * conform/data/sys/select.h-data: Likewise.
51147         * conform/data/sys/sem.h-data: Likewise.
51148         * conform/data/sys/shm.h-data: Likewise.
51149         * conform/data/sys/socket.h-data: Likewise.
51150         * conform/data/sys/stat.h-data: Likewise.
51151         * conform/data/sys/statvfs.h-data: Likewise.
51152         * conform/data/sys/time.h-data: Likewise.
51153         * conform/data/sys/timeb.h-data: Likewise.
51154         * conform/data/sys/times.h-data: Likewise.
51155         * conform/data/sys/types.h-data: Likewise.
51156         * conform/data/sys/uio.h-data: Likewise.
51157         * conform/data/sys/un.h-data: Likewise.
51158         * conform/data/sys/utsname.h-data: Likewise.
51159         * conform/data/sys/wait.h-data: Likewise.
51160         * conform/data/syslog.h-data: Likewise.
51161         * conform/data/tar.h-data: Likewise.
51162         * conform/data/termios.h-data: Likewise.
51163         * conform/data/utime.h-data: Likewise.
51164         * conform/data/utmpx.h-data: Likewise.
51165         * conform/data/varargs.h-data: Likewise.
51166         * conform/data/wchar.h-data: Likewise.
51167         * conform/data/wctype.h-data: Likewise.
51168         * conform/data/wordexp.h-data: Likewise.
51170         * include/stropts.h: New file.
51171         * include/uchar.h: New file.
51172         * include/aio.h: Changes to allow conformtest.pl to use the headers.
51173         * include/assert.h: Likewise.
51174         * include/ctype.h: Likewise.
51175         * include/dirent.h: Likewise.
51176         * include/dlfcn.h: Likewise.
51177         * include/fcntl.h: Likewise.
51178         * include/fnmatch.h: Likewise.
51179         * include/glob.h: Likewise.
51180         * include/grp.h: Likewise.
51181         * include/libio.h: Likewise.
51182         * include/locale.h: Likewise.
51183         * include/math.h: Likewise.
51184         * include/net/if.h: Likewise.
51185         * include/netdb.h: Likewise.
51186         * include/netinet/in.h: Likewise.
51187         * include/pthread.h: Likewise.
51188         * include/pwd.h: Likewise.
51189         * include/regex.h: Likewise.
51190         * include/sched.h: Likewise.
51191         * include/search.h: Likewise.
51192         * include/setjmp.h: Likewise.
51193         * include/signal.h: Likewise.
51194         * include/stdio.h: Likewise.
51195         * include/stdlib.h: Likewise.
51196         * include/string.h: Likewise.
51197         * include/sys/cdefs.h: Likewise.
51198         * include/sys/mman.h: Likewise.
51199         * include/sys/msg.h: Likewise.
51200         * include/sys/resource.h: Likewise.
51201         * include/sys/select.h: Likewise.
51202         * include/sys/socket.h: Likewise.
51203         * include/sys/stat.h: Likewise.
51204         * include/sys/statvfs.h: Likewise.
51205         * include/sys/time.h: Likewise.
51206         * include/sys/times.h: Likewise.
51207         * include/sys/uio.h: Likewise.
51208         * include/sys/utsname.h: Likewise.
51209         * include/sys/wait.h: Likewise.
51210         * include/termios.h: Likewise.
51211         * include/time.h: Likewise.
51212         * include/ulimit.h: Likewise.
51213         * include/unistd.h: Likewise.
51214         * include/utime.h: Likewise.
51215         * include/wchar.h: Likewise.
51216         * include/wctype.h: Likewise.
51217         * include/wordexp.h: Likewise.
51219         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
51221         * time/time.h: TIME_UTC must be a macro.
51222         Make timespec_get available for ISO C11 only as well.
51224 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
51226         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
51227         Reported by Peng Haitao <penght@cn.fujitsu.com>.
51229 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
51231         * configure.in: Use -o not -a in test for unsupported multi-arch.
51233 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
51235         * manual/texinfo.tex: Update to version 2012-01-19.16.
51237 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
51239         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
51241 2012-02-24  Roland McGrath  <roland@hack.frob.com>
51243         [BZ #13738]
51244         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
51245         * manual/fdl-1.3.texi: New file.
51246         * manual/fdl-1.1.texi: File removed.
51248         [BZ #13738]
51249         * manual/libc.texinfo (FDL_VERSION): New @set.
51250         Use it for mention of FDL in cover text.
51251         (Documentation License): Use it in @include file name.
51253 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
51254             Roland McGrath  <roland@hack.frob.com>
51256         [BZ #5461]
51257         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
51258         (not LONG_LONG_MAX and LONG_LONG_MIN.
51259         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
51260         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
51261         name.
51262         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
51264 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
51266         [BZ #2547]
51267         [BZ #11365]
51268         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
51269         manipulate bits before adding and subtracting TWO23[sx].
51270         * math/libm-test.inc (nearbyint_test): Add more tests.
51272 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
51274         [BZ #2548]
51275         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
51276         bits before adding and subtracting TWO23[sx].
51277         * math/libm-test.inc (rint_test): Add more tests.
51278         (rint_test_tonearest): Likewise.
51279         (rint_test_towardzero): Likewise.
51280         (rint_test_downward): Likewise.
51281         (rint_test_upward: Likewise.
51283 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
51285         [BZ #10110]
51286         * include/stdc-predef.h: New file.  Extracted from features.h.
51287         * include/features.h: Include stdc-predef.h.
51288         * Makefile (headers): Add stdc-predef.h.
51289         * CONFORMANCE (Compiler limitations): Update.
51291 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
51293         * manual/libc.texinfo (VERSION, UPDATED): Revert.
51295 2012-02-21  David S. Miller  <davem@davemloft.net>
51297         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
51298         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51300 2012-02-20  David S. Miller  <davem@davemloft.net>
51302         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
51303         using a normal save/restore sequence, rather than allocating a
51304         dummy stack frame just to store a frame pointer and restore.
51305         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51307 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
51309         * manual/install.texi: Fix stray word in line-wrapped comment.
51311 2012-02-20  David S. Miller  <davem@davemloft.net>
51313         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
51314         both binutils and gcc support GOTDATA.
51316         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
51317         "rd %pc" in the PIC register setup sequences.
51319         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
51320         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
51321         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51322         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
51323         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51324         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51325         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51326         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51327         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
51328         (SYSCALL_ERROR_HANDLER): Likewise.
51329         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51330         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51331         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
51332         (SYSCALL_ERROR_HANDLER): Likewise.
51334         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
51335         (HAVE_GCC_GOTDATA): New.
51336         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
51337         relocation support in both binutils and gcc.
51338         * sysdeps/sparc/elf/configure: Regenerate.
51340         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
51341         * sysdeps/sparc/sparc32/elf/configure: Delete.
51342         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
51343         * sysdeps/sparc/sparc64/elf/configure: Delete.
51344         * sysdeps/sparc/elf/configure.in: New file.
51345         * sysdeps/sparc/elf/configure: Generate.
51347         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
51348         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
51349         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51350         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
51351         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
51353 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
51355         * manual/install.texi: Do not mention specific glibc version
51356         numbers.
51357         * manual/libc.texinfo (VERSION, UPDATED): Update.
51358         (@copying): Use @copyright{} and range of years.
51360 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
51362         [BZ #13695]
51363         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
51364         [crti.S not in sysdirs] (generated): Do not append.
51365         [crti.S not in sysdirs] (omit-deps): Likewise.
51366         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
51367         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
51368         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
51369         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
51370         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
51371         Likewise.
51372         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
51373         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
51374         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
51375         * csu/defs.awk: Remove file.
51376         * sysdeps/generic/initfini.c: Likewise.
51377         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
51378         variable.
51379         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
51380         Likewise.
51382 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
51384         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
51385         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
51386         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
51387         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
51388         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51389         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
51390         <bits/epoll.h>.
51391         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
51392         (__EPOLL_PACKED): Define to empty if not defined by
51393         <bits/epoll.h>.
51394         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
51395         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51396         bits/epoll.h.
51398 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
51400         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
51401         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
51402         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
51403         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
51404         <bits/timerfd.h>.
51405         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
51406         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51407         bits/timerfd.h.
51409 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
51411         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
51412         in C locale.
51413         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51414         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51415         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
51416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51418 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
51420         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51421         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51423 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
51425         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
51426         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
51427         defined.
51428         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
51429         Likewise.
51430         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
51431         entry for 2.16.
51433 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
51435         * math/w_acos.c: Use non-signaling floating-point comparisons.
51436         * math/w_acosf.c: Likewise.
51437         * math/w_acosh.c: Likewise.
51438         * math/w_acoshf.c: Likewise.
51439         * math/w_acoshl.c: Likewise.
51440         * math/w_acosl.c: Likewise.
51441         * math/w_asin.c: Likewise.
51442         * math/w_asinf.c: Likewise.
51443         * math/w_asinl.c: Likewise.
51444         * math/w_atanh.c: Likewise.
51445         * math/w_atanhf.c: Likewise.
51446         * math/w_atanhl.c: Likewise.
51447         * math/w_exp2.c: Likewise.
51448         * math/w_exp2f.c: Likewise.
51449         * math/w_exp2l.c: Likewise.
51450         * math/w_j0.c: Likewise.
51451         * math/w_j0f.c: Likewise.
51452         * math/w_j0l.c: Likewise.
51453         * math/w_j1.c: Likewise.
51454         * math/w_j1f.c: Likewise.
51455         * math/w_j1l.c: Likewise.
51456         * math/w_jn.c: Likewise.
51457         * math/w_jnf.c: Likewise.
51458         * math/w_log.c: Likewise.
51459         * math/w_log10.c: Likewise.
51460         * math/w_log10f.c: Likewise.
51461         * math/w_log10l.c: Likewise.
51462         * math/w_log2.c: Likewise.
51463         * math/w_log2f.c: Likewise.
51464         * math/w_log2l.c: Likewise.
51465         * math/w_logf.c: Likewise.
51466         * math/w_logl.c: Likewise.
51467         * math/w_sqrt.c: Likewise.
51468         * math/w_sqrtf.c: Likewise.
51469         * math/w_sqrtl.c: Likewise.
51470         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51471         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
51472         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51473         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51474         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51476 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
51478         [BZ #9739]
51479         * manual/string.texi (strnlen): Use correct parameter name in
51480         equivalent expression.
51482 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
51484         [BZ #11174]
51485         * manual/users.texi (seteuid): Consistently use neweuid for
51486         argument name.
51488 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
51490         [BZ #13704]
51491         * manual/nss.texi (Services in the NSS configuration): Correct
51492         list of services in example configuration file.
51494 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
51496         [BZ #11322]
51497         * manual/arith.texi: Remove statements about negative zero
51498         behaving identically to zero.
51500 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
51502         [BZ #5993]
51503         * manual/install.texi: Do not document upgrading from libc5.
51505 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
51507         [BZ #4596]
51508         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
51510 2012-02-18  David S. Miller  <davem@davemloft.net>
51512         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
51513         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
51514         %o7 across the call.
51515         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
51516         instead.
51517         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
51518         SETUP_PIC_REG_LEAF.
51519         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51520         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
51521         * sysdeps/sparc/crtn.S: Likewise.
51523 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
51525         * aout/Makefile: Remove.
51527 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
51529         [BZ #13058]
51530         * manual/examples/argp-ex1.c (main): Format definition in GNU
51531         style.
51532         * manual/examples/argp-ex2.c (main): Likewise.
51533         * manual/examples/argp-ex3.c (main): Likewise.
51534         * manual/examples/argp-ex4.c (main): Likewise.
51535         * manual/examples/longopt.c (main): Use new-style prototype
51536         definition.
51537         * manual/examples/strncat.c (main): Specify return type and use
51538         (void) for arguments.
51539         * manual/examples/subopt.c (main): Use char **argv argument.
51541 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51543         [BZ #5077]
51544         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
51545         rounding modes.
51547 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
51549         [BZ #6907]
51550         * manual/string.texi (strchr): Change when strchrnul is
51551         recommended.
51553 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
51555         [BZ #174]
51556         * manual/locale.texi (setlocale): Document LOCPATH.
51558 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51560         [BZ #10210]
51561         * manual/process.texi (execle): Move @dots{} before last argument.
51563 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
51565         [BZ #12047]
51566         * manual/charset.texi (Generic Charset Conversion): Fix typo
51567         (LC_TYPE -> LC_CTYPE).
51569 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
51571         [BZ #5805]
51572         * manual/arith.texi (scalbn): Use @var{} on parameter names.
51573         (scalbnf): Likewise.
51574         (scalbnl): Likewise.
51575         (scalbln): Likewise.
51576         (scalblnf): Likewise.
51577         (scalblnl): Likewise.
51578         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
51579         (vwarnx): Likewise.
51580         (verr): Likewise.
51581         (verrx): Likewise.
51582         * manual/filesys.texi (telldir): Use braces around return type.
51583         * manual/llio.texi (mmap): Add space after comma.
51584         (mmap64): Likewise.
51585         * manual/math.texi (jn): Use @var{} on parameter names.
51586         (jnf): Likewise.
51587         (jnl): Likewise.
51588         (yn): Likewise.
51589         (ynf): Likewise.
51590         (ynl): Likewise.
51591         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
51592         line.
51593         * manual/resource.texi (ulimit): Use @dots{} instead of literal
51594         "...".
51595         (sched_get_priority_min): Remove semicolon on @deftypefun line.
51596         (sched_get_priority_max): Likewise.
51597         * manual/signal.texi (sigvec): Add space after comma.
51598         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
51599         names.
51600         (if_indextoname): Likewise.
51601         (if_freenameindex): Likewise.
51602         (sendto): Use ',' instead of '.' in prototype.
51603         * manual/startup.texi (syscall): Use @dots{} instead of literal
51604         "...".
51605         * manual/stdio.texi (__fpending): Separate initial words of
51606         paragraph from @deftypefun line.
51607         * manual/syslog.texi (syslog): Use @dots{} instead of literal
51608         "...".
51609         (vsyslog): Use @var{} on parameter names.
51610         * manual/terminal.texi (stty): Use @var{} on parameter names.
51611         * manual/users.texi (getutmp): Use @var{} on parameter names.
51612         (getutmpx): Likewise.
51614 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51616         [BZ #6884]
51617         * manual/stdio.texi (fopen): Fix typos in description of
51618         ",ccs=STRING".
51620 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
51622         [BZ #4026]
51623         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
51624         get clock_id definition.
51626 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
51628         [BZ #4822]
51629         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
51630         (madvise): Cast every argument to void on its own.
51632 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51634         [BZ #9902]
51635         * manual/startup.texi (Exit Status): Fix typo.
51637 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51639         [BZ #10140]
51640         * manual/examples/argp-ex1.c: Include <stdlib.h>.
51641         * manual/examples/argp-ex2.c: Likewise.
51642         * manual/examples/argp-ex3.c: Likewise.
51644 2012-02-16  Richard Henderson  <rth@redhat.com>
51646         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
51647         * sysdeps/s390/s390-32/initfini.c: Remove.
51648         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
51649         * sysdeps/s390/s390-64/initfini.c: Remove.
51651 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51653         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
51654         compiler output for sysdeps/generic/initfini.c.
51655         * sysdeps/sh/elf/initfini.c: Remove file.
51657 2012-02-16  David S. Miller  <davem@davemloft.net>
51659         [BZ #11494]
51660         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
51662         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
51663         * sysdeps/sparc/crti.S: New file.
51664         * sysdeps/sparc/crtn.S: New file.
51665         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
51666         * sysdeps/sparc/sparc64/Makefile: Likewise.
51668 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
51670         [BZ #3335]
51671         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
51673 2012-02-15  Roland McGrath  <roland@hack.frob.com>
51675         [BZ #4822]
51676         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
51678         * mach/devstream.c (cookie_io_functions_t): Macro removed.
51679         (write, read, close): Likewise.
51680         Patch by Aurelien Jarno <aurelien@aurel32.net>.
51682 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
51684         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
51685         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
51686         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
51687         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
51688         <bits/signalfd.h>.
51689         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
51690         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51691         bits/signalfd.h.
51693 2012-02-14  Marek Polacek  <polacek@redhat.com>
51695         * sysdeps/x86_64/crti.S: New file.
51696         * sysdeps/x86_64/crtn.S: New file.
51697         * sysdeps/x86_64/elf/initfini.c: Remove file.
51699 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
51701         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
51702         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
51703         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
51704         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
51705         <bits/inotify.h>.
51706         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
51707         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51708         bits/inotify.h.
51710 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
51712         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
51713         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
51714         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
51715         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
51716         <bits/eventfd.h>.
51717         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
51718         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51719         bits/eventfd.h.
51721 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
51723         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
51724         __feraiseexcept instead of feraiseexcept.
51726         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
51727         nanosleep invocations.
51728         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
51729         strings, and add error checking for a nanosleep invocations.
51731 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
51733         Replace FSF snail mail address with URLs, as per GNU coding standards.
51734         Most of the snail mail addresses were wrong anyway, and omitting
51735         them makes the source code easier to maintain.  Almost all of the
51736         changes are to license notices and to locale LC_IDENTIFICATION
51737         addresses, except for this one:
51738         * manual/libc.texinfo: In "Published by", give the FSF's URL,
51739         not its snail mail address.
51741 2012-02-09  Richard Henderson  <rth@twiddle.net>
51743         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
51744         of kernel-features.h.
51746         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
51748 2012-02-08  Marek Polacek  <polacek@redhat.com>
51750         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
51751         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
51752         * sysdeps/gnu/_G_config.h: Likewise.
51753         * sysdeps/generic/_G_config.h: Likewise.
51755 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
51757         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
51758         tests.
51759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51761         * sysdeps/powerpc/powerpc32/crti.S: New file.
51762         * sysdeps/powerpc/powerpc32/crtn.S: New file.
51763         * sysdeps/powerpc/powerpc64/crti.S: New file.
51764         * sysdeps/powerpc/powerpc64/crtn.S: New file.
51766         * Makeconfig (have-initfini): Don't set.
51767         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
51768         * configure.in (nopic_initfini): Don't substitute.
51769         * config.h.in (HAVE_INITFINI): Don't #undef.
51770         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
51771         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
51773 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
51775         Support crti.S and crtn.S provided directly by architectures.
51776         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
51777         [crti.S in sysdirs] (omit-deps): Likewise.
51778         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
51779         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
51780         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
51781         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
51782         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
51783         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
51784         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
51785         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
51786         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
51787         compiler output for sysdeps/generic/initfini.c.
51788         * sysdeps/i386/elf/Makefile: Remove file.
51789         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
51791 2012-02-07  Marek Polacek  <polacek@redhat.com>
51793         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
51794         * sysdeps/gnu/_G_config.h: Likewise.
51795         * sysdeps/mach/hurd/_G_config.h: Likewise.
51797 2012-02-07  Marek Polacek  <polacek@redhat.com>
51799         * math/Makefile (tests): Add tst-CMPLX2.
51800         * math/tst-CMPLX2.c: New file.
51802 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
51804         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51806         * math/libm-test.inc (jn_test): Add missing L suffix.
51808 2012-02-06  Marek Polacek  <polacek@redhat.com>
51810         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
51811         * sysdeps/i386/fpu/e_powf.S: Likewise.
51812         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51813         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51814         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51815         * sysdeps/i386/fpu/e_pow.S: Likewise.
51816         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
51817         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51818         * sysdeps/i386/fpu/s_expm1.S: Likewise.
51819         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
51820         * sysdeps/i386/fpu/e_log2.S: Likewise.
51821         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51822         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51823         * sysdeps/i386/fpu/e_powl.S: Likewise.
51824         * sysdeps/i386/fpu/s_log1p.S: Likewise.
51825         * sysdeps/i386/fpu/e_log10f.S: Likewise.
51826         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
51827         * sysdeps/i386/fpu/e_logl.S: Likewise.
51828         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
51829         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
51830         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
51831         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
51832         * sysdeps/i386/fpu/e_log2f.S: Likewise.
51833         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51834         * sysdeps/i386/fpu/e_log.S: Likewise.
51835         * sysdeps/i386/fpu/s_cexp.S: Likewise.
51836         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51837         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
51838         * sysdeps/i386/fpu/e_logf.S: Likewise.
51839         * sysdeps/i386/fpu/e_log10l.S: Likewise.
51840         * sysdeps/i386/fpu/e_atanh.S: Likewise.
51841         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
51842         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
51843         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51844         * sysdeps/i386/fpu/e_log10.S: Likewise.
51845         * sysdeps/i386/fpu/s_frexp.S: Likewise.
51846         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51847         * sysdeps/i386/fpu/s_asinh.S: Likewise.
51848         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
51849         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51850         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
51851         * sysdeps/i386/asm-syntax.h: Likewise.
51852         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51853         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51854         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51855         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
51856         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
51857         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51858         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
51859         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
51860         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51861         * sysdeps/powerpc/sysdep.h: Likewise.
51862         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
51863         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51865 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
51867         [BZ #411]
51868         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
51870 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
51872         * sysdeps/i386/sysdep.h: Include <features.h>.
51873         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
51874         version.
51876 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
51878         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
51879         Define.
51880         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
51881         LOAD_PIC_REG_STR.
51883 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
51885         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
51886         (SETUP_PIC_REG): Use GET_PC_THUNK.
51887         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
51888         macro.
51890 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
51892         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
51893         for non-PIC compilation.
51894         (SETUP_PIC_REG): Add .p2align directive.
51895         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
51896         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
51897         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51898         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51899         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
51900         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51901         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
51902         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51903         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51904         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51905         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51906         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51907         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51908         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51909         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51910         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
51911         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
51912         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51913         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51914         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51915         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51916         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
51917         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51918         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51919         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
51920         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
51921         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51922         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
51923         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51924         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51925         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51926         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51927         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51928         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51929         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51930         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51931         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51932         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51933         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51934         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51935         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51937 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
51939         * math/tst-CMPLX.c: Include <stdio.h>.
51941 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
51943         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
51944         float.
51945         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51946         * sysdeps/sparc/bits/mathdef.h: Likewise.
51948 2012-01-31  Marek Polacek  <polacek@redhat.com>
51950         * libio/libio.h: Don't define _PARAMS.
51951         * locale/programs/config.h: Don't define PARAMS.
51952         * stdlib/strtol_l.c: Likewise.
51953         (__strtol_l): Remove PARAMS from the prototype.
51955 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
51957         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
51958         names.  Just use the correct names.  Remove unnecessary wrapper
51959         functions.
51960         * malloc/arena.c: Likewise.
51961         * malloc/hooks.c: Likewise.
51963         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
51964         ARENA_TEST says not to.  Simplify test for creation of a new arena.
51965         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
51967 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
51969         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
51970         into tail calls.
51971         (update_get_addr): New function.
51972         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
51973         GET_ADDR_MODULE parameter.
51975 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
51977         * crypt/cert.c: Remove __STDC__ conditionals.
51978         * crypt/crypt-entry.c: Likewise.
51979         * crypt/crypt_util.c: Likewise.
51980         * libio/filedoalloc.c: Likewise.
51981         * libio/fileops.c: Likewise.
51982         * libio/genops.c: Likewise.
51983         * libio/iofclose.c: Likewise.
51984         * libio/iofdopen.c: Likewise.
51985         * libio/iofopen.c: Likewise.
51986         * libio/iofopen64.c: Likewise.
51987         * libio/iogetdelim.c: Likewise.
51988         * libio/iopopen.c: Likewise.
51989         * libio/obprintf.c: Likewise.
51990         * libio/oldfileops.c: Likewise.
51991         * libio/oldiofclose.c: Likewise.
51992         * libio/oldiofdopen.c: Likewise.
51993         * libio/oldiofopen.c: Likewise.
51994         * libio/oldiopopen.c: Likewise.
51995         * libio/wfiledoalloc.c: Likewise.
51996         * libio/wgenops.c: Likewise.
51997         * locale/programs/xmalloc.c: Likewise.
51998         * misc/syslog.c: Likewise.
51999         * stdio-common/xbug.c: Likewise.
52000         * string/memchr.c: Likewise.
52001         * string/memcmp.c: Likewise.
52002         * string/memrchr.c: Likewise.
52003         * string/rawmemchr.c: Likewise.
52004         * sysdeps/posix/getcwd.c: Likewise.
52005         * time/strftime_l.c: Likewise.
52007 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
52009         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
52010         * config.make.in (config-cflags-sse2avx): Define.
52011         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
52012         Fix typo.
52014 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
52016         * scripts/config.guess: Update from upstream config git repository.
52017         * scripts/config.sub: Likewise.
52019 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
52021         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
52022         (EM_NUM): Update.
52023         (R_TILEPRO_*, R_TILEGX_*): New macros.
52025         * scripts/firstversions.awk: Fix bug in version range handling.
52027         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
52029         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
52031         * include/sys/epoll.h: New file.
52032         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
52033         libc_hidden_def.
52035 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
52037         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
52038         Avoid unnecessary __WORDSIZE == 64 test.
52039         (fmaxf): Use VEX format if possible.
52040         (fmax): Likewise.
52041         (fminf): Likewise.
52042         (fmin): Likewise.
52044         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
52045         * math/math_private.h: Remove libc_fegetround* and
52046         libc_fesetround*.
52047         * sysdeps/i386/configure.in: Check for -msse2avx.
52048         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
52049         also if SSE2AVX is defined.
52050         Remove libc_fegetround* and libc_fesetround*.
52051         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
52052         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
52053         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
52054         of HAS_YMM_USABLE.
52055         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52056         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52057         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52058         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52059         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52061         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
52063 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52065         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
52066         size is not set.
52067         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52069 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
52071         [BZ #13618]
52072         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
52073         relocation.
52074         * Makeconfig (libm): Define.
52075         * elf/Makefile: Add rules to build and run tst-relsort1.
52076         * elf/tst-relsort1.c: New file.
52077         * elf/tst-relsort1mod1.c: New file.
52078         * elf/tst-relsort1mod2.c: New file.
52080 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
52082         * math/s_ldexp.c: Remove __STDC__ conditionals.
52083         * math/s_ldexpf.c: Likewise.
52084         * math/s_ldexpl.c: Likewise.
52085         * math/s_nextafter.c: Likewise.
52086         * math/s_nexttowardf.c: Likewise.
52087         * math/s_significand.c: Likewise.
52088         * math/s_significandf.c: Likewise.
52089         * math/s_significandl.c: Likewise.
52090         * math/w_jnl.c: Likewise.
52091         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52092         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52093         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52094         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52095         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52096         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52097         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
52098         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52099         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52100         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52101         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52102         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52103         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52104         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52105         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52106         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52107         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52108         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52109         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52110         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52111         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52112         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52113         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52114         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52115         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52116         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52117         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52118         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52119         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52120         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52121         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52122         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52123         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52124         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52125         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52126         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52127         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52128         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52129         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52130         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52131         * sysdeps/ieee754/k_standard.c: Likewise.
52132         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52133         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52134         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52135         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52136         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52137         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52138         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52139         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52140         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52141         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52142         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52143         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52144         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52145         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52146         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52147         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52148         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52149         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52150         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52151         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52152         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52153         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52154         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52155         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52156         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52157         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52158         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52159         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52160         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52161         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52162         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52163         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
52164         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52165         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52166         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52167         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52168         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
52169         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52170         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52171         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
52172         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
52173         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52174         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
52175         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
52176         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52177         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52178         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52179         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52180         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52181         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
52182         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
52183         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52184         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52185         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52186         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52187         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52188         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
52189         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52190         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52191         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52192         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52193         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52194         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52195         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52196         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52197         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52198         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52199         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52200         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52201         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52202         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52203         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52204         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52205         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52206         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52207         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52208         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52209         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52210         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52211         * sysdeps/ieee754/s_matherr.c: Likewise.
52212         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52213         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52214         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52215         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52217 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
52219         * crypt/md5.h: Remove __STDC__ conditionals.
52220         * libio/libioP.h: Likewise.
52221         * locale/programs/config.h: Likewise.
52222         * sysdeps/generic/sysdep.h: Likewise.
52223         * sysdeps/i386/asm-syntax.h: Likewise.
52224         * sysdeps/s390/asm-syntax.h: Likewise.
52225         * sysdeps/unix/sysdep.h: Likewise.
52226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
52227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52229 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
52231         * libio/libio.h: Remove __STDC__ conditionals.
52232         * malloc/obstack.h: Likewise.
52233         * math/complex.h: Likewise.
52234         * math/math.h: Likewise.
52235         * sysdeps/generic/_G_config.h: Likewise.
52236         * sysdeps/gnu/_G_config.h: Likewise.
52237         * sysdeps/mach/hurd/_G_config.h: Likewise.
52238         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52239         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52240         * sysdeps/sparc/bits/mathdef.h: Likewise.
52242 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
52244         [BZ #13583]
52245         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
52246         Clean up HAS_* macros.
52247         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
52248         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
52249         possible.
52250         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
52251         HAS_AVX.
52252         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52253         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52254         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52255         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52256         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52258 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
52260         * elf/tst-unique3.cc (gets): Remove declaration.
52261         * elf/tst-unique3lib.cc (gets): Likewise.
52262         * elf/tst-unique3lib2.cc (gets): Likewise.
52263         * elf/tst-unique4.cc (gets): Likewise.
52265 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
52267         * include/stdio.h: Add C++ protection.  Add gets declarations and
52268         definitions.
52269         * debug/tst-chk1.c: Don't declare gets here.
52270         * stdio-common/tst-gets.c: Likewise.
52272 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
52274         * posix/glob: Remove directory.
52276 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
52278         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
52280 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
52282         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
52283         of the non-standard EPFNOSUPPORT.
52285 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52287         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
52288         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
52289         ANYWHERE set to 1 only on KERN_NO_SPACE error.
52291 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
52293         * wcsmbs/uchar.h: Test __STDC_VERSION__.
52295 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
52297         * nscd/aicache.c (addhstaiX): Do not cache negative results of
52298         transient errors.
52299         * nscd/grpcache.c (cache_addgr): Likewise.
52300         * nscd/hstcache.c (cache_addhst): Likewise.
52301         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52302         * nscd/pwdcache.c (cache_addpw): Likewise.
52303         * nscd/servicescache.c (cache_addserv): Likewise.
52305 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
52307         * malloc/malloc.c: Various cleanups.
52308         * malloc/hooks.c: Likewise.
52310         * stdlib/Makefile (tests): Add bug-fmtmsg1.
52311         * stdlib/bug-fmtmsg1.c: New file.
52313         * stdlib/fmtmsg.c (init): Add missing unlock.
52314         Patch by Peng Haitao <penght@cn.fujitsu.com>.
52316 2012-01-12  Marek Polacek  <polacek@redhat.com>
52318         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
52319         and _GNU_SOURCE.
52321 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
52323         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
52324         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
52325         macro to ensure uniqueness of label name.
52326         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52327         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52329 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
52331         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
52333         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
52334         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52335         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52336         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
52338 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
52340         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
52342         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
52343         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52344         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52346         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
52348         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
52349         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52350         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52351         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
52353         * math/bits/math-finite.h: Add ldexp support.
52355 2012-01-10  Marek Polacek  <polacek@redhat.com>
52357         * locale/programs/localedef.h (show_archive_content): Add noreturn
52358         attribute.
52360 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
52362         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
52364 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
52366         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
52368         * io/Makefile (headers): Add bits/poll2.h.
52370 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
52372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
52373         typo #include statement.
52375 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
52377         * include/sys/cdefs.h: Define __attribute_alloc_size.
52378         * catgets/gencat.c: Add alloc_size attribute and apply consistently
52379         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
52380         * elf/pldd.c: Likewise.
52381         * iconv/iconv_charmap.c: Likewise.
52382         * iconv/iconvconfig.c: Likewise.
52383         * iconv/strtab.c: Likewise.
52384         * locale/programs/locale.c: Likewise.
52385         * locale/programs/localedef.h: Likewise.
52386         * locale/programs/simple-hash.c: Likewise.
52387         * nscd/nscd.h: Likewise.
52388         * nss/makedb.c: Likewise.
52389         * sysdeps/generic/ldconfig.h: Likewise.
52390         * locale/programs/localedef.c: Remove xmalloc prototype.
52391         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
52393 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52395         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
52396         appropriate.
52398 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
52400         * math/Makefile (tests): Add tst-CMPLX.
52401         * math/tst-CMPLX.c: New file.
52403         * math/complex.h (CMPLXL): Fix typo.
52405         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
52406         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
52407         GLIBC_2.16.
52408         * debug/tst-chk1.c: Add poll and ppoll tests.
52409         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
52410         * include/sys/poll.h: Add hidden proto for ppoll.
52411         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
52412         * sysdeps/mach/hurd/ppoll.c: Likewise.
52413         * io/ppoll.c: Likewise.
52414         * debug/poll_chk.c: New file.
52415         * debug/ppoll_chk.c: New file.
52416         * include/bits/poll2.h: New file.
52417         * io/bits/poll2.h: New file.
52419         [BZ #1350]
52420         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
52422         * configure.in: static is always set to yes.  Remove.
52423         * config.make.in: Don't set build-static.
52424         * Makeconfig: Remove use of build-static.
52425         * dlfcn/Makefile: Likewise.
52426         * elf/Makefile: Likewise.
52427         * math/Makefile: Likewise.
52428         * misc/Makefile: Likewise.
52429         * nptl/Makefile: Likewise.
52430         * sysdeps/mach/hurd/Makefile: Likewise.
52432         * configure.in: PWD_P is not used anymore.
52433         * config.make.in: Remove PWD_P entry.
52435         * configure.in: Remove last remnants of RANLIB.
52436         No need to check for signed size_t anymore.
52437         Don't set libc_commonpagesize and libc_relro_required here for Alpha
52438         and IA-64.
52439         Remove __builtin_expect test because we require at least gcc 3.4.
52440         * aclocal.m4: Likewise.
52442         * wcsmbs/mbrtoc16.c: Implement using towc function.
52443         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
52444         * wcsmbs/wcsmbsload.c: Likewise.
52445         * iconv/gconv_simple.c: Likewise.
52446         * iconv/gconv_int.h: Likewise.
52447         * iconv/gconv_builtin.h: Likewise.
52448         * iconv/iconv_prog.c: Remove CHAR16 handling.
52450         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
52452         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
52454         * configure.in: Remove --with-elf and --enable-bounded options.
52455         Dont set base_machine for ia64.  More non-ELF conditions removed.
52456         Remove testing and setting of leading underscore information.
52457         * config.make.in (build-bounded): Set to no.
52458         * config.h.in: Remove NO_UNDERSCORES entry.
52459         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
52460         them.
52461         * csu/start.c: Remove !NO_UNDERSCORE code.
52462         * locale/localeinfo.h: Likewise.
52463         * sysdeps/generic/machine-gmon.h: Likewise.
52464         * sysdeps/generic/sysdep.h: Likewise.
52465         * sysdeps/i386/sysdep.h: Likewise.
52466         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
52467         * sysdeps/mach/sysdep.h: Likewise.
52468         * sysdeps/s390/s390-32/sysdep.h: Likewise.
52469         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52470         * sysdeps/sh/sysdep.h: Likewise.
52471         * sysdeps/sparc/sparc32/alloca.S: Likewise.
52472         * sysdeps/unix/i386/sysdep.S: Likewise.
52473         * sysdeps/unix/sparc/start.c: Likewise.
52474         * sysdeps/unix/sparc/sysdep.S: Likewise.
52475         * sysdeps/unix/sparc/sysdep.h: Likewise.
52476         * sysdeps/unix/start.c: Likewise.
52477         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52478         * sysdeps/x86_64/sysdep.h: Likewise.
52480 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
52482         [BZ #13553]
52483         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
52484         for non-gcc.
52485         * argp/argp-fmtstream.h: Use const instead __const.
52486         * argp/argp.h: Likewise.
52487         * assert/assert.h: Likewise.
52488         * bits/fenv.h: Likewise.
52489         * bits/sched.h: Likewise.
52490         * bits/sigset.h: Likewise.
52491         * bits/sigthread.h: Likewise.
52492         * catgets/nl_types.h: Likewise.
52493         * conform/data/pthread.h-data: Likewise.
52494         * crypt/crypt-private.h: Likewise.
52495         * crypt/crypt.h: Likewise.
52496         * crypt/crypt_util.c: Likewise.
52497         * ctype/ctype.h: Likewise.
52498         * debug/execinfo.h: Likewise.
52499         * debug/mbsnrtowcs_chk.c: Likewise.
52500         * debug/mbsrtowcs_chk.c: Likewise.
52501         * debug/wcsnrtombs_chk.c: Likewise.
52502         * debug/wcsrtombs_chk.c: Likewise.
52503         * debug/wcstombs_chk.c: Likewise.
52504         * dirent/dirent.h: Likewise.
52505         * dlfcn/dlfcn.h: Likewise.
52506         * elf/neededtest4.c: Likewise.
52507         * grp/grp.h: Likewise.
52508         * gshadow/gshadow.h: Likewise.
52509         * iconv/gconv.h: Likewise.
52510         * iconv/gconv_int.h: Likewise.
52511         * iconv/gconv_simple.c: Likewise.
52512         * iconv/iconv.h: Likewise.
52513         * iconv/loop.c: Likewise.
52514         * iconv/skeleton.c: Likewise.
52515         * include/aio.h: Likewise.
52516         * include/aliases.h: Likewise.
52517         * include/argz.h: Likewise.
52518         * include/arpa/inet.h: Likewise.
52519         * include/assert.h: Likewise.
52520         * include/dirent.h: Likewise.
52521         * include/dlfcn.h: Likewise.
52522         * include/execinfo.h: Likewise.
52523         * include/fcntl.h: Likewise.
52524         * include/fenv.h: Likewise.
52525         * include/glob.h: Likewise.
52526         * include/grp.h: Likewise.
52527         * include/libintl.h: Likewise.
52528         * include/mntent.h: Likewise.
52529         * include/netdb.h: Likewise.
52530         * include/pwd.h: Likewise.
52531         * include/rpc/netdb.h: Likewise.
52532         * include/sched.h: Likewise.
52533         * include/search.h: Likewise.
52534         * include/shadow.h: Likewise.
52535         * include/signal.h: Likewise.
52536         * include/stdio.h: Likewise.
52537         * include/stdlib.h: Likewise.
52538         * include/string.h: Likewise.
52539         * include/sys/socket.h: Likewise.
52540         * include/sys/stat.h: Likewise.
52541         * include/sys/statfs.h: Likewise.
52542         * include/sys/statvfs.h: Likewise.
52543         * include/sys/syslog.h: Likewise.
52544         * include/sys/time.h: Likewise.
52545         * include/sys/uio.h: Likewise.
52546         * include/time.h: Likewise.
52547         * include/unistd.h: Likewise.
52548         * include/utmp.h: Likewise.
52549         * include/wchar.h: Likewise.
52550         * include/wctype.h: Likewise.
52551         * inet/aliases.h: Likewise.
52552         * inet/arpa/inet.h: Likewise.
52553         * inet/netinet/ether.h: Likewise.
52554         * inet/netinet/in.h: Likewise.
52555         * intl/libintl.h: Likewise.
52556         * io/bits/fcntl2.h: Likewise.
52557         * io/fcntl.h: Likewise.
52558         * io/ftw.h: Likewise.
52559         * io/sys/poll.h: Likewise.
52560         * io/sys/stat.h: Likewise.
52561         * io/sys/statfs.h: Likewise.
52562         * io/sys/statvfs.h: Likewise.
52563         * io/utime.h: Likewise.
52564         * libio/bits/stdio.h: Likewise.
52565         * libio/bits/stdio2.h: Likewise.
52566         * libio/libio.h: Likewise.
52567         * libio/libioP.h: Likewise.
52568         * libio/stdio.h: Likewise.
52569         * locale/lc-ctype.c: Likewise.
52570         * locale/locale.h: Likewise.
52571         * login/utmp.h: Likewise.
52572         * malloc/arena.c: Likewise.
52573         * malloc/malloc.c: Likewise.
52574         * malloc/malloc.h: Likewise.
52575         * malloc/mcheck.c: Likewise.
52576         * malloc/mtrace.c: Likewise.
52577         * math/bits/mathcalls.h: Likewise.
52578         * math/fenv.h: Likewise.
52579         * math/math_private.h: Likewise.
52580         * misc/bits/error.h: Likewise.
52581         * misc/bits/syslog.h: Likewise.
52582         * misc/err.h: Likewise.
52583         * misc/error.h: Likewise.
52584         * misc/fstab.h: Likewise.
52585         * misc/mntent.h: Likewise.
52586         * misc/regexp.h: Likewise.
52587         * misc/search.h: Likewise.
52588         * misc/sgtty.h: Likewise.
52589         * misc/sys/mman.h: Likewise.
52590         * misc/sys/syslog.h: Likewise.
52591         * misc/sys/uio.h: Likewise.
52592         * misc/sys/xattr.h: Likewise.
52593         * misc/ttyent.h: Likewise.
52594         * nis/rpcsvc/ypclnt.h: Likewise.
52595         * nss/nss.h: Likewise.
52596         * posix/bits/unistd.h: Likewise.
52597         * posix/fnmatch.h: Likewise.
52598         * posix/glob.h: Likewise.
52599         * posix/sched.h: Likewise.
52600         * posix/spawn.h: Likewise.
52601         * posix/sys/wait.h: Likewise.
52602         * posix/unistd.h: Likewise.
52603         * posix/wordexp.h: Likewise.
52604         * pwd/pwd.h: Likewise.
52605         * resolv/netdb.h: Likewise.
52606         * resource/sys/resource.h: Likewise.
52607         * rt/aio.h: Likewise.
52608         * rt/bits/mqueue2.h: Likewise.
52609         * rt/mqueue.h: Likewise.
52610         * shadow/shadow.h: Likewise.
52611         * signal/signal.h: Likewise.
52612         * socket/send.c: Likewise.
52613         * socket/sendto.c: Likewise.
52614         * socket/sys/socket.h: Likewise.
52615         * stdio-common/printf.h: Likewise.
52616         * stdlib/bits/stdlib.h: Likewise.
52617         * stdlib/fmtmsg.h: Likewise.
52618         * stdlib/monetary.h: Likewise.
52619         * stdlib/stdlib.h: Likewise.
52620         * stdlib/ucontext.h: Likewise.
52621         * streams/stropts.h: Likewise.
52622         * string/argz.h: Likewise.
52623         * string/bits/string2.h: Likewise.
52624         * string/string.h: Likewise.
52625         * string/strings.h: Likewise.
52626         * sunrpc/rpc/auth.h: Likewise.
52627         * sunrpc/rpc/auth_des.h: Likewise.
52628         * sunrpc/rpc/clnt.h: Likewise.
52629         * sunrpc/rpc/netdb.h: Likewise.
52630         * sunrpc/rpc/pmap_clnt.h: Likewise.
52631         * sunrpc/rpc/xdr.h: Likewise.
52632         * sysdeps/generic/inttypes.h: Likewise.
52633         * sysdeps/generic/net/if.h: Likewise.
52634         * sysdeps/generic/sys/swap.h: Likewise.
52635         * sysdeps/gnu/net/if.h: Likewise.
52636         * sysdeps/gnu/utmpx.h: Likewise.
52637         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
52638         * sysdeps/i386/i486/bits/string.h: Likewise.
52639         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
52640         * sysdeps/s390/bits/string.h: Likewise.
52641         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
52642         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
52643         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
52644         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
52645         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
52646         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
52647         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
52648         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
52649         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
52650         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
52651         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
52652         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
52653         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
52654         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
52655         * sysdeps/unix/sysv/linux/readv.c: Likewise.
52656         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
52657         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
52658         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52659         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
52660         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
52661         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
52662         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
52663         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
52664         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
52665         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
52666         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
52667         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
52668         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52669         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
52670         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
52671         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
52672         * sysvipc/sys/ipc.h: Likewise.
52673         * sysvipc/sys/msg.h: Likewise.
52674         * sysvipc/sys/sem.h: Likewise.
52675         * sysvipc/sys/shm.h: Likewise.
52676         * termios/termios.h: Likewise.
52677         * time/sys/time.h: Likewise.
52678         * time/time.h: Likewise.
52679         * wcsmbs/bits/wchar2.h: Likewise.
52680         * wcsmbs/uchar.h: Likewise.
52681         * wcsmbs/wchar.h: Likewise.
52682         * wctype/wctype.h: Likewise.
52684         [BZ #13551]
52685         * Makeconfig: Remove all but ELF support including AIX support.
52686         * Makerules: Likewise.
52687         * config.h.in: Likewise.
52688         * config.make.in: Likewise.
52689         * configure: Likewise.
52690         * configure.in: Likewise.
52691         * csu/Makefile: Likewise.
52692         * csu/version.c: Likewise.
52693         * debug/Makefile: Likewise.
52694         * dlfcn/Makefile: Likewise.
52695         * elf/Makefile: Likewise.
52696         * extra-lib.mk: Likewise.
52697         * iconv/Makefile: Likewise.
52698         * include/libc-symbols.h: Likewise.
52699         * include/shlib-compat.h: Likewise.
52700         * resolv/Makefile: Likewise.
52701         * resolv/res_libc.c: Likewise.
52702         * rt/Makefile: Likewise.
52703         * sysdeps/i386/asm-syntax.h: Likewise.
52704         * sysdeps/i386/sysdep.h: Likewise.
52705         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
52706         * sysdeps/mach/sysdep.h: Likewise.
52707         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
52708         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
52709         * sysdeps/s390/asm-syntax.h: Likewise.
52710         * sysdeps/s390/s390-32/sysdep.h: Likewise.
52711         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52712         * sysdeps/sh/sysdep.h: Likewise.
52713         * sysdeps/unix/sparc/sysdep.h: Likewise.
52714         * sysdeps/wordsize-32/divdi3.c: Likewise.
52715         * sysdeps/x86_64/sysdep.h: Likewise.
52717         * argp/Versions: Remove _argp_unlock_xxx.
52719         [BZ #13559]
52720         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
52721         * abilist/libBrokenLocale.abilist: Likewise.
52722         * abilist/libanl.abilist: Likewise.
52723         * abilist/libc.abilist: Likewise.
52724         * abilist/libcrypt.abilist: Likewise.
52725         * abilist/libdl.abilist: Likewise.
52726         * abilist/libm.abilist: Likewise.
52727         * abilist/libnsl.abilist: Likewise.
52728         * abilist/libpthread.abilist: Likewise.
52729         * abilist/libresolv.abilist: Likewise.
52730         * abilist/librt.abilist: Likewise.
52731         * abilist/libthread_db.abilist: Likewise.
52732         * abilist/libutil.abilist: Likewise.
52733         * abilist/libnss_db.abilist: New file.
52735         * scripts/abilist.awk: Add support for indirect functions.
52737         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
52739         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
52741         * shlib-versions: Remove entries for ports architectures.
52743         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
52744         files in ports.
52745         * elf/stackguard-macros.h: Remove support for IA-64.
52746         * elf/tst-auditmod1.c: Likewise.
52747         * sysdeps/generic/ldsodefs.h: Likewise.
52749         * sysdeps/unix/sysv/linux/configure.in: Ports should define
52750         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
52751         configure files.
52753         [BZ #13552]
52754         * configure.in: Remove --enable-omitfp support.
52755         * FAQ.in: Adjust.
52756         * config.make.in: Likewise.
52757         * Makeconfig: Likewise.
52758         * manual/install.texi: Likewise.
52760         In case anyone cares, the IA-64 architecture could move to ports.
52761         * sysdeps/ia64/*: Removed.
52762         * sysdeps/unix/sysv/linux/ia64/*: Removed.
52763         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
52765         [BZ #13555]
52766         * configure.in: Remove entries for unsupported architectures.
52768         [BZ #13533]
52769         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
52770         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
52771         routines.
52772         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
52773         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
52774         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
52775         fall back to using wcrtomb.
52776         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
52777         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
52778         renaming.
52779         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
52780         * wcsmbs/tst-c16c32-1.c: New file.
52782         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
52783         local variable.
52785         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
52787         * elf/tst-unique3.cc: Add explicit declaration of gets.
52788         * elf/tst-unique3lib.cc: Likewise.
52789         * elf/tst-unique3lib2.cc: Likewise.
52790         * elf/tst-unique4.cc: Likewise.
52792         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
52794 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
52796         [BZ #13566]
52797         * assert/assert.h (static_assert): Don't define for C++.
52798         * libio/stdio.h (gets): Do declare for C++ <= C++11.
52799         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
52801 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
52803         * iconv/loop.c (single loop): Fix assertion in storing of
52804         remaining bytes.
52806         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
52808 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
52810         * posix/getconf.c: Update copyright year.
52811         * nss/getent.c: Likewise.
52812         * nss/makedb.c: Likewise.
52813         * iconv/iconvconfig.c: Likewise.
52814         * iconv/iconv_prog.c: Likewise.
52815         * elf/ldconfig.c: Likewise.
52816         * elf/pldd.c: Likewise.
52817         * elf/sotruss.ksh: Likewise.
52818         * catgets/gencat.c: Likewise.
52819         * csu/version.c: Likewise.
52820         * elf/ldd.bash.in: Likewise.
52821         * elf/sprof.c (print_version): Likewise.
52822         * locale/programs/locale.c: Likewise.
52823         * locale/programs/localedef.c: Likewise.
52824         * login/programs/pt_chown.c: Likewise.
52825         * nscd/nscd.c (print_version): Likewise.
52826         * debug/xtrace.sh: Likewise.
52827         * malloc/memusage.sh: Likewise.
52828         * malloc/mtrace.pl: Likewise.
52829         * debug/catchsegv.sh: Likewise.
52831 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
52833         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
52834         pure attribute.
52836 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
52838         [BZ #13533]
52839         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
52840         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
52841         transformations.
52842         * iconv/gconv_int.h: Likewise.
52843         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
52844         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
52845         from libc for GLIBC_2.16.
52846         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
52847         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
52848         * wcsmbs/uchar.h: Really define mbstate_t.
52849         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
52850         * wcsmbs/c16rtomb.c: New file.
52851         * wcsmbs/mbrtoc16.c: New file.
52852         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
52853         for C/POSIX locale.
52854         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
52855         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
52857         * wcsmbs/wchar.h: Add missing __restrict.
52859 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
52861         [BZ #13532]
52862         * time/Makefile (routines): Add timespec_get.
52863         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
52864         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
52865         timespec for ISO C11.
52866         * time/timespec_get.c: New file.
52867         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
52868         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
52870         [BZ #13531]
52871         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
52872         * stdlib/stdlib.h: Declare aligned_alloc.
52873         * Versions.def: Add GLIBC_2.16 for libc.
52874         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
52876         [BZ 13527]
52877         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
52878         ISO C11.
52880         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
52881         code.
52883         [BZ #13528]
52884         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
52886         [BZ #13529]
52887         * assert/assert.h (static_assert): Define.
52889         * version.h: Update for 2.16 development version.
52891         [BZ #13526]
52892         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
52893         _ISOC11_SOURCE.
52895         * version.h (RELEASE): Bump for 2.15 release.
52896         * include/features.h (__GLIBC_MINOR__): Bump to 15.
52898         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
52899         Patch by Marek Polacek <mpolacek@redhat.com>.
52901         * bits/byteswap.h: Protect long long constants with __extension__.
52902         * sysdeps/i386/bits/byteswap.h: Likewise.
52903         * sysdeps/ia64/bits/byteswap.h: Likewise.
52904         * sysdeps/s390/bits/byteswap.h: Likewise.
52905         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52907 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52909         [BZ #13540]
52910         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
52911         destination buffer.
52912         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
52914 2011-12-23  Marek Polacek  <polacek@redhat.com>
52916         * elf/dl-addr.c (determine_info): Add inline keyword.
52917         * elf/tst-auditmod4b.c (check_avx): Likewise.
52918         * elf/tst-auditmod6b.c (check_avx): Likewise.
52919         * elf/tst-auditmod6c.c (check_avx): Likewise.
52920         * elf/tst-auditmod7b.c (check_avx): Likewise.
52922 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
52924         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
52925         !__SSE_MATH__.
52927 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52929         [BZ #13540]
52930         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
52931         processing for last bytes.
52933 2011-08-06  Bruno Haible  <bruno@clisp.org>
52935         [BZ #13061]
52936         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
52937         U+0385, not to U+1FEE.
52939         [BZ #13062]
52940         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
52941         entry for U+00A5 U+0301.
52943 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
52945         [BZ #13166]
52946         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
52947         buffer for the output is too small.
52949         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
52950         optimization.
52952         [BZ #13185]
52953         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
52954         SSE flags if possible.
52956 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52958         [BZ #13540]
52959         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
52960         processing for last bytes.
52962 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
52964         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
52965         (syscall-list-default-options, syscall-list-default-condition)
52966         (syscall-list-includes): Define.
52967         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
52968         list of ABIs and options and #if conditions for each ABI.  Do not
52969         handle common syscalls between ABIs specially.
52970         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
52971         Remove.
52972         (syscall-list-variants, syscall-list-32bit-options)
52973         (syscall-list-32bit-condition, syscall-list-64bit-options)
52974         (syscall-list-64bit-condition): Define.
52975         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
52976         (syscall-list-variants, syscall-list-32bit-options)
52977         (syscall-list-32bit-condition, syscall-list-64bit-options)
52978         (syscall-list-64bit-condition): Define.
52979         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
52980         Remove.
52981         (syscall-list-variants, syscall-list-32bit-options)
52982         (syscall-list-32bit-condition, syscall-list-64bit-options)
52983         (syscall-list-64bit-condition): Define.
52984         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
52985         Remove.
52986         (syscall-list-variants, syscall-list-32bit-options)
52987         (syscall-list-32bit-condition, syscall-list-64bit-options)
52988         (syscall-list-64bit-condition): Define.
52990 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
52992         * locale/iso-639.def: Add brx entry.
52994         [BZ #13328]
52995         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
52996         Proposed by Mariusz_Cukr <marcukr@op.pl>.
52998         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
52999         __feraiseexcept_renamed.
53001 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
53003         [BZ #13538]
53004         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
53005         EPOLLET with unsigned values.
53006         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53007         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53009         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
53010         to large cancellation.
53011         * math/s_cacoshf.c: Likewise.
53012         * math/s_cacoshl.c: Likewise.
53014 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
53016         [BZ #13305]
53017         [BZ #12786]
53018         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
53019         * math/s_cacoshf.c: Likewise.
53020         * math/s_cacoshl.c: Likewise.
53022 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
53024         [BZ #13439]
53025         * iconv/gconv.h: Define __GCONV_SWAP.
53026         * iconvdata/unicode.c: The swap bit must be stored in __flags.
53027         * iconvdata/utf-16.c: Likewise.
53028         * iconvdata/utf-32.c: Likewise.
53030 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
53032         [BZ #13524]
53033         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
53034         numerator after shifting it by one limb.
53036 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
53038         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
53039         under [__USE_EXTERN_INLINES].
53041 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
53043         [BZ #13446]
53044         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
53046 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53048         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
53049         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
53050         optimized code.
53051         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
53052         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
53053         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
53054         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
53055         for strncasecmp/strncasecmp_l compilation.
53056         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
53057         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
53059 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
53061         [BZ #13484]
53062         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
53063         of __asm__.
53065 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
53067         [BZ #13506]
53068         * time/tzfile.c (__tzfile_read): Check values from file header.
53070 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
53072         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
53073         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
53074         * powerpc/powerpc32/dl-start.S: Likewise.
53075         * powerpc/powerpc32/elf/start.S: Likewise.
53076         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53077         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
53078         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
53079         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
53080         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
53081         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
53082         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
53083         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53084         * powerpc/powerpc32/fpu/s_round.S: Likewise.
53085         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
53086         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
53087         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
53088         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
53089         * powerpc/powerpc32/memset.S: Likewise.
53090         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
53091         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53092         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53093         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53094         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53095         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
53096         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
53097         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
53098         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
53099         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
53100         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
53101         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53102         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53104 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53106         * math/libm-test.inc: Added more nearbyint tests.
53107         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
53108         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
53109         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
53110         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
53112 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
53114         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
53115         FD_CLOEXEC.
53117 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53119         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
53120         Add wcscpy-ssse3 wcscpy-c.
53121         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
53122         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
53123         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
53124         * sysdeps/x86_64/wcschr.S: New file.
53125         * sysdeps/x86_64/wcsrchr.S: New file.
53126         * string/test-strcmp.c: Remove checking of wcscmp function for
53127         wrong alignments.
53128         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
53129         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
53130         wcsrchr-sse2 wcsrchr-c.
53131         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
53132         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
53133         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
53134         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
53135         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
53136         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
53137         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
53138         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
53139         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
53140         * wcsmbc/wcschr.c (WCSCHR): New macro.
53142 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53144         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
53145         * wcsmbs/test-wcsrchr.c: New file.
53146         * string/test-strrchr.c: Add wcsrchr support.
53147         (WIDE): New macro.
53148         * wcsmbs/test-wcscpy.c: New file.
53149         * string/test-strcpy.c: Add wcscpy support.
53150         (WIDE): New macro.
53152 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
53154         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
53155         the inner loop.
53157 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
53159         [BZ #13472]
53160         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
53162 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
53164         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
53165         Minor optimizations.
53167         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
53168         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
53169         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
53171 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
53173         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
53174         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
53175         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
53176         for gcc to avoid warnings.
53177         * inet/Makefile (tests): Add tst-checks.
53178         * inet/tst-checks.c: New file.
53180         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
53181         warning.
53183         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
53184         __wmemcmp_sse2.
53186         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
53187         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
53189         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
53191 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
53193         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
53194         problem.
53196         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
53198 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
53200         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
53201         conditional on GCC version.
53202         (__arch_compare_and_exchange_val_8_acq)
53203         (__arch_compare_and_exchange_val_16_acq)
53204         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
53205         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
53206         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
53208 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
53210         * sysdeps/sh/backtrace.c: New file.
53212 2011-12-02  Andreas Schwab  <schwab@redhat.com>
53214         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
53215         parenthesis.
53217 2011-12-01  Andreas Schwab  <schwab@redhat.com>
53219         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
53220         falling back to utime.
53222 2011-11-30  Andreas Schwab  <schwab@redhat.com>
53224         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
53225         expectations for float.
53227 2011-11-29  Andreas Schwab  <schwab@redhat.com>
53229         * locale/weight.h (findidx): Add parameter len.
53230         * locale/weightwc.h (findidx): Likewise.
53231         * posix/fnmatch_loop.c (FCT): Adjust caller.
53232         * posix/regcomp.c (build_equiv_class): Likewise.
53233         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
53234         * posix/regexec.c (check_node_accept_bytes): Likewise.
53235         * string/strcoll_l.c (STRCOLL): Likewise.
53236         * string/strxfrm_l.c (STRXFRM): Likewise.
53238 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
53240         * Makefile.in: Remove CVSOPT handling.
53241         * configure.in: Remove use of AC_REVISION.
53242         * iconvdata/Makefile (distribute): No need to filter out CVS.
53243         * scripts/list-sources.sh: Remove CVS, subversion and monotone
53244         handling.
53246 2011-11-16  Andreas Schwab  <schwab@redhat.com>
53248         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
53249         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
53250         [USE_AS_STRNCASECMP_L]: Likewise.
53251         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
53252         NO_TLS_DIRECT_SEG_REFS.
53253         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
53254         Fix argument offsets for non-PIC.
53255         [USE_AS_STRNCASECMP_L]: Likewise.
53256         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
53257         NO_TLS_DIRECT_SEG_REFS.
53259 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
53261         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
53262         O_CLOEXEC.
53263         * locale/loadlocale.c (_nl_load_locale): Likewise.
53265 2011-11-15  Andreas Schwab  <schwab@redhat.com>
53267         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
53268         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
53269         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
53270         (SYSCALL_GETTIME): Set errno on error.
53272         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
53273         count references to noai6ai_cached.
53275 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
53277         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
53279         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
53280         FD_CLOEXEC for /proc/self/maps.
53282         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
53283         FD_CLOEXEC for /proc/meminfo.
53285         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
53286         gai.conf.
53288         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
53289         FD_CLOEXEC for given file.
53291         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
53293         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
53294         FD_CLOEXEC for /etc/hosts.
53295         (_gethtent): Likewise.
53297         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
53299         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
53300         cancellation and set FD_CLOEXEC for /etc/netgroup.
53302         * nss/nss_files/files-key.c (search): Don't allow cancellation when
53303         reading /etc/publickey.
53305         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
53306         allow cancellation when reading /etc/group.
53308         * nss/nss_files/files-alias.c (internal_setent): Don't allow
53309         cancellation.
53310         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
53312         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
53313         when using data file.
53315         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
53317         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
53318         (write_nis_obj): Use "c" and "e" in fopen.
53320         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
53322         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
53324         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
53326         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
53328         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
53329         locale.alias.
53331         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
53333         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
53335         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
53337         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
53338         file parsing and set FD_CLOEXEC.
53340 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
53342         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
53344 2011-11-14  Andreas Schwab  <schwab@redhat.com>
53346         * malloc/arena.c (arena_get2): Don't call reused_arena when
53347         _int_new_arena failed.
53349 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
53351         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
53352         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
53353         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
53354         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53355         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53356         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
53357         to compile strcasecmp and strncasecmp.
53358         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
53359         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
53361         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
53363 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
53365         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
53366         locale-defines.sym to gen-as-const-headers.
53367         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
53368         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
53369         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
53370         to compile strcasecmp and strncasecmp.
53371         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
53372         strcasecmp_l and strncasecmp_l.
53373         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
53374         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
53375         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
53376         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
53377         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
53378         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
53379         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
53380         * sysdeps/i386/i686/multiarch/strncase.S: New file.
53381         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
53382         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
53383         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
53385 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
53387         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
53388         result of SYSDEP_GETTIME_CPU to retval.
53389         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
53390         parameter list to macro.  Remove trailing semicolon.  Adjust users.
53392         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
53393         variable.
53395         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
53396         mantissa words.
53397         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
53399         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
53400         from unused variable.
53402         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
53403         DWARF definitions.
53404         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
53405         for assembling.
53407         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
53408         over namespaces.
53410         * sunrpc/rpc_prot.c (rejected): Fix case value.
53412         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
53413         unsigned long long int to avoid warnings in shift.
53415         * posix/regex_internal.c (re_string_reconstruct): Actually use result
53416         of use of trans.
53417         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
53418         variable tmp.
53420         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
53421         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
53422         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
53424         * nis/nis_table.c (nis_list): Use variable of correct type for
53425         result of __follow_path call.
53427 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53429         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
53430         of math functions ceil, trunc, floor, round, and sqrt, when
53431         avaliable on the platform.
53432         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
53433         name clash.
53434         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53435         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53436         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53438 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
53440         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
53441         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
53443 2011-11-11  Roland McGrath  <roland@hack.frob.com>
53445         * include/unistd.h: Fix __readlink return type.
53446         Reported by Chris Metcalf <cmetcalf@tilera.com>.
53448 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
53450         * stdlib/ucontext.h: Undo last change for makecontext.
53452 2011-11-11  Andreas Schwab  <schwab@redhat.com>
53454         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
53456         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
53457         * setjmp/setjmp.h: Mark functions as non-leaf.
53458         * setjmp/bits/setjmp2.h: Likewise.
53459         * stdlib/ucontext.h: Likewise.
53461 2011-11-10  Andreas Schwab  <schwab@redhat.com>
53463         * malloc/arena.c (_int_new_arena): Don't increment narenas.
53464         (reused_arena): Don't check arena limit.
53465         (arena_get2): Atomically check arena limit.
53467 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
53469         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
53470         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
53472         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
53473         instructions.
53475 2011-11-07  Andreas Schwab  <schwab@redhat.com>
53477         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
53478         handler when locking.
53480         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53481         Fix size of allocated buffer.
53483 2011-11-04  Andreas Schwab  <schwab@redhat.com>
53485         [BZ #10103]
53486         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
53487         declarations for long double functions.
53488         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
53490         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
53492 2011-11-03  Andreas Schwab  <schwab@redhat.com>
53494         * nscd/nscd.c (main): Don't start AVC thread until credentials are
53495         installed.
53497         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
53498         is disabled.
53500 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53502         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
53504 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
53506         * include/alloca.h (stackinfo_alloca_round): Define.
53507         (extend_alloca): Use it.
53508         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
53509         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
53510         here.
53512         * scripts/check-local-headers.sh: Ignore libaudit.h.
53514         * nscd/Makefile (extra-objs): Make recursively expanded.
53516 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
53518         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
53519         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53521         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
53522         * posix/tst-rfc3484-2.c: Likewise.
53523         * posix/tst-rfc3484-3.c: Likewise.
53525         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53526         process_vm_writev.
53527         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
53528         process_vm_writev.
53529         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
53530         process_vm_writev from libc using GLIBC_2.15 version.
53532         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
53534 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
53536         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
53537         stack usage.
53539 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
53541         [BZ #13367]
53542         * nss/getent.c (initgroups_keys): Show error message in case no group
53543         names are given.
53545         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
53546         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
53547         __bump_nl_timestamp.
53548         * nscd/connections (nscd_init): When host database is served open
53549         netlink socket and request notification about configuration changes.
53550         (main_loop_poll): Track netlink file descriptor and bump timestamp
53551         in case data becomes available.
53552         (main_loop_epoll): Likewise.
53553         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
53554         (database_pers_head): Add extra_data fileds.
53555         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
53556         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
53557         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
53558         Adjust caller.
53559         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
53560         in6ai data, call __free_in6ai.
53561         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
53562         Add -DHAVE_NETLINK.
53563         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
53564         interface information.  Reuse previous data if netlink timestamp
53565         is not changed.
53566         (__bump_nl_timestamp): New function.
53567         (__free_in6ai): New function.
53569 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
53571         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
53572         close_not_cancel_no_status here.
53573         (__check_pf): Reorganize code a bit to not call close twice if OOM.
53575 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
53577         [BZ #13276]
53578         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
53579         return value.
53581         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
53582         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
53583         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
53585 2011-07-03  Andreas Jaeger  <aj@suse.de>
53587         [BZ #10709]
53588         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
53589         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
53590         * math/libm-test.inc (sin_test): Add test case.
53592 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
53594         [BZ #13337]
53595         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
53596         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
53598         * elf/chroot_canon.c (chroot_canon): Cleanups.
53600         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
53602         [BZ #13335]
53603         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
53604         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
53606         * string/test-strchr.c: Make usable for strchrnul testing.
53607         * string/test-strchrnul.c: New file.
53608         * string/Makefile (strop-tests): Add strchrnul.
53610         * po/it.po: Update from translation team.
53611         * po/es.po: Likewise.
53613 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
53615         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
53616         the three constants needed as parameters.  Drop the others.
53617         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
53618         __m128i_strloadu_tolower.
53619         Create and initialize variable zero and use it in all the places
53620         where _mm_setzero_si128 was used.
53622         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
53623         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
53624         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
53625         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
53626         anymore.
53627         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
53628         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
53629         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
53630         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
53631         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
53632         __mpranred, __mptan.
53633         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
53634         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
53635         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
53636         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
53637         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
53638         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
53639         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
53640         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
53641         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
53643 2011-10-28  Andreas Schwab  <schwab@redhat.com>
53645         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
53646         redefine if SHARED.
53647         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
53649         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
53650         wide char related routines to wcsmbs subdir.
53652 2011-10-27  Andreas Schwab  <schwab@redhat.com>
53654         [BZ #13344]
53655         * misc/sys/cdefs.h (__THROWNL): Define.
53656         * posix/unistd.h: Use __THREADNL instead of __THREAD
53657         for memory synchronization functions.
53659 2011-10-26  Roland McGrath  <roland@hack.frob.com>
53661         [BZ #13349]
53662         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
53663         doesn't exist.
53664         * manual/stdio.texi (Obstack Streams): Node removed.
53666 2011-10-26  Andreas Schwab  <schwab@redhat.com>
53668         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
53669         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53670         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53672         * math/math_private.h (math_force_eval): Allow non-addressable
53673         arguments.
53674         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
53676 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
53678         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
53679         file is not needed.
53681         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
53682         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
53683         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53684         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53685         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53686         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53687         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53688         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
53689         Add AVX variants.
53690         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
53691         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
53692         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
53693         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
53694         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
53695         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
53696         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
53697         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
53698         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
53699         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
53700         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
53701         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
53702         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
53703         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
53704         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
53705         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
53706         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
53707         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
53708         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
53710         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
53711         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
53713         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
53714         place.  Use VEX encoding when compiling for AVX.
53716 2011-10-25  Andreas Schwab  <schwab@redhat.com>
53718         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
53719         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
53721         * string/test-strchr.c (do_test): Don't generate NUL bytes.
53723 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
53725         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
53726         useless if() expression.
53727         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53728         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53729         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53730         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53731         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53732         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53733         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53734         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53735         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53736         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53737         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53738         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53739         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53740         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53741         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53742         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53743         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53744         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53745         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53747         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
53749 2011-10-25  Andreas Schwab  <schwab@redhat.com>
53751         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
53752         condition.
53753         * elf/dl-fini.c (_dl_sort_fini): Likewise.
53755 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
53757         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
53758         .text section.  Avoid duplicate constants.
53759         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53760         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53761         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53762         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53763         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53764         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53765         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53766         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53767         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53768         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
53769         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53770         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53771         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53772         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53773         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
53774         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53775         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
53776         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53777         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53778         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53779         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53780         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53781         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53782         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
53783         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
53784         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
53785         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
53786         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
53787         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
53788         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
53789         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
53790         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
53791         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53792         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
53793         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
53794         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
53795         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
53796         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
53797         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
53798         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
53799         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
53800         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
53801         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
53802         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
53803         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
53805 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
53807         * sysdeps/x86_64/dla.h: Move to ...
53808         * sysdeps/x86_64/fpu/dla.h: ...here.
53809         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
53810         situations.  Use __builtin_fma only for gcc 4.6 and up.
53812         * config.make.in: Add have-mfma4 entry.
53813         * configure.in: Substitute libc_cv_cc_fma4.
53814         * math/Makefile (dbl-only-routines): Add sincostab.
53815         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
53816         Use __sincostab not sincos.
53817         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
53818         name is a macro.
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/e_atan2.c: Likewise.  Define singArctan2
53823         using __copysign.
53824         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
53825         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
53826         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
53827         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
53828         and __inv.
53829         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
53830         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
53831         __copysign.
53832         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
53833         define aliases when function name is a macro.
53834         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
53835         sysdeps/ieee754/dbl-64/sincos.tbl.
53836         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
53837         fma4-enabled routines.
53838         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
53839         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
53840         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
53841         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
53842         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
53843         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
53844         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
53845         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
53846         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
53847         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
53848         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
53849         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
53850         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
53851         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
53852         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
53853         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
53854         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
53855         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
53856         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
53857         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
53858         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
53859         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
53860         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
53861         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
53862         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
53863         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
53864         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
53865         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
53866         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
53867         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
53869         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
53870         rename.
53871         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53872         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53873         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53874         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53875         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53876         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53877         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53878         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53880 2011-10-24  Andreas Schwab  <schwab@redhat.com>
53882         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
53884 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
53886         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
53888         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
53889         prediction.
53890         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
53892         * string/strnlen.c: Don't define STRNLEN, reverse logic.
53893         Remove unused variable magic_bits.
53894         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
53896         * string/strnlen.c: Define and use STRNLEN macro.
53897         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
53898         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
53899         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
53900         * wcsmbs/wcslen.c: Define and use WCSLEN.
53901         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
53902         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
53903         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
53904         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
53905         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
53906         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
53907         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53909 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53911         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53912         strnlen-sse2-no-bsf.
53913         Rename strlen-no-bsf to strlen-sse2-no-bsf.
53914         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
53915         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
53916         Add strnlen support.
53917         (USE_AS_STRNLEN): New macro.
53918         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
53919         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
53920         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
53921         * sysdeps/x86_64/wcslen.S: New file.
53923 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
53925         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53926         XMM-moves are used for copying on small sizes.
53928 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53930         * wcsmbs/Makefile (strop-tests): Add wcschr.
53931         * wcsmbs/test-wcschr.c: New file.
53932         * string/test-strchr.c: Update.
53933         Add wcschr support.
53934         (WIDE): New macro.
53936 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53938         * wcsmbs/Makefile (strop-tests): Add wcslen.
53939         * wcsmbs/test-wcslen.c: New file.
53940         * string/test-strlen.c: Update.
53941         Add wcslen support.
53942         (WIDE): New macro.
53944 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
53946         * po/it.po: Update from translation team.
53948 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53950         * sysdeps/x86_64/wcscmp.S: Update.
53951         Fix wrong comparison semantics.
53952         wcscmp shall use signed comparison not unsigned.
53953         Don't use substraction to avoid overflow bug.
53954         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
53955         * wcsmbc/wcscmp.c: Likewise.
53956         * string/test-strcmp.c: Likewise.
53957         Add new tests to check cases with negative values.
53959 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
53961         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
53962         * sysdeps/x86_64/dla.h: ...here.  New file.
53963         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
53964         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53965         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53966         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53967         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53968         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53969         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53970         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53971         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53973 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
53975         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
53976         __ynl_finite aliases.
53978 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
53980         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53982         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
53983         define DLA_FMA.
53984         [DLA_FMA] (EMULV): Use DLA_FMA.
53985         [DLA_FMA] (MUL12): Use EMULV.
53986         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
53987         that are not needed.
53988         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53989         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53990         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53991         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53992         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53993         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53994         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53996 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
53998         * math/s_nan.c: Undef __nan.
53999         * math/s_nanf.c: Undef __nanf.
54000         * math/s_nanl.c: Undef __nanl.
54001         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
54002         "math_private.h".
54004 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
54006         * math/s_catan.c: Add branch predictions.
54007         * math/s_catanf.c: Likewise.
54008         * math/s_catanh.c: Likewise.
54009         * math/s_catanhf.c: Likewise.
54010         * math/s_catanhl.c: Likewise.
54011         * math/s_catanl.c: Likewise.
54012         * math/s_cexp.c: Likewise.
54013         * math/s_cexpf.c: Likewise.
54014         * math/s_cexpl.c: Likewise.
54015         * math/s_clog.c: Likewise.
54016         * math/s_clog10.c: Likewise.
54017         * math/s_clog10f.c: Likewise.
54018         * math/s_clog10l.c: Likewise.
54019         * math/s_clogf.c: Likewise.
54020         * math/s_clogl.c: Likewise.
54021         * math/s_csqrt.c: Likewise.
54022         * math/s_csqrtf.c: Likewise.
54023         * math/s_csqrtl.c: Likewise.
54024         * math/s_ctanf.c: Likewise.
54025         * math/s_ctanh.c: Likewise.
54026         * math/s_ctanhf.c: Likewise.
54027         * math/s_ctanhl.c: Likewise.
54028         * math/s_ctanl.c: Likewise.
54030         * math/math_private.h: Define __nan, __nanf, __nanl.
54031         * math/s_cacosh.c: Include <math_private.h>.
54032         * math/s_cacoshl.c: Likewise.
54033         * math/s_casinh.c: Likewise.
54034         * math/s_casinhf.c: Likewise.
54035         * math/s_casinhl.c: Likewise.
54036         * math/s_ccos.c: Rely entire on ccosh.
54037         * math/s_ccosf.c: Rely entire on ccoshf.
54038         * math/s_ccosl.c: Rely entirely on ccoshl.
54039         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
54040         Remove tests for FE_INVALID.
54041         * math/s_ccoshf.c: Likewise.
54042         * math/s_ccoshl.c: Likewise.
54043         * math/s_csin.c: Likewise.
54044         * math/s_csinf.c: Likewise.
54045         * math/s_csinh.c Likewise.
54046         * math/s_csinhf.c: Likewise.
54047         * math/s_csinhl.c: Likewise.
54048         * math/s_csinl.c: Likewise.
54049         * math/s_ctan.c: Likewise.
54050         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
54051         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
54052         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
54054 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
54056         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
54057         compilation problems.
54059         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
54060         __builtin_expect.
54062 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
54064         * sysdeps/i386/configure.in: Test for -mfma4 option.
54065         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
54066         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
54067         COMMON_CPUID_INDEX_80000001.
54068         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
54069         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
54070         use it if FMA3 is not supported.
54071         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
54073         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
54074         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54076 2011-10-20  Andreas Schwab  <schwab@redhat.com>
54078         [BZ #12892]
54079         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
54080         it would create a cycle with a link time dependency.
54082 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
54084         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
54085         instruction.
54086         * string/Makefile (strop-tests): Add rawmemchr.
54087         * string/test-rawmemchr.c: New file.
54089         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
54090         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
54091         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
54092         when compiling str{,n}casecmp and when AVX is available.  Hook up
54093         new optimized code in initializers.
54095 2011-10-19  Andreas Schwab  <schwab@redhat.com>
54097         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
54098         __feraiseexcept instead of feraiseexcept.
54100 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
54102         * math/math_private.h: Define defaults for libc_fetestexcept and
54103         libc_feupdateenv.
54104         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
54105         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
54106         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54107         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54108         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54109         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54110         libc_fetestexcept and libc_feupdateenv.
54112         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
54113         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
54114         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
54115         * sysdeps/x86_64/fpu/math_private.h: Define special version of
54116         libc_feholdexcept_setround.
54118         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
54119         Add s_nearbyint-c and s_nearbyintf-c.
54120         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
54121         nearbyintf inlines.
54122         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
54123         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
54124         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
54125         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
54127         * math/math_private.h: Define defaults for libc_fegetround,
54128         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
54129         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
54130         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
54131         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
54132         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
54133         standard functions.
54134         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54135         Remove comments and hacks for old compiler versions.
54136         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54137         libc_fegetround, libc_fesetround, libc_feholdexcept, and
54138         libc_feholdexceptl.
54140 2011-10-18  Andreas Schwab  <schwab@redhat.com>
54142         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
54143         (__feraiseexcept_renamed): Add __NTH.
54144         (feraiseexcept): Add __NTH.  Rename local variables to fix
54145         namespace violations.
54147 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
54149         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
54151         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
54153         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
54154         recently added interfaces.
54155         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
54157         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
54158         about macro parameter expansion.
54160         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
54161         __NO_MATH_INLINES is defined.  Cleanups.
54163         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
54164         and __floorf is target has SSE4.1.
54165         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
54166         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
54167         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
54168         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
54170         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
54171         name.
54172         (floorf): Likewise.
54174         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
54176 2011-10-17  Andreas Schwab  <schwab@redhat.com>
54178         * misc/sys/cdefs.h: Fix last change.
54180         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
54181         database lookup.
54183 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
54185         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
54187         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
54188         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54189         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54190         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54191         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54192         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54193         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54194         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54195         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54196         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
54197         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
54198         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
54199         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
54200         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
54201         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
54202         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
54203         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
54204         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
54205         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
54206         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
54207         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
54208         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
54210         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
54211         ceil, ceilf, floor, floorf.
54213         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
54214         Perform IRELATIVE relocations last.
54216         * elf/do-rel.h: Add another parameter nrelative, replacing the
54217         local variable with the same name.  Change name of the function
54218         to end in Rel or Rela (uppercase).
54219         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
54220         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
54221         elf_dynamic_do_##reloc function.
54223 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
54225         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
54226         is sufficient, at least on modern CPUs.
54228         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
54230         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
54231         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
54233         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
54234         __expl_finite.
54235         * math/bits/math-finite.h: Add entries for exp.
54236         * math/e_expl.c: Add __*_finite alias.
54237         * sysdeps/i386/fpu/e_exp.S: Likewise.
54238         * sysdeps/i386/fpu/e_expf.S: Likewise.
54239         * sysdeps/i386/fpu/e_expl.c: Likewise.
54240         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54241         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54242         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54243         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54244         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
54245         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54246         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54248         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
54249         is sufficient, at least on modern CPUs.
54251         * ctype/ctype-info.c (__ctype_init): Define.
54252         * include/ctype.h (__ctype_init): Declare.
54253         (__ctype_b_loc): The variable is always initialized.
54254         (__ctype_toupper_loc): Likewise.
54255         (__ctype_tolower_loc): Likewise.
54256         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
54257         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
54259 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
54261         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
54263         * configure.in: Also look in $cxxmachine/include for C++ system
54264         headers.
54266 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54268         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
54269         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
54270         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
54271         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
54272         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
54273         (USE_AS_WMEMCMP): New macro.
54274         Fixing indents.
54275         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
54276         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
54277         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
54278         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
54279         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54280         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
54281         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
54282         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
54283         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
54284         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
54285         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
54286         (USE_AS_WMEMCMP): New macro.
54287         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
54288         * sysdeps/string/test-memcmp.c: Update.
54289         Fix simple_wmemcmp.
54290         Add new tests.
54291         * wcsmbs/wmemcmp.c: Update.
54292         (WMEMCMP): New macro.
54293         Fix overflow bug.
54295 2011-10-12  Andreas Jaeger  <aj@suse.de>
54297         [BZ #13268]
54298         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
54300 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
54302         * libio/iofwide.c (do_length): Avoid warning.
54304         * ctype/ctype.h (__isctype_f): Add missing __THROW.
54306 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
54308         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
54310         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
54311         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
54312         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
54313         * sysdeps/i386/i686/fpu/e_log.S: New file.
54314         * sysdeps/i386/i686/fpu/e_logf.S: New file.
54315         * sysdeps/i386/i686/fpu/e_logl.S: New file.
54317         * ctype/ctype.h: Add support for inlined isXXX functions when
54318         compiling C++ code.
54320 2011-10-14  Andreas Schwab  <schwab@redhat.com>
54322         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54324         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
54326 2011-10-13  Roland McGrath  <roland@hack.frob.com>
54328         [BZ #13291]
54329         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
54331 2011-10-13  Andreas Schwab  <schwab@redhat.com>
54333         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
54334         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
54335         feraiseexcept.
54337         * sysdeps/x86_64/memrchr.S: Check for zero size.
54339         * string/stratcliff.c: Add memrchr tests.
54341 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54343         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54344         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
54345         rawmemchr-sse2 rawmemchr-sse2-bsf.
54346         * sysdeps/i386/i686/multiarch/memchr.S: New file.
54347         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
54348         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
54349         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
54350         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
54351         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
54352         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
54353         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
54354         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
54355         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
54356         * string/memrchr.c (MEMRCHR): New macro.
54358 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
54360         Add integration with gcc's -ffinite-math-only and optimize wrapper
54361         functions in libm.
54362         * Versions.def: Define GLIBC_2.15 version for libm.
54363         * math/Makefile (headers): Add bits/math-finite.h.
54364         * math/bits/math-finite.h: New file.
54365         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
54366         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
54367         * math/e_acoshl.c: Add __*_finite alias.
54368         * math/e_acosl.c: Likewise.
54369         * math/e_asinl.c: Likewise.
54370         * math/e_atan2l.c: Likewise.
54371         * math/e_atanhl.c: Likewise.
54372         * math/e_coshl.c: Likewise.
54373         * math/e_exp10.c: Likewise.
54374         * math/e_exp10f.c: Likewise.
54375         * math/e_exp10l.c: Likewise.
54376         * math/e_exp2l.c: Likewise.
54377         * math/e_fmodl.c: Likewise.
54378         * math/e_gammal_r.c: Likewise.
54379         * math/e_hypotl.c: Likewise.
54380         * math/e_j0l.c: Likewise.
54381         * math/e_j1l.c: Likewise.
54382         * math/e_jnl.c: Likewise.
54383         * math/e_lgammal_r.c: Likewise.
54384         * math/e_log10l.c: Likewise.
54385         * math/e_log2l.c: Likewise.
54386         * math/e_logl.c: Likewise.
54387         * math/e_powl.c: Likewise.
54388         * math/e_sinhl.c: Likewise.
54389         * math/e_sqrtl.c: Likewise.
54390         * math/e_scalb.c: Completely rewritten and optimized.
54391         * math/e_scalbf.c: Likewise.
54392         * math/e_scalbl.c: Likewise.
54393         * math/w_acos.c: Likewise.
54394         * math/w_acosf.c: Likewise.
54395         * math/w_acosl.c: Likewise.
54396         * math/w_acosh.c: Likewise.
54397         * math/w_acoshf.c: Likewise.
54398         * math/w_acoshl.c: Likewise.
54399         * math/w_asin.c: Likewise.
54400         * math/w_asinf.c: Likewise.
54401         * math/w_asinl.c: Likewise.
54402         * math/w_atan2.c: Likewise.
54403         * math/w_atan2f.c: Likewise.
54404         * math/w_atan2l.c: Likewise.
54405         * math/w_atanh.c: Likewise.
54406         * math/w_atanhf.c: Likewise.
54407         * math/w_atanhl.c: Likewise.
54408         * math/w_exp10.c: Likewise.
54409         * math/w_exp10f.c: Likewise.
54410         * math/w_exp10l.c: Likewise.
54411         * math/w_fmod.c: Likewise.
54412         * math/w_fmodf.c: Likewise.
54413         * math/w_fmodl.c: Likewise.
54414         * math/w_j0.c: Likewise.
54415         * math/w_j0f.c: Likewise.
54416         * math/w_j0l.c: Likewise.
54417         * math/w_j1.c: Likewise.
54418         * math/w_j1f.c: Likewise.
54419         * math/w_j1l.c: Likewise.
54420         * math/w_jn.c: Likewise.
54421         * math/w_jnf.c: Likewise.
54422         * math/w_log.c: Likewise.
54423         * math/w_logf.c: Likewise.
54424         * math/w_logl.c: Likewise.
54425         * math/w_log10.c: Likewise.
54426         * math/w_log10f.c: Likewise.
54427         * math/w_log10l.c: Likewise.
54428         * math/w_log2.c: Likewise.
54429         * math/w_log2f.c: Likewise.
54430         * math/w_log2l.c: Likewise.
54431         * math/w_pow.c: Likewise.
54432         * math/w_powf.c: Likewise.
54433         * math/w_powl.c: Likewise.
54434         * math/w_remainder.c: Likewise.
54435         * math/w_remainderf.c: Likewise.
54436         * math/w_remainderl.c: Likewise.
54437         * math/w_scalb.c: Likewise.
54438         * math/w_scalbf.c: Likewise.
54439         * math/w_scalbl.c: Likewise.
54440         * math/w_sqrt.c: Likewise.
54441         * math/w_sqrtf.c: Likewise.
54442         * math/w_sqrtl.c: Likewise.
54443         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
54444         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
54445         used.
54446         * math/math_private.h: Declare __kernel_standard_f.
54447         * math/w_cosh.c: Remove cruft and optimize a bit.
54448         * math/w_coshf.c: Likewise.
54449         * math/w_coshl.c: Likewise.
54450         * math/w_exp2.c: Likewise.
54451         * math/w_exp2f.c: Likewise.
54452         * math/w_exp2l.c: Likewise.
54453         * math/w_hypot.c: Likewise.
54454         * math/w_hypotf.c: Likewise.
54455         * math/w_hypotl.c: Likewise.
54456         * math/w_lgamma.c: Likewise.
54457         * math/w_lgamma_r.c: Likewise.
54458         * math/w_lgammaf.c: Likewise.
54459         * math/w_lgammaf_r.c: Likewise.
54460         * math/w_lgammal.c: Likewise.
54461         * math/w_lgammal_r.c: Likewise.
54462         * math/w_sinh.c: Likewise.
54463         * math/w_sinhf.c: Likewise.
54464         * math/w_sinhl.c: Likewise.
54465         * math/w_tgamma.c: Likewise.
54466         * math/w_tgammaf.c: Likewise.
54467         * math/w_tgammal.c: Likewise.
54468         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54469         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54470         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
54471         Minor optimizations.  Pretty printing.  Remove cruft.
54472         * sysdeps/i386/fpu/e_acosf.S: Likewise.
54473         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54474         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54475         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54476         * sysdeps/i386/fpu/e_acosl.c: Likewise.
54477         * sysdeps/i386/fpu/e_asin.S: Likewise.
54478         * sysdeps/i386/fpu/e_asinf.S: Likewise.
54479         * sysdeps/i386/fpu/e_atan2.S: Likewise.
54480         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
54481         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
54482         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54483         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54484         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54485         * sysdeps/i386/fpu/e_exp10.S: Likewise.
54486         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
54487         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
54488         * sysdeps/i386/fpu/e_exp2.S: Likewise.
54489         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
54490         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
54491         * sysdeps/i386/fpu/e_fmod.S: Likewise.
54492         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
54493         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
54494         * sysdeps/i386/fpu/e_hypot.S: Likewise.
54495         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
54496         * sysdeps/i386/fpu/e_log.S: Likewise.
54497         * sysdeps/i386/fpu/e_log10.S: Likewise.
54498         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54499         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54500         * sysdeps/i386/fpu/e_log2.S: Likewise.
54501         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54502         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54503         * sysdeps/i386/fpu/e_logf.S: Likewise.
54504         * sysdeps/i386/fpu/e_logl.S: Likewise.
54505         * sysdeps/i386/fpu/e_pow.S: Likewise.
54506         * sysdeps/i386/fpu/e_powf.S: Likewise.
54507         * sysdeps/i386/fpu/e_powl.S: Likewise.
54508         * sysdeps/i386/fpu/e_remainder.S: Likewise.
54509         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
54510         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
54511         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54512         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54513         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54514         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
54515         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
54516         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
54517         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54518         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54519         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54520         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54521         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54522         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54523         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
54524         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54525         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54526         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54527         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54528         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54529         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54530         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54531         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54532         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54533         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54534         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54535         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54536         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54537         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54538         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54539         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54540         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54541         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54542         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54543         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54544         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54545         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
54546         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54547         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54548         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54549         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54550         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54551         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54552         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54553         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54554         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54555         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54556         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54557         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54558         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54559         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54560         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54561         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54562         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54563         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54564         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54565         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54566         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
54567         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54568         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54569         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54570         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54571         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54572         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54573         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54574         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54575         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54576         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54577         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54578         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54579         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54580         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54581         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54582         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54583         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54584         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54585         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
54586         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54587         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54588         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54589         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54590         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54591         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54592         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54593         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54594         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54595         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54596         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54597         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54598         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54599         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
54600         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54601         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54602         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54603         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54604         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54605         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54606         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54607         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54608         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54609         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54610         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
54611         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54612         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54613         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54614         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
54615         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
54616         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
54617         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
54618         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
54619         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
54620         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
54621         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54622         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54623         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54624         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54625         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
54626         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54627         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
54628         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
54629         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
54630         (__isnanf): Likewise.
54631         (__isinf_ns): Likewise.
54632         (__isinf_nsf): Likewise.
54633         (__finite): Likewise.
54634         (__finitef): Likewise.
54635         (__ieee754_sqrt): Define as macro.
54636         (__ieee754_sqrtf): Define as macro.
54637         (__ieee754_sqrtl): Define as macro.
54638         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
54639         inlined copy.
54640         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
54641         __FINITE_MATH_ONLY__ consistent.
54642         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
54644 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
54646         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
54647         of rawmemchr.
54649         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
54651 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
54653         * po/ja.po: Update from translation team.
54655 2011-10-08  Roland McGrath  <roland@hack.frob.com>
54657         * locale/programs/locarchive.c (prepare_address_space): New function.
54658         (create_archive, enlarge_archive, open_archive): Use it.
54660         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
54661         inside [SHARED], where it is used.
54663         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
54665         * nss/getent.c (netgroup_keys): Remove unused variable.
54666         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54668 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
54670         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
54671         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
54672         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
54673         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
54674         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
54675         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
54676         * math/Makefile (libm-calls): Add s_isinf_ns.
54677         * math/divtc3.c: Use __isinf_nsl instead of isinf.
54678         * math/multc3.c: Likewise.
54679         * math/s_casin.c: Likewise.
54680         * math/s_casinf.c: Likewise.
54681         * math/s_casinl.c: Likewise.
54682         * math/s_ccos.c: Likewise.
54683         * math/s_ccosf.c: Likewise.
54684         * math/s_ccosl.c: Likewise.
54685         * math/s_ctan.c: Likewise.
54686         * math/s_ctanf.c: Likewise.
54687         * math/s_ctanh.c: Likewise.
54688         * math/s_ctanhf.c: Likewise.
54689         * math/s_ctanhl.c: Likewise.
54690         * math/s_ctanl.c: Likewise.
54691         * math/w_fmod.c: Likewise.
54692         * math/w_fmodf.c: Likewise.
54693         * math/w_fmodl.c: Likewise.
54694         * math/w_remainder.c: Likewise.
54695         * math/w_remainderf.c: Likewise.
54696         * math/w_remainderl.c: Likewise.
54697         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
54698         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
54699         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
54700         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
54701         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
54702         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
54703         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
54704         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
54706         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
54707         of the number.
54708         * stdio-common/printf_fphex.c: Likewise.
54709         * stdio-common/printf_size.c: Likewise.
54711         * math/e_exp10.c: Include math_private.h using <...> not "...".
54712         * math/e_exp10f.c: Likewise.
54713         * math/e_exp10l.c: Likewise.
54714         * math/e_exp2l.c: Likewise.
54715         * math/e_j0l.c: Likewise.
54716         * math/e_j1l.c: Likewise.
54717         * math/e_jnl.c: Likewise.
54718         * math/e_lgammal_r.c: Likewise.
54719         * math/e_rem_pio2l.c: Likewise.
54720         * math/e_scalb.c: Likewise.
54721         * math/e_scalbf.c: Likewise.
54722         * math/e_scalbl.c: Likewise.
54723         * math/k_cosl.c: Likewise.
54724         * math/k_sinl.c: Likewise.
54725         * math/k_tanl.c: Likewise.
54726         * math/s_cacoshf.c: Likewise.
54727         * math/s_catan.c: Likewise.
54728         * math/s_catanf.c: Likewise.
54729         * math/s_catanh.c: Likewise.
54730         * math/s_catanhf.c: Likewise.
54731         * math/s_catanhl.c: Likewise.
54732         * math/s_catanl.c: Likewise.
54733         * math/s_ccosh.c: Likewise.
54734         * math/s_ccoshf.c: Likewise.
54735         * math/s_ccoshl.c: Likewise.
54736         * math/s_cexp.c: Likewise.
54737         * math/s_cexpf.c: Likewise.
54738         * math/s_cexpl.c: Likewise.
54739         * math/s_clog.c: Likewise.
54740         * math/s_clog10.c: Likewise.
54741         * math/s_clog10f.c: Likewise.
54742         * math/s_clog10l.c: Likewise.
54743         * math/s_clogf.c: Likewise.
54744         * math/s_clogl.c: Likewise.
54745         * math/s_csin.c: Likewise.
54746         * math/s_csinf.c: Likewise.
54747         * math/s_csinh.c: Likewise.
54748         * math/s_csinhf.c: Likewise.
54749         * math/s_csinhl.c: Likewise.
54750         * math/s_csinl.c: Likewise.
54751         * math/s_csqrt.c: Likewise.
54752         * math/s_csqrtf.c: Likewise.
54753         * math/s_csqrtl.c: Likewise.
54754         * math/s_ctan.c: Likewise.
54755         * math/s_ctanf.c: Likewise.
54756         * math/s_ctanh.c: Likewise.
54757         * math/s_ctanhf.c: Likewise.
54758         * math/s_ctanhl.c: Likewise.
54759         * math/s_ctanl.c: Likewise.
54760         * math/s_ldexp.c: Likewise.
54761         * math/s_ldexpf.c: Likewise.
54762         * math/s_ldexpl.c: Likewise.
54763         * math/s_significand.c: Likewise.
54764         * math/s_significandf.c: Likewise.
54765         * math/s_significandl.c: Likewise.
54766         * math/w_acos.c: Likewise.
54767         * math/w_acosf.c: Likewise.
54768         * math/w_acosh.c: Likewise.
54769         * math/w_acoshf.c: Likewise.
54770         * math/w_acoshl.c: Likewise.
54771         * math/w_acosl.c: Likewise.
54772         * math/w_asin.c: Likewise.
54773         * math/w_asinf.c: Likewise.
54774         * math/w_asinl.c: Likewise.
54775         * math/w_atan2.c: Likewise.
54776         * math/w_atan2f.c: Likewise.
54777         * math/w_atan2l.c: Likewise.
54778         * math/w_atanh.c: Likewise.
54779         * math/w_atanhf.c: Likewise.
54780         * math/w_atanhl.c: Likewise.
54781         * math/w_cosh.c: Likewise.
54782         * math/w_coshf.c: Likewise.
54783         * math/w_coshl.c: Likewise.
54784         * math/w_dremf.c: Likewise.
54785         * math/w_exp10.c: Likewise.
54786         * math/w_exp10f.c: Likewise.
54787         * math/w_exp10l.c: Likewise.
54788         * math/w_exp2.c: Likewise.
54789         * math/w_exp2f.c: Likewise.
54790         * math/w_fmod.c: Likewise.
54791         * math/w_fmodf.c: Likewise.
54792         * math/w_fmodl.c: Likewise.
54793         * math/w_hypot.c: Likewise.
54794         * math/w_hypotf.c: Likewise.
54795         * math/w_hypotl.c: Likewise.
54796         * math/w_j0.c: Likewise.
54797         * math/w_j0f.c: Likewise.
54798         * math/w_j0l.c: Likewise.
54799         * math/w_j1.c: Likewise.
54800         * math/w_j1f.c: Likewise.
54801         * math/w_j1l.c: Likewise.
54802         * math/w_jn.c: Likewise.
54803         * math/w_jnf.c: Likewise.
54804         * math/w_jnl.c: Likewise.
54805         * math/w_lgamma.c: Likewise.
54806         * math/w_lgamma_r.c: Likewise.
54807         * math/w_lgammaf.c: Likewise.
54808         * math/w_lgammaf_r.c: Likewise.
54809         * math/w_lgammal.c: Likewise.
54810         * math/w_lgammal_r.c: Likewise.
54811         * math/w_log.c: Likewise.
54812         * math/w_log10.c: Likewise.
54813         * math/w_log10f.c: Likewise.
54814         * math/w_log10l.c: Likewise.
54815         * math/w_log2.c: Likewise.
54816         * math/w_log2f.c: Likewise.
54817         * math/w_log2l.c: Likewise.
54818         * math/w_logf.c: Likewise.
54819         * math/w_logl.c: Likewise.
54820         * math/w_pow.c: Likewise.
54821         * math/w_powf.c: Likewise.
54822         * math/w_powl.c: Likewise.
54823         * math/w_remainder.c: Likewise.
54824         * math/w_remainderf.c: Likewise.
54825         * math/w_remainderl.c: Likewise.
54826         * math/w_scalb.c: Likewise.
54827         * math/w_scalbf.c: Likewise.
54828         * math/w_scalbl.c: Likewise.
54829         * math/w_sinh.c: Likewise.
54830         * math/w_sinhf.c: Likewise.
54831         * math/w_sinhl.c: Likewise.
54832         * math/w_sqrt.c: Likewise.
54833         * math/w_sqrtf.c: Likewise.
54834         * math/w_sqrtl.c: Likewise.
54835         * math/w_tgamma.c: Likewise.
54836         * math/w_tgammaf.c: Likewise.
54837         * math/w_tgammal.c: Likewise.
54839         * po/ja.po: Update from translation team.
54841 2011-09-29  Andreas Jaeger  <aj@suse.de>
54843         [BZ #13179]
54844         * sunrpc/netname.c (netname2host): Fix logic.
54846         [BZ #6779]
54847         [BZ #6783]
54848         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
54849         correctly.
54850         * math/w_remainder.c (__remainder): Likewise.
54851         * math/w_remainderf.c (__remainderf): Likewise.
54852         * math/libm-test.inc (remainder_test): Add test cases.
54854 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54856         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
54857         sdiv_qrnnd.
54859 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
54861         * string/test-memcmp.c: Avoid unncessary #defines.
54862         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54864 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54866         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
54867         Use new sse2 version for core i3 - i7 as it's faster
54868         than sse42 version.
54869         (bit_Prefer_PMINUB_for_stringop): New.
54870         * sysdeps/x86_64/rawmemchr.S: Update.
54871         Replace with faster SSE2 version.
54872         * sysdeps/x86_64/memrchr.S: New file.
54873         * sysdeps/x86_64/memchr.S: Update.
54874         Replace with faster SSE2 version.
54876 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
54878         * elf/dl-load.c (lose): Add cast to avoid warning.
54880 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
54882         * po/ca.po: Update from translation team.
54884         * inet/getnetgrent_r.c: Hook up nscd.
54885         * nscd/Makefile (routines): Add nscd_netgroup.
54886         (nscd-modules): Add netgroupcache.
54887         (CFLAGS-netgroupcache.c): Define.
54888         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
54889         (cache_search): Add const to second parameter.
54890         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
54891         INNETGR.
54892         (dbs): Add netgrdb entry.
54893         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
54894         (verify_persistent_db): Handle netgrdb.
54895         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
54896         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
54897         GETFDNETGR.
54898         (netgroup_response_header): Define.
54899         (innetgroup_response_header): Define.
54900         (datahead): Add netgroup_response_header and innetgroup_response_header
54901         elements.
54902         * nscd/nscd.conf: Add entries for netgroup cache.
54903         * nscd/nscd.h (dbtype): Add netgrdb.
54904         (_PATH_NSCD_NETGROUP_DB): Define.
54905         (netgroup_iov_disabled): Declare.
54906         (xmalloc, xcalloc, xrealloc): Move declarations here.
54907         (cache_search): Adjust prototype.
54908         Add netgroup-related prototypes.
54909         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
54910         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
54911         (__nscd_innetgr): Declare.
54912         * nscd/selinux.c (perms): Use access_vector_t as element type and
54913         add netgroup-related initializers.
54914         * nscd/netgroupcache.c: New file.
54915         * nscd/nscd_netgroup.c: New file.
54916         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
54917         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
54918         For four parameters use innetgr.
54919         * nss/nss_files/files-init.c: Add definition and callback for netgr.
54920         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
54921         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
54922         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
54924         * nscd/connections.c (register_traced_file): Don't register file
54925         for disabled databases.
54927 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
54929         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
54931         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
54932         from tree and freeing node.
54934 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
54936         * nss/nsswitch.c (__nss_database_lookup): Handle
54937         nss_parse_service_list out of memory case.
54939 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
54941         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
54942         out of memory case.
54944 2011-10-04  Andreas Schwab  <schwab@redhat.com>
54946         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
54947         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
54948         pass it down.
54949         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
54950         elf_machine_rela, elf_machine_lazy_rel.
54951         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
54952         (ELF_DYNAMIC_DO_REL): Likewise.
54953         (ELF_DYNAMIC_DO_RELA): Likewise.
54954         (ELF_DYNAMIC_RELOCATE): Likewise.
54955         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
54956         to ELF_DYNAMIC_DO_REL.
54957         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
54958         (dl_main): In trace mode always set __RTLD_NOIFUNC.
54959         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
54960         elf_machine_rela.
54961         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
54962         skip_ifunc, don't call ifunc function if non-zero.
54963         (elf_machine_rela): Likewise.
54964         (elf_machine_lazy_rel): Likewise.
54965         (elf_machine_lazy_rela): Likewise.
54966         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
54967         (elf_machine_lazy_rel): Likewise.
54968         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
54969         Likewise.
54970         (elf_machine_lazy_rel): Likewise.
54971         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54972         Likewise.
54973         (elf_machine_lazy_rel): Likewise.
54974         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
54975         (elf_machine_lazy_rel): Likewise.
54976         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
54977         (elf_machine_lazy_rel): Likewise.
54978         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54979         (elf_machine_lazy_rel): Likewise.
54980         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
54981         (elf_machine_lazy_rel): Likewise.
54982         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
54983         (elf_machine_lazy_rel): Likewise.
54984         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
54985         (elf_machine_lazy_rel): Likewise.
54987 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
54989         * nss/nss_files/files-init.c (_nss_files_init): Use static
54990         initialization for all the *_traced_file variables.
54992 2011-09-28  Andreas Schwab  <schwab@redhat.com>
54994         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54996 2011-09-27  Roland McGrath  <roland@hack.frob.com>
54998         [BZ #13226]
54999         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
55001 2011-09-27  Andreas Schwab  <schwab@redhat.com>
55003         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55004         Reread the line before reparsing it.
55006 2011-09-26  Andreas Schwab  <schwab@redhat.com>
55008         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
55010 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
55011             Maxim Kuvyrkov  <maxim@codesourcery.com>
55012             Joseph Myers  <joseph@codesourcery.com>
55014         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
55015         if needed for __stack_chk_guard.
55017 2011-09-19  Roland McGrath  <roland@hack.frob.com>
55019         * sysdeps/posix/spawni.c (script_execute): Always define it.
55020         It will be optimized away if unused.
55021         (maybe_script_execute): New function.
55022         (__spawni): Call it.
55024         * Makerules: Don't include tls.make.
55025         (config-tls): Always set to thread.
55026         * tls.make.c: File removed.
55028 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
55030         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
55031         * config.make.in (CPPFLAGS-config): New substituted variable.
55033 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
55035         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
55037         [BZ #13192]
55038         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
55039         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
55041 2011-09-15  Roland McGrath  <roland@hack.frob.com>
55043         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
55044         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
55045         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55046         (CALL_FAIL): Likewise.
55047         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
55048         (CALL_FAIL): Macro removed.
55049         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
55051 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
55053         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
55054         for __FINITE_MATH_ONLY__ == 1.
55056 2011-09-15  Andreas Schwab  <schwab@redhat.com>
55058         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
55059         __ieee754_sqrt instead of sqrt.
55060         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
55061         __ieee754_sqrtf instead of sqrtf.
55062         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
55063         __floorf instead of floorf.
55064         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
55065         __floorf, __truncf instead of floorf, truncf.
55067 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
55069         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
55071         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
55072         __extern_always_inline.
55073         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
55074         32-bit.
55076 2011-09-14  Andreas Schwab  <schwab@redhat.com>
55078         * elf/rtld.c (dl_main): Also relocate in dependency order when
55079         doing symbol dependency testing.
55081 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
55083         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55084         Always define `refsym'.
55086 2011-09-13  Andreas Schwab  <schwab@redhat.com>
55088         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
55089         (__FD_ELT): Renamed from __FDELT.
55090         * misc/bits/select2.h (__FD_ELT): Likewise.
55091         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
55092         __FD_MASK instead of __FDELT, __FDMASK.
55093         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55094         Likewise.
55095         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55096         Likewise.
55098         * elf/Makefile (gen-ldd): Fix pattern.
55100         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
55101         (init_tls): Likewise.
55103 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
55105         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
55107 2011-09-12  Andreas Schwab  <schwab@redhat.com>
55109         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
55110         `struct cmsghdr *' instead of `void *'.
55111         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
55112         Likewise.
55114 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
55116         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
55117         if non-absolute.
55118         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
55119         ldd_rewrite_script.
55121 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
55123         * configure.in: Remove --with-tls option.
55124         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
55125         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
55126         out in case it is missing.
55127         * sysdeps/ia64/elf/configure.in: Likewise.
55128         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
55129         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
55130         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
55131         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
55132         * sysdeps/sh/elf/configure.in: Likewise.
55133         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
55134         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55135         * sysdeps/x86_64/elf/configure.in: Likewise.
55136         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
55137         * sysdeps/mach/hurd/tls.h: Likewise.
55139         [BZ #13067]
55140         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
55142         [BZ #13090]
55143         * configure.in: Fix use of AC_INIT.
55145         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
55147 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
55149         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
55150         __set_errno.
55151         * malloc/hooks.c: Likewise.
55153         [BZ #11929]
55154         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
55155         variables statically.
55156         (narenas): Initialize.
55157         (list_lock): Initialize.
55158         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
55159         initializtion of main_arena and list_lock.  Small cleanups.
55160         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
55161         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
55162         Add initializers to main_arena and mp_.
55163         (malloc_state): Remove pagesize member.  Change all users to use
55164         GLRO(dl_pagesize).
55166         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
55167         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
55168         is always initialized.
55170         * malloc/malloc.c: Removed unused configurations and dead code.
55171         * malloc/arena.c: Likewise.
55172         * malloc/hooks.c: Likewise.
55173         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
55175         * include/tls.h: Removed.  USE___THREAD must always be defined.
55176         * bits/libc-tsd.h: Don't handle !USE___THREAD.
55177         * elf/dl-libc.c: Likewise.
55178         * elf/dl-tsd.c: Likewise.
55179         * include/errno.h: Likewise.
55180         * include/netdb.h: Likewise.
55181         * include/resolv.h: Likewise.
55182         * inet/herrno-loc.c: Likewise.
55183         * inet/herrno.c: Likewise.
55184         * malloc/arena.c: Likewise.
55185         * malloc/hooks.c: Likewise.
55186         * malloc/malloc.c: Likewise.
55187         * resolv/res-state.c: Likewise.
55188         * resolv/res_libc.c: Likewise.
55189         * sysdeps/i386/dl-machine.h: Likewise.
55190         * sysdeps/ia64/dl-machine.h: Likewise.
55191         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
55192         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55193         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
55194         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
55195         * sysdeps/sh/dl-machine.h: Likewise.
55196         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55197         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55198         * sysdeps/unix/i386/sysdep.S: Likewise.
55199         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55200         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
55201         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
55202         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55203         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
55204         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55205         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
55206         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55207         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55208         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55209         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55210         * sysdeps/x86_64/dl-machine.h: Likewise.
55211         * tls.make.c: Likewise.
55213         * configure.in: Remove --with-__thread option.  Make tests for
55214         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
55215         tls_model attribute fail if no support is available.  Remove
55216         USE_IN_LIBIO.
55217         * Makeconfig: Adjust for dropped configure option.  All features are
55218         now mandatory.
55219         * Makerules: Likewise.
55220         * Versions.def: Likewise.
55221         * argp/argp-fmtstream.c: Likewise.
55222         * argp/argp-fmtstream.h: Likewise.
55223         * argp/argp-help.c: Likewise.
55224         * assert/assert.c: Likewise.
55225         * config.h.in: Likewise.
55226         * config.make.in: Likewise.
55227         * configure: Likewise.
55228         * configure.in: Likewise.
55229         * csu/Versions: Likewise.
55230         * csu/init.c: Likewise.
55231         * elf/tst-audit2.c: Likewise.
55232         * elf/tst-tls10.c: Likewise.
55233         * elf/tst-tls10.h: Likewise.
55234         * elf/tst-tls11.c: Likewise.
55235         * elf/tst-tls12.c: Likewise.
55236         * elf/tst-tls14.c: Likewise.
55237         * elf/tst-tlsmod11.c: Likewise.
55238         * elf/tst-tlsmod12.c: Likewise.
55239         * elf/tst-tlsmod13.c: Likewise.
55240         * elf/tst-tlsmod13a.c: Likewise.
55241         * elf/tst-tlsmod14a.c: Likewise.
55242         * elf/tst-tlsmod15b.c: Likewise.
55243         * elf/tst-tlsmod16a.c: Likewise.
55244         * elf/tst-tlsmod16b.c: Likewise.
55245         * elf/tst-tlsmod7.c: Likewise.
55246         * elf/tst-tlsmod8.c: Likewise.
55247         * elf/tst-tlsmod9.c: Likewise.
55248         * gmon/gmon.c: Likewise.
55249         * grp/fgetgrent_r.c: Likewise.
55250         * grp/putgrent.c: Likewise.
55251         * hurd/fopenport.c: Likewise.
55252         * include/libc-symbols.h: Likewise.
55253         * include/tls.h: Likewise.
55254         * intl/gettextP.h: Likewise.
55255         * intl/loadinfo.h: Likewise.
55256         * locale/global-locale.c: Likewise.
55257         * locale/localeinfo.h: Likewise.
55258         * mach/devstream.c: Likewise.
55259         * malloc/arena.c: Likewise.
55260         * malloc/set-freeres.c: Likewise.
55261         * misc/err.c: Likewise.
55262         * misc/getttyent.c: Likewise.
55263         * misc/mntent_r.c: Likewise.
55264         * posix/getopt.c: Likewise.
55265         * posix/wordexp.c: Likewise.
55266         * pwd/fgetpwent_r.c: Likewise.
55267         * resolv/Versions: Likewise.
55268         * resolv/res_hconf.c: Likewise.
55269         * shadow/fgetspent_r.c: Likewise.
55270         * shadow/putspent.c: Likewise.
55271         * stdio-common/printf_fphex.c: Likewise.
55272         * stdio-common/tmpfile.c: Likewise.
55273         * stdlib/abort.c: Likewise.
55274         * stdlib/fmtmsg.c: Likewise.
55275         * sunrpc/auth_unix.c: Likewise.
55276         * sunrpc/clnt_perr.c: Likewise.
55277         * sunrpc/clnt_tcp.c: Likewise.
55278         * sunrpc/clnt_udp.c: Likewise.
55279         * sunrpc/clnt_unix.c: Likewise.
55280         * sunrpc/openchild.c: Likewise.
55281         * sunrpc/svc_simple.c: Likewise.
55282         * sunrpc/svc_tcp.c: Likewise.
55283         * sunrpc/svc_udp.c: Likewise.
55284         * sunrpc/svc_unix.c: Likewise.
55285         * sunrpc/xdr.c: Likewise.
55286         * sunrpc/xdr_array.c: Likewise.
55287         * sunrpc/xdr_rec.c: Likewise.
55288         * sunrpc/xdr_ref.c: Likewise.
55289         * sunrpc/xdr_stdio.c: Likewise.
55291 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
55293         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55295 2011-07-03  Andreas Jaeger  <aj@suse.de>
55297         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
55298         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
55299         regenerate with gen-libm-tests.pl.
55301 2010-05-12  Petr Baudis  <pasky@suse.cz>
55303         [BZ #11589]
55304         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
55305         around j0() zero points by switching to j1().
55306         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55307         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55308         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55309         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55311 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
55313         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
55314         instead of 0.
55315         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
55316         instead of 0.
55317         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55318         Patch in part by Pavel Roskin <proski@gnu.org>.
55320         [BZ #13138]
55321         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
55322         realloc.
55323         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
55324         Free memory block if necessary.
55326         [BZ #12847]
55327         * libio/genops.c (INTDEF): For string streams the _lock pointer can
55328         be NULL.  Don't lock in this case.
55330 2011-09-09  Roland McGrath  <roland@hack.frob.com>
55332         * elf/elf.h (ELFOSABI_GNU): New macro.
55333         (ELFOSABI_LINUX): Define to that.
55335 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
55337         * string/strncat.c (strncat): Undef the symbol in case it has been
55338         defined in bits/string.h.
55340 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
55342         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
55344         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
55345         link map.
55347 2011-08-17  Andreas Jaeger  <aj@suse.de>
55349         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
55351 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
55352             Ian Lance Taylor  <iant@google.com>
55354         * math/libm-test.inc (lround_test): New testcase.
55355         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
55357 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
55359         * Makefile: Remove support for automatic cvs check-ins.
55360         * Makerules: Likewise.
55361         * config.make.in: Likewise.
55362         * configure.in: Likewise.
55363         * intl/Makefile: Likewise.
55364         * locale/Makefile: Likewise.
55365         * po/Makefile: Likewise.
55366         * posix/Makefile: Likewise.
55367         * sysdeps/gnu/Makefile: Likewise.
55368         * sysdeps/mach/hurd/Makefile: Likewise.
55369         * sysdeps/sparc/sparc32/Makefile: Likewise.
55371         [BZ #13118]
55372         * posix/Makefile (bug-regex32-ENV): Define.
55373         Patch by John Stanley <jpsinthemix@verizon.net>.
55375         * misc/Makefile (headers): Add bits/select2.h.
55376         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
55377         * misc/bits/select2.h: New file.
55378         * include/bits/select2.h: New file.
55379         * debug/Makefile (routines): Add fdelt_chk.
55380         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
55381         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
55382         FD_ISSET.
55383         * debug/fdelt_chk.c: New file.
55385         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
55386         * wcsmbs/test-wmemcmp.c: Likewise.
55387         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
55388         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
55390 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55392         * string/Makefile (strop-tests): Add memcmp.
55393         * string/test-wmemcmp.c: New file.
55394         * string/test-memcmp.c: Add wmemcmp support.
55396 2011-09-08  Roland McGrath  <roland@hack.frob.com>
55398         [BZ #13153]
55399         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
55400         2011-07-19 change.
55402         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
55403         garbage value in a __mach_port_mod_refs call in the cases of the
55404         task-self and thread-self ports.
55406 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55408         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
55410 2011-09-08  Andreas Schwab  <schwab@redhat.com>
55412         * elf/dl-load.c (lose): Check for non-null L.
55414 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
55416         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
55418         * elf/dl-libc.c (dlerror_run): Pass back error code from
55419         dl_catch_error.
55421         [BZ #13123]
55422         * elf/dl-load.c (lose): Free l_origin if it is valid.
55424         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
55425         names.
55426         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
55427         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
55428         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
55429         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
55430         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
55431         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
55433 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55435         * sysdeps/powerpc/fpu/e_hypot.c: New file.
55436         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
55437         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
55438         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
55439         * sysdeps/powerpc/fpu/k_cosf.c: New file.
55440         * sysdeps/powerpc/fpu/k_sinf.c: New file.
55441         * sysdeps/powerpc/fpu/s_cosf.c: New file.
55442         * sysdeps/powerpc/fpu/s_sinf.c: New file.
55443         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
55444         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
55446 2011-08-15  Alan Modra  <amodra@gmail.com>
55448         [BZ #13092]
55449         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
55450         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
55451         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
55452         ppc_mcount to static-only-routines.
55453         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
55454         __mcount_internal.
55455         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
55456         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
55458 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
55460         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
55461         for finite and infinity parameters.
55463 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
55465         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
55466         and add nop instructions for throughput optimization.
55467         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55469 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
55471         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
55472         aligned copy for power7 with vector-scalar instructions.
55473         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
55475 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
55477         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
55478         AVX check.
55480 2011-09-07  Andreas Schwab  <schwab@redhat.com>
55482         [BZ #13144]
55483         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
55484         last change.
55486 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
55488         * sysdeps/unix/sysv/linux/x86_64/init-first.c
55489         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
55490         syscall wrapper around clock_gettime in __vdso_clock_gettime.
55491         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
55492         clock_gettime.
55494 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
55496         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
55497         Forgot to demangle the pointer.
55499         * sysdeps/i386/sysdep.h: Define atom_text_section.
55500         * sysdeps/x86_64/sysdep.h: Likewise.
55501         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
55502         section with atom_text_section.
55503         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
55504         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
55505         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
55506         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55507         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
55509         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
55510         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
55511         already be defined.  Change to take two parameters and don't assign
55512         result to variable.  Adjust all users.
55513         Define INTERNAL_GETTIME if not already defined.
55514         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
55515         call.
55516         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
55517         HAVE_CLOCK_GETTIME_VSYSCALL.
55518         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
55520         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
55521         gettimeofday vsyscall, just use time.
55523 2011-09-06  Andreas Schwab  <schwab@redhat.com>
55525         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
55526         <errno.h>.
55528 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
55530         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
55531         syscall on x86-64.
55532         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
55533         syscall.
55534         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
55535         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
55536         syscall if possible.
55538 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
55540         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
55541         e_ident.  Don't pass to find_mapsXX.
55542         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
55544 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55546         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55547         strchr-sse2-no-bsf strrchr-sse2-no-bsf
55548         * sysdeps/x86_64/multiarch/strchr.S: Update.
55549         Check bit_slow_BSF bit.
55550         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55551         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
55552         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
55554 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
55556         [BZ #13134]
55557         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
55558         before glibc 2.15.
55559         (tryshell): Define.
55560         (__spawni): Change last parameter to be flag.  Test
55561         SPAWN_XFLAGS_USE_PATH flag to use path or not.
55562         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
55563         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
55564         * posix/spawni.c: Likewise.
55565         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
55566         * posix/spawnp.c: Likewise.  Change normal version to use
55567         SPAWN_XFLAGS_USE_PATH.
55568         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
55569         SPAWN_XFLAGS_TRY_SHELL.
55571         [BZ #13150]
55572         * posix/glob.h: Remove gcc 1.x support.
55574         [BZ #13068]
55575         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
55577 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55579         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55580         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
55581         strrchr-sse2-bsf
55582         * sysdeps/i386/i686/multiarch/strchr.S: New file.
55583         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
55584         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
55585         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
55586         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
55587         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
55589 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55591         * sysdeps/x86_64/wcscmp.S: New file.
55593         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
55594         wcscmp-c wcscmp-sse2
55595         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
55596         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
55597         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
55598         * wcsmbs/wcscmp.c: Allow renaming.
55600 2011-09-05  David S. Miller  <davem@davemloft.net>
55602         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
55603         stack slot, rather than the struct return pointer slot.
55604         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
55605         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
55606         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
55607         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
55609 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
55611         * po/ja.po: Update from translation team.
55613         [BZ #13144]
55614         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
55615         kernel in 64-bit binaries.
55617 2011-09-01  David S. Miller  <davem@davemloft.net>
55619         * elf/elf.h (HWCAP_SPARC_*): Move to..
55620         * sysdeps/sparc/sysdep.h: this new file and add new values.
55621         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
55622         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
55623         _DL_HWCAP_COUNT to 24.
55624         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
55625         entries.
55626         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
55627         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
55628         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
55629         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
55630         instead of magic constants.
55631         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55633 2011-08-31  David S. Miller  <davem@davemloft.net>
55635         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
55636         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
55637         Reimplement to do errno handling inline.
55638         (SYSCALL_ERROR_HANDLER): New macro.
55639         (__SYSCALL_STRING): Do not do errno handling in asm.
55640         (__CLONE_SYSCALL_STRING): Delete.
55641         (__INTERNAL_SYSCALL_STRING): Delete.
55642         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
55643         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
55644         (PSEUDO): Reimplement to do errno handling inline.
55645         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
55646         (SYSCALL_ERROR_HANDLER): New macro.
55647         (__SYSCALL_STRING): Do not do errno handling in asm.
55648         (__CLONE_SYSCALL_STRING): Delete.
55649         (__INTERNAL_SYSCALL_STRING): Delete.
55650         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
55651         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
55652         i386.
55653         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
55654         (inline_syscall*): Add 'err' argument.
55655         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
55656         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
55657         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
55658         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
55660         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
55661         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
55663 2011-08-30  Andreas Schwab  <schwab@redhat.com>
55665         * elf/rtld.c (dl_main): Relocate objects in dependency order.
55667 2011-08-29  Jiri Olsa <jolsa@redhat.com>
55669         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
55670         directive.
55672 2011-08-24  David S. Miller  <davem@davemloft.net>
55674         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
55676 2011-08-24  Andreas Schwab  <schwab@redhat.com>
55678         * elf/Makefile: Add rules to build and run unload8 test.
55679         * elf/unload8.c: New file.
55680         * elf/unload8mod1.c: New file.
55681         * elf/unload8mod1x.c: New file.
55682         * elf/unload8mod2.c: New file.
55683         * elf/unload8mod3.c: New file.
55685         * elf/dl-close.c (_dl_close_worker): Reset private search list if
55686         it wasn't used.
55688 2011-08-23  David S. Miller  <davem@davemloft.net>
55690         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
55691         subtract stack bias.
55692         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
55693         %sp not %fp in calculations.
55694         (_JMPBUF_UNWINDS_ADJ): Likewise.
55696         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
55697         (aio_suspend): Call it to force an exception region around the
55698         AIO_MISC_WAIT() invocation.
55700 2011-08-23  Andreas Schwab  <schwab@redhat.com>
55702         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
55703         backslash.
55705 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
55707         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
55708         protection macro.
55709         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
55710         and <dl-machine.h>.
55711         (Elf64_FuncDesc): Remove.
55713 2011-08-22  David S. Miller  <davem@davemloft.net>
55715         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
55716         sigaltstack check, add missing cfi directives.
55717         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
55718         missing cfi directives, and sigaltstack handling.
55720 2011-08-16  Andreas Schwab  <schwab@redhat.com>
55722         [BZ #11724]
55723         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
55724         object is seen twice.
55725         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55727         * elf/Makefile (distribute): Add tst-initorder2.c.
55728         (tests): Add tst-initorder2.
55729         (modules-names): Add tst-initorder2a tst-initorder2b
55730         tst-initorder2c tst-initorder2d.  Add rules to build them.
55731         ($(objpfx)tst-initorder2.out): New rule.
55732         * elf/tst-initorder2.c: New file.
55733         * elf/tst-initorder2.exp: New file.
55735 2011-08-22  Andreas Schwab  <schwab@redhat.com>
55737         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
55739         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
55740         dependencies back to end of function.
55742         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55743         $(elfobjdir)/ld.so.
55745 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
55747         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
55748         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
55749         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
55750         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
55751         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
55752         of __vdso_gettimeofday.
55753         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
55754         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
55755         attribute_hidden.
55756         (_libc_vdso_platform_setup): Remove initialization of
55757         __vdso_gettimeofday and __vdso_time.
55759 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
55761         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
55762         and fgetc_unlocked.
55763         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
55764         getc_unlocked.
55766         * elf/dl-open.c (add_to_global): Report additions to the global scope
55767         for LD_DEBUG=scopes.
55768         (dl_open_worker): Also print scope of newly loaded dependencies.
55769         (_dl_show_scope): Indicate if there is no scope.
55771         [BZ #13114]
55772         * stdio-common/Makefile (tests): Add bug24.
55773         * stdio-common/bug24.c: New file.
55775 2011-08-19  Andreas Jaeger  <aj@suse.de>
55777         [BZ #13114]
55778         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
55779         non-existant file when using close-on-exec mode.
55781 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
55783         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
55784         the very first instruction.
55786         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
55787         the CFI state in the end.
55788         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
55789         inclusion of dl-trampoline.h.
55790         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
55792 2011-08-19  Andreas Schwab  <schwab@redhat.com>
55794         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
55795         expectations for long double.
55797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
55798         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
55800 2011-08-14  David S. Miller  <davem@davemloft.net>
55802         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
55803         artificual limit depends upon the system page size.
55805 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
55807         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
55808         * resolv/Makefile: Define CFLAGS-libresolv.
55810 2011-08-17  Andreas Schwab  <schwab@redhat.com>
55812         * nss/makedb.c (compute_tables): Make variables used in nested
55813         function static.
55815 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
55817         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
55818         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
55819         if buffer was too small.
55821         * elf/pldd.c (main): Attach to all threads in the process.
55822         Rewrite /proc handling to use *at functions.
55824 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
55826         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
55827         specifies first scope to show.
55828         (dl_open_worker): Update callers.  Move printing scope of new
55829         object to before the relocation.
55830         * elf/rtld.c (dl_main): Update _dl_show_scope call.
55831         * sysdeps/generic/ldsodefs.h: Update declaration.
55833         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
55834         string for the scope number.
55836 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
55838         * nscd/servicescache.c (cache_addserv): Make sure written is always
55839         initialized.
55841 2011-08-14  Roland McGrath  <roland@hack.frob.com>
55843         * sysdeps/i386/i486/bits/atomic.h
55844         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
55845         statement expression, so as to suppress "set but not used" warning.
55846         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
55848         * string/strncat.c (STRNCAT): Use prototype definition.
55850         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
55851         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
55852         -Iprograms here.
55853         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
55854         (localedef-modules): Add localedef.
55855         (locale-modules): Add locale.
55857         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
55858         * elf/rtld.c (dl_main): Invert order of assignment in last change,
55859         to avoid a warning.
55861 2011-08-14  David S. Miller  <davem@davemloft.net>
55863         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
55864         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
55866 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
55868         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
55869         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
55870         * elf/rtld.c (dl_main): Set l_name of vDSO.
55871         Call _dl_show_scope when DL_DEBUG_SCOPES.
55872         (process_dl_debug): Recognize scopes flag and also set it for all.
55873         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
55874         Declare _dl_show_scope.
55876         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
55877         (do_dlopen): Pass caller_dlopen to dl_open.
55878         (__libc_dlopen_mode): Initialize caller_dlopen.
55880         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
55881         of libc.  Make tolower call locale-independent.  Optimize a bit by
55882         using isdigit instead of isalnum.
55883         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
55885 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
55887         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
55888         was a dependency or dynamically loaded.
55890 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
55892         * intl/l10nflist.c: Allow architecture-specific pop function.
55893         * sysdeps/x86_64/l10nflist.c: New file.
55895         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
55896         classification.
55898 2011-08-10  Andreas Schwab  <schwab@redhat.com>
55900         * include/dirent.h: Add libc_hidden_proto for scandirat and
55901         scandirat64.  Don't declare __scandirat64.
55902         * dirent/scandirat.c: Add libc_hidden_def.
55903         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
55904         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
55906 2011-08-10  David S. Miller  <davem@davemloft.net>
55908         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
55909         enum.
55910         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55911         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55912         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55914 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
55916         * Versions.def [libc]: Add GLIBC_2.15.
55917         * dirent/Makefile (routines): Add scandirat and scandirat64.
55918         * dirent/Versions [libc]: Export scandirat and scandirat64 for
55919         GLIBC_2.15.
55920         * dirent/dirent.h: Declare scandirat and scandirat64.
55921         * dirent/scandirat.c: New file.
55922         * dirent/scandirat64.c: New file.
55923         * sysdeps/wordsize-64/scandirat.c: New file.
55924         * sysdeps/wordsize-64/scandirat64.c: New file.
55925         * dirent/opendir.c: Define opendirat.
55926         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
55927         using scandirat.
55928         * dirent/scandir64.c: Adjust for scandir.c change.
55929         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
55930         __scandirat64, and __scandir_cancel_handler.
55931         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
55932         additional parameter and use openat instead of open (outside of ld.so).
55933         Add new __opendir as wrapper around __opendirat.
55934         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
55935         here without requiring old scandirat implementation.
55937 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
55939         * dirent/scandir.c (cancel_handler): Renamed to
55940         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
55941         defined.  Adjust users.
55942         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
55943         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
55945 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
55947         * string/test-string.h (IMPL): Use __STRING to expand name and then
55948         stringify it.
55950         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
55951         of cleanups.
55953 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55955         * string/Makefile: Update.
55956         (strop-tests): Append strncat.
55957         * string/test-wcscmp.c: New file.
55958         New comprehensive test for wcscmp.
55959         * string/test-strcmp.c: Update.
55960         (WIDE): New define.
55962 2011-07-22  Andreas Schwab  <schwab@redhat.com>
55964         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
55965         line.
55967 2011-07-26  Andreas Schwab  <schwab@redhat.com>
55969         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55970         encoding to ACE if AI_IDN.
55972 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
55974         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
55975         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
55977 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55979         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
55980         Fix overflow bug in strncat.
55981         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
55983         * string/test-strncat.c: Update.
55984         Add new tests for checking overflow bugs.
55986 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55988         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55989         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
55990         * sysdeps/i386/i686/multiarch/strcat.S: New file.
55991         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
55992         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
55993         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
55994         * sysdeps/i386/i686/multiarch/strncat.S: New file.
55995         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
55996         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
55998         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
55999         (USE_AS_STRCAT): Define.
56000         Add strcat and strncat support.
56001         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56003 2011-07-25  Andreas Schwab  <schwab@redhat.com>
56005         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
56006         __n bigger than INT_MAX+1.
56007         (__strncmp_g): Likewise.
56009 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
56011         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
56012         * libio/stido.h: Likewise.
56014         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
56015         (AF_NFC): Define.
56016         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
56017         (AF_NFC): Define.
56019         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
56020         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56021         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56022         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
56023         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56025         [BZ #13021]
56026         * scripts/test-installation.pl: Don't expect libnss_test1 to be
56027         installed.
56029         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
56030         typo.
56031         (_dl_x86_64_save_sse): Likewise.
56033 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
56035         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
56036         OSXSAVE.
56037         (_dl_x86_64_save_sse): Likewise.
56039         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
56041         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
56043 2011-07-21  Andreas Schwab  <schwab@redhat.com>
56045         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
56046         change.
56047         (_dl_x86_64_save_sse): Use correct AVX check.
56049 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56051         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
56052         bug in strncpy/strncat.
56053         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
56055 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
56057         * string/tester.c (test_strcat): Add tests for different alignments
56058         of source and destination.
56059         (test_strncat): Likewise.
56061 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
56063         [BZ #12852]
56064         * posix/glob.c (glob): Check passed in values before using them in
56065         expressions to avoid some overflows.
56066         (glob_in_dir): Likewise.
56068         [BZ #13007]
56069         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
56070         check for AVX enablement so that we don't crash with old kernels and
56071         new hardware.
56072         * elf/tst-audit4.c: Add same checks here.
56073         * elf/tst-audit6.c: Likewise.
56075         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
56077 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
56079         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
56081 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
56083         * po/cs.po: Update from translation team.
56084         * po/bg.po: Likewise.
56086 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
56088         * misc/sys/cdefs.h: Add support for const attribute.
56089         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
56090         to gnu_dev_{major,minor,makedev} functions.
56092 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
56094         * intl/dcigettext.c (get_output_charset): Add missing bracket.
56096 2011-07-20  Andreas Schwab  <schwab@redhat.com>
56098         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
56099         strlen results.
56101 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56103         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
56104         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
56105         register in order to avoid conflicts with the soft frame pointer
56106         being held in r11 when necessary.
56107         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
56108         (INTERNAL_VSYSCALL_NCS): Likewise.
56110 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
56112         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
56113         * elf/dl-fini.c (_dl_fini): Adjust caller.
56114         * elf/dl-close.c (_dl_close_worker): Likewise.
56115         * sysdeps/generic/ldsodefs.h: Adjust declaration.
56117 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
56119         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
56120         "aux_cache->nlibs < 0".
56122         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
56123         in the reload-count case.
56125 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56127         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56128         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
56129         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
56130         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
56131         * sysdeps/x86_64/multiarch/strcat.S: New file.
56132         * sysdeps/x86_64/multiarch/strncat.S: New file.
56133         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
56134         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
56135         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
56136         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
56137         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
56138         (USE_AS_STRCAT): Define.
56139         Add strcat and strncat support.
56140         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56141         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56142         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
56143         * string/strncat.c: Update.
56144         (USE_AS_STRNCAT): Define.
56145         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56146         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
56147         and i7.
56148         * sysdeps/x86_64/multiarch/init-arch.h
56149         (bit_Prefer_PMINUB_for_stringop): New.
56150         (index_Prefer_PMINUB_for_stringop): Likewise.
56151         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
56152         bit_Prefer_PMINUB_for_stringop.
56154 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
56156         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
56157         buffer64.
56158         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
56159         of casting of buffer.
56160         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
56161         buffer32 and buffer64.
56162         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
56163         writes instead of casting of buffer.
56164         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
56165         buffer32.
56166         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
56167         casting of buffer.
56169 2011-07-19  Andreas Schwab  <schwab@redhat.com>
56171         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
56173 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
56175         * nscd/nscd.c (termination_handler): Don't do anything for a database
56176         if it has not yet been initialized.
56178 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
56180         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56182 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
56184         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56186 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
56188         * po/nl.po: Update from translation team.
56189         * po/sv.po: Likewise.
56191 2011-07-16  Roland McGrath  <roland@hack.frob.com>
56193         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
56194         now disallowed by GCC.
56196         * configure.in (use-default-link): Default to yes if a test -shared
56197         link meets our qualifications.
56198         * configure: Regenerated.
56200         * config.make.in (output-format): New variable.
56201         * configure.in: Check for ld --print-output-format support.
56202         * configure: Regenerated.
56203         * Makerules ($(common-objpfx)format.lds)
56204         [$(output-format) != unknown]: Just use $(output-format),
56205         instead of the linker-script munging.
56207 2011-07-14  Roland McGrath  <roland@hack.frob.com>
56209         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
56210         of $(common-objpfx)shlib.lds.
56211         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
56213         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
56214         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
56216         * configure.in (-z relro check): Adjust test code to add a large
56217         writable data section after it.
56218         * configure: Regenerated.
56220 2011-07-11  Roland McGrath  <roland@hack.frob.com>
56222         * configure.in (-z relro check): Fix test code to make the variable
56223         truly const.
56224         * configure: Regenerated.
56226 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
56228         * nscd/nscd.h (struct traced_file): Define.
56229         (struct database_dyn): Remove inotify_descr, reset_res, and filename
56230         elements.  Add traced_files.
56231         (inotify_fd): Declare.
56232         (register_traced_file): Declare.
56233         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
56234         (inotify_fd): Export.
56235         (resolv_conf_descr): Remove.
56236         (nscd_init): Move inotify descriptor creation to main.
56237         Don't register files for notification here.
56238         (register_traced_file): New function.
56239         (invalidate_cache): Don't use reset_res to determine whether to call
56240         res_init, go through the list of registered files.
56241         (main_loop_poll): The inotify descriptors are now stored in the
56242         structures for the traced files.
56243         (main_loop_epoll): Likewise
56244         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
56245         to __nss_disable_nscd.
56246         * nscd/cache.c (prune_cache): There is no single inotify descriptor
56247         for a database anymore.  Check the records for all the registered
56248         files instead.
56249         * nss/Makefile (libnss_files-routines): Add files-init.
56250         (libnss_db-routines): Add db-init.
56251         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
56252         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
56253         * nss/nss_db/db-init.c: New file.
56254         * nss/nss_files/files-init.c: New file.
56255         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
56256         __nss_lookup_function.
56257         (__nss_lookup_function): Call nss_load_library.
56258         (nss_load_all_libraries): New function.
56259         (__nss_disable_nscd): Take parameter with callback function for files
56260         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
56261         used for the cached services.
56262         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
56263         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
56264         options for features to all the files in nscd.
56266         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
56268 2011-07-10  Roland McGrath  <roland@hack.frob.com>
56270         * csu/elf-init.c (__libc_csu_init): Comment typo.
56272 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
56274         * po/pl.po: Update from translation team.
56275         * po/ja.po: Likewise.
56276         * po/ru.po: Likewise.
56277         * po/ko.po: Likewise.
56278         * po/fr.po: Likewise.
56280 2011-07-09  Roland McGrath  <roland@hack.frob.com>
56282         * configure.in (.ctors/.dtors header and trailer check):
56283         Use an empirical test on a built program.
56284         * configure: Regenerated.
56286         * configure.in (-z relro check): Use an empirical test on a built DSO.
56287         Detect, but do not require, on ia64.
56288         * configure: Regenerated.
56290         * configure.in (READELF): Find it with AC_CHECK_TOOL.
56291         Update tests that use readelf to use $READELF instead.
56292         * configure: Regenerated.
56294 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
56296         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
56297         if the result is not used.
56299 2011-07-05  Andreas Jaeger  <aj@suse.de>
56301         [BZ#9696]
56302         * stdlib/tst-strtod.c: Add testcase.
56304 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
56306         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
56307         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
56308         The latter has a higher limit.  Take additional parameter to pass to
56309         the new function.
56310         (__pathconf): Pass file to __statfs_link_max.
56311         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
56312         __statfs_link_max.
56313         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
56314         __statfs_link_max.
56316         [BZ #12868]
56317         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
56318         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56319         Handle Lustre.
56320         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
56321         (__statfs_filesize_max): Likewise.
56322         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
56324 2011-07-05  Andreas Jaeger  <aj@suse.de>
56326         * resolv/res_comp.c (dn_skipname): Remove unused variable.
56328 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
56330         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
56331         `status' variable.
56332         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
56333         Likewise.
56335 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
56337         * Makefile (strop-tests): Add strncat.
56338         * string/test-strncat.c: New file.
56340 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
56342         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
56344 2011-06-21  Andreas Jaeger  <aj@suse.de>
56346         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
56347         Copy rule from iconvdata/Makefile.
56349 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
56351         [BZ #12922]
56352         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
56353         but no long options are defined, just return 'W'.
56355 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
56357         [BZ #9696]
56358         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
56360 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
56362         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
56363         netgroups to read.
56364         (innetgr): Likewise.
56366 2011-07-05  Roland McGrath  <roland@hack.frob.com>
56368         * config.make.in (install_root): Default to $(DESTDIR).
56370 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
56372         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
56374 2011-07-02  Roland McGrath  <roland@hack.frob.com>
56376         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
56378         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
56379         containing directory rather than embedding absolute directory names.
56381         * scripts/check-local-headers.sh: Rewritten using awk.
56382         Match by word, not by line.  Print error messages for matches.
56383         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
56385         * Makerules [shlib-lds-flags empty]:
56386         ($(common-objpfx)libc_pic.opts): New target.
56387         ($(common-objpfx)libc_pic.os.clean): New target.
56388         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
56390         * config.make.in (OBJCOPY): New variable.
56391         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
56392         * configure: Regenerated.
56394         * config.make.in (use-default-link): New variable.
56395         * configure.in (use_default_link): Grok --with-default-link to set it.
56396         * configure: Regenerated.
56397         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
56398         (shlib-lds, shlib-lds-flags): Define to empty.
56400         * Makerules (shlib-lds): New variable.
56401         (shlib-lds-flags): New variable.
56402         (build-shlib, build-moduile, build-module-asneeded): Use it.
56403         ($(common-objpfx)libc.so): Use $(shlib-lds).
56404         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
56405         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
56407         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
56408         DT_FLAGS/DT_FLAGS_1 with zero flags.
56410         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
56411         linker script munging.
56413 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
56415         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
56416         as 128-bit value.
56417         * crypt/sha512.c (sha512_process_block): Perform total addition using
56418         128-bit if possible.
56419         (__sha512_finish_ctx): Likewise.
56420         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
56421         as 64-bit value.
56422         * crypt/sha256.c (SWAP64): Define.
56423         (sha256_process_block): Perform total addition using 64-bit if
56424         possible.
56425         (__sha256_finish_ctx): Likewise.
56427 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
56429         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
56430         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56431         * nscd/hstcache.c (cache_addhst): Likewise.
56432         * nscd/grpcache.c (cache_addgr): Likewise.
56433         * nscd/aicache.c (addhstaiX): Likewise
56434         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
56436 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
56438         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
56439         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56440         * nscd/hstcache.c (cache_addhst): Likewise.
56441         * nscd/grpcache.c (cache_addgr): Likewise.
56442         * nscd/aicache.c (addhstaiX): Likewise
56444 2011-07-01  Andreas Schwab  <schwab@redhat.com>
56446         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
56447         domain only when needed.
56449 2011-06-30  Andreas Schwab  <schwab@redhat.com>
56451         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
56452         is always restored.
56454 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
56456         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
56457         are re-adding the entry.
56458         * nscd/servicescache.c (cache_addserv): Likewise.
56460 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
56462         * sysdeps/generic/dl-irel.h: fix protection against multiple
56463         inclusions.
56464         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
56466 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
56468         [BZ #12935]
56469         * malloc/memusage.sh: Fix quoting in message.
56470         * debug/xtrace.sh: Likewise.
56472         * configure.in: Remove support for --experimental-malloc option, make
56473         it the default.
56474         * config.make.in: Likewise.
56475         * malloc/Makefile: Likewise.
56477 2011-06-27  Andreas Schwab  <schwab@redhat.com>
56479         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
56480         two-byte characters.
56482 2011-06-27  Roland McGrath  <roland@hack.frob.com>
56484         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
56485         AC_CACHE_CHECK invocation.
56486         * configure: Regenerated.
56488         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
56490 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
56492         [BZ #12350]
56493         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
56494         bit from old_res_options.
56496         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
56498         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
56499         value type for setfct.
56501 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
56503         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
56504         __gettimeofday instead of gettimeofday.
56506 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
56508         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
56510 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
56512         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
56514         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
56515         info.
56517 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
56519         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56520         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56521         strcpy-sse2-unaligned strncpy-sse2-unaligned
56522         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
56523         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
56524         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
56525         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
56526         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
56527         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
56528         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
56529         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
56530         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
56531         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
56532         (STRCPY): Support SSE2 and SSSE3 versions.
56534 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
56536         [BZ #12874]
56537         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
56538         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
56539         kernels which artificially limit size of requests.
56541 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
56543         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56544         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56545         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
56546         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
56547         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
56548         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
56549         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
56550         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
56551         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
56552         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
56553         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
56554         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
56555         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
56556         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
56557         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
56558         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56559         Enable unaligned load optimization for Intel Core i3, i5 and i7
56560         processors.
56561         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
56562         Define.
56563         (index_Fast_Unaligned_Load): Define.
56564         (HAS_FAST_UNALIGNED_LOAD): Define.
56566 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
56568         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
56570 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
56572         [BZ #12907]
56573         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
56574         until it is clear that the information is realy needed.
56575         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
56577 2011-06-22  Andreas Schwab  <schwab@redhat.com>
56579         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
56581 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
56583         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
56584         /sys/devices/system/cpu/online if it is usable.
56586         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
56587         reading the information from the /proc filesystem to once a second.
56589 2011-06-21  Andreas Jaeger  <aj@suse.de>
56591         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
56592         NULL after inclusion of kernel headers.
56594 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
56596         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
56597         calls to internal_setent.
56599         [BZ #12885]
56600         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
56601         addresses using gethostbyname4_r ignore IPv4 addresses.
56603         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
56604         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
56606         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
56608 2011-06-20  David S. Miller  <davem@davemloft.net>
56610         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
56611         inclusions.
56612         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
56614         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
56615         (elf_irel): Use it.
56616         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
56617         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
56618         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
56619         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
56620         * sysdeps/x86_64/dl-irel.h: Likewise.
56622         * elf/dl-runtime.c: Use elf_ifunc_invoke.
56623         * elf/dl-sym.c: Likewise.
56625 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
56627         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
56628         need to dereference resplen2.
56630 2011-06-14  Andreas Schwab  <schwab@redhat.com>
56632         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
56634 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
56636         * Makeconfig: Define vardbdir and inst_vardbdir.
56637         * nss/Makefile: Add rules to install db-Makefile.
56639         * nss/nss_db/db-XXX.c: Cleanup.
56641         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
56642         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
56643         GLIBC_PRIVATE.
56644         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
56645         * nss/makedb.c: Implement -g option to specify that value strings
56646         are generated and should not be added to table iterated over for
56647         get*ent calls.
56648         * nss/nss_db/db-initgroups.c: New file.
56650         * nss/getent.c: Add support for initgroups lookups through getgrouplist
56651         interface.
56653         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
56654         (internal_getgrouplist): Adjust to name change.
56655         Update use_initgroups_entry if this is not the first call.
56656         * nss/databases.def: Add initgroups entry.
56658         * nss/makedb.c (compute_tables): Check result of multiple hash table
56659         sizes to minimize maximum chain length.
56661 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
56663         * Versions.def: Add entry for libnss_db.
56664         * shlib-versions: Likewise.
56665         * nss/Makefile: Add rules to build libnss_db.
56666         * nss/Versions: Add libnss_db information.  Organize libnss_files
56667         entries better.
56668         * nss/db-Makefile: Add gshadow support.  Change rules for the new
56669         makedb progra.  Some minor improvements to generate smaller files.
56670         * nss/nss_db/nss_db.h: Move NSS database header data structures to
56671         here from...
56672         * nss/makedb.c: ...here.
56673         Improve database format to be smaller and require less memory at
56674         runtime.
56675         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
56676         db anymore.
56677         * nss/nss_db/db-netgrp.c: Likewise.
56678         * nss/nss_db/db-open.c: Likewise.
56679         * nss/nss_files/flies-XXX.x: Adjust comments.
56680         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
56681         * nss/nss_files/files-grp.c: Likewise.
56682         * nss/nss_files/files-hosts.c: Likewise.
56683         * nss/nss_files/files-network.c: Likewise.
56684         * nss/nss_files/files-proto.c: Likewise.
56685         * nss/nss_files/files-pwd.c: Likewise.
56686         * nss/nss_files/files-rpc.c: Likewise.
56687         * nss/nss_files/files-service.c: Likewise.
56688         * nss/nss_files/files-sgrp.c: Likewise.
56689         * nss/nss_files/files-spwd.c: Likewise.
56690         * nss/nss_db/db-alias.c: Removed.
56691         * nss/nss_db/dummy-db.h: Removed.
56693 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
56695         * nss/makedb.c: Rewritten to not use database library.
56696         * nss/Makefile: Update to build new makedb program.
56698 2011-06-14  Andreas Jaeger  <aj@suse.de>
56700         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
56701         memset declaration.
56703 2011-06-10  Andreas Schwab  <schwab@redhat.com>
56705         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
56706         tmpbuf.
56708 2011-06-10  Roland McGrath  <roland@hack.frob.com>
56710         * Makerules (shlib.lds): Fail if the linker script comes out empty.
56711         * elf/Makefile ($(objpfx)ld.so): Likewise.
56713         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
56714         Don't list ld.so twice in dependencies.
56716         * posix/bug-regex31.c: Include <stdlib.h>.
56718         * nscd/hstcache.c (cache_addhst): Remove unused variable.
56720         * nis/nss_compat/compat-spwd.c
56721         (getspent_next_nss_netgr): Remove unused variable.
56722         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
56724         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
56725         nonmembers" output to use the right array.
56727         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
56729         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
56731         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
56732         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
56733         * catgets/gencat.c (read_input_file): Likewise.
56734         * locale/programs/locarchive.c (enlarge_archive): Likewise.
56736         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
56737         variable definition inside #if's controlling its use.
56739         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
56741         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
56743         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
56745         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
56746         unreachable code.
56748         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
56750         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
56751         * configure: Regenerated.
56753         * Makerules: Revert last change.
56754         * elf/Makefile: Likewise.
56756 2011-06-09  Roland McGrath  <roland@hack.frob.com>
56758         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
56759         * elf/Makefile ($(objpfx)librtld.os): Likewise.
56760         (reloc-link): Likewise.
56762 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
56764         * elf/Makefile: Add rules to build pldd.
56765         * elf/pldd.c: New file.
56766         * elf/pldd-xx.c: New file.
56768 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
56770         * version.h: Update for 2.15 development version.
56772 2011-06-07  David S. Miller  <davem@davemloft.net>
56774         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
56775         ifuncs.
56776         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
56777         elf_machine_lazy_rel): Likewise.
56778         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
56779         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
56780         elf_machine_lazy_rel): Likewise.
56781         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
56782         dl_hwcap via passed in argument.
56783         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
56784         Likewise.
56786 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56788         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
56790 2011-06-06  Roland McGrath  <roland@hack.frob.com>
56792         [BZ #12849]
56793         * manual/fdl-1.1.texi: New file, verbatim from:
56794         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
56795         * manual/lgpl-2.1.texi: New file, verbatim from:
56796         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
56797         * manual/Makefile (licenses): New variable, list those new file names.
56798         (texis): Use it.
56799         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
56801         * manual/fdl.texi: File removed.
56802         * manual/lesser.texi: File removed.
56803         * manual/libc.texinfo (Copying, Documentation License):
56804         Use new @include file names, put @appendix directive before @include.
56806 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
56808         [BZ #12841]
56809         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
56810         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
56811         (mq_open): Add __NTH.
56813 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
56815         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56816         Assume Intel Core i3/i5/i7 processor if AVX is available.
56818 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
56820         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56821         typo.
56823 2011-05-31  Andreas Schwab  <schwab@redhat.com>
56825         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
56826         memory.  Use alloca_account.  Fix memory leak when retrying.
56828 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
56830         * version.h (RELEASE): Bump for 2.14 release.
56831         * include/features.h (__GLIBC_MINOR__): Bump to 14.
56833         * config.make.in (RANLIB): Remove entry.
56835 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
56837         * po/Makefile (po-sed-cmd): Add ksh to extensions.
56838         (libc.pot): Work around missing support for .ksh extension in xgettext.
56840         [BZ #12684]
56841         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
56842         if both request failed.
56843         (send_dg): In case of server errors clear resplen or *resplen2.
56845         [BZ #12454]
56846         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
56847         when there are multiple maps.
56848         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
56849         (_dl_fini): Remove test here.
56851         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
56853 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
56855         [BZ #12350]
56856         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
56857         bit from old_res_options.
56858         (gaih_inet): Likewise.
56860         [BZ #11099]
56861         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
56862         as signed.
56864         * resolv/res_init.c (res_setoptions): Make the code more compact.
56866         [BZ #11558]
56867         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
56868         set RES_USEVC.
56870         [BZ #11634]
56871         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
56873         * malloc/malloc.h: Mark malloc hook variables as deprecated.
56875         [BZ #11781]
56876         * malloc/malloc.h: Declare malloc hook variables as volatile.
56878         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
56879         in last patch.
56881         [BZ #11799]
56882         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
56883         raise in the comment.
56884         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56885         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56886         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
56888 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
56890         [BZ #12811]
56891         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
56892         grow the buffers more if it already has to be sufficient.
56893         (build_wcs_upper_buffer): Likewise.
56894         * posix/regexec.c (check_matching): Likewise.
56895         (clean_state_log_if_needed): Likewise.
56896         (extend_buffers): Don't enlarge buffers beyond size of the input
56897         buffer.
56898         Patches mostly by Emil Wojak <emil@wojak.eu>.
56899         * posix/bug-regex32.c: New file.
56900         * posix/Makefile (tests): Add bug-regex32.
56902         * locale/findlocale.c (_nl_find_locale): Return right away if
56903         _nl_explode_name failed.
56904         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
56906         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
56908         * debug/xtrace.sh: Unify messages.
56909         * malloc/memusage.sh: Likewise.
56911         [BZ #12813]
56912         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
56913         time symbol from vDSO.  Substitute with vsyscall if not available.
56914         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
56915         __vdso_time.
56917         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
56918         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
56919         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
56920         Add sendmmsg and internal_sendmmsg.
56921         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
56922         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
56923         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
56925         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
56926         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
56927         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
56929 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
56931         [BZ #12813]
56932         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
56933         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
56934         available.
56935         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
56936         __vdso_getcpu.
56938         [BZ #12814]
56939         * iconvdata/Makefile (tests): Add bug-iconv9.
56940         * iconvdata/bug-iconv9.c: New file.
56942 2011-05-27  Andreas Schwab  <schwab@redhat.com>
56944         [BZ #12814]
56945         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
56947 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
56949         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
56950         (struct user_regs_struct): Change intcs field back to cs.
56952 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
56954         * po/ja.po: Update from translation team.
56956 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
56958         [BZ #12795]
56959         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
56960         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
56962 2011-05-20  Andreas Schwab  <schwab@redhat.com>
56964         * stdlib/longlong.h: Update from GCC.
56966 2011-05-23  Andreas Schwab  <schwab@redhat.com>
56968         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
56969         parameter name.
56970         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
56971         Add parameter name.
56972         (__sysconf): Pass it down.
56974 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
56976         [BZ #12671]
56977         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
56978         some situations.
56979         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
56980         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
56981         add in in __libc_use_alloca calls.  Adjust callers.
56982         (glob): Use malloc in some situations.
56984         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
56985         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
56986         pltexit.
56988 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
56990         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
56991         and CLOCK_BOOTTIME_ALARM.
56993         [BZ #12782]
56994         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
56995         is returned.
56997         * string/_strerror.c (__strerror_r): Print negative errors as signed
56998         numbers.
57000         [BZ #12777]
57001         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
57002         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
57003         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
57005         * configure.in: Fix typo in redirection and correct removal of test
57006         files in two cases.
57008         [BZ #12788]
57009         * locale/setlocale.c (new_composite_name): Fix test to check for
57010         identical name of all categories.
57012         [BZ #12792]
57013         * libio/filedoalloc.c (local_isatty): New function.
57014         (_IO_file_doallocate): Use local_isatty.
57015         * stdio-common/perror.c (perror): In case a new stream is used
57016         forward the stream error.
57017         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
57018         error flag.
57020 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
57022         [BZ #11869]
57023         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
57024         alloca.
57025         * include/alloca.h (extend_alloca_account): Define.
57027         [BZ #11857]
57028         * posix/regex.h: Fix comments with documentation of user-accessible
57029         fields after compilation and describe correct free'ing of pattern
57030         after re_compile_pattern.
57031         Patch by Reuben Thomas <rrt@sc3d.org>.
57033 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
57035         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
57036         and -mno-altivec to prevent the compiler from using Altivec and/or
57037         VSX instructions when the corresponding registers are not available.
57039 2011-05-19  Andreas Schwab  <schwab@redhat.com>
57041         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
57043 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
57045         * libio/freopen.c (freopen): Use __dup2, not dup2.
57046         * libio/freopen64.c (freopen64): Likewise.
57048 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57050         [BZ #12775]
57051         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
57052         * math/Makefile (tests): Add test-powl.
57053         (CFLAGS-test-powl.c): Define.
57054         * math/test-powl.c: New file.
57056 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57058         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
57060 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
57062         [BZ #11837]
57063         * iconvdata/gb18030.c: Update to GB18020-2005.
57065 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
57067         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
57068         RE_SYNTAX_POSIX_AWK): Update to match recent development.
57069         Patch by Aharon Robbins <arnold@skeeve.com>.
57071         [BZ #11892]
57072         * stdlib/putenv.c (putenv): Don't always create copy of the variable
57073         on the stack.
57075         [BZ #11895]
57076         * misc/pselect.c (__pselect): Handle timeout value errors hidden
57077         through underflows.
57079         [BZ #12766]
57080         * misc/error.c (error_at_line): Ensure file_name and old_file_name
57081         point to strings before performing equality test for error_one_per_line
57082         mode.
57084         [BZ #11697]
57085         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
57087         [BZ #11820]
57088         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57089         (struct user_fpregs_struct): Avoid __uint*_t types.
57091         [BZ #6420]
57092         * malloc/mtrace.c (tr_where): Add additional parameter to point to
57093         symbol info.  Use it instead of calling _dl_addr locally.
57094         (lock_and_info): New function.
57095         (tr_freehook): Call lock_and_info and pass symbol info as additional
57096         parameter to tr_where.
57097         (tr_mallochook): Likewise.
57098         (tr_reallochook): Likewise.
57099         (tr_memalignhook): Likewise.
57101         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
57102         used and couldn't be at all thread-safe.
57104 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
57106         * libio/freopen.c (freopen): Don't close old file descriptor
57107         before the new one is opened.  Instead dup the new file descriptor
57108         to the old one after the new stream is created.
57109         * libio/freopen64.c (freopen64): Likewise.
57110         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
57111         * libio/fileops.c (_IO_new_file_close_it): Handle new
57112         _IO_FLAGS2_NOCLOSE flag.
57113         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
57114         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
57115         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
57116         _IO_FLAGS2_NOCLOSE flag.
57117         * include/unistd.h: Add hidden_proto for dup3.
57118         Define __have_dup3.
57119         * io/dup3.c: Define hidden symbol.
57120         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
57122         [BZ #7101]
57123         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
57124         when an incomplete long option is used.
57125         * posix/tst-getopt_long1.c: New file.
57126         * posix/Makefile (tests): Add tst-getopt_long1.
57128         [BZ #10138]
57129         * scripts/config.guess: Update from autoconf-2.68.
57130         * scripts/config.sub: Likewise.
57132         [BZ #10157]
57133         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
57134         tests into ...
57135         (has_cpuclock): ...this.  New function.
57136         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
57137         macro here based on has_cpuclock code.
57139         [BZ #10149]
57140         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57141         First byte (not low byte) is now always NUL.
57142         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
57144         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57145         Use non-cancelable interfaces.
57147         [BZ #9809]
57148         * locale/iso-639.def: Add entry for Sorani.
57150         [BZ #11901]
57151         * include/stdlib.h: Move include protection to the right place.
57152         Define abort_msg_s.  Declare __abort_msg with it.
57153         * stdlib/abort.c (__abort_msg): Adjust type.
57154         * assert/assert.c (__assert_fail_base): New function.  Majority
57155         of code from __assert_fail.  Allocate memory for __abort_msg with
57156         mmap.
57157         (__assert_fail): Now call __assert_fail_base.
57158         * assert/assert-perr.c: Remove bulk of implementation.  Use
57159         __assert_fail_base.
57160         * include/assert.hL Declare __assert_fail_base.
57161         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
57162         mmap.
57163         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
57165 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
57167         [BZ #11952]
57168         [BZ #12453]
57169         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
57170         until all modules are registered in the DTV.
57171         * elf/Makefile: Add rules to build and run tst-tls19.
57172         * elf/tst-tls19.c: New file.
57173         * elf/tst-tls19mod1.c: New file.
57174         * elf/tst-tls19mod2.c: New file.
57175         * elf/tst-tls19mod3.c: New file.
57176         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
57178         [BZ #12083]
57179         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
57180         correctly.
57182         [BZ #12601]
57183         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
57184         two-byte sequence errors.
57185         * iconvdata/Makefile (tests): Add bug-iconv8.
57186         * iconvdata/bug-iconv8.c: New file.
57188         [BZ #12626]
57189         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
57190         buf2 definition.
57192         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
57194         [BZ #12432]
57195         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
57196         (dummy_getcfa): New function.
57197         (init): Get _Unwind_GetCFA address, use dummy if not found.
57198         (backtrace_helper): In recursion check, also check whether CFA changes.
57199         (__backtrace): Completely initialize arg.
57201         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
57202         storing incomplete byte sequence in state object.  Avoid testing for
57203         guaranteed too small input if we know there is enough data available.
57205 2011-05-11  Andreas Schwab  <schwab@redhat.com>
57207         * Makeconfig (+link-pie): Indent.
57208         * Rules (binaries-pie): Define if $(have-fpie) and
57209         $(build-shared).
57210         (binaries-shared): Also filter out $(binaries-pie).
57211         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
57212         * nscd/Makefile (others-pie): Add nscd.
57213         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
57214         ($(objpfx)nscd): Remove command override.
57215         * login/Makefile (others-pie): Add pt_chown.
57216         ($(objpfx)pt_chown): Remove command override.
57217         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
57218         remove command overrides.
57220 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
57222         * libio/tst_putwc.c: Fix error messages.
57224         [BZ #12724]
57225         * libio/fileops.c (_IO_new_file_close_it): Always flush when
57226         currently writing and seek to current position when not.
57227         * libio/Makefile (tests): Add bug-fclose1.
57228         * libio/bug-fclose1.c: New file.
57230 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
57232         [BZ #12511]
57233         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
57234         don't set DF_1_NODELETE here.
57235         (do_lookup_x): When entering new entry test for copy relocation
57236         and if necessary set DF_1_NODELETE flag.
57237         * elf/tst-unique4.cc: New file.
57238         * elf/tst-unique4.h: New file.
57239         * elf/tst-unique4lib.cc: New file.
57240         * elf/Makefile: Add rules to build and run tst-unique4.
57241         Patch by Piotr Bury <pbury@goahead.com>.
57243 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
57245         [BZ #12052]
57246         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
57248         [BZ #12625]
57249         * misc/mntent_r.c (addmntent): Flush the stream after the output
57251         [BZ #12393]
57252         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
57253         (is_trusted_path_normalize): Skip initial colon.  Append slash
57254         to empty buffer.  Duplicate is_trusted_path code but allow
57255         constructed patch to be prefix.
57256         (is_dst): Allow $ORIGIN followed by /.
57257         (_dl_dst_substitute): Correct clearing of check_for_trusted.
57258         Correct testing of result of is_trusted_path_normalize
57259         (decompose_rpath): Fix warning.
57261 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
57263         [BZ #11257]
57264         * grp/initgroups.c (internal_getgrouplist): When we found the service
57265         list through the initgroups entry in nsswitch.conf do not always
57266         continue on a successful lookup.  Don't always use the
57267         __nss_group_database value if it is set.
57268         * nss/nsswitch.conf (initgroups): Change action for successful db
57269         lookup to continue for compatibility.
57271 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
57273         [BZ #11532]
57274         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
57275         and CP774 modules.
57276         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
57277         and CP774 modules.
57278         * iconvdata/tst-tables.sh: Likewise.
57279         * iconvdata/cp770.c: New file.
57280         * iconvdata/cp771.c: New file.
57281         * iconvdata/cp772.c: New file.
57282         * iconvdata/cp773.c: New file.
57283         * iconvdata/cp774.c: New file.
57284         * iconvdata/testdata/CP770: New file.
57285         * iconvdata/testdata/CP770..UTF8: New file.
57286         * iconvdata/testdata/CP771: New file.
57287         * iconvdata/testdata/CP771..UTF8: New file.
57288         * iconvdata/testdata/CP772: New file.
57289         * iconvdata/testdata/CP772..UTF8: New file.
57290         * iconvdata/testdata/CP773: New file.
57291         * iconvdata/testdata/CP773..UTF8: New file.
57292         * iconvdata/testdata/CP774: New file.
57293         * iconvdata/testdata/CP774..UTF8: New file.
57295         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
57296         END CHARMAP line.
57297         * iconvdata/gen-8bit-gap.sh: Likewise.
57298         * iconvdata/gen-8bit.sh: Likewise.
57300         * locale/iso-639.def: Add ary entry.
57302         [BZ #11258]
57303         * locale/C-translit.h.in: Add U20A1 transliteration.
57305         [BZ #12178]
57306         * locale/iso-639.def: Add wae entry.
57307         Patch by Kevin Bortis <bortis@translate-wae.ch>.
57309         [BZ #12545]
57310         * locale/programs/localedef.c (construct_output_path): Use ssize_t
57311         for n.
57313         [BZ #12711]
57314         * locale/C-translit.h.in: Add entry for U20B9.
57315         Patch by pravin.d.s@gmail.com.
57317 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
57319         [BZ #12713]
57320         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
57321         ENAMETOOLONG use generic getcwd.
57322         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
57323         in rtld.  Use *stat64.
57324         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
57325         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
57326         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
57327         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
57328         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
57329         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
57330         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
57331         __fstatat64 macros.
57332         * include/dirent.h: Add libc_hidden_proto for rewinddir.
57333         * dirent/rewinddir.c: Add libc_hidden_def.
57334         * sysdeps/mach/hurd/rewinddir.c: Likewise.
57335         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
57337         * include/dirent.h (__alloc_dir): Add flags parameter.
57338         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
57339         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
57340         __alloc_dir.
57341         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
57342         from fdopendir if O_CLOEXEC is already set.
57344 2011-03-15  Alan Modra  <amodra@gmail.com>
57346         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
57347         l_tls_firstbyte_offset non-zero.  Save padding offset in
57348         l_tls_firstbyte_offset for later use.
57349         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
57350         freeing static tls block.
57352 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
57354         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
57355         where #ifdef was intended.  The intent is to prevent ARG_MAX from
57356         being defined by the kernel headers.
57358 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
57360         [BZ #12734]
57361         * resolv/resolv.h: Define RES_NOTLDQUERY.
57362         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
57363         no-tld-query and set RES_NOTLDQUERY.
57364         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
57365         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
57366         modern BIND to search name as TLD unless forbidden.
57368 2011-05-07  Petr Baudis  <pasky@suse.cz>
57369             Ulrich Drepper  <drepper@gmail.com>
57371         [BZ #12393]
57372         * elf/dl-load.c (fillin_rpath): Move trusted path check...
57373         (is_trusted_path): ...to here.
57374         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
57375         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
57376         using is_trusted_path_normalize() in setuid scripts.
57378 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
57380         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
57381         __BEGIN/__END_DECLS.
57383 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
57385         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
57386         NSS_STATUS_NOTFOUND if no record was found.
57388 2011-05-05  Andreas Schwab  <schwab@redhat.com>
57390         * sunrpc/Makefile (headers): Add rpc/netdb.h.
57391         (headers-not-in-tirpc): Remove rpc/netdb.h
57392         * resolv/netdb.h: Revert last change.
57394 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
57396         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
57397         circular dependency between libgcc.a and libc.a.
57399 2011-05-05  Andreas Schwab  <schwab@redhat.com>
57401         * resolv/netdb.h: Don't include <rpc/netdb.h>.
57402         * nis/Makefile: Don't install rpcsvc/*.
57403         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
57404         instead of <rpc/types.h>.
57405         (MAXHOSTNAMELEN): Define.
57407 2011-05-03  Andreas Schwab  <schwab@redhat.com>
57409         * elf/ldconfig.c (add_dir): Don't crash on empty path.
57411 2011-04-28  Maciej Babinski  <mbabinski@google.com>
57413         [BZ #12714]
57414         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
57415         gethostbyname4_r when IPv6 results are possible.
57417 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
57419         [BZ #12723]
57420         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
57421         _PC_PIPE_BUF handling.
57423 2011-04-30  Bruno Haible  <bruno@clisp.org>
57425         [BZ #12717]
57426         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
57427         * resolv/netdb.h (getnameinfo): Change type of flags parameter
57428         to 'int'.
57429         * inet/getnameinfo.c (getnameinfo): Likewise.
57431 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
57433         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
57434         to groups setting in database lookup.
57435         * nss/nsswitch.conf: Add initgroups entry.
57437 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
57439         [BZ #12685]
57440         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
57441         mode string.
57442         Patch by Eric Blake <eblake@redhat.com>.
57444 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
57446         * sunrpc/Makefile (need-export-routines): Add svc_run.
57447         (routines): Remove svc_run.
57448         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
57449         * sunrpc/clnt_perr.c (clnt_perrno): Export.
57450         * sunrpc/svc_run.c (svc_run): Likewise.
57451         * sunrpc/svc_udp.c (svcudp_create): Likewise.
57453 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
57455         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
57456         problem in reallocation in last patch.
57458 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
57460         * sunrpc/Makefile: Move inclusion of Rules.
57462 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
57464         * nss/nss_files/files-initgroups.c: New file.
57465         * nss/Makefile (libnss_files-routines): Add files-initgroups.
57466         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
57467         _nss_files_initgroups_dyn.
57469 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
57471         * elf/elf.h (R_ARM_IRELATIVE): Define.
57473 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
57475         * po/ru.po: Update from translation team.
57477 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
57479         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
57480         dependencies.
57482 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
57484         [BZ #12653]
57485         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
57486         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
57487         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57488         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57489         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57491 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
57493         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
57494         differing bytes.
57495         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57496         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57497         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57499 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
57501         [BZ #12420]
57502         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
57503         storing it.
57504         * stdlib/bug-getcontext.c: New file.
57505         * stdlib/Makefile: Add rules to build and run bug-getcontext.
57507 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57509         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
57510         instructions into .machine "z9-109".
57511         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
57512         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
57514 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57516         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
57517         between environment variables and auxiliary vector.
57519 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
57521         * Makefile: Add rules to build linkobj/libc.so.
57522         * include/libc-symbols.h: Define libc_hidden_nolink.
57523         * include/rpc/auth.h: Mark functions which are to be hidden.
57524         * include/rpc/auth_des.h: Likewise.
57525         * include/rpc/auth_unix.h: Likewise.
57526         * include/rpc/clnt.h: Likewise.
57527         * include/rpc/des_crypt.h: Likewise.
57528         * include/rpc/key_prot.h: Likewise.
57529         * include/rpc/pmap_clnt.h: Likewise.
57530         * include/rpc/pmap_prot.h: Likewise.
57531         * include/rpc/pmap_rmt.h: Likewise.
57532         * include/rpc/rpc_msg.h: Likewise.
57533         * include/rpc/svc.h: Likewise.
57534         * include/rpc/svc_auth.h: Likewise.
57535         * include/rpc/xdr.h: Likewise.
57536         * nis/Makefile: Link all DSOs against linkobj/libc.so.
57537         * nss/Makefile: Likewise.
57538         * sunrpc/Makefile: Don't install headers.  Build library with normal
57539         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
57540         * sunrpc/auth_des.c: Hide exported symbols by default, export some
57541         for the compat linking library.  Remove use of INTDEF/INTUSE.
57542         * sunrpc/auth_none.c: Likewise.
57543         * sunrpc/auth_unix.c: Likewise.
57544         * sunrpc/authdes_prot.c: Likewise.
57545         * sunrpc/authuxprot.c: Likewise.
57546         * sunrpc/clnt_gen.c: Likewise.
57547         * sunrpc/clnt_perr.c: Likewise.
57548         * sunrpc/clnt_raw.c: Likewise.
57549         * sunrpc/clnt_simp.c: Likewise.
57550         * sunrpc/clnt_tcp.c: Likewise.
57551         * sunrpc/clnt_udp.c: Likewise.
57552         * sunrpc/clnt_unix.c: Likewise.
57553         * sunrpc/des_crypt.c: Likewise.
57554         * sunrpc/des_soft.c: Likewise.
57555         * sunrpc/get_myaddr.c: Likewise.
57556         * sunrpc/key_call.c: Likewise.
57557         * sunrpc/key_prot.c: Likewise.
57558         * sunrpc/netname.c: Likewise.
57559         * sunrpc/pm_getmaps.c: Likewise.
57560         * sunrpc/pm_getport.c: Likewise.
57561         * sunrpc/pmap_clnt.c: Likewise.
57562         * sunrpc/pmap_prot.c: Likewise.
57563         * sunrpc/pmap_prot2.c: Likewise.
57564         * sunrpc/pmap_rmt.c: Likewise.
57565         * sunrpc/publickey.c: Likewise.
57566         * sunrpc/rpc_cmsg.c: Likewise.
57567         * sunrpc/rpc_common.c: Likewise.
57568         * sunrpc/rpc_dtable.c: Likewise.
57569         * sunrpc/rpc_prot.c: Likewise.
57570         * sunrpc/rpc_thread.c: Likewise.
57571         * sunrpc/rtime.c: Likewise.
57572         * sunrpc/svc.c: Likewise.
57573         * sunrpc/svc_auth.c: Likewise.
57574         * sunrpc/svc_authux.c: Likewise.
57575         * sunrpc/svc_raw.c: Likewise.
57576         * sunrpc/svc_run.c: Likewise.
57577         * sunrpc/svc_simple.c: Likewise.
57578         * sunrpc/svc_tcp.c: Likewise.
57579         * sunrpc/svc_udp.c: Likewise.
57580         * sunrpc/svc_unix.c: Likewise.
57581         * sunrpc/svcauth_des.c: Likewise.
57582         * sunrpc/xcrypt.c: Likewise.
57583         * sunrpc/xdr.c: Likewise.
57584         * sunrpc/xdr_array.c: Likewise.
57585         * sunrpc/xdr_float.c: Likewise.
57586         * sunrpc/xdr_intXX_t.c: Likewise.
57587         * sunrpc/xdr_mem.c: Likewise.
57588         * sunrpc/xdr_rec.c: Likewise.
57589         * sunrpc/xdr_ref.c: Likewise.
57590         * sunrpc/xdr_sizeof.c: Likewise.
57591         * sunrpc/xdr_stdio.c: Likewise.
57593 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
57595         [BZ #12650]
57596         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
57597         * sysdeps/ia64/dl-tls.h: Likewise.
57598         * sysdeps/powerpc/dl-tls.h: Likewise.
57599         * sysdeps/s390/dl-tls.h: Likewise.
57600         * sysdeps/sh/dl-tls.h: Likewise.
57601         * sysdeps/sparc/dl-tls.h: Likewise.
57602         * sysdeps/x86_64/dl-tls.h: Likewise.
57603         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
57605 2011-03-14  Andreas Schwab  <schwab@redhat.com>
57607         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
57608         rpath element also skip the following colon.
57609         (expand_dynamic_string_token): Add is_path parameter and pass
57610         down to DL_DST_REQUIRED and _dl_dst_substitute.
57611         (decompose_rpath): Call expand_dynamic_string_token with
57612         non-zero is_path.  Ignore empty rpaths.
57613         (_dl_map_object_from_fd): Call expand_dynamic_string_token
57614         with zero is_path.
57616 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
57618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
57619         Make cancelable.
57621 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
57623         [BZ #12655]
57624         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
57625         Patch by Filipe David Manana <fdmanana@apache.org>.
57627 2011-04-07  Andreas Schwab  <schwab@redhat.com>
57629         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
57630         Maintain aligned stack.
57631         (CHECK_RSP): Remove unused macro.
57633 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
57635         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
57636         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
57638 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
57640         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
57642         * include/features.h: Mention __USE_XOPEN2K8 in comment.
57644 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
57646         [BZ #12518]
57647         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
57648         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
57649         * sysdeps/x86_64/memmove.c: New file.
57650         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
57651         (memcpy): Renamed to ...
57652         (__new_memcpy): This.
57653         (memcpy): Provide GLIBC_2_14 memcpy.
57654         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
57655         (memcpy): Provide GLIBC_2_2_5 memcpy.
57657 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
57659         [BZ #12631]
57660         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
57662 2011-03-30  Andreas Schwab  <schwab@redhat.com>
57664         * misc/syncfs.c: New file.
57665         * misc/Makefile (routines): Add syncfs.
57666         * posix/unistd.h: Declare syncfs.
57667         * sysdeps/unix/syscalls.list: Add syncfs.
57669 2011-04-01  Andreas Schwab  <schwab@redhat.com>
57671         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
57672         open_by_handle_at.
57673         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57674         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57675         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57676         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57677         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57678         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
57679         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57681 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
57683         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
57684         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57685         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
57686         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57687         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57688         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57689         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57691         * io/Makefile: Compile fallocate.c, fallocate64.c, and
57692         sync_file_range.c with -fexceptions.
57693         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
57694         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
57695         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
57696         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
57697         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
57698         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
57699         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
57700         sync_file_range as cancellation point
57701         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
57702         now a wrapper around __call_sync_file_range with cancellation handling.
57703         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
57704         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
57705         function name to __call_sync_file_range.
57706         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
57707         Add call_sync_file_range.
57709 2011-04-01  Andreas Schwab  <schwab@redhat.com>
57711         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57712         bits/timex.h.
57714 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
57716         * iconv/iconv.h: Fix typo in comment.
57717         * io/fcntl.h: Likewise.
57718         * libio/stdio.h: Likewise.
57719         * posix/spawn.h: Likewise.
57720         * posix/unistd.h: Likewise.
57721         * stdlib/stdlib.h: Likewise.
57722         * time/time.h: Likewise.
57723         * wcsmbs/wchar.h: Likewise.
57725         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
57726         open_by_handle): Add.
57727         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
57728         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
57729         Augment a few comments.
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/x86_64/bits/fcntl.h: Likewise.
57735         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
57736         open_by_handle.
57738         * io/fcntl.h (AT_EMPTY_PATH): Define.
57740 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
57742         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
57743         * sysdeps/unix/sysv/linux/bits/time.h: New file.
57744         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
57745         to...
57746         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
57747         * Versions.def: Add GLIBC_2.14.
57748         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
57749         Export.
57751 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
57753         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
57754         round counter.
57755         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
57757 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
57759         [BZ #12597]
57760         * string/test-strncmp.c (do_page_test): New function.
57761         (check2): Likewise.
57762         (test_main): Call check2.
57763         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
57765 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
57767         [BZ #12587]
57768         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
57769         Handle cache information in CPU leaf 4.
57770         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
57772 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
57774         [BZ #12583]
57775         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
57776         character representation.
57777         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
57779 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
57781         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
57782         END(__isnan) to END(__isnanf) to match function entry point/label
57783         EALIGN(__isnanf,...).
57785 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
57787         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
57789 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
57791         [BZ #12510]
57792         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
57793         copy from the symbol referenced in the relocation to initialize the
57794         used variable.
57795         Patch by Piotr Bury <pbury@goahead.com>.
57796         * elf/Makefile: Add rules to build and tst-unique3.
57797         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
57798         * elf/tst-unique3.cc: New file.
57799         * elf/tst-unique3.h: New file.
57800         * elf/tst-unique3lib.cc: New file.
57801         * elf/tst-unique3lib2.cc: New file.
57803         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
57805 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
57807         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
57808         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
57809         to _start.
57811 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
57813         * elf/dl-load.c (_dl_map_object): If we are looking for the first
57814         to-be-loaded object along a path to loader is ld.so.
57816 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
57817             Ulrich Drepper  <drepper@gmail.com>
57819         * sysdeps/x86_64/memset.S: After aligning destination, code
57820         branches to different locations depending on the value of
57821         misalignment, when multiarch is enabled. Fix this.
57823 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
57825         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
57826         Set _x86_64_preferred_memory_instruction for AMD processsors.
57827         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57828         Set bit_Prefer_SSE_for_memop for AMD processors.
57830 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
57832         * libio/fmemopen.c (fmemopen): Optimize a bit.
57834 2011-03-03  Andreas Schwab  <schwab@redhat.com>
57836         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
57838 2011-03-03  Roland McGrath  <roland@redhat.com>
57840         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
57842 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
57844         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
57845         __bzero_ultra1 instead of __memset_ultra1.
57847 2011-02-23  Andreas Schwab  <schwab@redhat.com>
57848             Ulrich Drepper  <drepper@gmail.com>
57850         [BZ #12509]
57851         * include/link.h (struct link_map): Add l_orig_initfini.
57852         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
57853         returning unsuccessfully.
57854         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
57855         close of a file loaded at startup, restore the original l_initfini
57856         list.
57857         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
57858         list, store the pointer.
57859         * elf/Makefile ($(objpfx)noload-mem): New rule.
57860         (noload-ENV): Define.
57861         (tests): Add $(objpfx)noload-mem.
57862         * elf/noload.c: Include <memcheck.h>.
57863         (main): Call mtrace.  Close all opened handles.
57865 2011-02-17  Andreas Schwab  <schwab@redhat.com>
57867         [BZ #12454]
57868         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
57869         dependencies are missing.
57871 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57873         Fix __if_freereq crash: Unlike the generic version which uses free,
57874         Hurd needs munmap.
57875         * sysdeps/mach/hurd/ifreq.h: New file.
57877 2011-01-27  Petr Baudis  <pasky@suse.cz>
57878             Ulrich Drepper  <drepper@gmail.com>
57880         [BZ 12445]#
57881         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
57882         to extend_alloca().
57883         * stdio-common/bug23.c: New file.
57884         * stdio-common/Makefile (tests): Add bug23.
57886 2010-09-28  Andreas Schwab  <schwab@redhat.com>
57887             Ulrich Drepper  <drepper@gmail.com>
57889         [BZ #12489]
57890         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
57891         before performing relro protection.  At old place add assertion
57892         to make sure nothing changed.
57894 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
57895             Glauber de Oliveira Costa  <glommer@gmail.com>
57897         * elf/elf.h: Add new ARM TLS relocs.
57899 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
57901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57902         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
57903         cast from r3.
57904         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
57905         'tests' variable.
57906         * sysdeps/wordsize-64/tst-writev.c: New file.
57908 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
57910         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
57911         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
57912         insns in _dl_start to prevent a TOC reference before relocs are
57913         resolved.
57915 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
57917         [BZ #12469]
57918         * Makeconfig: Remove RANLIB definition.
57919         * Makerules: Don't use RANLIB.
57920         * aclocal.m4: Remove ranlib test.
57921         * configure.in: No need to check for ranlib.
57922         * elf/rtld-Rules: Don't use RANLIB.
57924 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57926         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
57927         protection macro.
57928         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
57929         inclusion protection macro.
57931         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
57932         SIGRTMIN and SIGRTMAX and print information in that case only when
57933         SIGRTMIN is defined.
57935 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
57937         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
57938         arginfo fn returning -1.
57940         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
57941         and thousands string is zero terminated.
57943 2011-02-03  Andreas Schwab  <schwab@redhat.com>
57945         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
57946         sysdeps/unix/sysv/linux/bits/socket.h.
57948 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57950         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
57951         (__CPU_COUNT): Remove old macros.
57952         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
57953         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
57954         (__CPU_ALLOC, __CPU_FREE): Add macros.
57955         (__sched_cpualloc, __sched_cpufree): Add declarations.
57957 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
57959         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
57960         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
57961         * nscd/aicache.c (addhstaiX): Return timeout of added value.
57962         (readdhstai): Return value of addhstaiX call.
57963         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
57964         (addgrbyX): Return value returned by cache_addgr.
57965         (readdgrbyname): Return value returned by addgrbyX.
57966         (readdgrbygid): Likewise.
57967         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
57968         (addpwbyX): Return value returned by cache_addpw.
57969         (readdpwbyname): Return value returned by addhstbyX.
57970         (readdpwbyuid): Likewise.
57971         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
57972         (addservbyX): Return value returned by cache_addserv.
57973         (readdservbyname): Return value returned by addservbyX:
57974         (readdservbyport): Likewise.
57975         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
57976         (addhstbyX): Return value returned by cache_addhst.
57977         (readdhstbyname): Return value returned by addhstbyX.
57978         (readdhstbyaddr): Likewise.
57979         (readdhstbynamev6): Likewise.
57980         (readdhstbyaddrv6): Likewise.
57981         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
57982         (readdinitgroups): Return value returned by addinitgroupsX.
57983         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
57984         (prune_cache): Keep track of timeout value of re-added entries.
57985         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
57986         * nscd/nscd.h: Adjust prototypes of readd* functions.
57988 2011-02-04  Roland McGrath  <roland@redhat.com>
57990         * nis/nis_server.c (nis_servstate): Use the right name for 0.
57991         (nis_stats): Likewise.
57992         * nis/nis_modify.c (nis_modify): Likewise.
57993         * nis/nis_remove.c (nis_remove): Likewise.
57994         * nis/nis_add.c (nis_add): Likewise.
57996         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
57998         * posix/fnmatch_loop.c: Add some consts.
58000         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
58002 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
58004         [BZ #12460]
58005         * config.make.in (config-cflags-novzeroupper): Define.
58006         * configure.in: Substitute libc_cv_cc_novzeroupper.
58007         * elf/Makefile (AVX-CFLAGS): Define.
58008         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
58009         (CFLAGS-tst-auditmod4a.c): Likewise.
58010         (CFLAGS-tst-auditmod4b.c): Likewise.
58011         (CFLAGS-tst-auditmod6b.c): Likewise.
58012         (CFLAGS-tst-auditmod6c.c): Likewise.
58013         (CFLAGS-tst-auditmod7b.c): Likewise.
58014         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
58016 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
58018         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
58019         function to the callback.
58020         Patch partly by Jiri Olsa <jolsa@redhat.com>.
58022 2011-02-02  Andreas Schwab  <schwab@redhat.com>
58024         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
58025         of errno.
58027 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
58029         [BZ #11724]
58030         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
58031         of constructors.
58032         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
58033         of destructors.
58034         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
58036         [BZ #11724]
58037         * elf/Makefile: Add rules to build and run new test.
58038         * elf/tst-initorder.c: New file.
58039         * elf/tst-initorder.exp: New file.
58040         * elf/tst-initordera1.c: New file.
58041         * elf/tst-initordera2.c: New file.
58042         * elf/tst-initordera3.c: New file.
58043         * elf/tst-initordera4.c: New file.
58044         * elf/tst-initorderb1.c: New file.
58045         * elf/tst-initorderb2.c: New file.
58046         * elf/tst-order-a1.c: New file.
58047         * elf/tst-order-a2.c: New file.
58048         * elf/tst-order-a3.c: New file.
58049         * elf/tst-order-a4.c: New file.
58050         * elf/tst-order-b1.c: New file.
58051         * elf/tst-order-b2.c: New file.
58052         * elf/tst-order-main.c: New file.
58053         New test case by George Gensure <werkt0@gmail.com>.
58055 2010-10-01  Andreas Schwab  <schwab@redhat.com>
58057         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58058         decoding ACE if AI_CANONIDN.
58060 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
58062         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
58064 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
58066         * version.h (RELEASE): Bump for 2.13 release.
58067         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
58069         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
58071         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
58072         MADV_NOHUGEPAGE.
58073         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
58074         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58075         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58076         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58077         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58078         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58080         * posix/getconf.c: Update copyright year.
58081         * catgets/gencat.c: Likewise.
58082         * csu/version.c: Likewise.
58083         * debug/catchsegv.sh: Likewise.
58084         * debug/xtrace.sh: Likewise.
58085         * elf/ldconfig.c: Likewise.
58086         * elf/ldd.bash.in: Likewise.
58087         * elf/sprof.c (print_version): Likewise.
58088         * iconv/iconv_prog.c: Likewise.
58089         * iconv/iconvconfig.c: Likewise.
58090         * locale/programs/locale.c: Likewise.
58091         * locale/programs/localedef.c: Likewise.
58092         * malloc/memusage.sh: Likewise.
58093         * malloc/mtrace.pl: Likewise.
58094         * nscd/nscd.c (print_version): Likewise.
58095         * nss/getent.c: Likewise.
58097         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
58098         PF_CAIF, and PF_ALG.
58099         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58101 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
58103         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
58104         (modules-names): Use them.
58105         (ifunc-test-modules, ifunc-pie-tests): Define.
58106         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
58107         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
58108         (test-extras): Likewise.
58109         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
58110         $(compile-command.c).
58111         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
58112         (all-built-dso): Define.
58113         (check-textrel.out, check-execstack.out): Depend on it.
58115         * configure.in: Don't override --enable-multi-arch.
58117 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
58119         [BZ #6812]
58120         * nscd/hstcache.c (tryagain): Define.
58121         (cache_addhst): Return tryagain not notfound for temporary errors.
58122         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
58123         failed.
58125 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
58127         [BZ #10563]
58128         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
58129         to make the syscall.
58130         * sysdeps/unix/sysv/linux/setgroups.c: New file.
58132         [BZ #12378]
58133         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
58134         and fall back to matching as normal character if the string ends before
58135         the matching ']' is found.  This is what POSIX requires.
58136         * posix/testfnm.c: Adjust test result.
58137         * posix/globtest.sh: Adjust test result.  Add new test.
58138         * posix/tst-fnmatch.input: Likewise.
58139         * posix/tst-fnmatch2.c: Add new test.
58141 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
58143         * elf/Makefile (check-execstack): Revert last change.  Depend on
58144         check-execstack.h.
58145         (check-execstack.h): New target.
58146         (generated): Add check-execstack.h.
58147         * elf/check-execstack.c: Include "check-execstack.h".
58148         (main): Revert last change.
58149         (handle_file): Return zero if GNU_STACK is absent and
58150         DEFAULT_STACK_PERMS doesn't include PF_X.
58152 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
58154         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
58155         in child fails because the descriptor is already closed.
58156         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
58157         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
58158         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
58160         [BZ #12397]
58161         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
58162         syscall.
58164         [BZ #10484]
58165         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
58166         temporary buffer used to handle multi lookups locally.
58167         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
58169 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
58171         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
58172         loader is ld.so.
58174 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
58176         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
58177         alignment for SSE2.
58179 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
58181         [BZ #12394]
58182         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
58183         characters.  When rounding increased number of integer digits recompute
58184         number of groups.
58185         * stdio-common/tst-grouping.c: New file.
58186         * stdio-common/Makefile: Add rules to build and run tst-grouping.
58188 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
58190         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
58191         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
58193         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
58194         void.
58195         * bits/select.h: Likewise.
58197 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
58199         * po/ja.po: Update from translation team.
58201 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
58203         [BZ #11155]
58204         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
58205         implementation just like for lxstat, fxstatat, et al.
58207 2010-12-27  Jim Meyering  <meyering@redhat.com>
58209         [BZ #12348]
58210         * posix/regexec.c (build_trtable): Return failure indication upon
58211         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
58213 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
58215         [BZ #12201]
58216         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
58217         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
58218         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
58219         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
58221         [BZ #12207]
58222         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
58224         [BZ #12204]
58225         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
58226         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
58228 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
58230         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
58231         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
58232         script has SORT_BY_INIT_PRIORITY.
58233         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
58234         NO_CTORS_DTORS_SECTIONS is defined.
58235         * elf/soinit.c: Likewise.
58236         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
58237         NO_CTORS_DTORS_SECTIONS is defined.
58238         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
58239         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
58240         * sysdeps/sh/init-first.c: Likewise.
58241         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
58243 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
58245         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
58246         always use the slow path.
58248 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
58250         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
58251         similar rule which adds the sysdep directories to the header search in
58252         order to pick up the correct platform stackinfo.h.
58253         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
58254         perform test if it is, otherwise return successfully without testing.
58255         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
58256         DEFAULT_STACK_PERMS define in stackinfo.h.
58257         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
58258         defined in stackinfo.h.
58259         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
58260         DEFAULT_STACK_PERMS defined in stackinfo.h.
58261         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
58262         * sysdeps/ia64/stackinfo.h: Likewise.
58263         * sysdeps/s390/stackinfo.h: Likewise.
58264         * sysdeps/sh/stackinfo.h: Likewise.
58265         * sysdeps/sparc/stackinfo.h: Likewise.
58266         * sysdeps/x86_64/stackinfo.h: Likewise.
58267         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
58268         PF_X for powerpc64.  Retain PF_X for powerpc32.
58270 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
58272         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
58273         accurately.
58274         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
58275         GETDENTS_64BIT_ALIGNED.
58277 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
58279         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
58281 2010-12-10  Andreas Schwab  <schwab@redhat.com>
58283         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
58284         _GNU_SOURCE.
58286         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
58287         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
58288         Remove __restrict.
58289         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
58290         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
58292 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
58294         [BZ #11655]
58295         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
58296         are initialized.
58298 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
58300         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
58302 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
58304         * po/it.po: Update from translation team.
58306 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
58308         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
58309         unused codes.
58311 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
58313         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
58315 2010-11-24  Andreas Schwab  <schwab@redhat.com>
58317         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
58318         specially.
58319         (gaih_getanswer_slice): Likewise.
58321 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
58323         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
58325 2010-05-31  Petr Baudis  <pasky@suse.cz>
58327         [BZ #11149]
58328         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
58329         silently even in the chroot mode.
58331 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
58333         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
58334         last patch a bit.  Pretty printing
58336 2010-05-31  Petr Baudis <pasky@suse.cz>
58338         [BZ #10085]
58339         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
58340         initialization of skip_initgroups_dyn.
58342 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
58344         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
58345         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58347 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
58349         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
58351 2010-11-11  Andreas Schwab  <schwab@redhat.com>
58353         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
58354         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
58355         (tst-fnmatch-ENV): Set MALLOC_TRACE.
58356         ($(objpfx)tst-fnmatch-mem): New rule.
58357         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
58358         * posix/tst-fnmatch.c (main): Call mtrace.
58360 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
58362         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58363         Support Intel processor model 6 and model 0x2c.
58365 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
58367         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
58368           signed comparison.
58370 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
58372         [BZ #12205]
58373         * string/test-strncasecmp.c (check_result): New function.
58374         (do_one_test): Use it.
58375         (check1): New function.
58376         (test_main): Use it.
58377         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
58378         Support strcasecmp and strncasecmp.
58380 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
58382         [BZ #12194]
58383         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
58384         * sysdeps/x86_64/bits/byteswap.h: Likewise.
58386 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
58388         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
58389         IFUNC support.
58390         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58391         memset-x86-64.
58392         * sysdeps/x86_64/multiarch/bzero.S: New file.
58393         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
58394         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
58395         * sysdeps/x86_64/multiarch/memset.S: New file.
58396         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
58397         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58398         Set bit_Prefer_SSE_for_memop for Intel processors.
58399         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
58400         Define.
58401         (index_Prefer_SSE_for_memop): Define.
58402         (HAS_PREFER_SSE_FOR_MEMOP): Define.
58404 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
58406         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
58407         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
58409 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
58411         [BZ #12191]
58412         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
58413         (__x86_64_raw_data_cache_size_half): Likewise.
58414         (__x86_64_raw_shared_cache_size): Likewise.
58415         (__x86_64_raw_shared_cache_size_half): Likewise.
58417         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
58418         (__x86_64_raw_data_cache_size_half): Likewise.
58419         (__x86_64_raw_shared_cache_size): Likewise.
58420         (__x86_64_raw_shared_cache_size_half): Likewise.
58421         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
58422         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
58423         and __x86_64_raw_shared_cache_size_half.  Round
58424         __x86_64_data_cache_size_half, __x86_64_data_cache_size
58425         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
58426         to multiple of 256 bytes.
58428 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
58430         [BZ #12167]
58431         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
58432         of inacessible symlinks.  Verify result of symlink before returning it.
58433         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
58434         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
58436 2010-10-28  Erich Ritz  <erichritz@gmail.com>
58438         * math/math.h (isinf): Fix typo in comment.
58440 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
58442         * po/da.po: Update from translation team.
58444 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
58446         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
58447         is added to the list.
58449 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58450             Ulrich Drepper  <drepper@gmail.com>
58452         * elf/dl-object.c (_dl_new_object): Don't append the new object to
58453         the global list here.  Move code to...
58454         (_dl_add_to_namespace_list): ...here.  New function.
58455         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
58456         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
58457         * elf/dl-load.c (lose): Don't remove the element from the list.
58458         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
58459         (_dl_map_object): Likewise.
58461 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
58463         [BZ #12159]
58464         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
58465         into all bytes of SSE register.
58466         Patch by Richard Li <richardpku@gmail.com>.
58468 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
58470         [BZ #12140]
58471         * malloc/malloc.c (_int_free): Fill correct number of bytes when
58472         perturbing.
58474 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
58476         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
58477         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
58478         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
58479         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
58481         submachine.
58482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
58484 2010-10-22  Andreas Schwab  <schwab@redhat.com>
58486         * include/dlfcn.h (__RTLD_SECURE): Define.
58487         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
58488         mode & __RTLD_SECURE instead.
58489         (open_path): Rename preloaded parameter to secure.
58490         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
58491         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
58492         * elf/dl-deps.c (openaux): Likewise.
58493         * elf/rtld.c (struct map_args): Remove is_preloaded.
58494         (map_doit): Don't use it.
58495         (dl_main): Likewise.
58496         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
58497         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
58499 2010-09-09  Andreas Schwab  <schwab@redhat.com>
58501         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
58502         (sysd-rules-targets): Remove duplicates.
58503         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
58504         rtld-%.$o dependency.
58506 2010-10-18  Andreas Schwab  <schwab@redhat.com>
58508         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
58509         _dl_map_object do it.
58511 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
58513         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
58514         fast fma builtins, define the macros in the C99 standard.
58515         (FP_FAST_FMAF): Likewise.
58516         (FP_FAST_FMAL): Likewise.
58517         * sysdeps/x86_64/bits/mathdef.h: Likewise.
58519         * bits/mathdef.h: Update copyright year.
58520         * sysdeps/powerpc/bits/mathdef.h: Likewise.
58522 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
58524         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
58525         builtins, define the macros in the C99 standard.
58526         (FP_FAST_FMAF): Likewise.
58527         (FP_FAST_FMAL): Likewise.
58528         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
58529         multiply/add.
58530         (FP_FAST_FMAF): Likewise.
58532 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
58534         [BZ #3268]
58535         * math/libm-test.inc (fma_test): Some new testcases.
58536         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
58537         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
58538         y and infinite z.  Do multiplication by C already in long double.
58539         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
58540         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
58541         y and infinite z.  Do bitwise or of inexact bit into u.d.
58542         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
58543         * sysdeps/i386/fpu/s_fmaf.S: Removed.
58544         * sysdeps/i386/fpu/s_fma.S: Removed.
58545         * sysdeps/i386/fpu/s_fmal.S: Removed.
58547 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
58549         [BZ #3268]
58550         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
58551         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
58552         computation is not scheduled after fetestexcept.  Fix value
58553         of minimum denormal long double.
58555 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
58557         [BZ #3268]
58558         * math/libm-test.inc (fma_test): Add some more tests.
58559         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
58560         correctly.
58562 2010-10-15  Andreas Schwab  <schwab@redhat.com>
58564         * scripts/data/localplt-s390-linux-gnu.data: New file.
58565         * scripts/data/localplt-s390x-linux-gnu.data: New file.
58567 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
58569         [BZ #3268]
58570         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
58571         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
58572         instead of dbl-64.
58573         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
58574         inlines.
58575         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
58576         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
58577         if one of x and y is very large and the other is subnormal.
58578         * sysdeps/s390/fpu/s_fmaf.c: New file.
58579         * sysdeps/s390/fpu/s_fma.c: New file.
58580         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
58581         * sysdeps/powerpc/fpu/s_fma.S: New file.
58582         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
58583         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
58584         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
58586 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
58588         [BZ #3268]
58589         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
58590         fma tests.
58591         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
58592         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
58593         * sysdeps/i386/i686/multiarch/s_fma.c: Include
58594         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
58595         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
58596         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
58597         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
58599 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
58601         [BZ #12078]
58602         * posix/regcomp.c (parse_branch): One more memory leak plugged.
58603         * posix/bug-regex31.input: Add test case.
58605 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
58607         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
58608         * posix/bug-regex31.input: New file.
58610         [BZ #12078]
58611         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
58612         (parse_sub_exp): Fix last change, use postorder.
58614         * posix/bug-regex31.c: New file.
58615         * posix/Makefile: Add rules to build and run bug-regex31.
58617         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
58619         [BZ #12078]
58620         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
58622         [BZ #12108]
58623         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
58624         to have entries in sys_siglist.
58626         [BZ #12093]
58627         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
58628         be NULL.
58630 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
58632         [BZ #3268]
58633         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
58634         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
58635         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
58636         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
58637         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58638         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
58639         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
58640         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
58641         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
58642         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
58643         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
58644         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
58645         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
58646         * math/ftestexcept.c (fetestexcept): Likewise.
58647         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
58648         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
58649         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
58650         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
58651         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
58652         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
58653         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58655 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
58657         [BZ #12107]
58658         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
58659         newline.
58661 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
58663         * string/bug-strstr1.c: New file.
58664         * string/Makefile: Add rules to build and run bug-strstr1.
58666 2010-10-05  Eric Blake  <eblake@redhat.com>
58668         [BZ #12092]
58669         * string/str-two-way.h (two_way_long_needle): Always clear memory
58670         when skipping input due to the shift table.
58672 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
58674         [BZ #12005]
58675         * malloc/mcheck.c: Handle large requests.
58677         [BZ #12077]
58678         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
58679         for strncmp and strncasecmp.
58680         * string/stratcliff.c: Add tests for strcmp and strncmp.
58681         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
58683 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58685         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
58686         __set_fpscr.
58688 2010-09-30  Andreas Jaeger  <aj@suse.de>
58690         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
58691         (CGROUP_SUPER_MAGIC): Define.
58692         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58693         Handle btrfs and cgroup file systems.
58694         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
58695         Likewise.
58697 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
58699         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
58700         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
58702 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58704         [BZ #12067]
58705         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
58706         trying to locate the ELF header.
58708 2010-09-27  Andreas Schwab  <schwab@redhat.com>
58710         [BZ #11611]
58711         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
58712         Mask out sign-bit copies when constructing f_fsid.
58714 2010-09-24  Petr Baudis <pasky@suse.cz>
58716         * debug/stack_chk_fail_local.c: Add missing licence exception.
58717         * debug/warning-nop.c: Likewise.
58719 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
58721         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
58722         implementing getdents64 using getdents syscall, set d_type if
58723         __ASSUME_GETDENTS32_D_TYPE.
58725 2010-09-16  Andreas Schwab  <schwab@redhat.com>
58727         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
58728         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
58730 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
58732         [BZ #12037]
58733         * posix/unistd.h: Undo change of feature selection for ftruncate from
58734         2010-01-11.
58736 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
58738         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
58739         detection.
58741 2010-09-20  Andreas Schwab  <schwab@redhat.com>
58743         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
58744         fanotify_mark.
58745         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58747 2010-09-14  Andreas Schwab  <schwab@redhat.com>
58749         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
58750         variables after CHECK_SP call.
58751         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
58753 2010-09-13  Andreas Schwab  <schwab@redhat.com>
58754             Ulrich Drepper  <drepper@redhat.com>
58756         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
58757         re-relocationg ld.so.
58758         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
58759         _dl_init_paths call.
58760         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
58761         here anymore.
58763 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
58765         * resolv/res_init.c (__res_vinit): Count the default server we added.
58767 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
58768             Ulrich Drepper  <drepper@redhat.com>
58770         [BZ #11968]
58771         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58772         (____longjmp_chk): Use %ebx for saving value across system call.
58773         Add unwind info.
58775 2010-09-06  Andreas Schwab  <schwab@redhat.com>
58777         * manual/Makefile: Don't mix pattern rules with normal rules.
58779 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58781         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
58782         operation.
58783         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
58784         * libio/iofopncook.c (_IO_cookie_init): Likewise.
58785         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
58786         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
58787         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58788         Likewise.
58790 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
58792         [BZ #11979]
58793         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
58794         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
58796 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
58798         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
58799         * sysdeps/x86_64/addmul_1.S: Likewise.
58800         * sysdeps/x86_64/lshift.S: Likewise.
58801         * sysdeps/x86_64/mul_1.S: Likewise.
58802         * sysdeps/x86_64/rshift.S: Likewise.
58803         * sysdeps/x86_64/sub_n.S: Likewise.
58804         * sysdeps/x86_64/submul_1.S: Likewise.
58806 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58808         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
58809         Define __sched_param instead of SCHED_* and sched_param when
58810         <bits/sched.h> is included with __need_schedparam defined.
58811         * bits/sched.h [__need_schedparam]
58812         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
58813         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
58814         (__defined_schedparam): Define to 1.
58815         (__sched_param): New structure, identical to sched_param.
58816         (__need_schedparam): Undefine.
58818 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
58820         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
58821         (epoll_create1): Declare.
58823         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
58825 2010-08-31  Andreas Schwab  <schwab@redhat.com>
58827         [BZ #7066]
58828         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
58829         shifting retval into place.
58831 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
58833         * nis/rpcsvc/nis.h: Update copyright notice.
58834         * nis/rpcsvc/nis.x: Likewise.
58835         * nis/rpcsvc/nis_callback.h: Likewise.
58836         * nis/rpcsvc/nis_callback.x: Likewise.
58837         * nis/rpcsvc/nis_object.x: Likewise.
58838         * nis/rpcsvc/nis_tags.h: Likewise.
58839         * nis/rpcsvc/yp.h: Likewise.
58840         * nis/rpcsvc/yp.x: Likewise.
58841         * nis/rpcsvc/ypupd.h: Likewise.
58842         * nis/yp_xdr.c: Likewise.
58843         * nis/ypupdate_xdr.c: Likewise.
58845         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
58846         mainly the body of pmap_getport.  Add parameters to specify timeouts.
58847         (pmap_getport): Use __libc_rpc_getport.
58848         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
58849         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
58850         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
58852 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
58854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
58855         fanotify_mark.
58857 2010-08-27  Roland McGrath  <roland@redhat.com>
58859         * sysdeps/i386/i686/multiarch/Makefile
58860         (CFLAGS-varshift.c): New variable.
58862 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
58864         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
58865         * sysdeps/i386/i686/multiarch/varshift.c: New file.
58867         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
58869         * sysdeps/x86_64/strlen.S: Minimal code improvement.
58871 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
58873         * sysdeps/x86_64/strlen.S: Unroll the loop.
58874         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58875         strlen-sse2 strlen-sse2-bsf.
58876         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
58877         __strlen_no_bsf if bit_Slow_BSF is set.
58878         (__strlen_sse42): Removed.
58879         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
58880         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
58882 2010-08-25  Roland McGrath  <roland@redhat.com>
58884         * sysdeps/x86_64/multiarch/varshift.S: File removed.
58885         * sysdeps/x86_64/multiarch/varshift.c: New file.
58886         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
58887         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
58888         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
58889         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
58891 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
58893         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58894         strlen-sse2 strlen-sse2-bsf.
58895         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
58896         __strlen_sse2_bsf if bit_Slow_BSF is unset.
58897         (__strlen_sse2): Removed.
58898         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
58899         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
58900         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
58901         bit_Slow_BSF for Atom.
58902         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
58903         (index_Slow_BSF): Define.
58904         (HAS_SLOW_BSF): Define.
58906 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
58908         [BZ #10851]
58909         * resolv/res_init.c (__res_vinit): When no server address at all
58910         is given default to loopback.
58912 2010-08-24  Roland McGrath  <roland@redhat.com>
58914         * configure.in: Remove config-name.h generation.
58915         * configure: Regenerated.
58916         * config-name.in: File removed.
58917         * scripts/config-uname.sh: New file.
58918         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
58919         ($(objdir)config-name.h): New target.
58921         * sunrpc/rpc_parse.h: Avoid nested comment.
58923 2010-08-24  Richard Henderson  <rth@redhat.com>
58924             Ulrich Drepper  <drepper@redhat.com>
58925             H.J. Lu  <hongjiu.lu@intel.com>
58927         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
58928         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
58929         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
58930         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
58931         _mm_alignr_epi8 with _mm_loadu_si128.
58932         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
58933         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
58934         (__m128i_shift_right): Removed.
58935         * sysdeps/i386/i686/multiarch/varshift.h: New file.
58936         * sysdeps/i386/i686/multiarch/varshift.S: New file.
58937         * sysdeps/x86_64/multiarch/varshift.h: New file.
58938         * sysdeps/x86_64/multiarch/varshift.S: New file.
58940 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
58942         * configure.in: Move assembler checks to before sysdep dir checking.
58944 2010-08-20  Petr Baudis  <pasky@suse.cz>
58946         * LICENSES: Sync the sunrpc license.
58948 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
58950         * sunrpc/auth_des.c: Update copyright notice once again.
58951         * sunrpc/auth_none.c: Likewise.
58952         * sunrpc/auth_unix.c: Likewise.
58953         * sunrpc/authdes_prot.c: Likewise.
58954         * sunrpc/authuxprot.c: Likewise.
58955         * sunrpc/bindrsvprt.c: Likewise.
58956         * sunrpc/clnt_gen.c: Likewise.
58957         * sunrpc/clnt_perr.c: Likewise.
58958         * sunrpc/clnt_raw.c: Likewise.
58959         * sunrpc/clnt_simp.c: Likewise.
58960         * sunrpc/clnt_tcp.c: Likewise.
58961         * sunrpc/clnt_udp.c: Likewise.
58962         * sunrpc/clnt_unix.c: Likewise.
58963         * sunrpc/des_crypt.c: Likewise.
58964         * sunrpc/des_soft.c: Likewise.
58965         * sunrpc/get_myaddr.c: Likewise.
58966         * sunrpc/getrpcport.c: Likewise.
58967         * sunrpc/key_call.c: Likewise.
58968         * sunrpc/key_prot.c: Likewise.
58969         * sunrpc/openchild.c: Likewise.
58970         * sunrpc/pm_getmaps.c: Likewise.
58971         * sunrpc/pm_getport.c: Likewise.
58972         * sunrpc/pmap_clnt.c: Likewise.
58973         * sunrpc/pmap_prot.c: Likewise.
58974         * sunrpc/pmap_prot2.c: Likewise.
58975         * sunrpc/pmap_rmt.c: Likewise.
58976         * sunrpc/rpc/auth.h: Likewise.
58977         * sunrpc/rpc/auth_unix.h: Likewise.
58978         * sunrpc/rpc/clnt.h: Likewise.
58979         * sunrpc/rpc/des_crypt.h: Likewise.
58980         * sunrpc/rpc/key_prot.h: Likewise.
58981         * sunrpc/rpc/netdb.h: Likewise.
58982         * sunrpc/rpc/pmap_clnt.h: Likewise.
58983         * sunrpc/rpc/pmap_prot.h: Likewise.
58984         * sunrpc/rpc/pmap_rmt.h: Likewise.
58985         * sunrpc/rpc/rpc.h: Likewise.
58986         * sunrpc/rpc/rpc_des.h: Likewise.
58987         * sunrpc/rpc/rpc_msg.h: Likewise.
58988         * sunrpc/rpc/svc.h: Likewise.
58989         * sunrpc/rpc/svc_auth.h: Likewise.
58990         * sunrpc/rpc/types.h: Likewise.
58991         * sunrpc/rpc/xdr.h: Likewise.
58992         * sunrpc/rpc_clntout.c: Likewise.
58993         * sunrpc/rpc_cmsg.c: Likewise.
58994         * sunrpc/rpc_common.c: Likewise.
58995         * sunrpc/rpc_cout.c: Likewise.
58996         * sunrpc/rpc_dtable.c: Likewise.
58997         * sunrpc/rpc_hout.c: Likewise.
58998         * sunrpc/rpc_main.c: Likewise.
58999         * sunrpc/rpc_parse.c: Likewise.
59000         * sunrpc/rpc_parse.h: Likewise.
59001         * sunrpc/rpc_prot.c: Likewise.
59002         * sunrpc/rpc_sample.c: Likewise.
59003         * sunrpc/rpc_scan.c: Likewise.
59004         * sunrpc/rpc_scan.h: Likewise.
59005         * sunrpc/rpc_svcout.c: Likewise.
59006         * sunrpc/rpc_tblout.c: Likewise.
59007         * sunrpc/rpc_util.c: Likewise.
59008         * sunrpc/rpc_util.h: Likewise.
59009         * sunrpc/rpcinfo.c: Likewise.
59010         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
59011         * sunrpc/rpcsvc/key_prot.x: Likewise.
59012         * sunrpc/rpcsvc/klm_prot.x: Likewise.
59013         * sunrpc/rpcsvc/mount.x: Likewise.
59014         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
59015         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
59016         * sunrpc/rpcsvc/rex.x: Likewise.
59017         * sunrpc/rpcsvc/rstat.x: Likewise.
59018         * sunrpc/rpcsvc/rusers.x: Likewise.
59019         * sunrpc/rpcsvc/sm_inter.x: Likewise.
59020         * sunrpc/rpcsvc/spray.x: Likewise.
59021         * sunrpc/rpcsvc/yppasswd.x: Likewise.
59022         * sunrpc/rtime.c: Likewise.
59023         * sunrpc/svc.c: Likewise.
59024         * sunrpc/svc_auth.c: Likewise.
59025         * sunrpc/svc_authux.c: Likewise.
59026         * sunrpc/svc_raw.c: Likewise.
59027         * sunrpc/svc_run.c: Likewise.
59028         * sunrpc/svc_simple.c: Likewise.
59029         * sunrpc/svc_tcp.c: Likewise.
59030         * sunrpc/svc_udp.c: Likewise.
59031         * sunrpc/svc_unix.c: Likewise.
59032         * sunrpc/svcauth_des.c: Likewise.
59033         * sunrpc/xcrypt.c: Likewise.
59034         * sunrpc/xdr.c: Likewise.
59035         * sunrpc/xdr_array.c: Likewise.
59036         * sunrpc/xdr_float.c: Likewise.
59037         * sunrpc/xdr_mem.c: Likewise.
59038         * sunrpc/xdr_rec.c: Likewise.
59039         * sunrpc/xdr_ref.c: Likewise.
59040         * sunrpc/xdr_sizeof.c: Likewise.
59041         * sunrpc/xdr_stdio.c: Likewise.
59043         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
59044         handling.
59046 2010-08-19  Andreas Schwab  <schwab@redhat.com>
59048         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
59050 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
59052         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
59053         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
59054         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
59055         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
59056         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
59057         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
59058         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
59059         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
59060         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
59061         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
59062         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
59063         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
59064         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
59065         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
59067 2010-07-26  Anton Blanchard  <anton@samba.org>
59069         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
59070         * malloc/arena.c (heap_trim): Likewise.
59072 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
59074         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
59075         here.  Not...
59076         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
59077         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
59079 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
59081         * sysdeps/i386/elf/Makefile: New file.
59083 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
59085         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
59086         from fanotify_init.
59087         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
59088         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59090 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
59092         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
59093         of strncasecmp_l.
59094         * sysdeps/multiarch/strcmp.S: Likewise.
59096 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
59098         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59099         strncase_l-nonascii.
59100         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59101         Add strncase_l-ssse3.
59102         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
59103         * sysdeps/x86_64/strcmp.S: Likewise.
59104         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
59105         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
59106         * sysdeps/x86_64/strncase.S: New file.
59107         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
59108         * sysdeps/x86_64/strncase_l.S: New file.
59109         * string/Makefile (strop-tests): Add strncasecmp.
59110         * string/test-strncasecmp.c: New file.
59112         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
59113         warning.
59115         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
59116         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
59118 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
59120         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
59122 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
59124         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
59125         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
59126         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
59128 2010-05-01  Alan Modra  <amodra@gmail.com>
59130         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
59131         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
59132         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
59133         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
59134         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
59135         tidying.  Don't tail-call __sigjmp_save for static lib.
59136         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
59137         save location.
59138         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
59139         (CALL_MCOUNT): Add eh info, and nop after bl.
59140         (TAIL_CALL_SYSCALL_ERROR): New macro.
59141         (PSEUDO_RET): Use it.
59142         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59143         Correct save location of integer regs and cr.
59144         (_dl_profile_resolve): Correct cr save location.  Delete nops
59145         after bl when SHARED.  Reduce cfi size a little by better
59146         placement of cfi directives.
59147         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
59148         make a stack frame.  Instead use parm save area as a temp.
59149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
59150         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
59151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59152         Don't make a stack frame for parent, use parm save area.
59153         Increase child stack frame to 112 bytes.  Don't save unused reg,
59154         and adjust reg usage.  Set up cfi on error recovery and
59155         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
59156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59157         (__makecontext): Add dummy nop after jump to exit.
59158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
59159         Use correct parm save area and cr save, reduce stack frame.
59160         Correct cfi for possible PSEUDO_RET frame setup.
59161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
59162         Branch to local label emitted by PSEUDO_RET rather than
59163         __syscall_error.
59165 2010-08-12  Andreas Schwab  <schwab@redhat.com>
59167         [BZ #11904]
59168         * locale/programs/locale.c (print_assignment): New function.
59169         (show_locale_vars): Use it.
59171 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
59173         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
59174         field.
59175         (struct statfs64): Likewise.
59176         (_STATFS_F_FLAGS): Define.
59177         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
59178         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59179         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
59180         (ST_VALID): Define locally.
59181         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
59182         __statvfs_getflags, use the provided value.
59183         * sysdeps/unix/sysv/linux/kernel-features.h: Define
59184         __ASSUME_STATFS_F_FLAGS.
59186         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
59188         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
59189         Add sys/fanotify.h.
59190         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
59191         fanotify_mask for GLIBC_2.13.
59192         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
59193         fanotify_init and fanotify_mark.
59194         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59195         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
59197         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
59198         Add prlimit.
59199         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
59200         prlimit64 for GLIBC_2.13.
59201         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
59202         prlimit64.
59203         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
59204         syscall.
59205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
59206         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59207         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
59208         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
59209         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
59210         add prlimit alias.
59211         * sysdeps/unix/sysv/linux/prlimit.c: New file.
59213         [BZ #11903]
59214         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
59215         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
59217         * nss/Makefile: Add rules to build and run tst-nss-test1.
59218         * shlib-versions: Add entry for libnss_test1.
59219         * nss/nss_test1.c: New file.
59220         * nss/tst-nss-test1.c: New file.
59222         * nss/nsswitch.c (__nss_database_custom): Define new variable.
59223         (__nss_configure_lookup): Set appropriate entry in
59224         __nss_configure_lookup to true.
59225         * nss/nsswitch.h: Define enum with indeces of databases in
59226         databases and __nss_database_custom arrays.  Declare
59227         __nss_database_custom.
59228         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
59229         to avoid using nscd when custom rules are installed.
59230         * nss/getXXbyYY_r.c: Likewise.
59231         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59233         * nss/nss_files/files-parse.c: Whitespace fixes.
59235 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
59237         [BZ #11883]
59238         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
59239         * posix/fnmatch_loop.c: Likewise.
59241 2010-07-17  Andi Kleen  <ak@linux.intel.com>
59243         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
59244         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
59245         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
59246         * Versions.def [GLIBC_2.13]: Add.
59248 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
59250         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59251         Also fail if tpwd after pwuid call is NULL.
59253 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59255         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
59256         when converting to ms.
59258 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59260         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
59261         EOPNOTSUPP errors with ENOTTY.
59262         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
59263         EOPNOTSUPP errors with ENOTTY.
59265 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
59267         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59268         Add strcasecmp_l-ssse3.
59269         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
59270         strcasecmp.
59271         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
59272         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
59273         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
59275 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
59277         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
59279         * string/Makefile (strop-tests): Add strcasecmp.
59280         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59281         strcasecmp_l-nonascii.
59282         (gen-as-const-headers): Add locale-defines.sym.
59283         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
59284         * sysdeps/x86_64/strcasecmp.S: New file.
59285         * sysdeps/x86_64/strcasecmp_l.S: New file.
59286         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
59287         * sysdeps/x86_64/locale-defines.sym: New file.
59288         * string/test-strcasecmp.c: New file.
59290         * string/test-strcasestr.c: Test both ends of the range of characters.
59291         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
59293 2010-07-29  Roland McGrath  <roland@redhat.com>
59295         [BZ #11856]
59296         * manual/locale.texi (Yes-or-No Questions): Fix example code.
59298 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
59300         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
59301         for ld.so.
59303 2010-07-27  Andreas Schwab  <schwab@redhat.com>
59305         * manual/memory.texi (Malloc Tunable Parameters): Document
59306         M_PERTURB.
59308 2010-07-26  Roland McGrath  <roland@redhat.com>
59310         [BZ #11840]
59311         * configure.in (-fgnu89-inline check): Set and substitute
59312         gnu89_inline, not libc_cv_gnu89_inline.
59313         * configure: Regenerated.
59314         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
59316 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
59318         * string/test-strnlen.c: New file.
59319         * string/Makefile (strop-tests): Add strnlen.
59320         * string/tester.c (test_strnlen): Add a few more test cases.
59321         * string/tst-strlen.c: Better error reporting.
59323         * sysdeps/x86_64/strnlen.S: New file.
59325 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
59327         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
59328         lower-latency instructions.
59330 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
59332         * string/test-strcasestr.c: New file.
59333         * string/test-strstr.c: New file.
59334         * string/Makefile (strop-tests): Add strstr and strcasestr.
59335         * string/str-two-way.h: Don't undefine MAX.
59336         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
59338 2010-07-21  Andreas Schwab  <schwab@redhat.com>
59340         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59341         strcasestr-nonascii.
59342         (CFLAGS-strcasestr-nonascii.c): Define.
59343         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
59344         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
59345         Remove unused attribute.
59347 2010-07-20  Roland McGrath  <roland@redhat.com>
59349         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
59350         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
59351         ld.so.cache was broken.  With it, there is no way to disable dsocaps
59352         like LD_HWCAP_MASK can disable hwcaps.
59354 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
59356         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
59358 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
59360         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
59361         call in strcasestr.
59362         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
59363         __strcasestr_sse42_nonascii.
59364         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
59365         strcasestr-nonascii.c.
59366         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
59368 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
59370         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
59371         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
59372         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
59373         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
59375 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
59377         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
59378         fcntl.
59380 2010-07-06  Andreas Schwab  <schwab@redhat.com>
59382         [BZ #11577]
59383         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
59384         dl_signal_cerror.
59386 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
59388         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
59389         _PC_PIPE_BUF using F_GETPIPE_SZ.
59391 2010-07-05  Roland McGrath  <roland@redhat.com>
59393         * manual/arith.texi (Rounding Functions): Fix rint description
59394         implicit in round description.
59396 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
59398         * elf/Makefile: Fix linking for a few tests to make recent linker
59399         happy.
59401 2010-06-30  Andreas Schwab  <schwab@redhat.com>
59403         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59404         $(common-objpfx)libc_nonshared.a.
59406 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
59408         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
59409         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
59410         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
59411         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
59412         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
59413         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
59414         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
59415         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
59416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
59417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
59418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
59419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
59420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
59421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
59422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
59423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
59424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
59425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
59426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
59427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
59428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
59429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
59430         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
59431         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
59432         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
59433         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
59434         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
59435         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
59436         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
59437         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
59438         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
59439         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
59440         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
59441         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
59442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
59443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
59444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
59445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
59446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
59447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
59448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
59449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
59450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
59451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
59452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
59453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
59454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
59455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
59457 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
59459         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
59460         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
59461         * string/memmove.c (memmove): Renamed to ...
59462         (MEMMOVE): ...this.  Default to memmove.
59463         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
59464         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
59465         (END_CHK): Define.
59466         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59467         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
59468         mempcpy-ssse3-back memmove-ssse3-back.
59469         * sysdeps/x86_64/multiarch/bcopy.S: New file .
59470         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
59471         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
59472         * sysdeps/x86_64/multiarch/memcpy.S: New file.
59473         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
59474         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
59475         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
59476         * sysdeps/x86_64/multiarch/memmove.c: New file.
59477         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
59478         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
59479         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
59480         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
59481         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
59482         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
59483         Define.
59484         (index_Fast_Copy_Backward): Define.
59485         (HAS_ARCH_FEATURE): Define.
59486         (HAS_FAST_REP_STRING): Define.
59487         (HAS_FAST_COPY_BACKWARD): Define.
59489 2010-06-21  Andreas Schwab  <schwab@redhat.com>
59491         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59492         Restore proper fallback handling.
59494 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
59496         [BZ #11701]
59497         * posix/group_member.c (__group_member): Correct checking loop.
59499         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
59500         OOM in getpwuid_r correctly.  Return error number when the caller
59501         should return, otherwise -1.
59502         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
59503         call returning > 0 value.
59504         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
59506 2010-06-07  Andreas Schwab  <schwab@redhat.com>
59508         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
59509         libc_nonshared.a from targets in modules-names.
59511 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
59513         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
59514         requires it.
59516 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
59518         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
59519         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
59520         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
59521         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
59523 2010-06-02  Andreas Schwab  <schwab@redhat.com>
59525         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
59527 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
59529         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
59530         and F_GETPIPE_SZ.
59531         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59532         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59533         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59534         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59535         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59536         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
59538 2010-06-14  Roland McGrath  <roland@redhat.com>
59540         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
59542 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
59544         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
59545         __REDIRECT followed by __THROW.
59546         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
59547         * posix/getopt.h (getopt): Likewise.
59549 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
59551         * hurd/lookup-at.c (__file_name_lookup_at): Accept
59552         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
59553         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
59554         in AT_FLAGS.
59555         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
59556         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
59558 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
59560         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
59562 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
59564         [BZ #11640]
59565         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59566         Properly check family and model.
59568 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
59570         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
59572 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
59574         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
59576 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
59578         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
59579         symbol reference.
59581 2010-05-19  Andreas Schwab  <schwab@redhat.com>
59583         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
59584         symbol reference.
59586 2010-05-21  Andreas Schwab  <schwab@redhat.com>
59588         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
59589         and internal_recvmmsg.
59590         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
59591         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
59592         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
59593         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
59595         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
59596         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
59597         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
59599 2010-05-20  Andreas Schwab  <schwab@redhat.com>
59601         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
59603 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
59605         POWER7 optimizations.
59606         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
59607         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
59609 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
59611         * version.h: Update for 2.13 development version.
59613 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
59615         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
59616         exceptions.  Return 0.
59618 2010-05-07  Roland McGrath  <roland@redhat.com>
59620         * elf/ldconfig.c (main): Add a const.
59622 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
59624         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
59625         (args_options): Add no-idn option.
59626         (ahosts_keys_int): Add idn_flags to ai_flags.
59627         (parse_option): Handle 'i' option to clear idn_flags.
59629         * malloc/malloc.c (_int_free): Possible race in the most recently
59630         added check.  Only act on the data if no current modification
59631         happened.
59633 See ChangeLog.17 for earlier changes.