Fix setenv.c diagnostic pragma to be compatible with GCC 4.6
[glibc.git] / ChangeLog
blob33636ba1fdb57709ff3a31087f0701b85bd764a9
1 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
6 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8         * sysdeps/aarch64/libm-test-ulps: Update.
10 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
13         Define.
14         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
19         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
20         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
22 2015-06-01  Martin Sebor  <msebor@redhat.com>
24         [BZ #18116]
25         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26         (__setcontext): Use extended four-operand version of mtsf whenever
27         possible.
28         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29         (__novec_swapcontext): Likewise.
31 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33         * benchtests/scripts/compare_bench.py: New file.
34         * benchtests/scripts/import_bench.py (mean): New function.
35         (split_list): Likewise.
36         (do_for_all_timings): Likewise.
37         (compress_timings): Likewise.
39         * benchtests/scripts/import_bench.py: New file.
40         * benchtests/scripts/validate_benchout.py: Import import_bench
41         instead of jsonschema.
42         (validate_bench): Remove function.
43         (main): Use import_bench.
45 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
47         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
48         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
50 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
52         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54 2015-05-28  Roland McGrath  <roland@hack.frob.com>
56         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
57         set THREAD_SELF->tid to a magic value and futex-wake it.
58         Pass its address to the thread_exit system call.
59         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
60         bit is clear.
61         * sysdeps/nacl/lowlevellock.h: New file.
62         * sysdeps/nacl/lll_timedwait_tid.c: New file.
64         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
65         Add TIMEOUT to current time, don't subtract it.
67 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
69         [BZ #18422]
70         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
71         ($(objpfx)tst-audit2.out): Also depend on
72         $(objpfx)tst-auditmod9b.so.
73         * elf/tst-audit2.c: Include <dlfcn.h>.
74         (calloc_called): New.
75         (calloc): Allow to be called more than once.
76         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
78 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
80         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
81         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
83 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
85         * stdlib/monetary.h: Fix comment.
87 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
89         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
90         Avoid using variables in #defines that might cause shadowing.
91         (INTERNAL_VSYSCALL_CALL): Likewise.
93 2015-05-26  Roland McGrath  <roland@hack.frob.com>
95         * sysdeps/nacl/lll_timedlock_wait.c: New file.
97         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
98         * nptl/lll_timedlock_wait.c: ... to this new file.
99         * nptl/Makefile (libpthread-routines): Add it.
100         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
101         * nptl/lll_timedwait_tid.c: ... to this new file.
102         * nptl/Makefile (libpthread-routines): Add it.
103         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
104         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
105         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
106         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
107         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
108         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
109         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
110         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
111         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
112         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
114 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
116         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
117         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
118         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
119         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
120         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
121         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
122         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
123         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
124         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
125         * sysdeps/unix/sysv/linux/tile/sysdep.h
126         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
127         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
128         using vDSO syscall macro.
130 2015-05-26  Andriy Rysin  <arysin@gmail.com>
132         [BZ #17293]
133         * uk_UA: Fix sorting order for Ukrainian locale
135 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
137         * stdlib/monetary.h: Fix comment.
139 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
141         [BZ #18234]
142         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
143         st_mtim and st_ctim members.
144         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
145         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
146         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
147         (struct stat64): Likewise.
148         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
149         (struct stat64): Likewise.
150         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
151         (struct stat64): Likewise.
153 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
155         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
156         Define and include sysdep-vdso.h.
157         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
158         Likewise.
159         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
160         Likewise.
161         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
162         Define with VDSO_SYMBOL and use PTR_MANGLE.
163         (__vdso_clock_gettime): Likewise.
164         (__vdso_clock_getres): Likewise.
165         (_libc_vdso_platform_setup): Likewise.
166         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
167         Likewise.
168         (_libc_vdso_platform_setup): Likewise.
169         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
170         Likewise.
171         (__vdso_clock_gettime): Likewise.
172         (__vdso_clock_getres): Likewise.
173         (__vdso_get_tbfreq): Likewise.
174         (__vdso_getcpu): Likewise.
175         (__vdso_time): Likewise.
176         (__vdso_sigtramp_rt64): Likewise.
177         (__vdso_signtramp32): Likewise.
178         (__vdso_sigtramp_rt32): Likewise.
179         (_libc_vdso_platform_setup): Likewise.
180         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
181         Likewise.
182         (__vdso_clock_gettime): Likewise.
183         (__vdso_clock_getres): Likewise.
184         (_libc_vdso_platform_setup): Likewise.
185         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
186         Likewise.
187         (__vdso_clock_gettime): Likewise.
188         (_libc_vdso_platform_setup): Likewise.
189         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
190         Likewise.
191         (__vdso_getcpu): Likewise.
192         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
193         Use VDSO_SYMBOL macro to define.
194         (__vdso_clock_gettime): Likewise.
195         (__vdso_clock_getres): Likewise.
196         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
197         Likewise.
198         (__vdso_clock_gettime): Likewise.
199         (__vdso_clock_getres): Likewise.
200         (__vdso_get_tbfreq): Likewise.
201         (__vdso_getcpu): Likewise.
202         (__vdso_time): Likewise.
203         (__vdso_sigtramp_rt64): Likewise.
204         (__vdso_signtramp32): Likewise.
205         (__vdso_sigtramp_rt32): Likewise.
206         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
207         Likewise.
208         (__vdso_clock_gettime): Likewise.
209         (__vdso_clock_getres): Likewise.
210         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
211         Likewise.
212         (__vdso_clock_gettime): Likewise.
213         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
214         Likewise.
215         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
216         macro.
217         (INTERNAL_VSYSCALL): Likewise.
218         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
219         Remove macro.
220         (INTERNAL_VSYSCALL): Likewise.
221         (INTERNAL_VSYSCALL_NCS): Likewise.
222         (INTERNAL_VSYSCALL_CALL): New macro.
223         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
224         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
225         Likewise.
226         (INTERNAL_VSYSCALL): Likewise.
227         (INTERNAL_VSYSCALL_NCS): Likewise.
228         (INTERNAL_VSYSCALL_CALL): New macro.
229         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
231         (INLINE_VSYSCALL): Remove macro.
232         (INTERNAL_VSYSCALL): Remove macro.
233         (INTERNAL_VSYSCALL_NCS): Remove macro.
234         (INTERNAL_VSYSCALL_CALL): New macro.
235         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
236         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
237         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
238         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
239         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
241         (INLINE_VSYSCALL): Remove macro.
242         (INTERNAL_VSYSCALL): Likewise.
243         (INTERNAL_VSYSCALL_NCS): Likewise.
244         (INTERNAL_VSYSCALL_CALL): New macro.
245         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
246         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
247         PTR_DEMANGLE on vDSO pointer.
248         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
249         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
250         macro.
251         (INTERNAL_SYSCALL): Likewise.
252         (INTERNAL_VSYSCALL_NCS): Remove macro.
253         (INTERNAL_VSYSCALL_CALL): New macro.
254         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
255         Remove macro.
256         (INTERNAL_VSYSCALL): Likewise.
257         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
258         sysdep-vdso.h instead of libc-vdso.h.
259         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
260         definition.
261         (INLINE_VSYSCALL): Likewise.
262         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
263         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
264         definition.
265         (INLINE_VSYSCALL): Likewise.
266         (INTERNAL_VSYSCALL): Likewise.
267         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
268         * sysdeps/unix/sysv/linux/timespec_get.c
269         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
270         (timespec_get): Use ANSI prototype.
271         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
272         and definition for Linux.
274 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
276         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
277         * include/libc-symbols.h: libmvec_hidden_* macro series added.
279 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
281         [BZ #18410]
282         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
283         for missing DT_PLTRELSZ.
285 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
287         Remove obsolete aliases that broke 'locale -a'
288         [BZ #18412]
289         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
290         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
291         breaking some applications that use 'locale -a' output.
292         Change the encoding of this file from Latin-1 to ASCII to avoid
293         other potential problems with people grepping this file.
295 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
297         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
298         -fasynchronous-unwind-tables.
299         (CFLAGS-sendto.c): Likewise.
300         (CFLAGS-sendmsg.c): Likewise.
301         (CFLAGS-connect.c): Likewise.
302         (CFLAGS-recvmsg.c): Likewise.
303         (CFLAGS-recvfrom.c): Likewise.
304         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
305         (SOCKETCALL): New macro: non-cancellable socketcall.
306         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
307         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
308         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
309         * sysdeps/unix/sysv/linux/accept.c: New file.
310         * sysdeps/unix/sysv/linux/bind.c: Likewise.
311         * sysdeps/unix/sysv/linux/connect.c: Likewise.
312         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
313         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
314         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
315         * sysdeps/unix/sysv/linux/listen.c: Likewise.
316         * sysdeps/unix/sysv/linux/recv.c: Likewise.
317         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
318         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
319         * sysdeps/unix/sysv/linux/send.c: Likewise.
320         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
321         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
322         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
323         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
324         * sysdeps/unix/sysv/linux/socket.c: Likewise.
325         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
326         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
327         prototype.
328         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
329         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
330         instead of __internal_xxx function.
331         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
332         prototype.
333         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
334         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
335         instead of __internal_xxx function.
336         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
337         prototype.
338         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
339         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
340         instead of __internal_xxx function.
341         * sysdeps/unix/sysv/linux/accept.S: Remove file.
342         * sysdeps/unix/sysv/linux/bind.S: Likewise.
343         * sysdeps/unix/sysv/linux/connect.S: Likewise.
344         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
345         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
346         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
347         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
348         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
349         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
350         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
351         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
352         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
353         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
354         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
355         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
356         * sysdeps/unix/sysv/linux/listen.S: Likewise.
357         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
358         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
359         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
360         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
363         * sysdeps/unix/sysv/linux/recv.S: Likewise.
364         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
365         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
366         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
367         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
368         * sysdeps/unix/sysv/linux/send.S: Likewise.
369         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
370         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
371         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
372         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
373         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
374         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
375         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
376         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
377         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
378         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
379         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
380         socketcall is implemented in GLIBC.
382 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
384         * soft-fp/fmadf4.c: Include <libc-internal.h>.
385         (__fma): Ignore uninitialized warnings around packing.
386         * soft-fp/fmasf4.c: Include <libc-internal.h>.
387         (__fmaf): Ignore uninitialized warnings around packing.
388         * soft-fp/fmatf4.c: Include <libc-internal.h>.
389         (__fmal): Ignore uninitialized warnings around packing.
391         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
392         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
393         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
394         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
396         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
397         switch statement into default case.
398         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
400         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
401         a conditional in forcing "inexact".
402         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
403         Likewise.
405 2015-05-22  Roland McGrath  <roland@hack.frob.com>
407         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
408         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
409         for each INTERNAL_SYSCALL use.
411 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
413         [BZ #438]
414         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
415         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
416         variable.
418         [BZ #18444]
419         * string/basename.c (basename): Rename to __basename and define as
420         weak alias of __basename.  Use libc_hidden_weak.
421         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
422         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
423         __basename instead of basename.
424         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
425         Remove variable.
426         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
428 2015-05-18  Florian Weimer  <fweimer@redhat.com>
430         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
431         (_IO_JUMPS_FILE_plus): New.
432         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
433         _IO_CAST_FIELD_ACCESS.
434         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
435         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
436         * libio/freopen.c (freopen): Likewise.
437         * libio/freopen64.c (freopen64): Likewise.
438         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
439         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
440         * libio/iofwide.c (_IO_fwide): Likewise.
441         * libio/memstream.c (open_memstream): Likewise.
442         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
443         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
444         * libio/oldiopopen.c (_IO_old_popen): Likewise.
446 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
448         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
449         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
450         NADJ.
451         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
452         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
453         NADJ.
454         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
455         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
456         NADJ.
458         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
459         (p == 4) case.
461         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
462         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
463         Remove variable.
464         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
465         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
466         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
468 2015-05-21  Florian Weimer  <fweimer@redhat.com>
470         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
471         Adjust jump table label generation macros.
473 2015-05-21  Florian Weimer  <fweimer@redhat.com>
475         * stdio-common/vfprintf.c (vfprintf): Move local variables
476         args_malloced, specs, specs_malloced, and the code after
477         do_positional to the printf_positional function.
478         (printf_positional): New function.
480 2015-05-21  Florian Weimer  <fweimer@redhat.com>
482         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
483         function.
484         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
485         STEP4_TABLE, process_arg): Move macro definitions
486         out of the vfprintf function.  (Cosmetic change only.)
488 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
490         * benchtests/Makefile (stdio-common-bench): Define.
491         (benchset): Add stdio-common-bench.
492         * sprintf-inputs: New file.
493         * sprintf-source.c: New file.
495 2015-05-21  Andreas Schwab  <schwab@suse.de>
497         [BZ #13028]
498         [BZ #17053]
499         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
500         of struct __res_state.
501         * resolv/res_send.c (__libc_res_nsend): Likewise.
502         (get_nsaddr): New function.
503         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
504         statp directly.
506 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
508         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
509         -D_POSIX_C_SOURCE=199506L.
511         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
513         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
514         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
515         Do not mention otherwise.
516         [POSIX] (_XOPEN_VERSION): Do not expect.
517         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
518         [POSIX] (_POSIX2_C_BIND): Likewise.
519         [POSIX] (_POSIX2_VERSION): Likewise.
520         [POSIX] (_XOPEN_XPG2): Likewise.
521         [POSIX] (_XOPEN_XPG3): Likewise.
522         [POSIX] (_XOPEN_XPG4): Likewise.
523         [POSIX] (_XOPEN_UNIX): Likewise.
524         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
525         [POSIX] (_POSIX_BARRIERS): Likewise.
526         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
527         [POSIX] (_POSIX_CPUTIME): Likewise.
528         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
529         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
530         [POSIX] (_POSIX_SHELL): Likewise.
531         [POSIX] (_POSIX_SPAWN): Likewise.
532         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
533         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
534         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
535         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
536         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
537         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
538         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
539         [POSIX] (_XBS5_LP64_OFF64): Likewise.
540         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
541         [POSIX] (_POSIX_TIMEOUTS): Likewise.
542         [POSIX] (_POSIX2_PBS): Likewise.
543         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
544         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
545         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
546         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
547         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
548         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
549         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
550         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
551         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
552         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
553         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
554         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
555         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
556         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
557         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
558         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
559         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
560         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
561         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
562         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
563         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
564         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
565         [POSIX] (_SC_2_C_BIND): Likewise.
566         [POSIX] (_SC_2_C_VERSION): Likewise.
567         [POSIX] (_SC_2_PBS): Likewise.
568         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
569         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
570         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
571         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
572         [POSIX] (_SC_2_PBS_TRACK): Likewise.
573         [POSIX] (_SC_ATEXIT_MAX): Likewise.
574         [POSIX] (_SC_BARRIERS): Likewise.
575         [POSIX] (_SC_BASE): Likewise.
576         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
577         [POSIX] (_SC_DEVICE_IO): Likewise.
578         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
579         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
580         [POSIX] (_SC_FD_MGMT): Likewise.
581         [POSIX] (_SC_FIFO): Likewise.
582         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
583         [POSIX] (_SC_FILE_LOCKING): Likewise.
584         [POSIX] (_SC_FILE_SYSTEM): Likewise.
585         [POSIX] (_SC_IOV_MAX): Likewise.
586         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
587         [POSIX] (_SC_NETWORKING): Likewise.
588         [POSIX] (_SC_PAGE_SIZE): Likewise.
589         [POSIX] (_SC_PASS_MAX): Likewise.
590         [POSIX] (_SC_PIPE): Likewise.
591         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
592         [POSIX] (_SC_REGEXP): Likewise.
593         [POSIX] (_SC_SHELL): Likewise.
594         [POSIX] (_SC_SIGNALS): Likewise.
595         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
596         [POSIX] (_SC_SPIN_LOCKS): Likewise.
597         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
598         [POSIX] (_SC_USER_GROUPS): Likewise.
599         [POSIX] (_SC_USER_GROUPS_R): Likewise.
600         [POSIX] (_SC_STREAMS): Likewise.
601         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
602         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
603         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
604         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
605         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
606         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
607         [POSIX] (_PC_FILESIZEBITS): Likewise.
608         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
609         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
610         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
611         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
612         [POSIX] (uid_t): Likewise.
613         [POSIX] (gid_t): Likewise.
614         [POSIX] (off_t): Likewise.
615         [POSIX] (pid_t): Likewise.
616         [POSIX] (cuserid): Allow.
617         (_SC_2_CHAR_TERM): Require constant.
618         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
619         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
620         variable.
622 2015-05-20  Roland McGrath  <roland@hack.frob.com>
624         * sysdeps/nacl/pthread-pids.h: New file.
625         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
626         (create_thread): Use __nacl_get_tid to initialize PD->tid.
628         * nptl/pthread-pids.h: New file.
629         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
630         * nptl/nptl-init.c: Include <pthread-pids.h>.
631         (__pthread_initialize_minimal_internal):
632         Call __pthread_initialize_pids instead of set_tid_address syscall.
634         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
635         * sysdeps/posix/usleep.c: ... here.
637 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
639         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
640         call_pselect6 object.
641         [$(subdir) = io]: Remove call_sync_file_range object.
642         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
643         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
644         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
645         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
647 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
649         * math/s_cproj.c: Add include "math_private.h".
650         * math/s_cprojf.c: Likewise.
651         * math/s_cprojl.c: Likewise.
653 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
655         [BZ #18244]
656         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
657         high mantissa bit when testing whether P is a NaN.
658         * math/libm-test.inc (remainder_test_data): Add more tests.
659         (remquo_test_data): Likewise.
661         [BZ #18049]
662         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
663         below -32, return the argument, with underflow if subnormal.
664         * math/auto-libm-test-in: Add more tests of atanh.
665         * math/auto-libm-test-out: Regenerated.
667 2015-05-19  Roland McGrath  <roland@hack.frob.com>
669         [BZ #18434]
670         * nptl/tst-sem15.c: New file.
671         * nptl/Makefile (tests): Add it.
672         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
673         s/<</>>/ to fix typo in EOVERFLOW check.
674         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
676 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
678         * manual/strings.texi (envz_remove): Fix typo in safety
679         annotations.
681 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
682             Steve Ellcey  <sellcey@imgtec.com>
684         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
685         in order to avoid strict alias warnings.
686         (iruserok_af): Ditto for ra.
688 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
690         [BZ #17581]
691         * malloc/hooks.c
692         (magicbyte): Convert to a function and avoid returning 0x01.
693         (mem2mem_check): Avoid using a length byte equal to the magic byte.
694         (mem2chunk_check): Fix unsigned comparisons to zero.
695         Hoist defs of sz and magic.
697 2015-05-19  Richard Henderson  <rth@redhat.com>
699         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
701         * sysdeps/alpha/fpu/libm-test-ulps: Update.
703 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
705         [BZ #16159]
706         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
707         * malloc/arena.c (arena_lock): Check if arena is corrupt.
708         (reused_arena): Find a non-corrupt arena.
709         (heap_trim): Pass arena to unlink.
710         * malloc/hooks.c (malloc_check_get_size): Pass arena to
711         malloc_printerr.
712         (top_check): Likewise.
713         (free_check): Likewise.
714         (realloc_check): Likewise.
715         * malloc/malloc.c (malloc_printerr): Add arena argument.
716         (unlink): Likewise.
717         (munmap_chunk): Adjust.
718         (ARENA_CORRUPTION_BIT): New macro.
719         (arena_is_corrupt): Likewise.
720         (set_arena_corrupt): Likewise.
721         (sysmalloc): Use mmap if there are no usable arenas.
722         (_int_malloc): Likewise.
723         (__libc_malloc): Don't fail if arena_get returns NULL.
724         (_mid_memalign): Likewise.
725         (__libc_calloc): Likewise.
726         (__libc_realloc): Adjust for additional argument to
727         malloc_printerr.
728         (_int_free): Likewise.
729         (malloc_consolidate): Likewise.
730         (_int_realloc): Likewise.
731         (_int_memalign): Don't touch corrupt arenas.
732         * malloc/tst-malloc-backtrace.c: New test case.
734         * Makefile (summarize-tests): Fix return value on success.
736         * manual/string.texi (Envz Functions): Add envz_remove.
738 2015-05-18  Roland McGrath  <roland@hack.frob.com>
740         * sysdeps/posix/opendir.c: Include <stdbool.h>.
741         (invalid_name): New function, broken out of ...
742         (__opendirat): ... here.  Call it.
743         (need_isdir_precheck): New function, broken out of ...
744         (__opendirat): ... here.  Call it.
745         Use __fxstatat64, not __xstatat64.
746         (opendir_oflags): New function, broken out of ...
747         (__opendirat): ... here.  Call it.
748         (opendir_tail): New function, broken out of ...
749         (__opendirat): ... here.  Call it.
750         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
751         opendir_tail, rather than punting to __opendirat.
752         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
754 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
756         * .gitignore: Ignore generated *.pyc.
758 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
760         * include/stdio.h: Define __need_wint_t.
761         * test-skeleton.c: Avoid `for' loop initial declaration.
762         * nptl/tst-initializers1.c: Use test-skeleton.c.
764 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
766         [BZ #18418]
767         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
769 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
771         [BZ #16352]
772         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
773         (__ieee754_atanh): Force underflow exception for results with
774         small absolute value.
775         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
776         (__ieee754_atanhf): Force underflow exception for results with
777         small absolute value.
778         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
779         (__ieee754_atanh): Force underflow exception for results with
780         small absolute value.
781         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
782         (__ieee754_atanhf): Force underflow exception for results with
783         small absolute value.
784         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
785         (__ieee754_atanhl): Force underflow exception for results with
786         small absolute value.
787         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
788         (__ieee754_atanhl): Force underflow exception for results with
789         small absolute value.
790         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
791         (__ieee754_atanhl): Force underflow exception for results with
792         small absolute value.
793         * math/auto-libm-test-in: Do not allow missing underflow
794         exceptions from atanh.
795         * math/auto-libm-test-out: Regenerated.
797         [BZ #18221]
798         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
799         2**-28 as threshold for returning x or +/- 1/x.
800         * math/auto-libm-test-in: Add more tests of tan.
801         * math/auto-libm-test-out: Regenerated.
803         [BZ #18220]
804         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
805         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
806         * math/auto-libm-test-in: Add another test of lgamma.
807         * math/auto-libm-test-out: Regenerated.
809 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
811         * stdio-common/printf_fp.c (___printf_fp): Use abs.
812         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
813         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
814         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
815         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
816         (ADD2A): Use fabs.  (SUB2A): Use fabs.
817         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
818         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
819         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
820         (log1): Use fabs.  (my_log2): Use fabs.
821         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
822         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
823         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
824         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
825         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
826         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
827         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
828         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
829         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
830         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
831         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
833 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
835         [BZ #18217]
836         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
837         as threshold for returning 1 - x.
838         * math/auto-libm-test-in: Add more tests of erfc.
839         * math/auto-libm-test-out: Regenerated.
841 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
843         [BZ #18196]
844         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
845         threshold for large arguments.
846         * math/auto-libm-test-in: Add another test of atan.
847         * math/auto-libm-test-out: Regenerated.
849         [BZ #16339]
850         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
851         (__log1p): Force underflow exception for results with small
852         absolute value.
853         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
854         (__log1pf): Force underflow exception for results with small
855         absolute value.
856         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
857         (__log1p): Force underflow exception for results with small
858         absolute value.
859         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
860         (__log1pf): Force underflow exception for results with small
861         absolute value.
862         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
863         (__log1pl): Force underflow exception for results with small
864         absolute value.
865         * math/auto-libm-test-in: Do not allow missing underflow
866         exceptions from log1p.
867         * math/auto-libm-test-out: Regenerated.
869 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
870             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
872         [BZ #16704]
873         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
875 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
877         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
878         (libmvec): New variable.
879         * configure.ac: Added option for mathvec build.
880         * configure: Regenerated.
881         * mathvec/Depend: New file.
882         * mathvec/Makefile: New file.
883         * shlib-versions: Added libmvec.
884         * math/Makefile: Added rule for libm.so installation.
886         * bits/math-vector.h: New file.
887         * bits/libm-simd-decl-stubs.h: New header.
888         * math/Makefile (headers): Added new header
889         libm-simd-decl-stubs.h.
890         * math/math.h (__MATHCALL_VEC): New macro.
892         * math/gen-libm-have-vector-test.sh: Script generates series of macros
893         for conditions in testing functions.
894         * math/Makefile: Added call of libm-have-vector-test.sh.
895         * math/libm-test.inc (HAVE_VECTOR): New macros.
897         * math/libm-test.inc: START refactored.
898         * math/test-double.c (TEST_MATHVEC): Add define.
899         * math/test-float.c: Likewise.
900         * math/test-idouble.c: Likewise.
901         * math/test-ifloat.c: Likewise.
902         * math/test-ildoubl.c: Likewise.
903         * math/test-ldouble.c: Likewise.
904         * sysdeps/generic/math-tests-arch.h
905         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
906         architecture check.
908         * math/test-double.c (FUNC_TEST): New macro.
909         * math/test-float.c: Likewise.
910         * math/test-idouble.c: Likewise.
911         * math/test-ifloat.c: Likewise.
912         * math/test-ildoubl.c: Likewise.
913         * math/test-ldouble.c: Likewise.
914         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
916 2015-05-13  Roland McGrath  <roland@hack.frob.com>
918         * sysdeps/nacl/fdopendir.c: New file.
920         * dirent/scandir-tail.c: New file.
921         * dirent/scandir64-tail.c: New file.
922         * dirent/Makefile (routines): Add them.
923         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
924         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
925         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
926         [!SCANDIR] (SCANDIR_TAIL): New macro.
927         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
928         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
929         (SCANDIRAT): Macro removed.
930         (SCANDIR_TAIL): New macro.
931         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
932         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
933         (SCANDIRAT): Just call __opendirat and __scandir_tail.
934         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
935         (READDIR): Macro removed.
936         (SCANDIR_TAIL): New macro.
937         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
938         (SCANDIR_TAIL): New macro.
940         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
941         * dirent/scandir-cancel.c: ... to this new file.
942         * dirent/Makefile (routines): Add it.
943         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
944         * sysdeps/unix/sysv/linux/i386/scandir64.c
945         (SKIP_SCANDIR_CANCEL): Macro removed.
946         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
948         * dirent/tst-scandir.c: New file.
949         * dirent/tst-scandir64.c: New file.
950         * dirent/Makefile (tests): Add them.
952 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
954         [BZ #18409]
955         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
957 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
959         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
960         list.
962 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
964         * benchtests/bench-strcoll.c: New benchmark.
965         * benchtests/Makefile: Generate locales and run benchmark.
966         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
967         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
968         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
969         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
970         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
971         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
972         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
973         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
974         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
975         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
976         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
977         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
978         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
979         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
980         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
981         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
982         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
983         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
984         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
985         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
986         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
987         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
988         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
989         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
991 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
993         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
994         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
996 2015-05-12  Roland McGrath  <roland@hack.frob.com>
998         * posix/uname-values.h: New file.
999         * posix/uname.c: Include that instead of <config-name.h>.
1000         * sysdeps/nacl/uname-values.h: New file.
1001         * sysdeps/arm/nacl/uname-values.h: New file.
1003 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
1005         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
1006         splitting into fields.
1008 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
1010         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
1011         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
1012         * locale/localeinfo.h: Add enum collation_encoding_type.
1013         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
1014         * programs/ld-collate.c (collate_output): Add encoding type info.
1015         * string/strcoll_l.c (STRDIFF): New function.
1016         * (STRCOLL): Use STRDIFF to skip over equal prefix.
1017         * wcsmbs/wcscoll_l.c: Define STRDIFF.
1019 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
1021         [BZ #18397]
1022         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
1023         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
1024         <fpu_control.h> instead of <math/fpu_control.c>.
1025         * sysdeps/mips/mips32/fpu/Makefile: New file.
1027 2015-05-11  Andreas Schwab  <schwab@suse.de>
1029         [BZ #18007]
1030         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
1031         nss_endgrent.
1032         (_nss_compat_endgrent): Call nss_endgrent.
1033         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
1034         nss_endpwent.
1035         (_nss_compat_endpwent): Call nss_endpwent.
1036         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
1037         needent, call nss_setspent only if non-zero.
1038         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
1039         (internal_endspent): Don't call nss_endspent.
1040         (_nss_compat_endspent): Call nss_endspent.
1041         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
1042         Remove.  All uses removed.
1043         (internal_setent): Remove parameter stayopen, add parameter
1044         stream.  Use it instead of global variable.
1045         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
1046         (internal_endent, internal_getent): Add parameter stream.  Use it
1047         instead of global variable.
1048         (CONCAT(_nss_files_end,ENTNAME))
1049         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
1050         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
1051         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
1052         uses removed.
1053         (internal_setent, internal_endent): Add parameter stream.  Use it
1054         instead of global variable.
1055         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
1056         stream.
1057         (get_next_alias): Add parameter stream.
1058         (_nss_files_getaliasent_r): Pass global stream.
1059         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
1060         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
1061         (_nss_files_gethostbyname4_r): Pass local stream to
1062         internal_setent, internal_getent and internal_endent.  Remove
1063         locking.
1065 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1067         * tst-strfmon1.c (tests): Update expected currency symbol.
1069 2015-05-08  Roland McGrath  <roland@hack.frob.com>
1071         * sysdeps/nacl/gethostname.c: New file.
1073 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
1075         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
1076         and sinh.
1077         * math/auto-libm-test-out: Regenerated.
1078         * sysdeps/i386/fpu/libm-test-ulps: Update.
1079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1081 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
1083         [BZ #18125]
1084         * stdlib/tst-setcontext3.c: New file.
1085         * stdlib/tst-setcontext3.sh: New file.
1086         * stdlib/Makefile (tests): Add tst-setcontext3.
1087         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
1088         to verify test program created output file.
1089         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
1090         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
1091         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
1092         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
1094 2015-05-06  Roland McGrath  <roland@hack.frob.com>
1096         [BZ #18383]
1097         * elf/tst-tlsalign.c: New file.
1098         * elf/tst-tlsalign-static.c: New file.
1099         * elf/tst-tlsalign-lib.c: New file.
1100         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
1101         (tests-static): Add tst-tlsalign-static.
1102         (modules-names): Add tst-tlsalign-lib.
1103         (test-xfail-tst-tlsalign): New variable.
1104         (test-xfail-tst-tlsalign-static): New variable.
1106         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
1107         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
1109 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
1111         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
1112         csqrt, erfc, sin and sincos.
1113         * math/auto-libm-test-out: Regenerated.
1114         * sysdeps/i386/fpu/libm-test-ulps: Update.
1115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1117 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1119         * sysdeps/aarch64/libm-test-ulps: Update.
1121 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
1123         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
1124         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
1125         * math/auto-libm-test-out: Regenerated.
1126         * sysdeps/i386/fpu/libm-test-ulps: Update.
1127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1129 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1131         [BZ #18265]
1132         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
1133         (wcsncpy): Likewise.
1135 2015-05-05  Florian Weimer  <fweimer@redhat.com>
1137         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1138         Assume __ASSUME_FALLOCATE is always true.
1139         * sysdeps/unix/sysv/linux/posix_fallocate64.c
1140         (__posix_fallocate64_l64): Likweise.
1141         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
1142         (posix_fallocate): Likewise.
1143         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
1144         (__posix_fallocate64_l64): Likewise.
1145         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1146         [!__ASSUME_FALLOCATE]: Add comment.
1148 2015-05-05  Florian Weimer  <fweimer@redhat.com>
1150         * sysdeps/unix/sysv/linux/i386/Makefile
1151         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
1152         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
1153         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
1154         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
1155         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
1156         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
1157         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
1159 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
1161         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
1162         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
1163         tgamma.
1164         * math/auto-libm-test-out: Regenerated.
1165         * sysdeps/i386/fpu/libm-test-ulps: Update.
1166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1168 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
1170         * math/auto-libm-test-in: Add more tests of tgamma.
1171         * math/auto-libm-test-out: Regenerated.
1172         * sysdeps/i386/fpu/libm-test-ulps: Update.
1173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1175         * math/auto-libm-test-in: Add more tests of tanh.
1176         * math/auto-libm-test-out: Regenerated.
1177         * sysdeps/i386/fpu/libm-test-ulps: Update.
1178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1180         * math/auto-libm-test-in: Add more tests of tan.
1181         * math/auto-libm-test-out: Regenerated.
1182         * sysdeps/i386/fpu/libm-test-ulps: Update.
1183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1185         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
1186         * math/auto-libm-test-out: Regenerated.
1187         * sysdeps/i386/fpu/libm-test-ulps: Update.
1188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1190         * math/auto-libm-test-in: Add another test of pow.
1191         * math/auto-libm-test-out: Regenerated.
1192         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1194         * math/auto-libm-test-in: Add more tests of lgamma.
1195         * math/auto-libm-test-out: Regenerated.
1196         * sysdeps/i386/fpu/libm-test-ulps: Update.
1197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1199         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
1200         log1p.
1201         * math/auto-libm-test-out: Regenerated.
1202         * sysdeps/i386/fpu/libm-test-ulps: Update.
1203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1205 2015-05-01  Mark Wielaard  <mjw@redhat.com>
1207         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
1208         Elf64_Chdr structs and ELFCOMPRESS constants.
1210 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
1212         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
1213         expm1.
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         * math/auto-libm-test-in: Add more tests of erf and erfc.
1219         * math/auto-libm-test-out: Regenerated.
1220         * sysdeps/i386/fpu/libm-test-ulps: Update.
1221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1223 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1225         * config.h.in (HAVE_AARCH64_BE): Add.
1227 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
1229         * math/auto-libm-test-in: Add more tests of csqrt.
1230         * math/auto-libm-test-out: Regenerated.
1231         * sysdeps/i386/fpu/libm-test-ulps: Update.
1232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1234         * math/auto-libm-test-in: Add more tests of cosh and sinh.
1235         * math/auto-libm-test-out: Regenerated.
1236         * sysdeps/i386/fpu/libm-test-ulps: Update.
1237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1239         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
1241 2015-04-29  Roland McGrath  <roland@hack.frob.com>
1243         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
1244         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
1246         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
1247         (euidaccess, eaccess): Define as weak aliases.
1249         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
1250         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
1251         but __suseconds_t is often 'long int' so some sources assume that
1252         type is being used (e.g. they use %ld to print tv_usec).
1254 2015-04-29  Florian Weimer  <fweimer@redhat.com>
1256         [BZ #18007]
1257         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
1258         (CVE-2014-8121)
1259         * nss/tst-nss-getpwent.c: New file.
1260         * nss/Makefile (tests): Add new test.
1262 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
1264         [BZ #18346]
1265         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
1266         exponents less than 48 as cases where high part of mantissa needs
1267         examining to determine whether argument is integral.
1268         * math/libm-test.inc (round_test_data): Add more tests.
1270 2015-04-28  Mark Wielaard  <mjw@redhat.com>
1272         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
1274 2015-04-27  David S. Miller  <davem@davemloft.net>
1276         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
1277         __tls_get_addr.
1278         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1280 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
1282         [BZ#18333]
1283         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
1285 2015-04-27  Florian Weimer  <fweimer@redhat.com>
1287         [BZ#18333]
1288         * time/tzset.c (parse_tzname): Return error on memory allocation
1289         failure.
1290         * test-skeleton.c (struct temp_name_list): Change type of name
1291         member to non-const.
1292         (add_temp_file): Create a copy of the file name.
1293         (delete_temp_files): Deallocate memory.
1294         (create_temp_file): Add comment.
1296 2015-04-24  Florian Weimer  <fweimer@redhat.com>
1298         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
1299         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
1301 2015-04-24  Roland McGrath  <roland@hack.frob.com>
1303         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
1304         * sysdeps/arm/configure: Regenerated.
1306 2015-04-24  Florian Weimer  <fweimer@redhat.com>
1308         [BZ #17715]
1309         * time/tzfile.c (__tzfile_read): Check for large values of
1310         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
1311         * time/tzset.c (__tzstring_len): New function, based on the old
1312         __tzstring function.
1313         (__tzstring): Call __tzstring_len.
1314         (parse_tzname): New helper function extracted from
1315         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
1316         the input string.
1317         (parse_offset): New helper function extracted from
1318         __tzset_parse_tz.  Replace switch with fallthrough with
1319         initialization before sscanf.
1320         (parse_rule): Likewise.
1321         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
1322         new-style function definition.
1323         * timezone/Makefile (tests): Add tst-tzset.
1324         (tst-tzset.out): Dependencies on time zone files.
1325         (tst-tzset-ENV): Set TZDIR.
1326         (testdata/XT%): Copy crafted time zone files.
1327         * timezone/README: Mention crafted time zone files.
1328         * timezone/testdata/XT1, timezone/testdata/XT2,
1329         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
1330         files.
1331         * timezone/tst-tzset.c: New test.
1333 2015-04-24  Florian Weimer  <fweimer@redhat.com>
1335         * Makeconfig (+gccwarn): Remove -Winline.
1337 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1339         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
1341 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1343         * NEWS: Mention sysconf() cache information support for s390.
1344         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
1346 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
1348         * math/k_casinh.c (__kernel_casinh): Use __copysign.
1349         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
1350         (__nearbyint): Likewise.
1351         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
1352         (copysignl): Likewise.
1354 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
1356         [BZ #18287]
1357         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
1358         based on padding.  (CVE-2015-1781)
1360 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1362         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
1363         libc-vdso.h.
1364         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
1365         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
1366         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1367         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1368         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1369         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
1370         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
1371         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1372         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1373         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
1374         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1375         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1376         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1377         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
1378         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1379         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
1380         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
1381         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
1382         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
1383         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
1384         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
1385         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
1386         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
1388 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
1390         * stdlib/setenv.c (__add_to_environ):
1391         Dump core quickly if setenv (..., NULL, ...) is called.
1392         This time, do it the right way, and pacify GCC with a pragma.
1394 2015-04-17  Roland McGrath  <roland@hack.frob.com>
1396         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
1397         IMAP->l_prev cannot be null, and #if out the code for the contrary
1398         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
1399         believe that NS (&_dl_ns[NSID]) could point outside the array.
1401         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
1402         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
1403         before using NSID as an index.
1405 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
1407         [BZ #17825]
1408         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
1409         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
1410         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1412 2015-04-17  Roland McGrath  <roland@hack.frob.com>
1414         Add preliminary port to Google Native Client on ARM.
1415         * abi-tags (.*-.*-nacl.*): New entry.
1416         * sysdeps/arm/nacl: New directory.
1417         * sysdeps/nacl: New directory.
1419 2015-04-16  David S. Miller  <davem@davemloft.net>
1421         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
1422         lowlevellock-futex.h
1424 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
1426         * sysdeps/tile/configure.ac: New file.
1427         * sysdeps/tile/configure: Regenerated.
1429 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1431         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
1432         conditionals for weak_alias and libc_hidden_weak.
1433         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
1434         libc_hidden_weak and weak_alias.
1435         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
1436         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
1437         and weak_alias for static one.
1439 2015-04-15  David S. Miller  <davem@davemloft.net>
1441         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1443 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1445         [BZ #18206]
1446         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
1447           Use signed comparision instead of substraction to avoid
1448           overflow bug.
1449         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
1450           Take the sign of ret.
1451         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
1452           Do not expect precise return values. Only the sign matters.
1453         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
1454         * wcsmbs/test-wcsncmp.c: New File.
1455         * string/test-strncmp.c: Add wcsncmp support.
1457 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1459         [BZ #6792]
1460         * math/w_log1p.c: New file.
1461         * math/w_log1pf.c: Likewise.
1462         * math/w_log1pl.c: Likewise.
1463         * math/Makefile (libm-calls): Add w_log1p.
1464         * math/s_log1pl.c (log1pl): Remove weak_alias.
1465         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
1466         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
1467         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
1468         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
1469         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
1470         [NO_LONG_DOUBLE] (log1pl): Likewise.
1471         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
1472         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
1473         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
1474         (log1p): Remove long_double_symbol.
1475         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
1476         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
1477         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
1478         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
1479         remove weak_alias for corresponding log1p function.
1480         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
1481         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
1482         * sysdeps/ia64/fpu/w_log1p.c: New file.
1483         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
1484         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
1485         * math/libm-test.inc (log1p_test_data): Add errno expectations.
1487 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
1489         [BZ #18247]
1490         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
1491         decimal exponent by 1.
1492         * stdlib/tst-strtod-round-data: Add more tests.
1493         * stdlib/tst-strtod-round.c (tests): Regenerated.
1495 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
1497         * math/auto-libm-test-in: Add more tests of clog and clog10.
1498         * math/auto-libm-test-out: Regenerated.
1499         * sysdeps/i386/fpu/libm-test-ulps: Update.
1500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1502 2015-04-09  Roland McGrath  <roland@hack.frob.com>
1504         * Makeconfig (module-cppflags): Exclude all .v.i files.
1505         (skip-module-cppflags): Variable removed.
1507         * configure.ac (libc_config_ok): Initialize before reading
1508         preconfigure scripts, not after.
1509         * configure: Regenerated.
1511         * test-skeleton.c (TIMEOUT): Move #define to top level.
1512         (main): Grok environment variable TEST_DIRECT.  If set, print
1513         test expectation details into that file and then behave as if
1514         given --direct.
1516 2015-04-09  Florian Weimer  <fweimer@redhat.com>
1518         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
1519         warning on 32-bit.
1521 2015-04-08  David S. Miller  <davem@davemloft.net>
1523         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1525 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
1527         * math/auto-libm-test-in: Add more tests of atanh.
1528         * math/auto-libm-test-out: Regenerated.
1529         * sysdeps/i386/fpu/libm-test-ulps: Update.
1530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1532         * math/auto-libm-test-in: Add more tests of atan.
1533         * math/auto-libm-test-out: Regenerated.
1534         * sysdeps/i386/fpu/libm-test-ulps: Update.
1535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1537 2015-04-08  Florian Weimer  <fweimer@redhat.com>
1539         * elf/pldd.c (main): Rewrite to use struct
1540         scratch_buffer instead of extend_alloca.
1541         * elf/pldd-xx.c (find_maps): Likewise.
1542         * grp/initgroups.c: Include <scratch_buffer.h> instead of
1543         <alloca.h>.
1544         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
1545         scratch_buffer instead of extend_alloca.
1546         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
1547         grp/compat-initgroups.c.
1548         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
1549         Rewrite to use struct scratch_buffer instead of extend_alloca.
1550         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
1551         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1553 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
1555         * math/auto-libm-test-in: Add more tests of cbrt.
1556         * math/auto-libm-test-out: Regenerated.
1557         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1559         * math/auto-libm-test-in: Add more tests of cabs.
1560         * math/auto-libm-test-out: Regenerated.
1561         * sysdeps/i386/fpu/libm-test-ulps: Update.
1562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1564         [BZ #18210]
1565         [BZ #18211]
1566         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
1567         (__ieee754_atan2): Set FE_TONEAREST mode for internal
1568         computations.
1569         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
1570         clog10.
1571         * math/auto-libm-test-out: Regenerated.
1572         * sysdeps/i386/fpu/libm-test-ulps: Update.
1573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1575         [BZ #18197]
1576         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
1577         (atan): Set FE_TONEAREST mode for internal computations.
1578         * math/auto-libm-test-in: Add more tests of atan.
1579         * math/auto-libm-test-out: Regenerated.
1581 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
1583         [BZ #17930]
1584         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
1586 2015-04-07  Florian Weimer  <fweimer@redhat.com>
1588         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
1590 2015-04-07  Florian Weimer  <fweimer@redhat.com>
1592         * include/scratch_buffer.h: New file.
1593         * malloc/scratch_buffer_grow.c: Likewise.
1594         * malloc/scratch_buffer_grow_preserve.c: Likewise.
1595         * malloc/scratch_buffer_set_array_size.c: Likewise.
1596         * malloc/tst-scratch_buffer.c: Likewise.
1597         * malloc/Makefile (routines): Add scratch_buffer_grow.
1598         (tests): Add test case.
1599         * malloc/Versions (GLIBC_PRIVATE): Export
1600         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
1601         __libc_scratch_buffer_set_array_size.
1603 2015-04-06  Richard Henderson  <rth@redhat.com>
1605         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
1606         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1608         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
1609         unsigned int before printing.
1611 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1613         [BZ #17596]
1614         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
1615         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1617 2015-04-02  Florian Weimer  <fweimer@redhat.com>
1619         * include/libc-internal.h (libc_max_align_t): Define.
1621 2015-04-02  Andreas Schwab  <schwab@suse.de>
1623         [BZ #16850]
1624         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
1626 2015-04-02  Mel Gorman  <mgorman@suse.de>
1628         [BZ #17195]
1629         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
1630         as well as the main arena.
1632 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
1634         [BZ #18185]
1635         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
1636         sharing L2 cache to 2 for Silvermont/Knights Landing.
1638 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
1640         [BZ #17711]
1641         * config.make.in (have-protected-data): New.
1642         * configure.ac: Check linker support for protected data symbol.
1643         * configure: Regenerated.
1644         * elf/Makefile (modules-names): Add tst-protected1moda and
1645         tst-protected1modb if $(have-protected-data) is yes.
1646         (tests): Add tst-protected1a and tst-protected1b if
1647         $(have-protected-data) is yes.
1648         ($(objpfx)tst-protected1a): New.
1649         ($(objpfx)tst-protected1b): Likewise.
1650         (tst-protected1modb.so-no-z-defs): Likewise.
1651         * elf/tst-protected1a.c: New file.
1652         * elf/tst-protected1b.c: Likewise.
1653         * elf/tst-protected1mod.h: Likewise.
1654         * elf/tst-protected1moda.c: Likewise.
1655         * elf/tst-protected1modb.c: Likewise.
1657 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
1659         [BZ #17711]
1660         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
1661         indicates it is called from do_lookup_x on relocation against
1662         protected data, skip the data definion in the executable from
1663         copy reloc.
1664         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
1665         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
1666         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
1667         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
1668         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
1669         otherwise to 0.
1670         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
1671         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
1672         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
1673         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
1674         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
1675         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
1677 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
1679         * sysdeps/nptl/pthread.h: Remove duplicate definition of
1680         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
1682 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
1684         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
1685         THREAD_SETMEM_NC.
1686         * sysdeps/x86_64/nptl/tls.h: Ditto.
1688 2015-03-27  Roland McGrath  <roland@hack.frob.com>
1690         * dlfcn/tststatic.c (main): Converted to ...
1691         (do_test): ... this.
1692         (TEST_FUNCTION): New macro.
1693         Include test-skeleton.c.
1695 2015-03-26  Alan Modra  <amodra@gmail.com>
1697         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
1698         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
1699         zero for undefined weak.
1700         (elf_machine_plt_conflict): Similarly.
1702 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
1704         * math/auto-libm-test-in: Add more tests of acosh, asinh and
1705         atanh.
1706         * math/auto-libm-test-out: Regenerated.
1707         * sysdeps/i386/fpu/libm-test-ulps: Update.
1708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1710         * math/auto-libm-test-in: Add another test of asin.
1711         * math/auto-libm-test-out: Regenerated.
1712         * sysdeps/i386/fpu/libm-test-ulps: Update.
1713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1715         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
1716         Remove macro.
1717         (LLL_EBX_REG): Likewise.
1718         (LLL_ENTER_KERNEL): Likewise.
1720         * math/auto-libm-test-in: Add more tests of asin.
1721         * math/auto-libm-test-out: Regenerated.
1722         * sysdeps/i386/fpu/libm-test-ulps: Update.
1723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1725         [BZ #18138]
1726         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
1727         libc_do_syscall_args): New structure.
1728         (INTERNAL_SYSCALL_MAIN_0): New macro.
1729         (INTERNAL_SYSCALL_MAIN_1): Likewise.
1730         (INTERNAL_SYSCALL_MAIN_2): Likewise.
1731         (INTERNAL_SYSCALL_MAIN_3): Likewise.
1732         (INTERNAL_SYSCALL_MAIN_4): Likewise.
1733         (INTERNAL_SYSCALL_MAIN_5): Likewise.
1734         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
1735         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
1736         Replace conditional definitions by conditional definitions of ....
1737         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
1738         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
1739         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
1740         (libpthread-sysdep_routines): Add libc-do-syscall.
1741         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
1742         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
1743         to __NR_futex not 240.
1745 2015-03-25  Alan Modra  <amodra@gmail.com>
1747         * NEWS: Advertise TLS optimization.
1748         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
1749         (DT_PPC_NUM): Increment.
1750         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
1751         (CHECK_STATIC_TLS): Use here.
1752         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
1753         TLS descriptors.
1754         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1755         * sysdeps/powerpc/dl-tls.c: New file.
1756         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
1757         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
1758         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
1759         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
1760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
1761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
1762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
1764 2015-03-25  Alan Modra  <amodra@gmail.com>
1766         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
1767         for overlapping .opd entries" to "support...".
1768         * sysdeps/powerpc/powerpc64/configure: Regenerate
1770 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
1772         * math/auto-libm-test-in: Add more tests of acos.
1773         * math/auto-libm-test-out: Regenerated.
1774         * sysdeps/i386/fpu/libm-test-ulps: Update.
1775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1777         * math/auto-libm-test-in: Add more tests of expm1.
1778         * math/auto-libm-test-out: Regenerated.
1779         * sysdeps/i386/fpu/libm-test-ulps: Update.
1780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1782 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
1784         * math/auto-libm-test-in: Add more tests of cosh and sinh.
1785         * math/auto-libm-test-out: Regenerated.
1786         * sysdeps/i386/fpu/libm-test-ulps: Update.
1787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1789         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1792         * math/auto-libm-test-in: Add more tests of log2.
1793         * math/auto-libm-test-out: Regenerated.
1794         * sysdeps/i386/fpu/libm-test-ulps: Update.
1795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1797 2015-03-23  Roland McGrath  <roland@hack.frob.com>
1799         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
1800         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
1801         _IO_IS_APPENDING bit in READ_WRITE instead.
1803 2015-03-23  Florian Weimer  <fweimer@redhat.com>
1805         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1806         (__determine_cpumask_size): Replace extend_alloca with a
1807         variable-length array.  Do not treat res == 0 as an error.
1809 2015-03-23  Florian Weimer  <fweimer@redhat.com>
1811         [BZ #18100]
1812         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
1813         and integer overflow.
1814         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
1815         (main): Add integer overflow tests.
1816         * manual/pattern.texi (Calling Wordexp): Document additional use
1817         for WRDE_SYNTAX.
1819 2015-03-23  Alan Modra  <amodra@gmail.com>
1821         * config.h.in: Remove HAVE_ASM_PPC_REL16.
1822         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
1823         and false branch of conditional.
1824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1825         Likewise.
1827 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
1829         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
1830         libc-modules.h
1831         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
1832         unused declaration of _hurd_intr_rpc_msg_in_trap.
1833         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
1834         defined instead of whether it is non-zero.
1835         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
1836         input constraint instead of both input and output constraint.  Use ecx
1837         clobber instead of %ecx.
1838         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
1839         mutex_unlock): Use a statement expression instead of an expression list.
1840         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
1841         type to vm_size_t instead of vm_address_t.
1842         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
1843         defined instead of whether it is non-zero.
1844         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
1845         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
1846         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
1847         comparisons with mapaddr.
1848         * nscd/nscd-client.h: Include <time.h>.
1849         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
1850         9th parameter to __vm_region instead of int.
1851         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
1852         * scripts/check-local-headers.sh (exclude): Add device/,
1853         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
1854         cthreads.h.
1856 2015-03-19  Roland McGrath  <roland@hack.frob.com>
1858         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
1859         to account for alignment padding.
1860         * sysdeps/arm/memmove.S: Likewise.
1862 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
1864         * sysdeps/unix/sysv/linux/generic/README: New file.
1866 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
1868         [BZ #18138]
1869         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
1870         (futex_abstimed_wait)
1871         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
1872         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
1873         of lll_futex_timed_wait.
1875 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
1877         [BZ #17542]
1878         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
1880 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
1882         [BZ #17090]
1883         [BZ #17620]
1884         [BZ #17621]
1885         [BZ #17628]
1886         * NEWS: Update.
1887         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
1888         entries with Static TLS too.  Skip entries past the end of the
1889         allocated DTV, from Alan Modra.
1890         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
1891         Static TLS DTV entry set up from...
1892         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
1893         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
1894         * nptl/allocatestack.c (init_one_static_tls): ... and here...
1895         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
1896         for Static TLS.
1897         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
1898         that the slot we find is associated with the given map before
1899         using its generation count.
1900         * nptl_db/db_info.c: Include ldsodefs.h.
1901         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
1902         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
1903         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
1904         (link_map::l_tls_offset): New struct field.
1905         (dtv_t::counter): Likewise.
1906         (rtld_global): New struct.
1907         (_rtld_global): New rtld variable.
1908         (dl_tls_dtv_slotinfo_list): New rtld global field.
1909         (dtv_slotinfo_list): New struct.
1910         (dtv_slotinfo): Likewise.
1911         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
1912         (td_lookup): Rename to...
1913         (td_mod_lookup): ... this.  Use new mod parameter instead of
1914         LIBPTHREAD_SO.
1915         * nptl_db/td_thr_tlsbase.c: Include link.h.
1916         (dtv_slotinfo_list, dtv_slotinfo): New functions.
1917         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
1918         addresses even if the DTV is out of date or missing them.
1919         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
1920         index zero-length arrays.
1921         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
1922         (td_lookup): Make it a macro implemented in terms of...
1923         (td_mod_lookup): ... this declaration.
1924         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
1925         (DB_MAIN_VARIABLE): Likewise.
1927 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1929         [BZ #18134]
1930         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1932 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
1934         * stdlib/setenv.c (__add_to_environ): Revert previous change.
1936 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
1938         [BZ #18128]
1939         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
1940         (atomic_add, atomic_increment_and_test)
1941         (atomic_decrement_and_test): Fix 64-bit arithmetic.
1943 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
1945         * stdlib/setenv.c (__add_to_environ):
1946         Dump core quickly if setenv (..., NULL, ...) is called.
1948 2015-03-13  Roland McGrath  <roland@hack.frob.com>
1950         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
1951         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
1952         all the necessary asm magic in one place.
1953         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
1954         using those.
1956 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
1958         [BZ #14906]
1959         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
1960         traced file mtime. Use consistent log message.
1961         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
1962         (register_traced_file): Call install_watches. Always set mtime.
1963         (invalidate_cache): Iterate over all trace files. Call install_watches.
1964         (inotify_check_files): Don't inline. Handle watching parent
1965         directories and configuration file movement in and out.
1966         (handle_inotify_events): New function.
1967         (main_loop_poll): Call handle_inotify_events.
1968         (main_loop_epoll): Likewise.
1969         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
1970         (struct traced_file): Use array of inotify fds. Add parent directory,
1971         and basename.
1972         (struct database_dyn): Remove unused file_mtime.
1973         (init_traced_file): New inline function.
1974         (define_traced_file): New macro.
1975         * nss/nss_db/db-init.c: Use define_traced_file.
1976         (_nss_db_init): Use init_traced_file.
1977         * nss/nss_files/files-init.c: Use define_traced_file.
1978         (_nss_files_init): Use init_traced_file.
1980 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
1982         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
1983         [_LIBC]: Do not include <stdlib.h>.
1984         [!_LIBC] (abort): Remove declaration.
1985         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
1986         _FP_STATIC_ASSERT instead of conditionally calling abort.
1987         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
1988         (_FP_EXTEND_CNAN): Likewise.
1989         (FP_TRUNC): Likewise.
1990         (__FP_CLZ): Likewise.
1991         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
1993 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
1995         * manual/string.texi (XPG basename): Fix prototype.
1997 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1999         [BZ #18080]
2000         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
2001         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2002         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
2003         (__setcontext): Likewise.
2004         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
2005         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2006         Call rt_sigprocmask syscall one time to set new signal mask
2007         and retrieve the current signal mask instead of two calls.
2008         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
2009         (__swapcontext): Likewise.
2010         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
2011         * stdlib/tst-setcontext2.c: New file.
2013 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2015         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2017 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
2019         [BZ #18093]
2020         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
2021         the wrong size.
2023 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2025         [BZ #18043]
2026         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
2028 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2030         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
2031         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
2032         Remove define.
2033         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
2034         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
2035         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
2036         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
2037         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
2038         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
2039         define.
2040         * nptl_db/td_symbol_list.c (td_lookup): Remove
2041         HAVE_ASM_GLOBAL_DOT_NAME code.
2042         * sysdeps/powerpc/powerpc64/configure.ac: Remove
2043         HAVE_ASM_GLOBAL_DOT_NAME check.
2044         * sysdeps/powerpc/powerpc64/configure: Regenerate.
2045         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
2046         (DOT_LABEL): Remove define.
2047         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
2048         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
2049         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
2050         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
2051         (__TLS_GET_ADDR): Likewise.
2052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
2053         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
2055 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
2057         [BZ #18111]
2058         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
2059         (_FPU_SETCW): Initialize cw from fpsr before storing.
2060         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
2061         (fesetexceptflag): Rewrite using fpu_control.h.
2062         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
2064 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
2066         [BZ #18110]
2067         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
2068         asms.
2069         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2071 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
2073         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
2074         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
2075         abort.
2076         (_FP_FMA): Likewise.
2077         (_FP_DIV): Likewise.
2079 2015-03-10  Roland McGrath  <roland@hack.frob.com>
2081         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
2082         with 0 in that case.
2083         * Makefile (summarize-tests): New canned sequence, factored out of
2084         commands for targets tests and xtests.  Display summary lines that
2085         don't start with PASS: or XFAIL: rather than ones that do start with
2086         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
2087         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
2088         do start with ERROR: or FAIL:.
2089         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
2090         (except for [$(build-shared) = yes]).
2091         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
2092         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
2093         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
2094         * nptl/Makefile: Revert 2015-03-04 changes.
2095         [$(CXX) empty] (tests-unsupported): New variable.
2096         * debug/Makefile: Likewise.
2098         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
2099         gnulib file.  Replace __attribute with __attribute__ throughout.
2101 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
2103         * sysdeps/hppa/fpu/libm-test-ulps: Update.
2105 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
2107         [BZ #18104]
2108         * math/auto-libm-test-in: Add another test of pow.
2109         * math/auto-libm-test-out: Regenerated.
2111 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2113         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
2114         $(config-cflags-nofma).
2116 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
2118         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
2119         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
2120         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
2121         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
2122         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
2123         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
2124         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
2125         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
2126         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
2127         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
2128         Add comment on closing #endif.
2130 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2132         * posix/wordexp.c (CHAR_IN_SET): New macro.
2133         (parse_param): Use it.
2135 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2137         * sysdeps/powerpc/fpu/libm-test-ulps: update.
2139 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2141         [BZ #18043]
2142         * posix/wordexp.c (parse_param): Fix buffer overflow.
2143         * posix/wordexp-test.c (test_case): Add test case.
2145 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2147         [BZ #18042]
2148         * posix/wordexp.c (parse_backtick): Fix off-by-one.
2149         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
2151 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2153         [BZ #18043]
2154         * posix/wordexp-test.c (test_case): Add test for BZ #18043
2155         (do_bz18043): Delete.
2156         (at_page_end): New.
2157         (testit): Refactor to have words at the edge of unreadable page.
2159 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
2161         [BZ #16734]
2162         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
2163         Cleanup read-only streams as well.
2164         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
2166 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2168         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
2169         <bits/libc-lockP.h>
2171 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
2173         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
2174         on [__KERNEL__].
2175         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
2176         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
2177         * soft-fp/op-common.h (_FP_DECL): Likewise.
2179 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
2181         * elf/ifuncdep2.c (global): Replace
2182         __attribute__((visibility("protected"))) with
2183         asm (".protected global").
2184         * elf/ifuncmod1.c (global): Likewise.
2185         * elf/ifuncmod5.c (global): Likewise.
2187 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
2189         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
2190         <asm/sfp-machine.h> instead of <sfp-machine.h>.
2192 2015-03-06  Roland McGrath  <roland@hack.frob.com>
2194         * manual/install.texi (Configuring and compiling):
2195         Document test-wrapper-env-only.
2196         * INSTALL: Regenerated.
2198 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
2200         [BZ #18043]
2201         * posix/wordexp.c (parse_param): Fix buffer overflow.
2202         * posix/wordexp-test.c (do_bz18043): Add test case.
2204 2015-03-06  Vincent Bernat  <vincent@bernat.im>
2206         * time/tst-strptime2.c (do_test): Ensure failing tests are
2207         reported correctly.
2208         * time/tst-strptime3.c (do_test): Likewise.
2210 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
2212         Fix aio_error thread-safety.
2213         * sysdeps/pthread/aio_error.c: New file
2214         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
2215         synchronization.
2217 2015-03-06  Florian Weimer  <fweimer@redhat.com>
2219         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
2220         (group_number, vfprintf): Use it.
2221         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
2222         (JUMP, REF): Use it.
2223         (WORK_BUFFER_SIZE): New enum constant.
2224         (process_arg, vfprintf): Use it.
2226 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
2228         * manual/errno.texi (Error Messages): Complete example function
2229         by adding missing #define.
2230         (program_invocation_name): Add statement indicating GNU
2231         extension and reference which header file declares the variable.
2232         (program_invocation_short_name): Likewise.
2234 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
2236         * manual/errno.texi (Error Messages): Delete strerror ISO C89
2237         compatibility note.
2239 2015-03-05  Roland McGrath  <roland@hack.frob.com>
2241         * Makeconfig (test-wrapper-env-only): New variable.
2242         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
2243         then use that with $(test-wrapper-env-only) rather than using
2244         $(test-wrapper-env) $(run-program-env) $($*-ENV).
2246 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
2248         [BZ #18082]
2249         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
2250         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
2251         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
2252         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
2253         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
2254         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
2255         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
2256         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2257         Likewise.
2258         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
2259         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
2260         Likewise.
2261         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
2262         Likewise.
2263         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
2264         Likewise.
2265         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
2266         Likewise.
2267         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
2268         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
2269         Likewise.
2270         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
2271         Likewise.
2272         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
2273         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
2275 2015-03-04  Roland McGrath  <roland@hack.frob.com>
2277         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
2278         (ETH_ALEN): New macro.
2279         (struct ether_addr): Use it for length of ether_addr_octet.
2281         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
2282         (setdb): Don't call __nss_configure_lookup for "rpc".
2283         (do_test): Don't call test_rpc.
2284         (output_rpcent, test_rpc): Functions moved ...
2285         * sunrpc/test-rpcent.c: ... to this new file.
2286         * sunrpc/Makefile (tests): Add it.
2288         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
2289         __xpg_sigpause.
2290         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
2291         * nptl/tst-signal6.c: Likewise.
2292         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
2293         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
2295         * configure.ac (libc_cv_cxx_link_ok): New check.
2296         Reset CXX to empty if it fails to link.
2297         * configure: Regenerated.
2298         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
2299         bug-atexit3-lib only if $(CXX) is nonempty.
2300         * nptl/Makefile (tests): Likewise for tst-cancel24.
2301         (tests, tests-static): Likewise for tst-cancel24-static.
2302         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
2303         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
2304         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
2305         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
2307 2015-03-04  Andreas Schwab  <schwab@suse.de>
2309         [BZ #17631]
2310         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
2311         for non-GCC compilers.
2312         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2313         Likewise.
2315 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2317         [BZ #17776]
2318         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
2319         integer before bitwise and assembly operations.
2320         (feclearexcept): Likewise.
2321         * math/test-fenvinline.c: New file.
2322         * math/Makefile: Add test-fenvinline test.
2324 2015-03-03  Alan Modra  <amodra@gmail.com>
2326         [BZ #16512]
2327         * scripts/localplt.awk: Strip off symbol version.
2328         * NEWS: Mention bug fix.
2330 2015-03-02  Roland McGrath  <roland@hack.frob.com>
2332         * sysdeps/pthread/timer_routines.c
2333         (timer_free_list, thread_free_list, thread_active_list): Make static.
2335 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
2337         [BZ #17779]
2338         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2339         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2340         Undefine.
2341         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2342         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2343         Likewise.
2344         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2345         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2346         Likewise.
2348 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
2350         [BZ #18036]
2351         * posix/fnmatch_loop.c (END): Detect invalid pattern.
2352         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
2354 2015-03-02  Andreas Schwab  <schwab@suse.de>
2356         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
2357         variable name.
2359 2015-03-02  Florian Weimer  <fweimer@redhat.com>
2361         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
2362         Return error status.
2364 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
2366         [BZ #15969]
2367         * locale/findlocale.c (_nl_find_locale): Introduce const
2368         version of loc_name and drop unsafe type casts.
2370 2015-02-27  Roland McGrath  <roland@hack.frob.com>
2372         * dlfcn/tststatic2.c (main): Converted to ...
2373         (do_test): ... this.
2374         (TEST_FUNCTION): New macro.
2375         Include test-skeleton.c.
2377 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
2379         [BZ #17711]
2380         * elf/Makefile (tests): Add vismain only if PIE is enabled.
2381         (tests-pie): Add vismain.
2382         (CFLAGS-vismain.c): New.
2383         * elf/vismain.c: Add comments for PIE requirement.
2385 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
2387         [BZ #18046]
2388         [BZ #18047]
2389         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
2390         0x1p-56L as threshold for just returning the argument.
2391         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
2392         0x1p-32L as threshold for just returning the argument.
2393         * math/auto-libm-test-in: Add more tests of atanh.
2394         * math/auto-libm-test-out: Regenerated.
2395         * sysdeps/i386/fpu/libm-test-ulps: Update.
2396         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
2398 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
2400         * string/bcopy.c (bcopy): Call memmove for performance.
2402 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
2404         * string/bzero.c (__bzero): Call memset for performance.
2406 2015-02-27  John David Anglin  <dave.anglin@bell.net>
2408         [BZ #18068]
2409         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
2410         to 00100000.
2412 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
2414         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
2416 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
2418         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
2419         (__kernel_standard): Use CSTR macro when setting exc.name.
2420         * sysdeps/ieee754/Makefile [$(subdir) = math]
2421         (CFLAGS-k_standard.c): Remove variable.
2423         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
2424         setting p and q from "else if" to "else".
2425         (qzero): Likewise.
2426         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
2427         (qone): Likewise.
2428         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
2429         (qzerof): Likewise.
2430         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
2431         (qonef): Likewise.
2432         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
2433         (qzero): Likewise.
2434         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
2435         (qone): Likewise.
2437         [BZ #18038]
2438         [BZ #18039]
2439         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
2440         return pi/2 for arguments below 0x1p-113L.
2441         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
2442         return pi/2 for arguments below 0x1p-106L.
2443         * math/auto-libm-test-in: Add more tests of acos.
2444         * math/auto-libm-test-out: Regenerated.
2446         [BZ #16351]
2447         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
2448         (MO): New macro.
2449         (__ieee754_asin): Force underflow exception for results with small
2450         absolute value.
2451         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
2452         (MO): New macro.
2453         (__ieee754_asinf): Force underflow exception for results with
2454         small absolute value.
2455         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
2456         (__ieee754_asin): Force underflow exception for results with small
2457         absolute value.
2458         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
2459         (__ieee754_asinf): Force underflow exception for results with
2460         small absolute value.
2461         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
2462         (__ieee754_asinl): Force underflow exception for results with
2463         small absolute value.
2464         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
2465         (__ieee754_asinl): Force underflow exception for results with
2466         small absolute value.
2467         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
2468         (__ieee754_asinl): Force underflow exception for results with
2469         small absolute value.
2470         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
2471         Include <math.h>.
2472         * math/auto-libm-test-in: Do not mark underflow exceptions as
2473         possibly missing for bug 16351.
2474         * math/auto-libm-test-out: Regenerated.
2476         [BZ #18030]
2477         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
2478         of power of 2 down when low part has opposite sign.
2479         * math/libm-test.inc (logb_test_data): Add more tests.
2481 2015-02-26  Andreas Schwab  <schwab@suse.de>
2483         [BZ #18032]
2484         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
2485         over collating symbol inside a bracket expression.  Minor cleanup.
2486         * posix/tst-fnmatch3.c (do_test): Add test case.
2488 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
2490         [BZ #18029]
2491         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
2492         Adjust exponent of power of 2 down when low part has opposite
2493         sign.
2494         * math/libm-test.inc (ilogb_test_data): Add more tests.
2496 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
2498         [BZ #15969]
2499         * locale/findlocale.c (_nl_find_locale): Fix constness error in
2500         the previous change.
2502         [BZ #15969]
2503         * locale/findlocale.c (_nl_find_locale): Retry archive search
2504         after alias expansion.
2506 2015-02-25  Roland McGrath  <roland@hack.frob.com>
2508         * iconv/tst-iconv3.c (main): Converted to ...
2509         (do_test): ... this.
2510         (TEST_FUNCTION): New macro.
2511         Include test-skeleton.c.
2513         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
2514         (convert): Make function static.
2515         (test_unalign): Likewise.  Add const to argument pointee types.
2516         (main): Replace with static function do_test.
2517         Print "Succeeded." only if RET is zero.
2518         (TEST_FUNCTION): New macro.
2519         Include test-skeleton.c.
2521         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
2522         returns a null pointer.
2524 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2526         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
2527         to __memcpy_ppc only for static builds.
2529 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
2531         [BZ #18020]
2532         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
2533         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
2534         * math/auto-libm-test-in: Add more tests of asinh.
2535         * math/auto-libm-test-out: Regenerated.
2536         * sysdeps/i386/fpu/libm-test-ulps: Update.
2537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2539 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
2541         [BZ #15850]
2542         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
2543         and ip6_mtuinfo definitions here.
2544         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
2545         in this define too.  Update comment.
2547 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
2549         * elf/sprof.c (load_shobj): Tweak error message to match others.
2551 2015-02-24  Kevin Easton  <kevin@guarana.org>
2553         [BZ #16145] (partial fix)
2554         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
2555         to reduce lock contention.
2557 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
2559         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
2560         (struct timex): Update time comment.
2561         (ADJ_SETOFFSET): Define.
2563 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
2565         [BZ #18019]
2566         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2567         2**56 not 2**28 as threshold for log (2x) formula.
2568         * math/auto-libm-test-in: Add more tests of acosh.
2569         * math/auto-libm-test-out: Regenerated.
2570         * sysdeps/i386/fpu/libm-test-ulps: Update.
2571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2573 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
2575         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
2576         parenthesis around the buf assignment.
2577         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
2579 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
2581         [BZ #16783]
2582         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
2583         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
2584         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
2585         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2586         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2587         * math/libm-test.inc (scalb_test_data): Add more tests.
2589 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2591         [BZ #17916]
2592         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
2593         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
2595 2015-02-24  Eric Rannaud  <e@nanocritical.com>
2597         [BZ #17523]
2598         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
2599         * io/bits/fcntl2.h (open): Use it.
2600         (openat): Likewise.
2601         * io/open.c (__libc_open): Likewise.
2602         * io/open64.c (__libc_open64): Likewise.
2603         * io/open64_2.c (__open64_2): Likewise.
2604         * io/open_2.c (__open_2): Likewise.
2605         * io/openat.c (__openat): Likewise.
2606         * io/openat64.c (__openat64): Likewise.
2607         * io/openat64_2.c (__openat64_2): Likewise.
2608         * io/openat_2.c (__openat_2): Likewise.
2609         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
2610         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
2611         * sysdeps/posix/open64.c (__libc_open64): Likewise.
2612         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2613         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2614         (__open_nocancel): Likewise.
2615         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2616         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2617         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
2619 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2621         [BZ #14841]
2622         * resolv/gethnamaddr.c (getanswer): Skip logging if
2623         RES_USE_DNSSEC is set.
2624         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2626 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
2628         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
2630 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
2632         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2633         201304L, for Unicode 7.
2635 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
2637         [BZ #17836]
2638         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
2639         shared library.  Add gmon-start.os otherwise.
2640         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
2641         $(objpfx)gmon-start.os if builing shared library.
2642         ($(objpfx)g$(static-start-installed-name)): Likewise.
2644 2015-02-23  Andreas Schwab  <schwab@suse.de>
2646         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
2648 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
2650         [BZ #17269]
2651         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
2652         (enlarge_userbuf): Likewise.
2654 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
2656         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
2657         * math/atest-exp.c (TIMEOUT): Adjust to 200.
2658         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
2659         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
2661 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
2663         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
2664         expression inside statement expression.
2666 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2668         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
2669         <sysdeps/nptl/lowlevellock.h> and remove macros and
2670         functions that are now defined there.
2671         (SYS_futex): Remove.
2672         (lll_compare_and_swap): Remove.
2673         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
2675 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
2677         [BZ #17999]
2678         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
2679         instead of scandirat.
2680         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
2681         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
2682         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
2683         __scandirat.
2684         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
2685         (__scandirat): Declare.  Use libc_hidden_proto.
2686         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
2687         Remove variable.
2688         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2690 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
2692         [BZ #15319]
2693         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
2694         (MO): New macro.
2695         (__ieee754_atan2): For results with small absolute value, force
2696         underflow exception and remove excess range and precision from
2697         return value.
2698         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
2699         (MO): New macro.
2700         (__ieee754_atan2f): For results with small absolute value, force
2701         underflow exception and remove excess range and precision from
2702         return value.
2703         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
2704         (MO): New macro.
2705         (__atan): For results with small absolute value, force underflow
2706         exception and remove excess range and precision from return value.
2707         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
2708         (MO): New macro.
2709         (__atanf): For results with small absolute value, force underflow
2710         exception and remove excess range and precision from return value.
2711         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
2712         <math.h>.
2713         (__ieee754_atan2): Force underflow exception for results with
2714         small absolute value.
2715         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
2716         <math_private.h>.
2717         (atan): Force underflow exception for results with small absolute
2718         value.
2719         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
2720         (__atanf): Force underflow exception for results with small
2721         absolute value.
2722         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
2723         <math.h>.
2724         (__atanl): Force underflow exception for results with small
2725         absolute value.
2726         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
2727         (__atanl): Force underflow exception for results with small
2728         absolute value.
2729         * sysdeps/x86/fpu/bits/mathinline.h
2730         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
2731         (__ieee754_atan2): Only define inline for long double.
2732         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
2733         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
2734         * math/auto-libm-test-in: Do not mark underflow exceptions as
2735         possibly missing for bug 15319.  Add more tests of atan2.
2736         * math/auto-libm-test-out: Regenerated.
2737         * math/libm-test.inc (casin_test_data): Do not mark underflow
2738         exceptions as possibly missing for bug 15319.
2739         (casinh_test_data): Likewise.
2740         * sysdeps/i386/fpu/libm-test-ulps: Update.
2742 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
2744         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
2745         * sysdeps/mips/bits/endian.h: Fix comments.
2747 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
2749         [BZ #17996]
2750         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
2751         (hdestroy_r): Likewise.
2752         (hsearch_r): Likewise.
2753         (__hcreate_r): Declare and use libc_hidden_proto.
2754         (__hdestroy_r): Likewise.
2755         (__hsearch_r): Likewise.
2756         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
2757         (hcreate): Call __hcreate_r instead of hcreate_r.
2758         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
2759         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
2760         as weak alias of __hcreate_r.
2761         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
2762         __hdestroy_r.
2763         (hsearch_r): Rename to __hsearch_r and define as weak alias of
2764         __hsearch_r.
2765         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
2766         Remove variable.
2767         (test-xfail-XPG4/search.h/linknamespace): Likewise.
2768         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2769         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2770         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2772 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2774         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
2775         arena_lock into a single arena_get.
2777 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
2779         * dl-reloc.c: Inlucde libc-internal.h.
2780         (_dl_try_allocate_static_tls): Call ALIGN_UP.
2781         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
2782         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
2783         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
2784         (grow_heap): Likewise.
2785         * malloc/malloc.c: Include libc-internal.h.
2786         (do_check_malloc): Call powerof2.
2787         (sysmalloc): Use pagesize. Call ALIGN_UP.
2788         (systrim): Use pagesize.
2789         (mremap_chunk): Use pagesize. Call ALIGN_UP.
2790         (__libc_valloc): Use pagesize.
2791         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
2793 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
2795         [BZ #17991]
2796         * include/sys/resource.h (__getrlimit64): Declare.  Use
2797         libc_hidden_proto.
2798         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
2799         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
2800         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
2801         getrlimit64.
2802         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
2803         __getrlimit64.
2804         [!getrlimit64] (getrlimit64): Define as weak alias of
2805         __getrlimit64.  Use libc_hidden_weak.
2806         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
2807         using __getrlimit64 not __new_getrlimit64.
2808         (__GI_getrlimit64): Likewise.
2809         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
2810         Likewise.
2811         (__GI_getrlimit64): Likewise.
2812         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
2813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
2814         (getrlimit): Add __getrlimit64 alias.
2815         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
2816         Likewise.
2817         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
2818         Remove variable.
2819         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2820         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2822 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
2824         * libio/fileops.c: Add missing sys/mman.h
2825         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
2827 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
2829         * manual/math.texi (Errors in Math Functions): Clarify goals
2830         regarding inexact and underflow exceptions.
2832 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
2834         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
2835         * sysdeps/mips/memset.S: Ditto.
2837 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
2839         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
2841 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2843         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
2844         (__v1longjmp): Remove versioned symbol.
2845         (__v1siglongjmp): Remove alias and versioned symbol.
2846         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
2847         (__v2siglongjmp): Likewise.
2849 2015-02-16  Torvald Riegel  <triegel@redhat.com>
2851         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
2853 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
2855         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
2857 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
2859         [BZ #17987]
2860         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
2861         zero result does not depend on the sign resulting from
2862         subtraction.
2863         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2864         Likewise.
2865         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2866         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2867         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2868         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2869         * math/libm-test.inc (remquo_test_data): Add more tests.
2871 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
2873         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
2874         Problem reported by J William Piggott.
2876 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
2878         [BZ #17978]
2879         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
2880         products 4 * y and 2 * y where those would overflow.
2881         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2882         Likewise.
2883         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2884         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2885         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2886         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2887         * math/libm-test.inc (remquo_test_data): Add more tests.
2889         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
2891         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
2892         [defined _COMPILING_NEWLIB].
2893         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
2894         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
2896         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
2897         [!defined __mips_isa_rev || __mips_isa_rev < 6].
2899 2015-02-16  Torvald Riegel  <triegel@redhat.com>
2901         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
2902         acquired.
2904 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
2906         [BZ #17792]
2907         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
2908         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
2909         HOST_STACK_END_ADDR): Likewise.
2911 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
2913         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
2914         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
2915         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
2917 2015-02-13  Roland McGrath  <roland@hack.frob.com>
2919         * sysdeps/generic/c++-types.data: New file.
2920         * sysdeps/generic/ld.abilist: New file.
2921         * sysdeps/generic/libBrokenLocale.abilist: New file.
2922         * sysdeps/generic/libanl.abilist: New file.
2923         * sysdeps/generic/libc.abilist: New file.
2924         * sysdeps/generic/libcrypt.abilist: New file.
2925         * sysdeps/generic/libdl.abilist: New file.
2926         * sysdeps/generic/libm.abilist: New file.
2927         * sysdeps/generic/libpthread.abilist: New file.
2928         * sysdeps/generic/libresolv.abilist: New file.
2929         * sysdeps/generic/librt.abilist: New file.
2931 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
2933         [BZ #17569]
2934         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2935         Compute absolute value of x as modified by fmod, not original
2936         value of x.
2937         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
2938         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
2939         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
2940         RUN_TEST_ffI_f1_mod8.
2941         (remquo_test_data): Add more tests.
2943 2015-02-13  Roland McGrath  <roland@hack.frob.com>
2945         * sysdeps/init_array/pt-crti.S: New file.
2947 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
2949         [BZ #17967]
2950         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
2951         __builtin_fmaf instead of relying on contraction of a * b + c.
2953 2015-02-12  J William Piggott  <elseifthen@gmx.com>
2955         [BZ #17969]
2956         * manual/time.texi: correct the zoneinfo path in the TZ Variable
2957         node.
2959 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
2961         [BZ #17964]
2962         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
2963         __builtin_fma instead of relying on contraction of a * b + c.
2965 2015-02-12  Roland McGrath  <roland@hack.frob.com>
2967         * Makeconfig (ASFLAGS): Add -Werror=undef.
2968         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
2969         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
2970         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
2972         * Makeconfig (after-link): New variable.
2973         (+link-pie, +link-pie-tests): Use it.
2974         (+link-static, +link-static-tests): Likewise.
2975         (+link, +link-tests): Likewise.
2976         * Makerules (build-module, build-module-asneeded): Likewise.
2977         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
2978         Likewise.
2979         * elf/Makefile ($(objpfx)ld.so): Likewise.
2981 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
2983         [BZ #17965]
2984         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
2985         both struct timeval and struct timespec.
2987 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
2989         [BZ #16560]
2990         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2991         and redefine.
2992         (__ieee754_exp2l): Do not multiply small fractional parts by
2993         M_LN2l.
2994         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
2995         small argument.
2996         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2997         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2998         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
2999         * math/auto-libm-test-in: Add more tests of exp2.
3000         * math/auto-libm-test-out: Regenerated.
3002 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3004         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
3005         unaligned path.
3007 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3009         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
3010         little endian.
3012 2015-02-12  Andreas Schwab  <schwab@suse.de>
3014         [BZ #15790]
3015         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3016         Filter out elision flags from value returned in kind.
3017         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
3018         * nptl/tst-pthread-mutexattr.c: New file.
3020 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3022         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
3023         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
3024         into gnu-gnu, and update comment to refer to abi-tags.
3026 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
3028         [BZ #15467]
3029         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
3030         (__sincos): Set errno to EDOM for infinite argument.
3031         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
3032         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
3033         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
3034         (__sincosl): Set errno to EDOM for infinite argument.
3035         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
3036         (__sincosl): Set errno to EDOM for infinite argument.
3037         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
3038         (__sincosl): Set errno to EDOM for infinite argument.
3039         * math/libm-test.inc (sincos_test_data): Test errno setting.
3041 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
3043         * string/strxfrm_l.c: Remove #define STRCMP.
3044         * string/strcoll_l.c: Remove #define STRLEN.
3045         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
3046         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
3048 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
3050         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
3051         * sysdeps/mips/mips32/sfp-machine.h: ... here.
3052         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
3053         * sysdeps/mips/mips64/Makefile: ... here.
3054         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
3055         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
3056         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
3057         * sysdeps/mips/mips64/sfp-machine.h: ... here.
3058         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
3059         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
3060         * sysdeps/mips/mips64/n64/Implies: Likewise.
3062 2015-02-10  Roland McGrath  <roland@hack.frob.com>
3064         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
3065         <sys/time.h>, <string.h>, and <errno.h>.
3066         (dest_offset, dest_address, value, zero): Remove unused variables.
3067         (ldouble): Remove typedef.
3068         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
3069         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
3070         1).  Fix code style.
3071         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
3072         (check): Function removed.
3073         (CHECK): New macro.
3074         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
3075         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
3076         Don't call set_sigaction_FP and remove_sigaction_FP here.
3077         (ldouble_test): Just use 'long double' as macro argument, no need for
3078         the 'ldouble' typedef.
3079         (do_test): Set up SIGFPE handler at start, using plain signal rather
3080         than sigaction.  Fix code style.
3082 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
3084         [BZ #17949]
3085         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
3086         jump label.
3088 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3090         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
3091         * sysdeps/powerpc/powerpc32/configure: Regenerated.
3093         * sysdeps/powerpc/configure.ac: Remove file.
3094         * sysdeps/powerpc/configure: Likewise.
3096         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3097         [sysdep_routines]: Remove wordcopy-power6 object.
3098         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3099         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
3100         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
3101         (__memmove_ppc32): Likewise.
3102         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
3103         file.
3104         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
3105         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
3106         Remove preprocessor.
3108         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3109         [sysdep_routines]: Remove wide chars objects.
3110         [wcsmbs]: New rule for wide char objects.
3112         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3113         Remove wordcopy-power6 obejct.
3114         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
3115         Use local call for wordcopy and memcpy symbols.
3116         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
3117         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
3118         implementation for loader.
3119         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
3121         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3122         Remove wordcopy-power7 object.
3123         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
3124         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
3125         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
3126         (_wordcopy_fwd_dest_aligned): Likewise.
3127         (_wordcopy_bwd_aligned): Likewise.
3128         (_wordcopy_bwd_dest_aligned): Likewise.
3130         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
3131         Rewrite to call __memmove_ppc instead of include default
3132         implementation.
3134         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3135         Remove wide chars objects.
3136         [wcsmbs]: New rule for wide char objects.
3138 2015-02-09  Andreas Schwab  <schwab@suse.de>
3140         [BZ #17912]
3141         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3142         in terms of __O_DIRECTORY.
3144 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3146         * time/getdate.c: Include <stdbool.h>.
3147         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
3148         call PTR_MANGLE.
3149         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
3150         PTR_DEMANGLE.
3152 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
3154         Add ersatz _Static_assert on older C hosts
3155         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
3156         pre-C11 C platform that is not known to support _Static_assert.
3158 2015-02-07  Richard Braun  <rbraun@sceen.net>
3160         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
3161         sigstate.
3162         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
3164 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3166         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
3167         priority against unexistent AIO_PRIO_DELTA_MAX.
3168         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
3169         instead of int.
3170         * misc/fchflags.c (fchflags): Likewise.
3171         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3172         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3173         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
3174         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
3175         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
3176         Declare macros.
3177         [__USE_MISC] (chflags, fchflags): Declare functions.
3178         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
3179         EINVAL when nfds is greater than FD_SETSIZE.
3180         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
3181         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
3182         45.
3183         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
3184         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
3185         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
3186         MACH_RCV_TIMED_OUT.
3187         * hurd/hurd/signal.h (_hurd_self_sigstate,
3188         _hurd_critical_section_lock, _hurd_critical_section_unlock):
3189         Explicit casts from void *.
3190         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
3191         * abi-tags: Rename gnu-gnu os into gnu.
3193         [BZ #4719]
3194         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
3195         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
3196         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
3197         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
3198         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
3199         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
3201         [BZ #17944]
3202         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
3203         duplicates ADDR->sun_path with sockaddr LEN limitation.
3204         * sysdeps/mach/hurd/connect.c: Include <string.h>
3205         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
3206         * sysdeps/mach/hurd/sendmsg.c: Likewise.
3207         * sysdeps/mach/hurd/sendto.c: Likewise.
3208         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
3209         implementing it by hand.
3211 2015-02-06  Roland McGrath  <roland@hack.frob.com>
3213         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
3214         Use sfi_breg on ldr.
3215         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
3216         Likewise.
3218         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
3219         it's defined.
3220         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
3221         Test SIGSETXID only if it's defined.
3223         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
3225         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
3226         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
3228         * nptl/tst-align2.c: Moved ...
3229         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
3230         * nptl/Makefile (tests): Remove tst-align2.
3231         * sysdeps/unix/sysv/linux/Makefile
3232         [$(subdir) = nptl] (tests): Add tst-align-clone.
3233         * nptl/tst-getpid1.c: Moved ...
3234         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
3235         * nptl/tst-getpid2.c: Moved ...
3236         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
3237         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
3238         * sysdeps/unix/sysv/linux/Makefile
3239         [$(subdir) = nptl] (tests): ... here.
3240         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
3241         * sysdeps/unix/sysv/linux/Makefile
3242         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
3244         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
3245         Drop trailing \n from perror argument.  Use return rather than exit.
3247         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
3248         on [SA_SIGINFO].
3249         * nptl/tst-cancel21.c (do_test): Likewise.
3250         * debug/tst-backtrace6.c: Include <signal.h> first thing.
3251         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
3252         [!SA_SIGINFO]: Make it a stub test.
3254         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
3255         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
3257         * posix/tst-getlogin.c: Move to ...
3258         * login/tst-getlogin.c: ... here.
3259         * posix/Makefile (tests): Move tst-getlogin to ...
3260         * login/Makefile (tests): ... here.
3262         * libio/tst-atime.c (do_test): Move local variables SV and E
3263         inside [ST_NOATIME] conditional.
3265         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
3267         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
3269         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
3270         (wait_code): New function replaces macro.
3271         Call nanosleep rather than syscall.
3273         * nptl/pt-system.c: Rewritten.  Put everything under
3274         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3275         Use IFUNC to redirect when possible.
3277         * nptl/pt-longjmp.c: Rewritten.  Put everything under
3278         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3279         Use IFUNC to redirect when possible.
3281         * nptl/pt-fork.c: Rewritten.  Put everything under
3282         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3283         Use IFUNC to redirect when possible.
3284         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
3286         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
3287         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
3288         unconditionally nowadays.  This included the only reference to
3289         __vdso_clock_gettime that appears outside libc proper.
3290         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
3291         Remove version set (containing only __vdso_clock_gettime).
3292         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3293         Add attribute_hidden.
3294         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3295         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
3296         libc_hidden_data_def.
3297         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3298         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3300         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
3301         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
3302         setrpcent, and getrpcport to ...
3303         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
3304         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
3305         getrpcbynumber_r, and getrpcent_r to ...
3306         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
3307         * inet/getrpcbyname.c: Moved ...
3308         * sunrpc/getrpcbyname.c: ... here.
3309         * inet/getrpcbyname_r.c: Moved ...
3310         * sunrpc/getrpcbyname_r.c: ... here.
3311         * inet/getrpcbynumber.c: Moved ...
3312         * sunrpc/getrpcbynumber.c: ... here.
3313         * inet/getrpcbynumber_r.c: Moved ...
3314         * sunrpc/getrpcbynumber_r.c: ... here.
3315         * inet/getrpcent.c: Moved ...
3316         * sunrpc/getrpcent.c: ... here.
3317         * inet/getrpcent_r.c: Moved ...
3318         * sunrpc/getrpcent_r.c: ... here.
3319         * inet/Makefile (routines): Move those to ...
3320         * sunrpc/Makefile (routines): ... here.
3321         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
3322         the $(subdirs) list.
3323         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
3324         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
3325         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
3326         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
3328         * elf/Makefile (routines): Include $(all-dl-routines), not just
3329         $(dl-routines).
3330         (rtld-routines): Likewise.  Use = rather than :=.
3331         * sysdeps/aarch64/Makefile [$(subdir) = elf]
3332         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
3333         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
3334         * sysdeps/arm/Makefile: Likewise.
3335         * sysdeps/i386/Makefile: Likewise.
3336         * sysdeps/x86_64/Makefile: Likewise.
3337         * sysdeps/hppa/Makefile [$(subdir) = elf]
3338         (sysdep_routines, sysdep-rtld-routines): Don't add
3339         $(sysdep-dl-routines) to these.
3340         * sysdeps/ia64/Makefile: Likewise.
3341         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
3342         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
3343         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
3344         Don't add dl-static to these; sysdep-dl-routines alone is enough.
3345         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3346         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
3347         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
3348         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
3349         * sysdeps/powerpc/Makefile [$(subdir) = elf]
3350         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
3351         these; sysdep-dl-routines alone is enough.
3353 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
3355         [BZ #17932]
3356         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
3357         where multiplication results in zero and third argument is finite
3358         and nonzero.
3359         * math/auto-libm-test-in: Add more tests of fma.
3360         * math/auto-libm-test-out: Regenerated.
3362         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
3363         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
3364         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
3365         (_FP_CMP_EQ): Likewise.
3366         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
3368         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
3369         extra argument CHECK_NAN.  Redefine as wrapper around
3370         _FP_EXTEND_CNAN.
3372 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
3374         * version.h (RELEASE): Set to "stable".
3375         (VERSION): Set to "2.21"
3376         * include/features.h (__GLIBC_MINOR__): Set to 21.
3378         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
3380 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3381             Paul Eggert  <eggert@cs.ucla.edu>
3383         [BZ #16618]
3384         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
3385         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
3386         size in bytes. Store needed elements in wpmax. Use needed size
3387         in bytes for extend_alloca.
3389 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
3391         * manual/install.texi: Latest tested versions are GCC 4.9.2,
3392         binutls 2.25, and texinfo 5.2.
3393         * INSTALL: Regenerate.
3394         * sysdeps/nios2/configure: Regenerate.
3395         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
3396         * manual/contrib.texi: Update.
3397         * po/be.po: Update.
3398         * po/bg.po: Update.
3399         * po/ca.po: Update.
3400         * po/cs.po: Update.
3401         * po/da.po: Update.
3402         * po/de.po: Update.
3403         * po/el.po: Update.
3404         * po/eo.po: Update.
3405         * po/es.po: Update.
3406         * po/fi.po: Update.
3407         * po/fr.po: Update.
3408         * po/gl.po: Update.
3409         * po/hr.po: Update.
3410         * po/hu.po: Update.
3411         * po/ia.po: Update.
3412         * po/id.po: Update.
3413         * po/it.po: Update.
3414         * po/ja.po: Update.
3415         * po/ko.po: Update.
3416         * po/lt.po: Update.
3417         * po/nb.po: Update.
3418         * po/nl.po: Update.
3419         * po/pl.po: Update.
3420         * po/pt_BR.po: Update.
3421         * po/ru.po: Update.
3422         * po/rw.po: Update.
3423         * po/sk.po: Update.
3424         * po/sl.po: Update.
3425         * po/sv.po: Update.
3426         * po/tr.po: Update.
3427         * po/uk.po: Update.
3428         * po/vi.po: Update.
3429         * po/zh_CN.po: Update.
3430         * po/zh_TW.po: Update.
3432         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
3433         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
3434         * sysdeps/hppa/dl-irel.h: Remove #warning.
3435         * sysdeps/hppa/entry.h: Provide prototype for
3436         __canonicalize_funcptr_for_compare and cast argument.
3437         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
3438         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
3439         * sysdeps/hppa/sotruss-lib.c: New file.
3440         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
3441         (atomic_compare_and_exchange_val_acq): Use __typeof__.
3442         (atomic_compare_and_exchange_bool_acq): Likewise.
3443         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
3444         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
3446         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
3447         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
3448         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
3450 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
3452         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
3453         called function in non-PIC case.
3455 2015-01-31  David S. Miller  <davem@davemloft.net>
3457         * sysdeps/sparc/sparc32/bits/atomic.h
3458         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
3459         unlock not after it.
3460         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
3461         volatile register usage warnings from the compiler.
3463         * sysdeps/sparc/nptl/sem_init.c: Delete.
3464         * sysdeps/sparc/nptl/sem_post.c: Delete.
3465         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
3466         * sysdeps/sparc/nptl/sem_wait.c: Delete.
3467         * sysdeps/sparc/sparc32/sem_init.c: New file.
3468         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
3469         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
3470         padding explicitly initialized.
3471         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
3472         padding for in-semaphore spinlock.
3473         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
3474         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
3475         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
3476         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
3477         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
3478         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
3479         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
3480         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
3481         version.
3482         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
3483         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
3485 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
3487         [BZ #17801]
3488         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3489         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
3490         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
3491         New.
3492         (index_AVX_Fast_Unaligned_Load): Likewise.
3493         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
3494         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
3495         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
3496         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
3497         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
3498         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
3499         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
3500         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
3501         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
3503 2015-01-29  Andreas Schwab  <schwab@suse.de>
3505         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
3507 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
3509         [BZ #17892]
3510         * nscd/nscd_stat.c (send_stats): Initialize DATA.
3512 2015-01-28  Martin Sebor  <msebor@redhat.com>
3514         * math/README.libm-test: Clarify. Add "How to read the test output."
3516 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
3518         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
3519         Define to 0.
3521 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
3523         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
3524         (__HAVE_64B_ATOMICS): Define to 0.
3526 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3528         [BZ #17885]
3529         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
3530         value to set as new flag.
3532         [BZ #16576]
3533         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
3534         and use _ARCH_PPCSQ instead.
3535         (__ieee754_sqrt): Likewise.
3536         (__ieee754_sqrtf): Likewise.
3537         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
3538         _ARCH_PPCSQ is defined.
3539         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
3540         fsqrt instruction.
3541         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
3542         _ARCH_PPCSQ is defined.
3543         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
3544         fsqrts instruction.
3545         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
3547 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3549         * iconv/loop.c: Suppress array out of bound warning caused by GCC
3550         bug (GCC BZ #64739).
3552 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
3554         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
3555         Mark _retval as used.
3556         (lll_futex_wake_unlock): Likewise.
3557         (lll_futex_timed_wait_requeue_pi): Likewise.
3559         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3560         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
3561         register variables.
3563         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
3564         libm_hidden_def.
3566         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
3567         (__bswap_64): Mark as __always_inline.
3569 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
3571         [BZ #15378]
3572         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
3573         when none of the search directories exist.
3575 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3577         [BZ #17869]
3578         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
3579         power8 in .machine directive.
3581         [BZ #17868]
3582         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
3583         set dependency from opd value.
3585 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
3587         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3588         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
3589         architecture.
3591 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
3593         [BZ #17870]
3594         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
3595         with uint64_t.
3596         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
3597         (uint64_t) 1.
3598         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
3599         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
3600         Replace 1UL with (uint64_t) 1.
3601         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
3602         int with uint64_t.
3604 2015-01-23  Roland McGrath  <roland@hack.frob.com>
3606         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
3607         (if_freenameindex): Likewise.
3609         * resource/getrlimit64.c: Add missing libc_hidden_def.
3611 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
3613         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
3614         __label__.
3615         (_FP_FMA): Likewise.
3616         (_FP_TO_INT_ROUND): Likewise.
3617         (_FP_FROM_INT): Likewise.
3619 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3621         [BZ #16418]
3622         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3623         Make code racy and cancel safe.
3625 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
3627         * sysdeps/arm/unwind-resume.h: Fix copyright year.
3628         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
3629         attribution.
3631         * pwd/tst-getpw.c: Rewrite.
3633         [BZ #17702]
3634         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
3635         (modules-names): Add moddummy1 and moddummy2.
3636         ($(objpfx)tst-rec-dlopen): Define.
3637         * dlfcn/moddummy1.c: New file.
3638         * dlfcn/moddummy2.c: New file.
3639         * dlfcn/tst-rec-dlopen.c: New file.
3640         * elf/dl-cache.c (_dl_load_cache_lookup):
3641         Return char*. Copy result with alloca/strcpy/strdup.
3642         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
3643         returns char*. Free cached. If not saving realname
3644         free cached.
3645         * elf/dl-open.c (dl_open_worker): Do not assert that
3646         _r_debug->r_state is RT_CONSISTENT.
3647         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
3648         returns char*.
3650 2015-01-21  Torvald Riegel  <triegel@redhat.com>
3651             Carlos O'Donell  <carlos@redhat.com>
3653         [BZ #12674]
3654         * nptl/sem_waitcommon.c: New file.
3655         * nptl/sem_wait.c: Include sem_waitcommon.c.
3656         (__sem_wait_cleanup, do_futex_wait): Remove.
3657         (__new_sem_wait): Adapt.
3658         (__new_sem_trywait): New function.
3659         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
3660         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
3661         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
3662         (sem_timedwait): Adapt.
3663         * nptl/sem_post.c (__new_sem_post): Adapt.
3664         (futex_wake): New function.
3665         (__old_sem_post): Add release MO fence.
3666         * nptl/sem_open.c (sem_open): Adapt.
3667         * nptl/sem_init.c (__new_sem_init): Adapt.
3668         (futex_private_if_supported): New function.
3669         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
3670         (__old_sem_getvalue): Add using previous code.
3671         * sysdeps/nptl/internaltypes.h: Adapt.
3672         * nptl/tst-sem13.c (do_test): Adapt.
3673         * nptl/tst-sem11.c (main): Adapt.
3674         * nptl/sem_trywait.c: Remove.
3675         * nptl/DESIGN-sem.txt: Remove.
3676         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
3677         (gen-as-const-headers): Remove structsem.sym.
3678         * nptl/structsem.sym: Remove.
3679         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
3680         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
3681         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
3682         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
3683         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
3684         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
3685         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
3686         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
3687         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
3688         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
3689         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
3690         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
3691         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
3692         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
3693         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
3694         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
3695         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
3696         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
3697         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
3698         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
3699         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
3700         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
3702 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
3704         * INSTALL: Regenerated.
3706         * po/libc.pot: Regenerated.
3708 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
3709             Sandra Loosemore  <sandra@codesourcery.com>
3710             Andrew Jenner  <andrew@codesourcery.com>
3711             Joseph Myers  <joseph@codesourcery.com>
3712             Nathan Sidwell  <nathan@codesourcery.com>
3714         * NEWS: Mention new Nios II port.
3715         * sysdeps/nios2/Implies: New file.
3716         * sysdeps/nios2/Makefile: New file.
3717         * sysdeps/nios2/Subdirs: New file.
3718         * sysdeps/nios2/Versions: New file.
3719         * sysdeps/nios2/__longjmp.S: New file.
3720         * sysdeps/nios2/abort-instr.h: New file.
3721         * sysdeps/nios2/backtrace.c: New file.
3722         * sysdeps/nios2/bits/endian.h: New file.
3723         * sysdeps/nios2/bits/fenv.h: New file.
3724         * sysdeps/nios2/bits/link.h: New file.
3725         * sysdeps/nios2/bits/setjmp.h: New file.
3726         * sysdeps/nios2/bsd-_setjmp.S: New file.
3727         * sysdeps/nios2/bsd-setjmp.S: New file.
3728         * sysdeps/nios2/configure: New generated file.
3729         * sysdeps/nios2/configure.ac: New file.
3730         * sysdeps/nios2/crti.S: New file.
3731         * sysdeps/nios2/crtn.S: New file.
3732         * sysdeps/nios2/dl-init.c: New file.
3733         * sysdeps/nios2/dl-machine.h: New file.
3734         * sysdeps/nios2/dl-sysdep.h: New file.
3735         * sysdeps/nios2/dl-tls.h: New file.
3736         * sysdeps/nios2/dl-trampoline.S: New file.
3737         * sysdeps/nios2/gccframe.h: New file.
3738         * sysdeps/nios2/gmp-mparam.h: New file.
3739         * sysdeps/nios2/jmpbuf-offsets.h: New file.
3740         * sysdeps/nios2/jmpbuf-unwind.h: New file.
3741         * sysdeps/nios2/ldsodefs.h: New file.
3742         * sysdeps/nios2/libc-tls.c: New file.
3743         * sysdeps/nios2/libm-test-ulps: New file.
3744         * sysdeps/nios2/machine-gmon.h: New file.
3745         * sysdeps/nios2/math-tests.h: New file.
3746         * sysdeps/nios2/math_private.h: New file.
3747         * sysdeps/nios2/memusage.h: New file.
3748         * sysdeps/nios2/nptl/Makefile: New file.
3749         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
3750         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
3751         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
3752         * sysdeps/nios2/nptl/pthreaddef.h: New file.
3753         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
3754         * sysdeps/nios2/nptl/tls.h: New file.
3755         * sysdeps/nios2/preconfigure: New file.
3756         * sysdeps/nios2/s_fma.c: New file.
3757         * sysdeps/nios2/s_fmaf.c: New file.
3758         * sysdeps/nios2/setjmp.S: New file.
3759         * sysdeps/nios2/sfp-machine.h: New file.
3760         * sysdeps/nios2/sotruss-lib.c: New file.
3761         * sysdeps/nios2/stackguard-macros.h: New file.
3762         * sysdeps/nios2/stackinfo.h: New file.
3763         * sysdeps/nios2/start.S: New file.
3764         * sysdeps/nios2/sysdep.h: New file.
3765         * sysdeps/nios2/tls-macros.h: New file.
3766         * sysdeps/nios2/tst-audit.h: New file.
3767         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
3768         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
3769         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
3770         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
3771         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
3772         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
3773         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
3774         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
3775         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
3776         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
3777         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
3778         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
3779         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
3780         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
3781         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
3782         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
3783         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
3784         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
3785         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
3786         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
3787         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
3788         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
3789         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
3790         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
3791         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
3792         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
3793         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
3794         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
3795         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
3796         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
3797         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
3798         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
3799         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
3800         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
3801         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
3802         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
3803         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
3804         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
3805         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
3806         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
3807         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
3808         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
3809         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
3810         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
3812 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3814         [BZ #17844]
3815         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
3816         (getutent): Use weak_alias in non SHARED case
3817         and default_symbol_version in SHARED case.
3818         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
3819         (getutent_r, pututline): Likewise.
3820         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
3821         (getutid): Likewise.
3822         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
3823         (getutid_r): Likewise.
3824         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
3825         (getutline): Likewise.
3826         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
3827         (getutline_r): Likewise.
3828         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
3829         (updwtmp): Likewise.
3831 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3833         [BZ #17848]
3834         * sysdeps/s390/s390-32/memcmp.S
3835         (memcmp_g5): Rename to __memcmp_g5.
3836         * sysdeps/s390/s390-32/memcpy.S
3837         (memcpy_g5): Rename to __memcpy_g5.
3838         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3839         (memcpy_mvcle) Rename to __memcpy_mvcle.
3840         * sysdeps/s390/s390-32/memset.S
3841         (memset_g5): Rename to __memset_g5.
3842         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3843         (IFUNC_RESOLVE): Prefix ifunc-resolve function
3844         and use prefixed functions.
3845         * sysdeps/s390/s390-32/multiarch/memcmp.S
3846         (memcmp_z196): Rename to __memcmp_z196.
3847         (memcmp_z10): Rename to __memcmp_z10.
3848         (memcmp): Set alias to __memcmp_g5.
3849         (bcmp): Set alias to __memcmp_g5.
3850         * sysdeps/s390/s390-32/multiarch/memcpy.S
3851         (memcpy_z196): Rename to __memcpy_z196.
3852         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3853         (memcpy_z10): Rename to __memcpy_z10.
3854         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3855         (memcpy): Set alias to __memcpy_g5.
3856         * sysdeps/s390/s390-32/multiarch/memset.S
3857         (memset_z196): Rename to __memset_z196.
3858         Jump to __memset_mvcle instead of memset_mvcle.
3859         (memset_z10): Rename to __memset_z10.
3860         Jump to __memset_mvcle instead of memset_mvcle.
3861         (memset_mvcle) Rename to __memset_mvcle.
3862         (memset): Set alias to __memset_g5.
3863         * sysdeps/s390/s390-64/memcmp.S
3864         (memcmp_z900): Rename to __memcmp_z900.
3865         * sysdeps/s390/s390-64/memcpy.S
3866         (memcpy_z900): Rename to __memcpy_z900.
3867         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3868         (memcpy_mvcle) Rename to __memcpy_mvcle.
3869         * sysdeps/s390/s390-64/memset.S
3870         (memset_z900): Rename to __memset_z900.
3871         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
3872         (IFUNC_RESOLVE): Prefix ifunc-resolve function
3873         and use prefixed functions.
3874         * sysdeps/s390/s390-64/multiarch/memcmp.S
3875         (memcmp_z196): Rename to __memcmp_z196.
3876         (memcmp_z10): Rename to __memcmp_z10.
3877         (memcmp): Set alias to __memcmp_z900.
3878         (bcmp): Set alias to __memcmp_z900.
3879         * sysdeps/s390/s390-64/multiarch/memcpy.S
3880         (memcpy_z196): Rename to __memcpy_z196.
3881         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3882         (memcpy_z10): Rename to __memcpy_z10.
3883         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3884         (memcpy): Set alias to __memcpy_z900.
3885         * sysdeps/s390/s390-64/multiarch/memset.S
3886         (memset_z196): Rename to __memset_z196.
3887         Jump to __memset_mvcle instead of memset_mvcle.
3888         (memset_z10): Rename to __memset_z10.
3889         Jump to __memset_mvcle instead of memset_mvcle.
3890         (memset_mvcle) Rename to __memset_mvcle.
3891         (memset): Set alias to __memset_z900.
3893 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
3895         [BZ #17748]
3896         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
3897         __fesetenv instead of fesetenv.
3899 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3901         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
3902         macro.
3904 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3906         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
3907         regression on LE.
3909         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
3910         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
3911         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3912         strncmp-power8 object.
3913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3914         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
3915         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
3916         * NEWS: Update.
3918 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3919             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3921         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
3922         trailing byte check.
3924 2015-01-13  David S. Miller  <davem@davemloft.net>
3926         * include/signal.h (__sigreturn): Guard with __USE_MISC.
3928 2015-01-13  Roland McGrath  <roland@hack.frob.com>
3930         * login/logout.c (logout): Use memset rather than bzero.
3931         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
3932         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
3933         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
3934         (_gethtbyaddr): Likewise.
3935         * locale/programs/simple-hash.c (bcopy): Macro removed.
3937 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3939         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3940         Add strcmp-power8 object.
3941         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3942         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
3943         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
3944         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
3945         __strcmp_power8 implementation.
3946         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
3947         * NEWS: Update.
3949         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3950         Add strncpy-power8 and stpncpy-power8 objects.
3951         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3952         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
3953         implementations.
3954         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
3955         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
3956         __stpncpy_power8 implementation.
3957         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
3958         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
3959         __strncpy_power8 implementation.
3960         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
3961         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
3962         * NEWS: Update.
3964         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
3965         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
3966         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
3968         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3969         strncat-power8 object.
3970         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
3971         __strcat_power8 implementation.
3972         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3973         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
3974         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
3975         optimized strcat for power8.
3977         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3978         strcpy-power8 and stpcpy-power8 objects.
3979         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3980         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
3981         implementations.
3982         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
3983         multiarch stpcpy implementation for POWER8.
3984         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
3985         multiarch strcpy implementation for POWER8.
3986         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
3987         __strcpy_power8 function.
3988         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
3989         stpcpy for POWER8.
3990         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
3991         strcpy for POWER8.
3992         * NEWS: Update.
3994 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
3996         [BZ #16009]
3997         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
3998         weights and rules. Use do_xfrm_cached if data fits in cache,
3999         do_xfrm otherwise.  Moved former main loop to...
4000         * (do_xfrm_cached): New function.
4001         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
4002         find_idx, find_position and stack_push.
4003         * (find_idx): New function.
4004         * (find_position): Likewise.
4005         * localedata/sort-test.sh: Added test run for do_xfrm.
4006         * localedata/xfrm-test.c (main): Added command line option
4007         -nocache to run the test with strings that are too large for
4008         the STRXFRM cache.
4010 2015-01-13  Torvald Riegel  <triegel@redhat.com>
4012         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
4013         variable to lll_futex_wake call, not the value itself.
4015 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
4017         [BZ #17803]
4018         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
4019         twom64.  Adjust value to 0x1p-64L.
4020         (__scalblnl): Only return standard underflowing result for K <=
4021         -64 not K <= -63; adjust exponent for underflowing result by 64
4022         not 63.
4023         * math/libm-test.inc (scalbn_test_data): Add more tests.
4024         (scalbln_test_data): Likewise.
4026         [BZ #17834]
4027         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
4028         0x1p63L.
4029         (__scalblnl): Get new exponent of adjusted subnormal value from ES
4030         not HX.
4031         * math/libm-test.inc (scalbn_test_data): Add more tests.
4032         (scalbln_test_data): Likewise.
4034 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4035             Stefani Seibold  <stefani@seibold.net>
4037         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
4038         (sysdep_routines): Add dl-vdso here, ...
4039         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
4040         (sysdep_routines): ... not here.
4041         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
4042         fallback when vDSO is not presented.
4043         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4044         Define with libc_hidden_proto/libc_hidden_data_def definitions.
4045         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
4046         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
4047         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
4048         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
4049         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
4050         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
4051         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
4052         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
4053         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
4054         fallback configurable symbol when vDSO is not available.
4055         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
4056         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
4057         be able to redefine fallback symbol when vDSO is not available.
4058         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
4059         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
4061 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4063         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
4064         (TLS_INIT_TP): Add tm_capable initialization.
4065         (TLS_DEFINE_INIT_TP): Likewise.
4066         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
4067         TCB.
4068         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
4069         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
4070         calculation.
4071         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
4072         transactoion is lock elision is built and TCB tm_capable is set.
4073         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
4074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4075         (INTERNAL_SYSCALL_NCS): Likewise.
4076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4077         (INTERNAL_SYSCALL_NCS): Likewise.
4078         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
4080         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
4081         for powerpc.
4082         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4083         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
4084         and remove it for 32 bits case.
4085         [pthread_rwlock_t] (__rwelision): New field for lock elision.
4086         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
4087         initialization.
4088         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
4089         Disable lock elision with rdlocks if elision is not available.
4091         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
4092         (sysdep_routines): Add lock elision objects.
4093         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4094         [pthread_mutex_t] (__spins): Rework to add lock elision field.
4095         [pthread_mutex_t] (__elision): Add field.
4096         [__PTHREAD_SPINS]: Adjust to init lock elision field.
4097         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
4098         elision definitions for powerpc.
4099         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
4100         implementation of lock elision for powerpc.
4101         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
4102         implementation of timed lock elision for powerpc.
4103         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
4104         implementation of trylock with lock elision for powerpc.
4105         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
4106         implementaion of unlock for lock elision for powerpc.
4107         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
4108         automatic enable lock elision for mutexes.
4109         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
4110         transaction execution definitions for powerpc.
4111         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
4112         definitions.
4113         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
4114         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
4115         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
4116         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
4117         * NEWS: Update.
4119 2015-01-09  Roland McGrath  <roland@hack.frob.com>
4121         * sysdeps/posix/shm-directory.c: Use <> rather than ""
4122         for #include of <shm-directory.h>.
4124 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
4126         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
4127         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
4129 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
4131         [BZ #17791]
4132         * NEWS: Mention bug fix.
4133         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
4134         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
4135         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
4137 2015-01-09  Torvald Riegel <triegel@redhat.com>
4139         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
4141 2015-01-09  Torvald Riegel <triegel@redhat.com>
4143         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
4145 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
4147         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
4148         pointer and cast to uintptr_t.
4150 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
4152         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
4153         removed.
4154         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
4156 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
4158         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
4159         of 0.
4161 2015-01-08  Roland McGrath  <roland@hack.frob.com>
4163         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
4164         <nptl/pthreadP.h> instead.
4165         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
4167         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
4168         already defined.
4169         [__SIGRTMIN] (init): Function removed.
4170         [__SIGRTMIN] (initialized): Variable removed.
4171         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
4172         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
4173         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
4174         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
4175         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
4176         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
4177         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
4178         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
4179         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
4180         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
4181         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
4182         * sysdeps/nptl/allocrtsig.c: New file.
4183         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
4184         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
4185         * sysdeps/generic/testrtsig.h: File removed.
4187         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
4188         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
4190         * nptl/nptl-init.c (pthread_functions): Conditionalize
4191         .ptr__nptl_setxid initialization on [SIGSETXID].
4193         * sysdeps/nptl/sys/procfs.h: New file.
4194         * nptl_db/Makefile (headers): Add it.
4195         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
4197         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
4198         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
4199         * nptl/pthread_attr_setaffinity.c: Include it.
4200         * nptl/pthread_setattr_default_np.c: Likewise.
4201         * nptl/check-cpuset.h: New file.
4203 2015-01-08  Richard Henderson  <rth@redhat.com>
4205         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
4206         (CFLAGS-tst-execstack-prog.c): Likewise.
4207         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
4209 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
4210             Sandra Loosemore  <sandra@codesourcery.com>
4211             Andrew Jenner  <andrew@codesourcery.com>
4212             Joseph Myers  <joseph@codesourcery.com>
4213             Nathan Sidwell  <nathan@codesourcery.com>
4215         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
4216         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
4217         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
4218         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
4219         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
4220         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
4221         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
4222         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
4223         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
4224         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
4225         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
4226         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
4227         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
4228         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
4229         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
4230         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
4231         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
4233 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4235         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
4236         timespec struct member in syscall macro.
4237         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4238         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
4239         first timeval struct member in syscall macro.
4240         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
4242 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
4244         [BZ #17748]
4245         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
4246         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
4247         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
4248         __feupdateenv and define as weak alias of __feupdateenv.  Use
4249         libm_hidden_weak.
4250         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
4251         libm_hidden_def.
4252         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
4253         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
4254         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4255         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
4256         libm_hidden_def.
4257         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
4258         __feupdateenv and define as weak alias of __feupdateenv.  Use
4259         libm_hidden_weak.
4260         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
4261         libm_hidden_def.
4262         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
4263         __feupdateenv and define as weak alias of __feupdateenv.  Use
4264         libm_hidden_weak.
4265         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
4266         libm_hidden_def.
4267         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4268         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4269         (__feupdateenv): Likewise.
4270         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
4271         __feupdateenv and define as weak alias of __feupdateenv.  Use
4272         libm_hidden_weak.
4273         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4274         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
4275         libm_hidden_def.
4276         * sysdeps/tile/math_private.h (__feupdateenv): New inline
4277         function.
4278         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
4279         libm_hidden_def.
4280         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
4281         __feupdateenv instead of feupdateenv.
4282         (default_libc_feupdateenv_test): Likewise.
4283         (libc_feresetround_ctx): Likewise.
4285 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4287         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
4288         prototype.
4290 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
4292         * posix/regcomp.c (parse_bracket_exp): Initialize type to
4293         COLL_SYM in a couple of places to avoid uninitialized variable
4294         wanings on tilegx gcc 4.8.2.
4296 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
4298         * sysdeps/aarch64/strcpy.S: New file.
4299         * sysdeps/aarch64/stpcpy.S: New file.
4300         * NEWS: Updated.
4302 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
4304         * sysdeps/aarch64/strrchr.S: New file.
4305         * NEWS: Updated.
4307 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
4309         [BZ #17658]
4310         * stdlib/setenv.c: Fix memory leak when setting large,
4311         duplicate string.
4313 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
4315         [BZ #17273]
4316         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
4317         and tabs from buffer before parsing fstab entry.
4318         * misc/tst-mntent.c (main): Add test for mount entry with
4319         trailing spaces and tabs.
4321 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
4323         [BZ #17748]
4324         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
4325         * math/fesetround.c (fesetround): Rename to __fesetround and
4326         define as weak alias of __fesetround.  Use libm_hidden_weak.
4327         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
4328         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
4329         * sysdeps/arm/fesetround.c (fesetround): Likewise.
4330         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
4331         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
4332         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
4333         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
4334         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
4335         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
4336         __fesetround_inline.
4337         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
4338         __fesetround_inline instead of __fesetround.
4339         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
4340         __fesetround and define as weak alias of __fesetround.  Use
4341         libm_hidden_weak.  Call __fesetround_inline instead of
4342         __fesetround.
4343         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
4344         __fesetround and define as weak alias of __fesetround.  Use
4345         libm_hidden_weak.
4346         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
4347         Likewise.
4348         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
4349         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4350         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
4351         * sysdeps/tile/math_private.h (__fesetround): New inline function.
4352         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
4353         __fesetround and define as weak alias of __fesetround.  Use
4354         libm_hidden_weak.
4355         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
4356         __fesetround instead of fesetround.
4357         (default_libc_feholdexcept_setround): Likewise.
4358         (libc_feholdsetround_ctx): Likewise.
4359         (libc_feholdsetround_noex_ctx): Likewise.
4361         [BZ #17748]
4362         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
4363         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
4364         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4365         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
4366         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4367         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
4368         define as weak alias of __fesetenv.  Use libm_hidden_weak.
4369         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4370         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4371         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4372         define as weak alias of __fesetenv.  Use libm_hidden_weak.
4373         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4374         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4375         define as weak alias of __fesetenv.  Use libm_hidden_weak.
4376         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
4377         libm_hidden_def.
4378         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
4379         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
4380         Likewise.
4381         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4382         define as weak alias of __fesetenv.  Use libm_hidden_weak.
4383         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4384         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4385         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
4386         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4387         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
4388         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
4389         __fesetenv instead of fesetenv.
4390         (libc_feresetround_noex_ctx): Likewise.
4391         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4392         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4393         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
4394         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4395         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4396         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4397         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4398         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4399         (__feupdateenv): Likewise.
4400         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4401         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4402         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4403         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
4405 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
4407         [BZ #17806]
4408         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
4409         addresses have been freed.
4411 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
4413         * resolv/res_init.c (__res_vinit): Improve comments about nserv
4414         and nservall.
4416 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
4418         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
4419         Clean up check_pf allocation pattern. addresses
4421 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4423         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
4424         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
4425         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
4426         * nptl/pthread_exit.c (__pthread_exit): Likewise.
4427         * nptl/pthread_join.c (pthread_join): Likewise.
4428         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
4429         * sysdeps/posix/waitid.c (__waitid): Likewise.
4430         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4431         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4432         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4433         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4434         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4435         Likewise.
4436         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4437         (__libc_pread64): Likewise.
4438         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4439         (__libc_pwrite): Likewise.
4440         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4441         (__libc_pwrite64): Likewsie.
4442         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4443         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4444         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4445         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4446         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4447         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4448         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4450         Likewise.
4451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4452         (__libc_pread64): Likewise.
4453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
4454         Likewise.
4455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4456         (__libc_pwrite64): Likewise.
4457         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4458         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4459         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
4460         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
4461         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4462         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4463         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
4464         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4465         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4466         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4467         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
4468         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4469         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4470         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
4471         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4472         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4473         Likewise.
4475 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
4477         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
4478         (CFLAGS-test-double.c): Likewise.
4479         (CFLAGS-test-ldouble.c): Likewise.
4480         (CPPFLAGS-test-ifloat.c): Likewise.
4481         (CPPFLAGS-test-idouble.c): Likewise.
4482         (CPPFLAGS-test-ildoubl.c): Likewise.
4483         (CFLAGS-test-test-fenv.c): Remove variable.
4484         (CFLAGS-test-misc.c): Likewise.
4486 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
4488         [BZ #17797]
4489         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
4490         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
4491         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
4492         CLOCKS_PER_SEC == 1000000.
4493         * time/clocktest.c (main): Replace %ld with %jd and cast to
4494         intmax_t.
4496 2015-01-05  Roland McGrath  <roland@hack.frob.com>
4498         * sysdeps/generic/unwind-resume.h: New file.
4499         * sysdeps/gnu/unwind-resume.c: Include it.
4500         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
4501         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
4502         argument list.
4503         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
4504         global rather than static.
4505         (_Unwind_Resume): Update user.
4506         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
4507         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
4508         rather than static.  Add __attribute__ ((cold)).
4509         (_Unwind_Resume, __gcc_personality_v0): Update callers.
4510         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
4511         * sysdeps/arm/arm-unwind-resume.S: New file.
4512         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
4513         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
4514         * sysdeps/arm/Makefile [$(subdir) = csu]
4515         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
4516         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4517         Add rt-arm-unwind-resume.
4518         [$(subdir) = nptl]
4519         (libpthread-sysdep_routines, libpthread-shared-only-routines):
4520         Add pt-arm-unwind-resume.
4521         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
4522         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
4524 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
4526         [BZ #17748]
4527         * include/fenv.h (__feholdexcept): Declare.  Use
4528         libm_hidden_proto.
4529         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
4530         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
4531         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4532         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
4533         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
4534         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
4535         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
4536         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4537         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
4538         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
4539         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4540         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
4541         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
4542         (feholdexcept): Likewise.
4543         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4544         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4545         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4546         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4547         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
4548         __feholdexcept instead of feholdexcept.
4549         (default_libc_feholdexcept_setround): Likewise.
4551 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
4553         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
4554         to avoid using stl/str to align destination.
4556 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
4558         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
4560 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
4562         [BZ #17796]
4563         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
4564         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
4565         Define as weak alias not strong alias.
4567 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
4569         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
4570         bltzal with addiupc.
4571         (RTLD_START): Ditto.
4573 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
4575         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
4576         for __vdso_* functions in declarations.
4577         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
4578         definitions.
4579         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
4580         INTERNAL_VSYSCALL): Use struct return types to check for error.
4582         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
4583         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
4584         function with cast from llround().
4585         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
4586         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
4587         Define.
4589 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
4591         [BZ #17793]
4592         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
4593         Define as weak alias not strong alias.
4595         [BZ #17635]
4596         * ctype/ctype-c99.c: New file.  isblank implementation moved from
4597         ...
4598         * ctype/ctype-extn.c: ... here.
4599         (__isblank_l): Move to ...
4600         * ctype/ctype-c99_l.c: ... here.  New file.
4601         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
4602         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
4603         Remove variable.
4604         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4605         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4606         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4607         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4608         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4610         [BZ #17777]
4611         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
4612         (posix_fadvise64): Define as weak alias not strong alias.
4613         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4614         (posix_fallocate64): Likewise.
4615         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
4616         Remove variable.
4617         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4618         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4619         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4620         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4621         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4623 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
4625         [BZ #16191]
4626         * NEWS: Mention bug fix.
4627         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
4628         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
4629         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
4630         (HOST_STACK_END_ADDR): Likewise.
4632 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
4634         [BZ #17748]
4635         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
4636         * math/fegetround.c (fegetround): Rename to __fegetround and
4637         define as weak alias of __fegetround.  Use libm_hidden_weak.
4638         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
4639         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
4640         * sysdeps/arm/fegetround.c (fegetround): Likewise.
4641         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
4642         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4643         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
4644         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
4645         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
4646         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4647         Undefine after rather than before function definition; use
4648         parentheses around function name in definition.
4649         (__fegetround): Also undefine macro after function definition.
4650         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
4651         __fegetround and define as weak alias of __fegetround.  Use
4652         libm_hidden_weak.  Do not undefine as macro.
4653         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4654         Likewise.
4655         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
4656         __fegetround and define as weak alias of __fegetround.  Use
4657         libm_hidden_weak.
4658         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4659         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4660         * sysdeps/tile/math_private.h (__fegetround): New inline function.
4661         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
4662         __fegetround and define as weak alias of __fegetround.  Use
4663         libm_hidden_weak.
4664         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
4665         __fegetround instead of fegetround.
4667         [BZ #17782]
4668         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
4669         Condition macro definition on [__USE_MISC].
4671         [BZ #17781]
4672         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
4673         (struct sigaction): Change type of sa_flags field to int.
4675         [BZ #17780]
4676         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
4677         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
4678         __glibc_reserved0.
4680         * nptl/version.c (banner): Use single year in copyright notice.
4682         * NEWS: Update copyright dates.
4683         * catgets/gencat.c (print_version): Likewise.
4684         * csu/version.c (banner): Likewise.
4685         * debug/catchsegv.sh: Likewise.
4686         * debug/pcprofiledump.c (print_version): Likewise.
4687         * debug/xtrace.sh (do_version): Likewise.
4688         * elf/ldconfig.c (print_version): Likewise.
4689         * elf/ldd.bash.in: Likewise.
4690         * elf/pldd.c (print_version): Likewise.
4691         * elf/sotruss.sh: Likewise.
4692         * elf/sprof.c (print_version): Likewise.
4693         * iconv/iconv_prog.c (print_version): Likewise.
4694         * iconv/iconvconfig.c (print_version): Likewise.
4695         * locale/programs/locale.c (print_version): Likewise.
4696         * locale/programs/localedef.c (print_version): Likewise.
4697         * login/programs/pt_chown.c (print_version): Likewise.
4698         * malloc/memusage.sh (do_version): Likewise.
4699         * malloc/memusagestat.c (print_version): Likewise.
4700         * malloc/mtrace.pl: Likewise.
4701         * manual/libc.texinfo: Likewise.
4702         * nptl/version.c (banner): Likewise.
4703         * nscd/nscd.c (print_version): Likewise.
4704         * nss/getent.c (print_version): Likewise.
4705         * nss/makedb.c (print_version): Likewise.
4706         * posix/getconf.c (main): Likewise.
4707         * scripts/test-installation.pl: Likewise.
4708         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4710 2015-01-02  Will Newton  <will.newton@linaro.org>
4712         * sysdeps/arm/armv7/configure: Removed.
4713         * sysdeps/arm/armv7/configure.ac: Likewise.
4715 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
4717         * All files with FSF copyright notices: Update copyright dates
4718         using scripts/update-copyrights.
4719         * intl/plural.c: Regenerated.
4720         * locale/programs/charmap-kw.h: Likewise.
4721         * locale/programs/locfile-kw.h: Likewise.
4723 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4725         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
4727 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
4729         [BZ #17748]
4730         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
4731         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
4732         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
4733         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
4734         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4735         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
4736         define as weak alias of __fegetenv.  Use libm_hidden_weak.
4737         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
4738         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4739         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4740         define as weak alias of __fegetenv.  Use libm_hidden_weak.
4741         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4742         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4743         define as weak alias of __fegetenv.  Use libm_hidden_weak.
4744         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
4745         libm_hidden_def.
4746         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
4747         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
4748         Likewise.
4749         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4750         define as weak alias of __fegetenv.  Use libm_hidden_weak.
4751         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4752         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4753         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
4754         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
4755         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
4756         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
4757         __fegetenv instead of fegetenv.
4758         (libc_feholdsetround_noex_ctx): Likewise.
4760 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
4762         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
4763         (Elf_MIPS_ABIFlags_v0): New structure.
4764         (EF_MIPS_FP64): Define.
4765         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
4766         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
4767         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
4768         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
4769         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
4770         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
4771         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
4772         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
4773         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
4774         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
4775         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
4776         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
4777         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
4778         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
4779         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
4780         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
4781         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
4782         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
4783         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
4784         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
4785         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
4786         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
4787         field.
4788         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
4789         EF_MIPS_FP64.
4790         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
4791         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
4792         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
4793         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
4794         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
4795         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
4796         * sysdeps/mips/tst-abi-interlink.c: Likewise.
4797         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
4798         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
4799         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
4800         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
4801         record the current FP ABI extension.
4802         (mips-mode-switch): Define to show if kernel headers support mode
4803         switching.
4804         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4805         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
4806         supported SYSV ABI version to 3.
4807         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
4808         feature.
4810 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4811             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4813         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
4814         path.
4815         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
4817 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
4819         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
4820         __fegetround and redefine to call __fegetround.  Remove condition
4821         on [!__NO_MATH_INLINES].
4822         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
4823         function.
4824         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
4825         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4826         Remove macro.
4827         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
4828         instead of <fenv_libc.h>.
4829         (__llrintl): Call fegetround instead of __fegetround.
4830         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
4831         instead of <fenv_libc.h>.
4832         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4833         (__lrintl): Call fegetround instead of __fegetround.
4834         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
4835         instead of <fenv_libc.h>.
4836         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4837         (__rintl): Call fegetround instead of __fegetround.
4839 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4841         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
4842         arrays.
4844 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
4846         [BZ #17775]
4847         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
4848         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
4849         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
4851 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
4853         * sysdeps/i386/tls-macros.h: Include <features.h>.
4854         (TLS_LE): Use non-PIC version for GCC >= 5.0.
4855         (TLS_IE): Likewise.
4856         (TLS_LD): Likewise.
4857         (TLS_GD): Likewise.
4858         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
4859         define for GCC >= 5.0.
4861 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
4863         * math/test-fenv.c (test_single_exception, set_single_exc,
4864         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
4865         feexcp_mask_test, feenable_test, fe_single_test): Add
4866         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
4867         case where they are not used.
4868         * math/libm-test.inc: Likewise.
4869         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
4870         unused in the absence of FP rounding/exception support.
4871         * stdio-common/tst-printf-round.c: Likewise.
4872         * stdlib/tst-strtod-round.c: Likewise.
4873         * stdlib/tst-strtod-underflow.c: Likewise.
4875 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
4877         [BZ #17723]
4878         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
4879         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
4880         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4881         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
4882         libm_hidden_weak.
4883         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
4884         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
4885         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
4886         libm_hidden_def.
4887         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4888         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
4889         libm_hidden_weak.
4890         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
4891         Likewise.
4892         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
4893         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4894         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
4895         libm_hidden_weak.
4896         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
4897         libm_hidden_def.
4898         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4899         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
4900         (__feraiseexcept): Likewise.
4901         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4902         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
4903         libm_hidden_weak.
4904         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
4905         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
4906         libm_hidden_def.
4907         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
4908         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
4909         Use libm_hidden_def.
4910         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
4911         libm_hidden_def.
4912         (feraiseexcept): Define as weak not strong alias.  Use
4913         libm_hidden_weak.
4914         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
4915         New inline function.  Factored out of ...
4916         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
4917         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
4918         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
4919         feraiseexcept.
4920         * math/w_acos.c (__acos): Likewise.
4921         * math/w_asin.c (__asin): Likewise.
4922         * math/w_ilogb.c (__ilogb): Likewise.
4923         * math/w_j0.c (y0): Likewise.
4924         * math/w_j1.c (y1): Likewise.
4925         * math/w_jn.c (yn): Likewise.
4926         * math/w_log.c (__log): Likewise.
4927         * math/w_log10.c (__log10): Likewise.
4928         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
4929         * sysdeps/aarch64/fpu/math_private.h
4930         (libc_feupdateenv_test_aarch64): Likewise.
4931         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4932         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
4933         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
4934         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4935         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4936         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4937         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
4938         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4939         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4940         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4942 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
4944         [BZ #17732]
4945         * io/test-utime.c (main): Replace %ld with %jd and cast to
4946         intmax_t.
4947         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
4948         * nptl/tst-mutex5.c: Include <stdint.h>.
4949         (do_test): Replace %ld with %jd and cast to intmax_t.
4950         * posix/tst-regex.c (run_test): Likewise.
4951         (run_test_backwards): Likewise.
4952         * rt/tst-clock.c: Include <stdint.h>.
4953         (clock_test): Replace %ld with %jd and cast to intmax_t.
4954         * rt/tst-cpuclock1.c: Include <stdint.h>.
4955         (do_test): Replace %lu with %ju and cast to uintmax_t.
4956         * rt/tst-cpuclock2.c: Include <stdint.h>.
4957         (do_test): Replace %lu with %ju and cast to uintmax_t.
4958         * rt/tst-mqueue1.c: Include <stdint.h>.
4959         (check_attrs): Replace %ld with %jd and cast to intmax_t.
4960         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
4961         intmax_t.
4962         * rt/tst-mqueue4.c (do_test): Likewise.
4963         * rt/tst-timer4.c: Include <stdint.h>.
4964         (check_ts): Replace %ld with %jd and cast to intmax_t.
4965         (do_test): Likewise.
4966         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
4967         and cast to intmax_t.
4968         * sysdeps/pthread/tst-timer.c (main): Likewise.
4969         * time/clocktest.c (main): Likewise.
4970         * time/tst-posixtz.c (do_test): Likewise.
4971         * timezone/tst-timezone.c (main): Likewise.
4973 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
4974             H.J. Lu  <hongjiu.lu@intel.com>
4976         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
4977         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
4978         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
4979         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
4980         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
4981         version if bit_Fast_Unaligned_Load is set.
4982         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4983         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4984         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4985         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4986         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4987         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4988         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4989         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
4990         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
4991         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
4992         to 4.
4993         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
4994         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
4995         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
4996         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
4998 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
5000         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
5001         instead of #if to avoid a Wundef warning.
5002         * stdlib/tst-limits.c (do_test): Likewise.
5004         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
5005         parallel other exception macros.
5006         (fegetenv): Convert from macro to extern inline so that it applies
5007         retroactively to inline functions already seen by the compiler.
5008         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
5010         * posix/Makefile (before-compile): Use $(objpfx) for
5011         posix-conf-vars-def.h.
5013 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5015         * posix/getconf.c (main): Use size_t for type of I.
5016         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
5017         NSPEC.
5019         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
5020         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
5021         * posix/posix-envs.def: Likewise.
5022         * sysdeps/posix/sysconf.c: Likewise.
5023         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
5024         (specs): Remove array.
5025         * scripts/gen-posix-conf-vars.awk: Support generation of specs
5026         array.
5028         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
5029         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
5030         (__sysconf): Use CONF_IS_* macros.
5032         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
5033         ($(objpfx)posix-conf-vars-def.h): New target.
5034         * posix/posix-conf-vars.list: New file.
5035         * posix/posix-conf-vars.h: New file.
5036         * posix/confstr.c: Include posix-conf-vars.h.
5037         (confstr): Use CONF_IS_* macros.
5038         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
5039         CONF_IS_* macros.
5040         * scripts/gen-posix-conf-vars.awk: New file.
5042 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
5044         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
5045         fegetround): Add no-op macros to avoid linknamespace issues.
5047         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
5048         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
5050         * sysdeps/unix/sysv/linux/tile/sysdep.h
5051         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
5052         assembly-specific section to avoid a redefinition warning.
5054         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
5055         long before casting to pointer to avoid a cast warning.
5057 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
5059         * sysdeps/tile/tilegx/Implies: New file.
5061 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
5063         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
5065 2014-12-23  Florian Weimer  <fweimer@redhat.com>
5067         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
5069 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
5071         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
5072         not define.
5073         * sysdeps/unix/sysv/linux/utimes.c: Do not include
5074         <kernel-features.h>.
5075         (__utimes) [__NR_utimes]: Make code unconditional.
5076         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
5077         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5078         (__ASSUME_UTIMES): Do not undefine.
5079         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5080         (__ASSUME_UTIMES): Likewise.
5081         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5082         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
5083         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
5084         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
5086 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
5088         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
5090 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
5092         [BZ #17747]
5093         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
5094         alias to weak alias for j0l, y0l.
5095         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
5096         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
5098         [BZ #17746]
5099         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
5100         conversion.
5102 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
5104         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
5105         to zero if not already defined.
5107 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
5109         [BZ #17724]
5110         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
5111         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
5112         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
5113         (char *) casts added.
5114         * sysdeps/ieee754/k_standardf.c: New file.
5115         * sysdeps/ieee754/k_standardl.c: Likewise.
5116         * math/Makefile (libm-support): Remove k_standard.
5117         (libm-calls): Add k_standard.
5119 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5121         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5122         Optimize to avoid an unnecessary FPCR read.
5124 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5126         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
5127         Optimize to reduce FPCR/FPSR accesses.
5129 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5131         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
5132         Call libc_fetestexcept_aarch64.
5134 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
5136         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
5137         Call libc_fesetround_aarch64.
5139 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
5141         [BZ #17733]
5142         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
5143         (__bind): Do not define as weak alias.
5144         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
5145         define.
5146         (__getsockname): Do not define as weak alias.
5148 2014-12-22  Will Newton  <will.newton@linaro.org>
5150         * manual/install.texi: Document that we require bison 2.7
5151         or above.
5152         * INSTALL: Regenerate.
5153         * configure.ac: Use AC_CHECK_PROG_VER instead of
5154         AC_PATH_PROG when checking for bison and check for
5155         version 2.7 or above.
5156         * configure: Regenerate.
5158 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
5160         [BZ #17745]
5161         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
5162         * sysdeps/tile/ffsll.c (ffsll): To here.
5164         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
5166 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
5168         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
5169         if not defined.
5170         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
5171         definition.
5172         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5173         hidden ___tls_get_addr.
5174         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5175         hidden __tls_get_addr.
5176         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
5177         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
5178         Likewise.
5180 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
5182         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
5183         _dl_init call.
5185 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
5187         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
5188         from "call _dl_init@PLT".
5189         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
5191 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
5193         * manual/search.texi: (Array Sort Function): Clarify stable sorting
5194         guarantees.
5196 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
5198         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
5200 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
5202         [BZ #17744]
5203         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
5204         strnlen.
5206 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
5208         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
5209         of multu on MIPSr6.
5210         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
5211         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
5212         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
5213         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
5214         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
5216 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
5218         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
5219         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
5220         (PTR_SUBU): Use subu for mips32r6/mips64r6.
5221         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
5222         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
5223         mips32r6/mips64r6.
5224         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
5226 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
5228         * string/strncat.c (STRNCAT): Simplify implementation.
5230 2014-12-19  David S. Miller  <davem@davemloft.net>
5232         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
5233         access the quad as both a long double and as a series of 4 words.
5235         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
5236         link_map->l_info array access.
5238 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
5240         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
5242         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
5243         * math/atest-exp2.c (TIMEOUT): Likewise.
5244         * math/atest-sincos.c (TIMEOUT): Likewise.
5246 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
5248         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
5249         -Wno-error with -fno-builtin-lround.
5251 2014-12-19  Torvald Riegel  <triegel@redhat.com>
5253         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
5254         Contains futex constants and functions moved over from ...
5255         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
5256         <lowlevellock-futex.h>.
5257         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5258         (lll_timedwait_tid): Add comments and parentheses around macro
5259         arguments.
5261 2014-12-19  Torvald Riegel  <triegel@redhat.com>
5263         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
5264         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
5265         (__lll_private_flag): Remove.
5266         (lll_futex_wait): Likewise.
5267         (lll_futex_timed_wait): Likewise.
5268         (lll_futex_wake): Likewise.
5269         (lll_futex_requeue): Likewise.
5270         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5271         (__lll_timedwait_tid): Spell out argument names.
5272         (lll_timedwait_tid): Add comments and parentheses around macro
5273         arguments.
5274         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
5275         LLL_SHARED and LLL_PRIVATE usable from assembly code.
5277 2014-12-19  Torvald Riegel  <triegel@redhat.com>
5279         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
5280         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5281         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5282         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
5283         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
5284         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
5285         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
5286         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
5287         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
5288         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
5289         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
5290         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
5291         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
5292         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
5293         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
5294         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
5295         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
5296         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
5297         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
5299 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
5301         * sysdeps/x86_64/x32/Makefile: New file.
5303 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
5305         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
5306         1L with (mp_limb_t) 1.
5308 2014-12-17  Roland McGrath  <roland@hack.frob.com>
5310         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
5311         * nptl/libc_pthread_init.c: ... here.
5312         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
5313         * nptl/register-atfork.c: ... here.
5315         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
5316         Use pthread_sigmask rather than INTERNAL_SYSCALL.
5317         Use assert_perror to check its return value.
5318         (__gai_create_helper_thread): Likewise.
5320         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
5322         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
5324 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
5326         [BZ #17725]
5327         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
5328         __profil_counter.
5329         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
5330         Likewise.
5331         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
5332         Likewise.
5333         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
5334         Likewise.
5335         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
5336         (profil_counter): Likewise.
5337         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
5338         (profil_counter): Likewise.
5339         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
5340         Likewise.
5341         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
5342         Likewise.
5343         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
5344         (profil_counter): Likewise.
5345         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
5346         Likewise.
5347         [!__profil_counter] (profil_counter): Define as weak alias of
5348         __profil_counter.
5349         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
5350         (profil_counter): Rename to __profil_counter.
5351         [!__profil_counter] (profil_counter): Define as weak alias of
5352         __profil_counter.
5353         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
5354         (profil_counter): Rename to __profil_counter.
5355         [!__profil_counter] (profil_counter): Define as weak alias of
5356         __profil_counter.
5357         * sysdeps/posix/profil.c: Update comment referring to
5358         profil_counter.
5359         (__profil): Use __profil_counter instead of profil_counter.
5360         * sysdeps/posix/sprofil.c (profil_counter): Rename to
5361         __profil_counter.  Use __profil_counter_ushort and
5362         __profil_counter_uint in definitions.
5363         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
5364         instead of profil_counter_uint and profil_counter_ushort.
5366         [BZ #17722]
5367         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
5368         define as weak alias of __inet_makeaddr.
5369         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
5370         as weak alias of __inet_addr.
5371         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
5372         as weak alias of __inet_pton.  Use libc_hidden_weak.
5373         * include/arpa/inet.h (__inet_pton): Declare.  Use
5374         libc_hidden_proto.
5375         (inet_makeaddr): Don't use libc_hidden_proto.
5376         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
5377         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
5378         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
5379         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
5380         Remove variable.
5381         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5382         (test-xfail-POSIX/time.h/linknamespace): Likewise.
5384 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
5386         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
5388 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5390         * stdio-common/bug-vfprintf-nargs.c (do_test):
5391         Cast value to intptr_t to avoid format warning
5392         for usage with PRIdPTR printing macro.
5394 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5396         * libio/tst-widetext.c (do_test):
5397         Use format type %td instead of %Zd for ptrdiff_t
5398         in order to avoid format warning.
5400 2014-12-17  Andreas Schwab  <schwab@suse.de>
5402         * nscd/mem.c (gc): Add size_t cast to match printf format.
5404 2014-12-16  Roland McGrath  <roland@hack.frob.com>
5406         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
5407         (init): Apply PTR_MANGLE to pointers before storing them.
5408         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
5409         before using them.
5411 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
5413         [BZ #17719]
5414         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
5415         define as weak alias of __memrchr.
5416         (__memrchr): Do not define as strong alias of memrchr.
5417         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
5418         Remove variable.
5419         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5420         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5421         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5423         [BZ #17717]
5424         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
5425         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
5426         (if_indextoname): Rename to __if_indextoname and define as weak
5427         alias of __if_indextoname.  Use libc_hidden_weak.
5428         (if_freenameindex): Rename to __if_freenameindex and define as
5429         weak alias of __if_freenameindex.
5430         (if_nameindex): Rename to __if_nameindex and define as weak alias
5431         of __if_nameindex.
5432         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
5433         __if_nametoindex and define as weak alias of __if_nametoindex.
5434         Use libc_hidden_weak.
5435         (if_freenameindex): Rename to __if_freenameindex and define as
5436         weak alias of __if_freenameindex.
5437         (if_nameindex): Rename to __if_nameindex and define as weak alias
5438         of __if_nameindex.
5439         (if_indextoname): Rename to __if_indextoname and define as weak
5440         alias of __if_indextoname.  Use libc_hidden_weak.
5441         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
5442         __if_nametoindex and define as weak alias of __if_nametoindex.
5443         Use libc_hidden_weak.
5444         (if_freenameindex): Rename to __if_freenameindex and define as
5445         weak alias of __if_freenameindex.  Use libc_hidden_weak.
5446         (if_nameindex_netlink): Use __if_freenameindex instead of
5447         if_freenameindex.
5448         (if_nameindex): Rename to __if_nameindex and define as weak alias
5449         of __if_nameindex.  Use libc_hidden_weak.
5450         (if_indextoname): Rename to __if_indextoname and define as weak
5451         alias of __if_indextoname.  Use libc_hidden_weak.
5452         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
5453         libc_hidden_proto.
5454         [!_ISOMAC] (__if_freenameindex): Likewise.
5455         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
5456         if_nametoindex.
5457         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
5458         variable.
5459         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5460         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5461         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5462         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5463         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5464         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5465         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5467         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
5468         Remove variable.
5469         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5470         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5472 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5474         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
5475         subscript above bounds'
5477         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
5478         bounds.
5480 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
5482         * libio/tst-fopenloc.c: Use test-skeleton.c.
5484         * stdlib/tst-bsearch.c: Use test-skeleton.c.
5485         (entry): Rename to ITEM.
5486         (do_test, comp): Adjust.
5488         * stdio-common/tst-fseek.c: Use test-skeleton.c.
5490 2014-12-16  Torvald Riegel  <triegel@redhat.com>
5492         * string/tester.c: Include <libc-internal.h>.
5493         (test_memset): Ignore -Wmemset-transposed-args.
5495 2014-12-16  Torvald Riegel  <triegel@redhat.com>
5497         * misc/tst-mntent2.c (do_test): Fix warning.
5499 2014-12-16  Torvald Riegel  <triegel@redhat.com>
5501         * elf/tst-unique4lib.cc(a): Mark as used.
5503 2014-12-16  Florian Weimer  <fweimer@redhat.com>
5505         [BZ #17630]
5506         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
5507         names.
5509 2014-12-16  Allan McRae  <allan@archlinux.org>
5511         * stdio-common/Makefile (tests): Re-add bug26.
5513 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
5515         [BZ #17657]
5516         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
5517         static array.
5519 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
5521         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
5522         (__lll_lock_wait): Likewise.
5523         (__lll_timedlock_wait): Likewise.
5524         (__lll_timedwait_tid): Likewise.
5525         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
5526         (__lll_robust_timedlock_wait): Likewise.
5527         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
5528         (lll_cond_trylock): Likewise.
5529         (__lll_lock): Likewise.
5530         (__lll_robust_lock): Likewise.
5531         (__lll_cond_lock): Likewise.
5532         (lll_robust_cond_lock): Likewise.
5533         (__lll_timedlock): Likewise.
5534         (__lll_robust_timedlock): Likewise.
5535         (__lll_unlock): Likewise.
5536         (__lll_robust_unlock): Likewise.
5537         (lll_wait_tid): Likewise.
5538         (lll_timedwait_tid): Likewise.
5540 2014-12-15  Torvald Riegel  <triegel@redhat.com>
5542         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
5544 2014-12-15  Torvald Riegel  <triegel@redhat.com>
5546         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
5548 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
5550         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
5551         * stdio-common/tst-sprintf.c: Likewise.
5553 2014-12-15  Torvald Riegel  <triegel@redhat.com>
5555         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
5557 2014-12-15  Jeff Law  <law@redhat.com>
5559         [BZ #16617]
5560         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
5561         on the heap.  (CVE-2012-3406)
5562         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
5563         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
5564         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
5566 2014-12-15  Will Newton  <will.newton@linaro.org>
5568         * manual/install.texi: Bump required version of texinfo
5569         to 4.7 from 4.5.
5570         * INSTALL: Regenerated.
5571         * configure.ac: Check for makeinfo version 4.7 and above.
5572         * configure: Regenerated.
5574 2014-12-12  Roland McGrath  <roland@hack.frob.com>
5576         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
5577         PREFIX, string constant to insert between directory and name.
5578         * sysdeps/posix/shm_open.c: Update caller.
5579         * sysdeps/posix/shm_unlink.c: Likewise.
5580         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
5581         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
5582         (SEM_SHM_PREFIX): New macro.
5583         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
5584         [$(have-thread-library) = no].
5585         * nptl/Makefile (libpthread-routines): Add shm-directory.
5586         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
5587         * sysdeps/nptl/shm-directory.h: New file.
5588         * sysdeps/posix/shm-directory.c
5589         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
5590         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
5591         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
5592         INTERNAL_SYSCALL.
5593         (__where_is_shmfs): Function removed.
5594         (mountpoint, defaultmount, defaultdir, __namedsem_once):
5595         Variables removed.
5596         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
5597         Use SHM_GET_NAME.
5598         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
5600         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
5601         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
5602         unconditional for use inside libpthread.
5603         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
5605 2014-12-12  Roland McGrath  <roland@hack.frob.com>
5607         * nptl/pthread_getaffinity.c: New file.
5608         * nptl/pthread_setaffinity.c: New file.
5609         * nptl/pthread_getname.c: New file.
5610         * nptl/pthread_setname.c: New file.
5612         * nptl/pthread_create.c (START_THREAD_DEFN)
5613         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
5615 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5616             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5618         * resolv/res_send.c (send_vc): Disable warning resplen may
5619         be used uninitialized.
5621 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5623         * nptl/tst-mutex6.c
5624         (ATTR_NULL): New define checks ATTR against NULL.
5625         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
5626         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
5628 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
5630         [BZ #17581]
5631         * malloc/hooks.c
5632         (mem2mem_check): Revert my previous change.
5633         (malloc_check_get_size): Revert my previous change.
5634         (mem2chunk_check): Revert my previous change.
5636 2014-12-11  Roland McGrath  <roland@hack.frob.com>
5638         * sysdeps/posix/shm-directory.c: New file.
5639         * sysdeps/posix/shm-directory.h: New file.
5640         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
5641         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
5642         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
5643         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
5644         Transmute EPERM to EACCES.
5645         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
5646         from ...
5647         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
5648         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
5650 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5652         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
5653         pointer and cast to uintptr_t.
5654         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
5655         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
5656         Add cast to avoid warning.
5657         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
5659 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
5661         * nptl/semaphore.h: Move to ...
5662         * sysdeps/pthread/semaphore.h: ... here.
5663         * Makefile (installed-headers): Change nptl/semaphore.h to
5664         sysdeps/pthread/semaphore.h.
5666 2014-12-11  Roland McGrath  <roland@hack.frob.com>
5668         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
5669         generated error format strings.
5671         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
5672         -Wformat-extra-args warnings for scanf formats.
5673         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
5674         test of zero-length format (duh).
5675         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
5676         corner-case scanf format test.
5677         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
5678         generated fprintf format string.
5679         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
5680         corner-case sprintf format tests.
5681         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
5682         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
5683         -Wformat-extra-args warnings throughout.
5684         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
5685         (CFLAGS-scanf4.c): Likewise.
5686         (CFLAGS-scanf7.c): Likewise.
5687         (CFLAGS-tst-sprintf.c): Likewise.
5688         (CFLAGS-tst-printf.c): Likewise.
5689         (CFLAGS-tst-printfsz.c): Likewise.
5691 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
5693         * include/cpio.h: New file.
5694         * include/fmtmsg.h: Likewise.
5696         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
5697         corresponding format argument to size_t.
5698         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
5699         arguments.
5700         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
5701         corresponding format argument to size_t.
5702         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
5703         arguments.
5704         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
5705         corresponding format argument to size_t.
5706         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
5707         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
5708         (CFLAGS-tst-mbswcs2.c): Likewise.
5709         (CFLAGS-tst-mbswcs3.c): Likewise.
5710         (CFLAGS-tst-mbswcs4.c): Likewise.
5711         (CFLAGS-tst-mbswcs5.c): Likewise.
5712         (CFLAGS-tst-trans.c): Likewise
5714 2014-12-11  Roland McGrath  <roland@hack.frob.com>
5716         * posix/regexbug1.c (main): Use "%s" format with regerror results,
5717         rather than assuming they won't contain any '%'s.
5719 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
5721         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
5722         inhibit_loop_to_libcall to avoid recursive calls.
5723         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
5724         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
5726 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
5728         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
5729         prototype.
5731 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
5733         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
5734         integer value instead of boolean.
5736 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
5738         * malloc/malloc.c: Fix powerof2 check.
5740 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5742         * locale/programs/locfile.h (maybe_swap_uint32):
5743         Remove inline and add unused attribute.
5745 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5747         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5748         Truncating assembler expression to a .long expression.
5750 2014-12-11  Andreas Schwab  <schwab@suse.de>
5752         * elf/rtld.c (struct map_args): Constify str member.
5753         (do_preload): Constify fname argument.
5755 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5757         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
5758         constants definition.
5760 2014-12-11  Andreas Schwab  <schwab@suse.de>
5762         [BZ #16657]
5763         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
5764         FORCE_ELISION instead of DO_ELISION.
5765         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
5766         Remove.
5767         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
5768         Likewise.
5770         * iconvdata/gconv-modules: Remove duplicate entry.
5772 2014-12-11  Will Newton  <will.newton@linaro.org>
5774         Merge gettext 0.19.3 into intl/.
5776         This involves a number of cosmetic changes to comments
5777         and ANSI function definitions and prototypes throughout
5778         all the files. The gettext copyright header is used but
5779         with the date ranges taken from the glibc copy.
5781         * NEWS: Add gettext merge to 2.21.
5782         * intl/bindtextdom.c: Switch to gettext copyright.
5783         Use ANSI definitions and prototypes.
5784         Use gl_* locking primitives rather than __libc_* ones.
5785         Use __builtin_expect rather than __glibc_likely/unlikely.
5786         * intl/dcgettext.c: Switch to gettext copyright.
5787         Use ANSI definitions and prototypes.
5788         * intl/dcigettext.c: Switch to gettext copyright.
5789         Use ANSI definitions and prototypes.
5790         (INTDIV0_RAISES_SIGFPE): New define.
5791         Use gl_* locking primitives rather than __libc_* ones.
5792         Include eval-plural.h instead of plural-eval.c.
5793         Use __builtin_expect rather than __glibc_likely/unlikely.
5794         * intl/dcngettext.c: Switch to gettext copyright.
5795         Use ANSI definitions and prototypes.
5796         * intl/dgettext.c: Likewise.
5797         * intl/dngettext.c: Likewise.
5798         * intl/plural-eval.c: Renamed to...
5799         * intl/eval-plural.h: ...this.
5800         * intl/explodename.c: Switch to gettext copyright.
5801         Use ANSI definitions and prototypes.
5802         (_nl_explode_name): Use strchr instead of __rawmemchr.
5803         * intl/finddomain.c: Switch to gettext copyright.
5804         Use ANSI definitions and prototypes.
5805         Use gl_* locking primitives rather than __libc_* ones.
5806         (_nl_find_domain): Use malloc rather than alloca for
5807         allocation of temporary locale name.
5808         * intl/gettext.c: Switch to gettext copyright.
5809         Use ANSI definitions and prototypes.
5810         * intl/gettextP.h: Switch to gettext copyright.
5811         Use ANSI definitions and prototypes.
5812         Use gl_* locking primitives rather than __libc_* ones.
5813         * intl/gmo.h: Switch to gettext copyright.
5814         (struct sysdep_string): Move struct segment_pair outside of
5815         struct definition.
5816         * intl/hash-string.c: Use ANSI definitions and prototypes.
5817         * intl/hash-string.h: Switch to gettext copyright.
5818         Use ANSI definitions and prototypes.
5819         * intl/l10nflist.c: Switch to gettext copyright.
5820         Use ANSI definitions and prototypes.
5821         (_nl_normalize_codeset): Avoid integer overflow.
5822         * intl/loadinfo.h: Switch to gettext copyright.
5823         Use ANSI definitions and prototypes.
5824         (LIBINTL_DLL_EXPORTED): New define.
5825         (PATH_SEPARATOR): New define.
5826         * intl/loadmsgcat.c: Switch to gettext copyright.
5827         * intl/localealias.c: Switch to gettext copyright.
5828         Use ANSI definitions and prototypes.
5829         (_nl_expand_alias): Use PATH_SEPARATOR.
5830         * intl/ngettext.c: Switch to gettext copyright.
5831         Use ANSI definitions and prototypes.
5832         * intl/plural-exp.c: Likewise.
5833         * intl/plural-exp.h: Switch to gettext copyright.
5834         Use ANSI definitions and prototypes.
5835         (struct expression): Move definition of enum operator outside
5836         of struct definition.
5837         * intl/plural.c: Regenerate.
5838         * intl/plural.y: Switch to gettext copyright.
5839         Use ANSI definitions and prototypes.
5840         Port to bison 3.0.
5841         * intl/textdomain.c: Switch to gettext copyright.
5842         Use ANSI definitions and prototypes.
5843         Use gl_* locking primitives rather than __libc_* ones.
5845 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
5847         * debug/warning-nop.c: Add used atrribute.
5849 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
5851         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
5853         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
5854         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
5855         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
5857 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
5858             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5860         [BZ #17634]
5861         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
5862         Undefine after defining function.  Define as weak alias of
5863         __wcschr.  Use libc_hidden_weak.
5864         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
5865         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
5866         (libc_hidden_def): Also define __GI___wcschr alias.
5867         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
5868         __wcschr and define as weak alias of __wcschr.
5869         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
5870         __wcschr.
5871         [!WCSCHR] (DEFAULT_WCSCHR): Define.
5872         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
5873         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
5874         libc_hidden_weak.  Do not use libc_hidden_def.
5875         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
5876         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
5877         __GI___wcschr alias.
5878         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
5879         [IS_IN (libc)] (wcschr): Define as macro expanding to
5880         __redirect_wcschr.
5881         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
5882         [IS_IN (libc)] (__wcschr_power6): Likewise.
5883         [IS_IN (libc)] (__wcschr_power7): Likewise.
5884         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
5885         instead of wcschr.
5886         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
5887         __libc_wcschr.
5888         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
5889         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
5890         __wcschr and define as weak alias of __wcschr.  Use
5891         libc_hidden_builtin_def.
5892         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
5893         as weak alias of __wcschr.  Use libc_hidden_weak.
5894         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
5895         wcschr.
5896         * time/era.c (_nl_init_era_entries): Likewise.
5897         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
5898         variable.
5899         (test-xfail-XPG3/time.h/linknamespace): Likewise.
5900         (test-xfail-XPG4/time.h/linknamespace): Likewise.
5902 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
5904         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
5905         format for long int variable.
5907 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
5909         [BZ #10672]
5910         * manual/search.texi: (Array Sort Function): Remove claim how to make
5911         qsort stable.
5913 2014-12-10  Andreas Schwab  <schwab@suse.de>
5915         [BZ #12847]
5916         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
5917         user-controlled locks.
5919 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
5921         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
5922         register.
5924 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
5926         * configure.ac (--disable-werror): New configure option.
5927         (enable_werror): New AC_SUBST.
5928         * configure: Regenerated.
5929         * config.make.in (enable-werror): New variable.
5930         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
5931         -Wno-error=undef.
5932         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
5933         * manual/install.texi (Configuring and compiling): Document
5934         --disable-werror.
5935         * INSTALL: Regenerated.
5936         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
5937         (CFLAGS-tst-chk2.c): Likewise.
5938         (CFLAGS-tst-chk3.c): Likewise.
5939         (CFLAGS-tst-chk4.cc): Likewise.
5940         (CFLAGS-tst-chk5.cc): Likewise.
5941         (CFLAGS-tst-chk6.cc): Likewise.
5942         (CFLAGS-tst-lfschk1.c): Likewise.
5943         (CFLAGS-tst-lfschk2.c): Likewise.
5944         (CFLAGS-tst-lfschk3.c): Likewise.
5945         (CFLAGS-tst-lfschk4.cc): Likewise.
5946         (CFLAGS-tst-lfschk5.cc): Likewise.
5947         (CFLAGS-tst-lfschk6.cc): Likewise.
5949         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
5950         (main): Disable -Wdeprecated-declarations around calls to
5951         register_printf_function.
5953         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
5954         (do_test): Disable -Wdiv-by-zero around some calls to
5955         fwrite_unlocked and fread_unlocked.
5957         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
5958         (DIAG_POP_NEEDS_COMMENT): Likewise.
5959         (_DIAG_STR1): Likewise.
5960         (_DIAG_STR): Likewise.
5961         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
5962         * stdio-common/bug21.c: Include <libc-internal.h>.
5963         (do_test): Disable -Wformat around call to sscanf.
5964         * stdio-common/scanf14.c: Include <libc-internal.h>.
5965         (main): Disable -Wformat around some calls to scanf functions.
5967 2014-12-09  Torvald Riegel  <triegel@redhat.com>
5969         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
5971 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5973         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
5974         stack variable alignment.
5976 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
5978         [BZ #17682]
5979         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
5980         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
5981         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
5982         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
5983         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
5984         __getrlimit instead of getrlimit.
5985         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
5986         __gettimeofday instead of gettimeofday.
5987         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5988         Likewise.
5989         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
5990         Likewise.
5991         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5992         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
5993         Remove variable.
5994         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5995         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5997 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5999         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
6000         for wide-character tests.
6002 2014-12-04  Roland McGrath  <roland@hack.frob.com>
6004         * io/openat64.c: #include <libc-internal.h>
6005         (__openat64): Prototypify.  Use ignore_value on MODE.
6006         * io/openat.c: Likewise.
6007         * misc/reboot.c: #include <libc-internal.h>
6008         (reboot): Prototypify.  Use ignore_value on HOWTO.
6009         * misc/ptrace.c: #include <libc-internal.h>
6010         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
6012 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
6014         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
6015         XPG4, UNIX98 and XOPEN2K.
6016         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
6017         Remove variable.
6018         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6020 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6022         * libio/fileops.c: Use ISO C style for function definitions.
6023         * libio/iofopen.c: Likewise.
6024         * libio/wfileops.c: Likewise.
6026         [BZ #17653]
6027         * libio/fileops.c (_IO_new_file_underflow): Unset cached
6028         offset on EOF.
6029         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6030         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
6031         (fgets_func): Function pointer to fgets and fgetws.
6032         (do_ftell_test): Add test to verify ftell value after read
6033         EOF.
6034         (do_test): Set fgets_func.
6036         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
6037         O_TRUNC flag for w and w+ modes.
6038         (do_rewind_test): Likewise.
6039         (do_ftell_test): Likewise.
6040         (do_write_test): Likewise.
6042         [BZ #17647]
6043         * libio/fileops.c (do_ftell): Seek only when there are
6044         unflushed writes.
6045         * libio/wfileops.c (do_ftell_wide): Likewise.
6046         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
6047         test case.
6048         (do_one_test): Call it.
6050 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
6052         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
6053         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
6054         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
6055         Remove variable.
6056         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6057         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6058         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6060 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
6062         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
6063         Remove variable.
6064         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6066         [BZ #17668]
6067         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
6068         as weak alias of __getifaddrs.  Use libc_hidden_weak.
6069         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6070         __freeifaddrs.  Use libc_hidden_weak.
6071         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
6072         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
6073         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6074         __freeifaddrs.  Use libc_hidden_weak.
6075         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
6076         __getifaddrs and define as weak alias of __getifaddrs.  Use
6077         libc_hidden_weak.
6078         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6079         __freeifaddrs.  Use libc_hidden_weak.
6080         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
6081         Remove variable.
6082         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6083         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6085 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
6087         [BZ #17601]
6088         * sysdeps/mips/start.S (__start): Use indirect jump to call
6089         __libc_start_main.
6091 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
6093         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
6095         * nptl/tst-mutex1.c: Include <stdbool.h>.
6096         [!ATTR] (ATTR_NULL): New macro.
6097         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
6098         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
6099         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
6101         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
6102         to char *.
6104         [BZ #17665]
6105         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
6106         Change conditional to [__USE_MISC].
6108         [BZ #17664]
6109         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
6110         fgets_unlocked.
6111         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
6112         __fgets_unlocked.
6113         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
6114         fgets_unlocked.
6115         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
6116         Remove variable.
6117         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6118         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6119         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6120         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6121         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6122         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6123         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6124         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6125         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6127         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
6129 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6131         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6132         Remove strpbrk objects.
6133         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6134         (__libc_ifunc_impl_list): Remove strpbrk implementation.
6135         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
6136         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
6137         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
6138         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
6140         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6141         Remove strcspn objects.
6142         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6143         (__libc_ifunc_impl_list): Remove strcspn implementation.
6144         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
6145         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
6146         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
6147         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
6149         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6150         Remove strspn objetcs.
6151         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6152         (__libc_ifunc_impl_list): Remove strspn implementation.
6153         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
6154         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6155         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
6156         * sysdeps/powerpc/powerpc64/strspn.S: New file.
6158 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
6160         [BZ #17581]
6161         * malloc/hooks.c
6162         (mem2mem_check): Add a terminator to the chain of checking blocks.
6163         (malloc_check_get_size): Use it here.
6164         (mem2chunk_check): Ditto.
6166 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6168         * sysdeps/powerpc/powerpc64/strtok.S: New file.
6169         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
6171 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
6173         * bits/ioctl-types.h: Indent preprocessor directives correctly.
6175         * nptl/nptl-init.c: Include libc-internal.h.
6176         (__pthread_initialize_minimal_internal): Use ROUND_UP.
6178         * elf/ldconfig.c (search_dir): Expand comment.
6180 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
6182         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
6183         variable.
6184         (linknamespace-symlist-stdlibs-tests): Likewise.
6185         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
6186         instead of $(objpfx)symlist-stdlibs.
6187         (linknamespace-libs-isoc): New variable.
6188         (linknamespace-libs): Use $(linknamespace-libs-isoc).
6189         (linknamespace-libs-ISO): New variable.
6190         (linknamespace-libs-ISO99): Likewise.
6191         (linknamespace-libs-ISO11): Likewise.
6192         (linknamespace-libs-XPG3): Likewise.
6193         (linknamespace-libs-XPG4): Likewise.
6194         (linknamespace-libs-POSIX): Likewise.
6195         (linknamespace-libs-UNIX98): Likewise.
6196         (linknamespace-libs-XOPEN2K): Likewise.
6197         (linknamespace-libs-POSIX2008): Likewise.
6198         (linknamespace-libs-XOPEN2K8): Likewise.
6199         ($(objpfx)symlist-stdlibs): Replace by
6200         $(linknamespace-symlist-stdlibs-tests).  Use
6201         $(linknamespace-libs-$*) as set of libraries.
6202         ($(linknamespace-header-tests)): Update dependencies.  Use
6203         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
6204         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
6205         * conform/linknamespace.pl: Remove comment about considering
6206         definitions of symbols from irrelevant libraries.
6208 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
6210         [BZ #13862]
6211         * elf/dl-tls.c: Include <atomic.h>.
6212         (oom): Remove #ifdef SHARED/#endif.
6213         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
6214         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
6215         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
6216         big enough.
6217         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
6218         * nptl/Makefile (tests): Add tst-stack4.
6219         (modules-names): Add tst-stack4mod.
6220         ($(objpfx)tst-stack4): New.
6221         (tst-stack4mod.sos): Likewise.
6222         ($(objpfx)tst-stack4.out): Likewise.
6223         ($(tst-stack4mod.sos)): Likewise.
6224         (clean): Likewise.
6225         * nptl/tst-stack4.c: New file.
6226         * nptl/tst-stack4mod.c: Likewise.
6228 2014-11-27  J. Brown  <jb999@gmx.de>
6230         * sysdeps/x86/bits/string.h: Add recent CPUs.
6232 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
6234         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
6235         sigblock.
6237         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
6238         feof.
6240         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
6241         variable.
6243 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6245         * nscd/connections.c: Include libc-internal.h because of macro
6246         usage ignore_value.
6248 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6250         * string/bits/string3.h (__warn_memset_zero_len): Don't
6251         declare for gcc newer than 5.0.
6252         (memset): Don't test for zero-length __LEN for gcc newer than
6253         5.0.
6255 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
6257         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
6258         size_t for %zu format.
6260         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
6261         difference, not %ju.
6263 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
6265         * include/libc-internal.h (ignore_value): New macro.
6266         * nscd/connections.c (restart): Wrap calls to setuid and setgid
6267         with ignore_value.
6269         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
6270         definition.
6272         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
6273         pthread_cleanup_push to void *.
6275         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
6276         Undefine.
6278         [BZ #16619]
6279         [BZ #16740]
6280         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
6281         instead of 1L << 52.
6283         * libio/bug-rewind.c (do_test): Check fwscanf return values.
6284         * libio/bug-rewind2.c (do_test): Likewise.
6286         * debug/test-stpcpy_chk-ifunc.c: Remove file.
6287         * debug/test-strcpy_chk-ifunc.c: Likewise.
6288         * wcsmbs/test-wcschr-ifunc.c: Likewise.
6289         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6290         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6291         * wcsmbs/test-wcslen-ifunc.c: Likewise.
6292         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6293         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6294         * Rules [$(multi-arch) = no] (tests): Do not filter out
6295         $(tests-ifunc).
6296         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
6297         * debug/Makefile (tests-ifunc): Remove variable.
6298         (tests): Do not add $(tests-ifunc).
6299         * wcsmbs/Makefile (tests-ifunc): Remove variable.
6300         (tests): Do not add $(tests-ifunc).
6301         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
6302         [TEST_IFUNC]: Remove conditionals.
6303         * string/test-string.h (TEST_IFUNC): Remove macro.
6304         [TEST_IFUNC]: Remove conditionals.
6306         * string/test-strchr.c [!WIDE] (L): New macro.
6307         [WIDE] (L): Likewise.
6308         (check1): Use CHAR instead of char.  Use L on string and character
6309         constants.
6311 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
6313         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
6314         tests.
6315         * sysdeps/powerpc/bits/atomic.h
6316         (__arch_atomic_exchange_and_add_32_acq): Add definition.
6317         (__arch_atomic_exchange_and_add_32_rel): Likewise.
6318         (atomic_exchange_and_add_acq): Likewise.
6319         (atomic_exchange_and_add_rel): Likewise.
6320         * sysdeps/powerpc/powerpc32/bits/atomic.h
6321         (__arch_atomic_exchange_and_add_64_acq): Add definition.
6322         (__arch_atomic_exchange_and_add_64_rel): Likewise.
6323         * sysdeps/powerpc/powerpc64/bits/atomic.h
6324         (__arch_atomic_exchange_and_add_64_acq): Add definition.
6325         (__arch_atomic_exchange_and_add_64_rel): Likewise.
6327 2014-11-26  Torvald Riegel  <triegel@redhat.com>
6329         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
6330         Change synchronization of __sched_fifo_min_prio and
6331         __sched_fifo_max_prio.
6332         * nptl/pthread_mutexattr_getprioceiling.c
6333         (pthread_mutexattr_getprioceiling): Likewise.
6334         * nptl/pthread_mutexattr_setprioceiling.c
6335         (pthread_mutexattr_setprioceiling): Likewise.
6336         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
6337         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6338         Likewise.
6340 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
6342         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
6343         void.
6345 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
6347         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
6348         third argument const.
6350 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
6352         fnmatch: work around GCC compiler warning bug with uninit var
6353         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
6354         This works around a bug with x86-64 GCC 4.9.2 and earlier
6355         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
6356         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
6357         used uninitialized in this function [-Wmaybe-uninitialized]".
6359 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
6361         * posix/bug-regex31.c (main): Return RES not 0.
6363 2014-11-25  Anton Blanchard <anton@samba.org>
6365         * sysdeps/powerpc/bits/atomic.h
6366         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
6368 2014-11-24  Sterling Augustine  <saugustine@google.com>
6370         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
6372 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
6374         [BZ #17608]
6375         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
6377 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
6379         [BZ #17633]
6380         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
6381         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
6382         variable.
6383         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6384         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6386 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
6388         * string/strncpy.c (strncpy): Improve performance by using memset.
6390 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
6392         * string/strcpy.c (strcpy):
6393         Improve performance by using strlen and memcpy.
6395 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
6397         * string/strcoll_l.c (get_next_seq): __always_inline.
6398         * string/strcoll_l.c (do_compare): __always_inline.
6400 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6402         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
6403         defined.
6404         * include/mqueue.h: Likewise.
6405         * include/stdlib.h: Likewise.
6407         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
6408         (get_null_defines): Adjust.
6409         * sunrpc/Makefile: Adjust comment.
6410         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
6411         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
6412         (CFLAGS-interp.c): Likewise.
6413         (CFLAGS-ldconfig.c): Likewise.
6414         (CPPFLAGS-.os): Likewise.
6415         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6416         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6417         * extra-modules.mk (extra-modules.mk): Likewise.
6418         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
6419         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
6420         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
6421         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
6422         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
6423         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
6424         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
6425         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
6426         * iconvdata/Makefile (CPPFLAGS): Likewise.
6427         (cpp-srcs-left): Add libof for all iconvdata routines.
6428         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
6429         * include/assert.h: Likewise.
6430         * include/ctype.h: Likewise.
6431         * include/errno.h: Likewise.
6432         * include/libc-symbols.h: Likewise.
6433         * include/math.h: Likewise.
6434         * include/netdb.h: Likewise.
6435         * include/resolv.h: Likewise.
6436         * include/stdio.h: Likewise.
6437         * include/stdlib.h: Likewise.
6438         * include/string.h: Likewise.
6439         * include/sys/stat.h: Likewise.
6440         * include/wctype.h: Likewise.
6441         * intl/l10nflist.c: Likewise.
6442         * libidn/idn-stub.c: Likewise.
6443         * libio/libioP.h: Likewise.
6444         * nptl/libc_multiple_threads.c: Likewise.
6445         * nptl/pthreadP.h: Likewise.
6446         * posix/regex_internal.h: Likewise.
6447         * resolv/res_hconf.c: Likewise.
6448         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
6449         * sysdeps/arm/memmove.S: Likewise.
6450         * sysdeps/arm/sysdep.h: Likewise.
6451         * sysdeps/generic/_itoa.h: Likewise.
6452         * sysdeps/generic/symbol-hacks.h: Likewise.
6453         * sysdeps/gnu/errlist.awk: Likewise.
6454         * sysdeps/gnu/errlist.c: Likewise.
6455         * sysdeps/i386/i586/memcpy.S: Likewise.
6456         * sysdeps/i386/i586/memset.S: Likewise.
6457         * sysdeps/i386/i686/memcpy.S: Likewise.
6458         * sysdeps/i386/i686/memmove.S: Likewise.
6459         * sysdeps/i386/i686/mempcpy.S: Likewise.
6460         * sysdeps/i386/i686/memset.S: Likewise.
6461         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6462         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6463         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
6464         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
6465         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6466         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6467         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
6468         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6469         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6470         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6471         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6472         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6473         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6474         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6475         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6476         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6477         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
6478         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
6479         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
6480         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6481         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6482         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6483         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6484         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6485         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6486         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6487         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
6488         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6489         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
6490         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6491         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6492         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6493         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6494         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6495         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6496         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6497         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6498         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6499         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6500         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6501         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6502         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6503         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6504         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6505         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6506         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6507         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
6508         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
6509         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6510         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6511         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6512         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
6513         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
6514         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6515         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6516         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
6517         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6518         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
6519         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
6520         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6521         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6522         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6523         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
6524         * sysdeps/nptl/bits/libc-lock.h: Likewise.
6525         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
6526         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
6527         * sysdeps/posix/closedir.c: Likewise.
6528         * sysdeps/posix/opendir.c: Likewise.
6529         * sysdeps/posix/readdir.c: Likewise.
6530         * sysdeps/posix/rewinddir.c: Likewise.
6531         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
6532         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
6533         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6534         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6535         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6536         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
6537         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
6538         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
6539         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
6540         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
6541         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
6542         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
6543         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
6544         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
6545         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
6546         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
6547         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
6548         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
6549         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
6550         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
6551         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
6552         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
6553         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
6554         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
6555         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
6556         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
6557         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
6558         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
6559         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
6560         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
6561         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
6562         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
6563         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
6564         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
6565         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
6566         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
6567         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6568         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6569         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
6570         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
6571         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
6572         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
6573         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
6574         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6575         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
6576         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
6577         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
6578         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
6579         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
6580         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6581         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
6582         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
6583         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
6584         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
6585         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
6586         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
6587         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
6588         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
6589         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
6590         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
6591         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6592         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
6593         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
6594         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
6595         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
6596         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6597         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
6598         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
6599         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
6600         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
6601         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6602         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
6603         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
6604         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
6605         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
6606         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
6607         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
6608         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
6609         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6610         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
6611         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
6612         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6613         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
6614         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
6615         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6616         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
6617         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
6618         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6619         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6620         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6621         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
6622         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
6623         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
6624         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6625         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6626         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
6627         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6628         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6629         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
6630         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
6631         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6632         * sysdeps/unix/alpha/sysdep.S: Likewise.
6633         * sysdeps/unix/alpha/sysdep.h: Likewise.
6634         * sysdeps/unix/make-syscalls.sh: Likewise.
6635         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6636         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6637         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6638         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
6639         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6640         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
6641         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
6642         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6643         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6644         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
6645         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6646         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6647         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6648         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
6649         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6650         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6651         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6652         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
6653         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
6654         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6655         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6656         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6657         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6658         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6659         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6660         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6661         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
6663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6664         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
6665         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6666         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6667         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6668         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6669         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6670         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6671         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6672         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6673         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6674         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6675         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6676         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6677         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6678         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6679         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6680         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6681         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6682         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6683         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6684         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6685         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6686         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6687         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6688         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6689         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6690         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6691         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6692         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6693         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
6694         * sysdeps/x86_64/memcpy.S: Likewise.
6695         * sysdeps/x86_64/memmove.c: Likewise.
6696         * sysdeps/x86_64/memset.S: Likewise.
6697         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
6698         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6699         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6700         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
6701         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
6702         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6703         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6704         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6705         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6706         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6707         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6708         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6709         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
6710         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6711         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6712         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
6713         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6714         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6715         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6716         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6717         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
6718         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6719         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6720         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6721         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6722         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6723         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6724         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
6725         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6726         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6727         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
6728         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6729         * sysdeps/x86_64/strcmp.S: Likewise.
6731         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
6733         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
6734         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
6735         * elf/rtld-Rules: Likewise.
6736         * elf/setup-vdso.h: Likewise.
6737         * include/assert.h: Likewise.
6738         * include/bits/stdlib-float.h: Likewise.
6739         * include/errno.h: Likewise.
6740         * include/sys/stat.h: Likewise.
6741         * include/unistd.h: Likewise.
6742         * sysdeps/aarch64/setjmp.S: Likewise.
6743         * sysdeps/alpha/setjmp.S: Likewise.
6744         * sysdeps/arm/__longjmp.S: Likewise.
6745         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
6746         * sysdeps/arm/setjmp.S: Likewise.
6747         * sysdeps/arm/sysdep.h: Likewise.
6748         * sysdeps/generic/_itoa.h: Likewise.
6749         * sysdeps/generic/dl-sysdep.h: Likewise.
6750         * sysdeps/generic/ldsodefs.h: Likewise.
6751         * sysdeps/i386/dl-tls.h: Likewise.
6752         * sysdeps/i386/setjmp.S: Likewise.
6753         * sysdeps/m68k/setjmp.c: Likewise.
6754         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
6755         * sysdeps/mach/hurd/opendir.c: Likewise.
6756         * sysdeps/posix/getcwd.c: Likewise.
6757         * sysdeps/posix/opendir.c: Likewise.
6758         * sysdeps/posix/profil.c: Likewise.
6759         * sysdeps/powerpc/dl-procinfo.h: Likewise.
6760         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6761         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6762         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6763         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6764         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
6765         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6766         * sysdeps/s390/dl-tls.h: Likewise.
6767         * sysdeps/s390/s390-32/setjmp.S: Likewise.
6768         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6769         * sysdeps/sh/sh3/setjmp.S: Likewise.
6770         * sysdeps/sh/sh4/setjmp.S: Likewise.
6771         * sysdeps/unix/alpha/sysdep.h: Likewise.
6772         * sysdeps/unix/arm/sysdep.S: Likewise.
6773         * sysdeps/unix/i386/sysdep.S: Likewise.
6774         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6775         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6776         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6777         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6778         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6779         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
6780         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6781         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6782         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
6783         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
6784         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
6785         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6786         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6789         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6790         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6791         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6792         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6793         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6794         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6795         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6796         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6797         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6798         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6799         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6800         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6801         * sysdeps/unix/x86_64/sysdep.S: Likewise.
6802         * sysdeps/x86_64/setjmp.S: Likewise.
6804         * include/math.h: Use IS_IN instead of IS_IN_libm.
6805         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
6806         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6807         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6808         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6809         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6810         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6811         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6812         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6813         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6814         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6815         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
6816         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6817         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
6818         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6819         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6820         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
6821         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
6822         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6823         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
6824         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
6825         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
6826         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
6827         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
6828         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
6829         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
6830         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6831         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
6832         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
6833         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
6834         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6835         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
6836         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6837         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6839         Likewise.
6840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
6841         Likewise.
6842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
6843         Likewise.
6844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
6845         Likewise.
6846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
6847         Likewise.
6848         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6849         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
6850         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6851         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6852         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6853         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
6856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
6857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
6858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
6859         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
6860         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
6861         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6862         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6863         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6864         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6865         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6866         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6867         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6868         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
6869         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
6870         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
6871         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
6872         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
6873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6874         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
6876         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
6877         * nptl/pthreadP.h: Likewise.
6878         * nptl_db/structs.def: Likewise.
6879         * sysdeps/arm/sysdep.h: Likewise.
6880         * sysdeps/nptl/bits/libc-lock.h: Likewise.
6881         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
6882         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
6883         * sysdeps/unix/alpha/sysdep.h: Likewise.
6884         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6885         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6886         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6887         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6888         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6889         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6890         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6891         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6892         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6893         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6894         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6895         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6896         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6897         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
6899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6900         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6901         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6902         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6903         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6904         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6905         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6906         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6907         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6908         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
6909         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6911         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
6912         * nptl/pthreadP.h: Likewise.
6913         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6914         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6915         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6916         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6917         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6918         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6919         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6920         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6921         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6922         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6923         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6924         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6926         Likewise.
6927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6928         Likewise.
6929         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6930         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6931         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6932         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6933         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6934         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6935         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6936         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6938         * dlfcn/dladdr.c: Use IS_IN.
6939         * dlfcn/dladdr1.c: Likewise.
6940         * dlfcn/dlclose.c: Likewise.
6941         * dlfcn/dlerror.c: Likewise.
6942         * dlfcn/dlinfo.c: Likewise.
6943         * dlfcn/dlmopen.c: Likewise.
6944         * dlfcn/dlopen.c: Likewise.
6945         * dlfcn/dlsym.c: Likewise.
6946         * dlfcn/dlvsym.c: Likewise.
6948         * include/ifaddrs.h: Use IS_IN.
6949         * inet/check_pf.c: Likewise.
6950         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6951         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
6953         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
6954         IS_IN_ldconfig.
6955         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
6956         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
6958         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
6959         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
6960         IS_IN (libc).
6962         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
6964         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
6965         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6966         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6967         * include/libc-symbols.h (IS_IN_LIB): New macro.
6968         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
6969         * include/netdb.h: Likewise.
6970         * include/stap-probe.h: Remove all uses of IN_LIB.
6972         * Makeconfig (module-cppflags-real): Define MODULE_NAME
6973         instead of IN_MODULE.
6974         * include/libc-symbols.h (IN_MODULE): Define using
6975         MODULE_NAME.
6976         (PASTE_NAME, PASTE_NAME1): New macros.
6977         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
6978         of IN_LIB.
6979         (STAP_PROBE_ASM): Likewise.
6981 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6983         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
6984         __mach_init in dlopened libc.
6986 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
6988         * sysdeps/arm/preconfigure.ac: Delete EABI check.
6989         * sysdeps/arm/preconfigure: Regenerate.
6991 2014-11-21  Roland McGrath  <roland@hack.frob.com>
6993         * nptl/pthread_create.c (__pthread_create_2_1): Set
6994         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
6995         when copying values from IATTR into PD.
6997 2014-11-21  Will Newton  <will.newton@linaro.org>
6998             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
7000         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
7001         Refactor inline-asm.  Also add comment.
7003         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
7004         ElfW macro instead of hardcoded Elf64 types.
7005         (la_aarch64_gnu_pltenter): Likewise.
7006         * sysdeps/aarch64/dl-machine.h
7007         (elf_machine_runtime_setup): Use ElfW(Addr).
7009         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
7010         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
7011         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
7012         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
7013         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
7014         (R_AARCH64_TLS_DTPMOD64): Rename to ..
7015         (R_AARCH64_TLS_DTPMOD): This.
7016         (R_AARCH64_TLS_DTPREL64): Rename to ...
7017         (R_AARCH64_TLS_DTPREL): This.
7018         (R_AARCH64_TLS_TPREL64): Rename to ...
7019         (R_AARCH64_TLS_TPREL): This.
7020         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
7021         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
7022         R_AARCH64_TLS_TPREL64.
7023         (elf_machine_rela): Likewise.
7025 2014-11-21  Torvald Riegel  <triegel@redhat.com>
7027         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
7028         by setting it to 0.  64b atomics are not supported currently.
7030 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7032         [BZ #16469]
7033         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
7034         search domain names.
7036 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7038         [BZ #16469]
7039         * NEWS: Update.
7040         * resolv/res_query.c (__libc_res_nquerydomain): Retain
7041         trailing dot.
7042         * posix/tst-getaddrinfo5.c: New.
7043         * posix/Makefile (tests): Add it.
7045 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7047         [BZ #14498]
7048         * NEWS: Fixed.
7049         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
7050         after parsing line but before break_if_match.
7051         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
7052         if there is a protocol mismatch.
7054 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
7056         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
7057         because the potential race is on the user-supplied stream.
7059 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7061         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
7062         string literal if not passed a buffer.
7063         * manual/job.texi (ctermid): Update reasoning, note deviation
7064         from posix, suggest mtasurace when not passed a buffer, for
7065         future non-preliminary safety notes.
7067 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7069         * manual/users.texi (cuserid): Fix MT-Safety note for the case
7070         of not passing it a buffer.
7071         Reported by Peng Haitao.
7073 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
7075         * manual/Makefile ($(objpfx)stamp-summary): Require
7076         check-safety.sh to pass.
7077         * manual/check-safety.sh: Wish for verification that every
7078         @deftypefn and @deftypefun is followed by a @safety remark.
7080 2014-11-20  Roland McGrath  <roland@hack.frob.com>
7082         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
7084         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
7085         PTHREAD_CANCEL_ASYNCHRONOUS.
7086         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
7087         send SIGCANCEL.
7089         * nptl/default-sched.h: New file.
7090         * sysdeps/unix/sysv/linux/default-sched.h: New file.
7091         * nptl/pthread_create.c: Include it.
7092         (__pthread_create_2_1): Use collect_default_sched instead of making
7093         Linux syscalls here directly.
7095 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7097         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
7098         __pthread_once): Use C11 atomics.
7100 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7102         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
7104 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7106         * include/atomic.h (__atomic_link_error, __atomic_check_size,
7107         atomic_thread_fence_acquire, atomic_thread_fence_release,
7108         atomic_thread_fence_seq_cst, atomic_load_relaxed,
7109         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
7110         atomic_compare_exchange_weak_relaxed,
7111         atomic_compare_exchange_weak_acquire,
7112         atomic_compare_exchange_weak_release,
7113         atomic_exchange_acquire, atomic_exchange_release,
7114         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
7115         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
7116         atomic_fetch_and_acquire,
7117         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
7119 2014-11-20  Torvald Riegel  <triegel@redhat.com>
7121         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
7122         USE_ATOMIC_COMPILER_BUILTINS): Define.
7123         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
7124         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7125         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
7126         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7127         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
7128         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7129         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
7130         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7131         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
7132         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7133         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
7134         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7135         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
7136         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7137         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
7138         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7139         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7140         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7141         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7142         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7143         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
7144         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7145         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7146         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7147         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
7148         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7149         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7150         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7151         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
7152         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7153         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
7154         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7155         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
7156         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7157         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7158         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7159         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
7160         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7161         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
7162         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7164 2014-11-19  Roland McGrath  <roland@hack.frob.com>
7166         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
7167         the sched_priority value here.  It was already checked when the user
7168         called pthread_attr_setschedparam.
7170         * nptl/tst-bad-schedattr.c: New file.
7171         * nptl/Makefile (tests): Add it.
7173 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
7174             Florian Weimer  <fweimer@redhat.com>
7175             Joseph Myers  <joseph@codesourcery.com>
7176             Adam Conrad  <adconrad@0c3.net>
7177             Andreas Schwab  <schwab@suse.de>
7178             Brooks  <bmoses@google.com>
7180         [BZ #17625]
7181         * wordexp-test.c (__dso_handle): Add prototype.
7182         (__register_atfork): Likewise.
7183         (__app_register_atfork): New function.
7184         (registered_forks): New global.
7185         (register_fork): New function.
7186         (test_case): Add 3 new tests for WRDE_CMDSUB.
7187         (main): Call __app_register_atfork.
7188         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
7189         fork count is non-zero fail the test.
7190         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
7191         is set.
7192         (parse_dollars): Remove check for WRDE_NOCMD.
7193         (parse_dquote): Likewise.
7195 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7197         * Makeconfig (built-modules): List non-library modules to be
7198         built.
7199         (module-cppflags): Include libc-modules.h for
7200         everything except shlib-versions.v.i.
7201         (CPPFLAGS): Use it.
7202         (before-compile): Add libc-modules.h.
7203         ($(common-objpfx)libc-modules.h,
7204         $(common-objpfx)libc-modules.stmp): New targets.
7205         (common-generated): Add libc-modules.h and libc-modules.stmp.
7206         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
7207         * include/libc-symbols.h: Don't include libc-modules.h.
7208         * include/libc-modules.h: Remove file.
7209         * scripts/gen-libc-modules.awk: New script to generate
7210         libc-modules.h.
7211         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
7212         Depend on libc-modules.stmp.
7214         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
7216         * Makeconfig (in-module): Get value of libof set for the
7217         translation unit.
7218         (CPPFLAGS): Use $(in-module).
7219         * Makerules: Don't suffix routine names for nonlib.
7220         * include/libc-modules.h: New file.
7221         * include/libc-symbols.h: Include libc-modules.h
7222         (IS_IN): New macro to replace IS_IN_* macros.
7223         * elf/Makefile: Set libof-* for each routine.
7224         * elf/rtld-Rules: Likewise.
7225         * extra-modules.mk: Likewise.
7226         * iconv/Makefile: Likewise.
7227         * iconvdata/Makefile: Likewise.
7228         * locale/Makefile: Likewise.
7229         * malloc/Makefile: Likewise.
7230         * nss/Makefile: Likewise.
7231         * sysdeps/gnu/Makefile: Likewise.
7232         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
7233         * sysdeps/unix/sysv/linux/Makefile: Likewise.
7234         * sysdeps/s390/s390-64/Makefile: Likewise.
7235         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
7236         CPPFLAGS for nscd instead of nonlib.
7238 2014-11-18  Roland McGrath  <roland@hack.frob.com>
7240         * nptl/createthread.c: New file.
7242         * nptl/createthread.c: Moved ...
7243         * sysdeps/unix/sysv/linux/createthread.c: ... here.
7245         * nptl/createthread.c: Add proper top-line comment.
7246         (do_clone): Folded into ...
7247         (create_thread): ... here.  Take new arguments STOPPED_START and
7248         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
7249         increment __nptl_threads, do event-reporting logic, do
7250         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
7251         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
7252         resource cleanup if sched_setaffinity or sched_setscheduler fails,
7253         just send SIGCANCEL.
7254         * nptl/pthread_create.c: Forward-declare create_thread before
7255         including createthread.c.
7256         (start_thread): Use new macro START_THREAD_DEFN to replace defining
7257         declaration, and new macro START_THREAD_SELF to replace argument.
7258         Remove return statement.
7259         (report_thread_creation): New function.
7260         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
7261         synchronization logic, and __nptl_nthreads increment here, around
7262         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
7263         PD->parent_cancelhandling here, before create_thread.  When
7264         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
7265         __deallocate_stack, and ENOMEM translation here.
7267 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
7269         [BZ #17616]
7270         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
7271         (mptwo): Rename to __mptwo.
7272         (__inv): Use __mptwo instead of mptwo.
7273         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
7274         (mptwo): Rename to __mptwo.
7275         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
7276         of mpone and __mptwo instead of mptwo.
7277         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
7278         instead of mpone.
7279         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7280         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
7281         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
7282         of mpone and __mptwo instead of mptwo.
7283         (__mpranred): Use __mpone instead of mpone.
7284         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
7285         variable.
7286         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7287         (test-xfail-ISO99/math.h/linknamespace): Likewise.
7288         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7289         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7290         (test-xfail-ISO11/math.h/linknamespace): Likewise.
7291         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7292         (test-xfail-XPG3/math.h/linknamespace): Likewise.
7293         (test-xfail-XPG4/math.h/linknamespace): Likewise.
7294         (test-xfail-POSIX/math.h/linknamespace): Likewise.
7295         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7296         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7297         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7298         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7299         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7300         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7301         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7302         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7303         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7304         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7306 2014-11-18  Tom de Vries  <tom@codesoucery.com>
7308         * manual/signal.texi (Primitives Interrupted by Signals): In section,
7309         replace BSD Handler xref with BSD Signal Handling.
7311 2014-11-17  Richard Henderson  <rth@redhat.com>
7313         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
7314         (_FP_PACK_RAW_2): Remove.
7315         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
7316         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
7317         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
7318         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
7319         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
7320         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
7321         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
7322         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
7323         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
7324         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
7325         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
7326         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
7327         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
7328         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
7329         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
7330         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
7332 2014-11-14  Roland McGrath  <roland@hack.frob.com>
7334         * signal/signal.h [__USE_MISC]
7335         (struct sigvec): Remove type.
7336         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
7337         (sigvec): Remove declaration.
7338         * sysdeps/posix/sigvec.c: Moved ...
7339         * signal/sigvec.c: ... here, replacing old file.
7340         (struct sigvec): New type, copied from old signal.h definition.
7341         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
7342         (__sigvec): Convert definition to prototype.
7343         (sigvec): Replace weak_alias with compat_symbol.
7344         * signal/Versions (libc: GLIBC_2.21): New version set.
7345         * include/signal.h: Remove __sigvec declaration.
7346         * sysdeps/unix/bsd/sigvec.c: Remove file.
7347         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
7348         * manual/signal.texi (BSD Handler): Remove subsection.
7349         Move siginterrupt up to ...
7350         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
7351         (Blocking in BSD): Fold subsection into its parent.
7352         * NEWS: Mention sigvec removal.
7354 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
7356         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
7357         (DLA_FMS): Make definition conditional only on [__FMA4__].
7358         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
7359         definition.
7361         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
7362         Make definition conditional only on [PROF].
7363         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
7364         definition.
7365         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
7366         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
7368         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
7369         !__GNUC__].
7370         * include/signal.h (__sigpause): Move declaration above call to
7371         libc_hidden_proto.
7372         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
7373         variable.
7374         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
7375         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
7377 2014-11-14  David S. Miller  <davem@davemloft.net>
7379         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
7380         Define before including <string/memcpy.c> and <string/mempcpy.c>.
7382 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
7384         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
7385         * configure: Regenerated.
7386         * manual/install.texi (Tools for Compilation): Document a
7387         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
7388         compiler verified to work.
7389         * INSTALL: Regenerated.
7391         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
7392         redeclare with asm name.
7393         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
7394         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
7395         including <string.h>.
7396         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7397         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
7398         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7399         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
7400         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7401         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7402         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7404 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
7406         * stdlib/strtol.c (__strtol): Use prototype definition.
7408         [BZ #17594]
7409         * stdlib/strtol.c (SYM__): New macro.
7410         (SYM__1): Likewise.
7411         (__strtol): Likewise.
7412         (strtol): Rename to __strtol and define as weak alias of
7413         __strtol.  Use libc_hidden_weak.
7415 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7417         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
7418         Use numbered labels in inline assembly.
7420 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7422         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
7423         Add setjmp LIBC_PROBE.
7424         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
7425         Likewise.
7426         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
7427         Add longjmp, longjmp_target LIBC_PROBE.
7428         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
7429         Likewise.
7431 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7433         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7434         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
7435         to get rid of unused variable warning.
7437 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7439         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
7440         Check for unwind_backtrace ==  NULL only in SHARED case.
7441         (__backchain_backtrace): Compile only in SHARED case.
7442         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
7443         Likewise.
7444         (__backchain_backtrace): Declare as static.
7446 2014-11-12  Roland McGrath  <roland@hack.frob.com>
7448         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
7449         (__libc_multiple_threads_ptr): Variable moved ...
7450         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
7452 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
7454         * conform/GlibcConform.pm: New file.
7455         * conform/conformtest.pl: Use GlibcConform module.
7456         * conform/linknamespace.pl: New file.
7457         * conform/list-header-symbols.pl: Likewise.
7458         * conform/Makefile (linknamespace-symlists-base): New variable.
7459         (linknamespace-symlists-tests): Likewise.
7460         (linknamespace-header-base): Likewise.
7461         (linknamespace-header-tests): Likewise.
7462         (tests-special): Add new tests.
7463         ($(linknamespace-symlists-tests)): New rule.
7464         (linknamespace-libs): New variable.
7465         ($(objpfx)symlist-stdlibs): New rule.
7466         ($(linknamespace-header-tests)): Likewise.
7467         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
7468         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
7469         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
7470         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
7471         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
7472         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
7473         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
7474         (test-xfail-ISO/math.h/linknamespace): Likewise.
7475         (test-xfail-ISO/signal.h/linknamespace): Likewise.
7476         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
7477         (test-xfail-ISO/time.h/linknamespace): Likewise.
7478         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7479         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
7480         (test-xfail-ISO99/math.h/linknamespace): Likewise.
7481         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
7482         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7483         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7484         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7485         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7486         (test-xfail-ISO11/math.h/linknamespace): Likewise.
7487         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
7488         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7489         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7490         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7491         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
7492         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
7493         (test-xfail-XPG3/math.h/linknamespace): Likewise.
7494         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
7495         (test-xfail-XPG3/search.h/linknamespace): Likewise.
7496         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
7497         (test-xfail-XPG3/time.h/linknamespace): Likewise.
7498         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
7499         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
7500         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7501         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
7502         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
7503         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
7504         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
7505         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
7506         (test-xfail-XPG4/math.h/linknamespace): Likewise.
7507         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
7508         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7509         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
7510         (test-xfail-XPG4/search.h/linknamespace): Likewise.
7511         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
7512         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
7513         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
7514         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
7515         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
7516         (test-xfail-XPG4/time.h/linknamespace): Likewise.
7517         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
7518         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
7519         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
7520         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
7521         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
7522         (test-xfail-POSIX/math.h/linknamespace): Likewise.
7523         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
7524         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
7525         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
7526         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7527         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
7528         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7529         (test-xfail-POSIX/time.h/linknamespace): Likewise.
7530         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
7531         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
7532         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7533         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7534         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
7535         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
7536         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
7537         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7538         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7539         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7540         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
7541         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
7542         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7543         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7544         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
7545         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7546         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7547         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
7548         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
7549         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
7550         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7551         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7552         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
7553         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7554         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
7555         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
7556         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
7557         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
7558         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7559         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
7560         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
7561         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
7562         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
7563         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
7564         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7565         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7566         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7567         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
7568         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
7569         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
7570         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7571         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7572         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7573         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7574         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
7575         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
7576         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
7577         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7578         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7579         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
7580         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
7581         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7582         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7583         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
7584         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
7585         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
7586         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
7587         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7588         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7589         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
7590         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7591         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
7592         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7593         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7594         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7595         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
7596         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7597         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7598         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
7599         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7600         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7601         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7602         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7603         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7604         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
7605         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7606         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7607         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7608         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7609         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
7610         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
7611         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7612         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7613         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7614         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7615         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
7616         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7617         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
7618         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7619         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7620         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7621         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7622         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7623         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7624         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
7625         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7626         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7627         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
7629         [BZ #17589]
7630         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
7631         of fgets_unlocked.
7633         [BZ #17585]
7634         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
7635         (memmem): Rename to __memmem and define as weak alias of
7636         __memmem.  Use libc_hidden_weak.
7637         (__memmem): Use libc_hidden_def.
7638         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
7639         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
7640         memmem.
7642         [BZ #17582]
7643         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
7644         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
7645         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
7646         and define as weak alias of __fgets_unlocked.  Use
7647         libc_hidden_weak.
7648         (__fgets_unlocked): Use libc_hidden_def.
7649         * include/stdio.h (__fgets_unlocked): Declare.  Use
7650         libc_hidden_proto.
7651         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
7652         __fgets_unlocked instead of fgets_unlocked.
7653         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
7654         (GET_NPROCS_CONF_PARSER): Likewise.
7655         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
7656         (GET_NPROCS_CONF_PARSER): Likewise.
7658         [BZ #17574]
7659         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
7660         weak alias of __wmemset.  Use libc_hidden_weak.
7661         (__wmemset): Use libc_hidden_def.
7662         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
7663         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
7664         of wmemset.
7666         [BZ #17573]
7667         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
7668         with asm name __mempcpy.
7669         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
7671         [BZ #17572]
7672         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
7673         and define as weak alias of __rawmemchr.
7674         (__rawmemchr): Do not define as strong alias of rawmemchr.
7676         [BZ #17571]
7677         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
7678         alias of __qsort_r.
7679         (qsort): Call __qsort_r instead of qsort_r.
7680         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
7681         (__qsort_r): Declare.  Call libc_hidden_proto.
7682         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
7683         instead of qsort_r.
7684         * nscd/gai.c (__qsort_r): Define to qsort_r.
7685         * posix/tst-rfc3484.c (__qsort_r): Likewise.
7686         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
7687         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
7689         [BZ #17570]
7690         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
7691         define as weak alias of __malloc_info.
7693         [BZ #17584]
7694         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
7695         as weak alias of __rewinddir.  Don't use libc_hidden_def.
7696         (__rewinddir): Use libc_hidden_def.
7697         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
7698         as weak alias of __rewinddir.  Don't use libc_hidden_def.
7699         (__rewinddir): Use libc_hidden_def.
7700         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
7701         weak alias of __rewinddir.  Don't use libc_hidden_def.
7702         (__rewinddir): Use libc_hidden_def.
7703         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
7704         (__rewinddir): Use libc_hidden_proto.
7705         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
7706         rewinddir.
7707         (__getcwd): Use __rewinddir instead of rewinddir.
7709         [BZ #17583]
7710         * libio/fileno.c (fileno): Rename to __fileno and define as weak
7711         alias of __fileno.  Use libc_hidden_weak.
7712         (__fileno): Use libc_hidden_def.
7713         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
7714         * libio/ftello.c (ftello): Rename to __ftello and define as weak
7715         alias of __ftello.
7716         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
7717         __ftello.
7718         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
7719         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
7720         libc_hidden_def.
7721         (fread_unlocked): Don't use libc_hidden_ver.
7722         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
7723         and define as weak alias of __fread_unlocked.  Don't use
7724         libc_hidden_def.
7725         (__fread_unlocked): Use libc_hidden_def.
7726         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
7727         (ftello): Don't use libc_hidden_proto.
7728         (__ftello): Declare.  Use libc_hidden_proto.
7729         (fread_unlocked): Don't use libc_hidden_proto.
7730         (__fread_unlocked): Declare.  Use libc_hidden_proto.
7731         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
7732         and __ftello instead of fileno, fread_unlocked and ftello.
7734 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7736         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
7737         GOT12.
7738         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7739         Likewise.
7740         (_dl_start_user): Likewise.
7741         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
7743 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
7744             Siddhesh Poyarekar  <siddhesh@redhat.com>
7746         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
7747         Move argv and envp down instead of moving argc up.
7748         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
7750 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
7752         [BZ #17506]
7753         * test-skeleton.c (main): Return successful if one of
7754         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
7755         * string/tst-strcoll-overflow.c: Define expected status.
7757 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
7759         [BZ #17475]
7760         * locale/iso-639.def: Define Bhili and Tulu language codes.
7762 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
7764         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
7766 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
7768         [BZ #17555]
7769         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
7771 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
7773         * configure.ac: Updated check of minimal required version to
7774         2.22.
7775         * manual/install.texi (Tools for Compilation): Updated version
7776         number.
7777         * configure: Regenerated.
7778         * INSTALL: Likewise.
7780 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
7782         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
7783         __tls_get_addr.
7785 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
7787         * include/sys/wait.h (__libc_waitpid): Remove declaration.
7788         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
7789         (__waitpid): Don't define as alias.  Use libc_hidden_def not
7790         libc_hidden_weak.
7791         (waitpid): Define as alias of __waitpid.
7792         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
7793         __waitpid.
7794         (__waitpid): Don't define as alias.  Use libc_hidden_def not
7795         libc_hidden_weak.
7796         (waitpid): Define as alias of __waitpid.
7797         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
7798         __libc_waitpid alias.
7799         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
7800         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
7801         Likewise.
7802         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
7803         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
7804         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
7805         alias.
7806         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
7807         __waitpid.
7808         (__waitpid): Don't define as alias.  Use libc_hidden_def not
7809         libc_hidden_weak.
7810         (waitpid): Define as alias of __waitpid.
7812 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
7814         * manual/llio.texi: Add comment that write safety has been
7815         fixed in Linux.
7817         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
7818         (localplt-build-dso): Add elf/ld.so.
7819         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
7820         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
7821         and free for ld.so.
7822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
7823         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
7824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
7825         Likewise.
7826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7827         Likewise.
7828         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
7829         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
7830         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
7831         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
7832         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7833         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
7834         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
7835         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
7836         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7837         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
7838         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7840 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
7842         [BZ #14132]
7843         * include/libc-symbols.h (INTUSE): Remove macro.
7844         (INTDEF): Likewise.
7845         (INTVARDEF): Likewise.
7846         (_INTVARDEF): Likewise.
7847         (INTDEF2): Likewise.
7848         (INTVARDEF2): Likewise.
7849         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
7850         rtld_hidden_def instead of INTVARDEF.
7851         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
7852         (_dl_starting_up_internal): Remove declaration.
7853         (_dl_starting_up): Use rtld_hidden_proto.
7854         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
7855         declaration.
7856         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
7857         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
7858         _dl_starting_up.
7859         * elf/dl-writev.h (_dl_writev): Likewise.
7860         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
7861         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
7862         _dl_starting_up_internal.
7864 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7866         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
7867         test-skeleton.c.
7869 2014-11-05  Will Newton  <will.newton@linaro.org>
7871         * benchtests/Makefile: (bench-malloc): Add malloc thread
7872         scalability benchmark.
7873         * benchtests/bench-malloc-threads.c: New file.
7875 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
7877         * sysdeps/aarch64/strchrnul.S: New file.
7879 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7881         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
7882         definition.
7883         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7884         Likwise.
7885         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7886         Likewise.
7887         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7888         Likewise.
7889         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7890         Likewise.
7891         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7892         Likewise.
7894 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
7896         * catgets/test-gencat.c: Use test-skeleton.c.
7897         * catgets/tst-catgets.c: Likewise.
7898         * csu/tst-empty.c: Likewise.
7899         * elf/tst-audit2.c: Likewise.
7900         * elf/tst-global1.c: Likewise.
7901         * elf/tst-pathopt.c: Likewise.
7902         * elf/tst-piemod1.c: Likewise.
7903         * elf/tst-tls10.c: Likewise.
7904         * elf/tst-tls11.c: Likewise.
7905         * elf/tst-tls12.c: Likewise.
7906         * gnulib/tst-gcc.c: Likewise.
7907         * iconvdata/tst-e2big.c: Likewise.
7908         * iconvdata/tst-loading.c: Likewise.
7909         * iconv/tst-iconv1.c: Likewise.
7910         * iconv/tst-iconv2.c: Likewise.
7911         * inet/test-inet6_opt.c: Likewise.
7912         * inet/tst-gethnm.c: Likewise.
7913         * inet/tst-network.c: Likewise.
7914         * inet/tst-ntoa.c: Likewise.
7915         * intl/tst-codeset.c: Likewise.
7916         * intl/tst-gettext2.c: Likewise.
7917         * intl/tst-gettext3.c: Likewise.
7918         * intl/tst-ngettext.c: Likewise.
7919         * intl/tst-translit.c: Likewise.
7920         * io/test-stat.c: Likewise.
7921         * libio/test-fmemopen.c: Likewise.
7922         * libio/tst-freopen.c: Likewise.
7923         * libio/tst-sscanf.c: Likewise.
7924         * libio/tst-ungetwc1.c: Likewise.
7925         * libio/tst-ungetwc2.c: Likewise.
7926         * libio/tst-widetext.c: Likewise.
7927         * localedata/tst-ctype.c: Likewise.
7928         * localedata/tst-digits.c: Likewise.
7929         * localedata/tst-leaks.c: Likewise.
7930         * localedata/tst-mbswcs1.c: Likewise.
7931         * localedata/tst-mbswcs2.c: Likewise.
7932         * localedata/tst-mbswcs3.c: Likewise.
7933         * localedata/tst-mbswcs4.c: Likewise.
7934         * localedata/tst-mbswcs5.c: Likewise.
7935         * localedata/tst-setlocale.c: Likewise.
7936         * localedata/tst-trans.c: Likewise.
7937         * localedata/tst-wctype.c: Likewise.
7938         * localedata/tst-xlocale1.c: Likewise.
7939         * login/tst-grantpt.c: Likewise.
7940         * malloc/tst-calloc.c: Likewise.
7941         * malloc/tst-malloc.c: Likewise.
7942         * malloc/tst-mallocstate.c: Likewise.
7943         * malloc/tst-mcheck.c: Likewise.
7944         * malloc/tst-mtrace.c: Likewise.
7945         * malloc/tst-obstack.c: Likewise.
7946         * math/atest-exp2.c: Likewise.
7947         * math/atest-exp.c: Likewise.
7948         * math/atest-sincos.c: Likewise.
7949         * math/test-matherr.c: Likewise.
7950         * math/test-misc.c: Likewise.
7951         * math/test-powl.c: Likewise.
7952         * math/tst-definitions.c: Likewise.
7953         * misc/tst-dirname.c: Likewise.
7954         * misc/tst-efgcvt.c: Likewise.
7955         * misc/tst-fdset.c: Likewise.
7956         * misc/tst-hsearch.c: Likewise.
7957         * misc/tst-mntent2.c: Likewise.
7958         * nptl/tst-sem7.c: Likewise.
7959         * nptl/tst-sem8.c: Likewise.
7960         * nptl/tst-sem9.c: Likewise.
7961         * nss/test-netdb.c: Likewise.
7962         * posix/tst-fnmatch.c: Likewise.
7963         * posix/tst-getlogin.c: Likewise.
7964         * posix/tst-gnuglob.c: Likewise.
7965         * posix/tst-mmap.c: Likewise.
7966         * pwd/tst-getpw.c: Likewise.
7967         * resolv/tst-inet_ntop.c: Likewise.
7968         * rt/tst-timer.c: Likewise.
7969         * stdio-common/test-fseek.c: Likewise.
7970         * stdio-common/test-popen.c: Likewise.
7971         * stdio-common/test-vfprintf.c: Likewise.
7972         * stdio-common/tst-cookie.c: Likewise.
7973         * stdio-common/tst-fileno.c: Likewise.
7974         * stdio-common/tst-gets.c: Likewise.
7975         * stdio-common/tst-obprintf.c: Likewise.
7976         * stdio-common/tst-perror.c: Likewise.
7977         * stdio-common/tst-sprintf2.c: Likewise.
7978         * stdio-common/tst-sprintf3.c: Likewise.
7979         * stdio-common/tst-sprintf.c: Likewise.
7980         * stdio-common/tst-swprintf.c: Likewise.
7981         * stdio-common/tst-tmpnam.c: Likewise.
7982         * stdio-common/tst-unbputc.c: Likewise.
7983         * stdio-common/tst-wc-printf.c: Likewise.
7984         * stdlib/tst-environ.c: Likewise.
7985         * stdlib/tst-fmtmsg.c: Likewise.
7986         * stdlib/tst-limits.c: Likewise.
7987         * stdlib/tst-rand48-2.c: Likewise.
7988         * stdlib/tst-rand48.c: Likewise.
7989         * stdlib/tst-random2.c: Likewise.
7990         * stdlib/tst-random.c: Likewise.
7991         * stdlib/tst-strtol.c: Likewise.
7992         * stdlib/tst-strtoll.c: Likewise.
7993         * stdlib/tst-tls-atexit.c: Likewise.
7994         * stdlib/tst-xpg-basename.c: Likewise.
7995         * string/test-ffs.c: Likewise.
7996         * string/tst-bswap.c: Likewise.
7997         * string/tst-inlcall.c: Likewise.
7998         * string/tst-strtok.c: Likewise.
7999         * string/tst-strxfrm.c: Likewise.
8000         * sysdeps/x86_64/tst-audit10.c: Likewise.
8001         * sysdeps/x86_64/tst-audit3.c: Likewise.
8002         * sysdeps/x86_64/tst-audit4.c: Likewise.
8003         * sysdeps/x86_64/tst-audit5.c: Likewise.
8004         * time/tst-ftime_l.c: Likewise.
8005         * time/tst-getdate.c: Likewise.
8006         * time/tst-mktime3.c: Likewise.
8007         * time/tst-mktime.c: Likewise.
8008         * time/tst-posixtz.c: Likewise.
8009         * time/tst-strptime2.c: Likewise.
8010         * time/tst-strptime3.c: Likewise.
8011         * wcsmbs/tst-btowc.c: Likewise.
8012         * wcsmbs/tst-mbrtowc.c: Likewise.
8013         * wcsmbs/tst-mbsrtowcs.c: Likewise.
8014         * wcsmbs/tst-wchar-h.c: Likewise.
8015         * wcsmbs/tst-wcpncpy.c: Likewise.
8016         * wcsmbs/tst-wcrtomb.c: Likewise.
8017         * wcsmbs/tst-wcsnlen.c: Likewise.
8018         * wcsmbs/tst-wcstof.c: Likewise.
8020 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
8022         [BZ #14132]
8023         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
8024         INTDEF.
8025         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
8026         declaration.
8027         (_dl_mcount): Use rtld_hidden_proto.
8028         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
8029         _dl_mcount.
8030         * elf/rtld.c (_rtld_global_ro): Likewise.
8032         [BZ #14132]
8033         * elf/dl-init.c (_dl_init): Don't use INTDEF.
8034         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
8035         of _dl_init_internal.
8036         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
8037         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
8038         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
8039         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
8040         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
8041         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
8042         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
8043         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
8044         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
8045         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
8046         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
8047         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
8048         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8049         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8050         * sysdeps/tile/dl-start.S (_start): Likewise.
8051         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
8052         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
8054         [BZ #14132]
8055         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
8056         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
8057         (rtld_progname): Make macro definition unconditional.
8058         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
8059         INTDEF.
8060         (dlmopen_doit): Do not use INTUSE with _dl_argv.
8061         (dl_main): Likewise.
8062         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8063         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
8064         instead of _dl_argv_internal.
8065         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8066         __GI__dl_argv instead of INTUSE(_dl_argv).
8067         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
8068         __GI__dl_argv instead of _dl_argv_internal.
8070         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
8071         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
8072         macro.
8073         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
8074         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
8075         New macro.
8076         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
8077         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
8078         macro.
8079         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
8080         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
8082 2014-11-04  Andreas Schwab  <schwab@suse.de>
8084         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
8086 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8088         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
8089         mtvsrd instruction in binary form.
8091 2014-11-03  Andreas Schwab  <schwab@suse.de>
8093         [BZ #17522]
8094         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
8095         for less than MB_LEN_MAX use a local buffer of that size.
8096         * libio/tst-fputws.c: New file.
8097         * libio/Makefile (tests): Add tst-fputws.
8099 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
8101         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
8102         the size of the fpu_fr.fpu_dregs[] array.
8104 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
8106         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
8107         (__nanosleep): Do not define as alias.
8108         (nanosleep): Define as alias of __nanosleep.
8109         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
8110         __libc_nanosleep name.
8112 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
8114         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
8115         install.texi in comment.
8117 2014-10-31  Torvald Riegel  <triegel@redhat.com>
8119         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
8120         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
8121         ... add here and use lwsync or sync ...
8122         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
8123         ... and add here using lwsync.
8125 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
8127         * elf/dl-machine-reject-phdr.h: New file.
8128         * elf/dl-load.c: #include that.
8129         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
8130         if that returned true.
8132 2014-10-31  Roland McGrath  <roland@hack.frob.com>
8134         [BZ #17496]
8135         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
8136         gen-as-const-headers chunk.  Add a big scare comment after the last
8137         safe place to touch before-compile.
8139 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
8141         * manual/install.texi (Tools for Compilation): Update autoconf
8142         version requirements.
8143         * INSTALL: Regenerated.
8145         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
8146         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
8147         (__libc_pselect): Likewise.
8149         [BZ #14138]
8150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
8151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8155 2014-10-31  Torvald Riegel  <triegel@redhat.com>
8157         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
8158         correct barrier instruction.
8159         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
8160         Likewise.
8161         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
8162         Likewise.
8164 2014-10-30  Roland McGrath  <roland@hack.frob.com>
8166         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
8167         after defining inlines.  Instead, just use parens to defeat macro
8168         expansion of __isctype in its declaration.
8170 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
8172         * include/sys/uio.h (__libc_readv): Remove declaration.
8173         (__libc_writev): Likewise.
8174         * misc/readv.c (__libc_readv): Rename to __readv.
8175         (__readv): Do not define as alias.
8176         (readv): Define as alias of __readv.
8177         * misc/writev.c (__libc_writev): Rename to __writev.
8178         (__writev): Do not define as alias.
8179         (writev): Define as alias of __writev.
8180         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
8181         (__readv): Do not define as alias.
8182         (readv): Define unconditionally as alias of __readv.
8183         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
8184         (__writev): Do not define as alias.
8185         (writev): Define unconditionally as alias of __writev.
8186         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
8187         name.
8188         (writev): Do not define __libc_writev name.
8190 2014-10-30  Roland McGrath  <roland@hack.frob.com>
8192         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
8193         (convert_charseq): New function, broken out of ...
8194         (use_from_charmap): ... here.  Call it.
8195         (use_to_charmap): Use convert_charseq and free instead of duplicating
8196         its code with a variable-length stack struct.
8198 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
8200         * include/fcntl.h (__libc_creat): Remove declaration.
8201         * io/creat.c (__libc_creat): Rename to creat.
8202         (creat): Do not define as alias.
8203         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
8204         of creat instead of __libc_creat.
8205         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
8206         to creat.
8207         (creat): Do not define as alias.
8208         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
8209         __libc_creat.
8210         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
8211         __libc_creat name.
8212         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
8213         Likewise.
8215 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
8217         * manual/llio.texi: Add comments discussing why write() may be
8218         considered MT-unsafe on Linux.
8220 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
8222         * dl-load.c (local_strdup): Remove.
8223         (expand_dynamic_string_token): Use __strdup.
8224         (decompose_rpath): Likewise.
8225         (_dl_map_object): Likewise.
8227 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
8229         [BZ #14132]
8230         * sysdeps/generic/unwind-dw2-fde.c
8231         (__register_frame_info_bases_internal): Do not declare.
8232         (__register_frame_info_table_bases_internal): Likewise.
8233         (__deregister_frame_info_bases_internal): Likewise.
8234         (__register_frame_info_bases): Declare and use hidden_proto before
8235         definition.  Use hidden_def instead of INTDEF.
8236         (__register_frame_info_table_bases): Likewise.
8237         (__deregister_frame_info_bases): Likewise.
8238         (__register_frame_info): Do not use INTUSE.
8239         (__register_frame): Likewise.
8240         (__register_frame_info_table): Likewise.
8241         (__register_frame_table): Likewise.
8242         (__deregister_frame_info): Likewise.
8243         (__deregister_frame): Likewise.
8245 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
8247         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8248         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
8249         not undefine.
8250         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
8251         Likewise.
8252         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
8253         Likewise.
8255 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
8257         [BZ #14138]
8258         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
8259         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
8260         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
8261         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
8262         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
8263         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
8264         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
8265         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
8266         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
8267         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
8268         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
8269         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
8270         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
8271         syscall.
8272         (setfsuid): Likewise.
8273         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
8274         (setfsuid): Likewise.
8275         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
8276         (setfsuid): Likewise.
8277         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
8278         Likewise.
8279         (setfsuid): Likewise.
8280         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
8281         (setfsuid): Likewise.
8282         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
8283         Likewise.
8284         (setfsuid): Likewise.
8286 2014-10-27  Andreas Schwab  <schwab@suse.de>
8288         [BZ #17501]
8289         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
8290         check for Slow_SSE4_2 feature bit.
8291         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
8292         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8293         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
8294         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
8296 2014-10-24  Roland McGrath  <roland@hack.frob.com>
8298         * configure.ac: Validate compiler version with a empirical test of
8299         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
8300         $CC -v output.
8301         * configure: Regenerated.
8303         * inet/htons.c (htons): Prototypify.
8304         * inet/htonl.c (htonl): Likewise.
8306 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8308         * string/strncat.c (strncat): Improve performance by using strlen.
8310 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8312         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
8314 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8316         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
8317         Call libc_fetestexcept_aarch64.
8319 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8321         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
8322         Call libc_feholdexcept_aarch64.
8324 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8326         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
8327         Call get_rounding_mode.
8329 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8331         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8332         Simplify logic.
8334 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
8336         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
8337         Simplify logic.
8339 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
8341         [BZ #14138]
8342         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
8343         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
8344         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
8345         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
8346         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
8347         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
8348         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
8349         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
8350         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
8351         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
8352         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8353         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
8354         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
8355         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
8356         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
8357         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
8358         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
8359         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
8360         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
8361         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
8362         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
8363         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
8364         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
8365         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
8366         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
8367         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
8368         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
8369         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
8370         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
8371         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
8372         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
8373         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
8374         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
8375         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
8376         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
8377         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
8378         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
8379         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
8380         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
8381         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
8382         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
8383         syscall.
8384         (geteuid): Likewise.
8385         (getgid): Likewise.
8386         (getuid): Likewise.
8387         (getresgid): Likewise.
8388         (getresuid): Likewise.
8389         (getgroups): Likewise.
8390         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
8391         (geteuid): Likewise.
8392         (getgid): Likewise.
8393         (getuid): Likewise.
8394         (getresgid): Likewise.
8395         (getresuid): Likewise.
8396         (getgroups): Likewise.
8397         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
8398         (geteuid): Likewise.
8399         (getgid): Likewise.
8400         (getuid): Likewise.
8401         (getresgid): Likewise.
8402         (getresuid): Likewise.
8403         (getgroups): Likewise.
8404         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
8405         Likewise.
8406         (geteuid): Likewise.
8407         (getgid): Likewise.
8408         (getuid): Likewise.
8409         (getresgid): Likewise.
8410         (getresuid): Likewise.
8411         (getgroups): Likewise.
8412         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
8413         (geteuid): Likewise.
8414         (getgid): Likewise.
8415         (getuid): Likewise.
8416         (getresgid): Likewise.
8417         (getresuid): Likewise.
8418         (getgroups): Likewise.
8419         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
8420         Likewise.
8421         (geteuid): Likewise.
8422         (getgid): Likewise.
8423         (getuid): Likewise.
8424         (getgroups): Likewise.
8426         [BZ #14138]
8427         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
8428         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
8429         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
8430         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
8431         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
8432         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
8433         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
8434         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
8435         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
8436         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
8437         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
8438         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
8439         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
8440         __chown.
8441         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
8442         (lchown): Likewise.
8443         (fchown): Likewise.
8444         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
8445         Likewise.
8446         (lchown): Likewise.
8447         (fchown): Likewise.
8448         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
8449         (lchown): Likewise.
8450         (fchown): Likewise.
8451         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
8452         Likewise.
8453         (lchown): Likewise.
8454         (fchown): Likewise.
8456 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
8458         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
8459         Simplify logic.
8461 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
8463         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
8464         Cleanup logic.
8466 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
8468         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
8469         Remove unused include.
8471 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
8473         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
8474         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
8475         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
8476         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
8478 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
8479             Helge Deller <deller@gmx.de>
8481         [BZ #17508]
8482         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
8483         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
8484         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
8486 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
8488         [BZ #14132]
8489         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
8490         Remove macro definition.
8491         (__ashrdi3_v_glibc20): Likewise.
8492         (__lshrdi3_v_glibc20): Likewise.
8493         (__cmpdi2_v_glibc20): Likewise.
8494         (__ucmpdi2_v_glibc20): Likewise.
8495         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
8496         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8497         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8498         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8499         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8500         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
8502 2014-10-22  Roland McGrath  <roland@hack.frob.com>
8504         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
8505         old GNU extension [0] syntax.
8506         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
8507         alloca rather than an array member with variable length.
8508         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
8509         * nscd/nscd.c (invalidate_db): New function, broken out of ...
8510         (parse_opt): ... here.  Likewise use alloca there.
8511         Validate the -i argument before checking for rootness.
8512         (send_shutdown): New function, broken out of ...
8513         (parse_opt): ... here.
8515 2014-10-22  Roland McGrath  <roland@hack.frob.com>
8517         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
8518         macro to get at the _rt_local_ro field.
8519         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
8520         ([PIC] case) or _dl_hwcap ([!PIC] case).
8521         * sysdeps/arm/setjmp.S: Likewise.
8523         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
8524         * sysdeps/arm/configure.ac: New check to define it.
8525         * sysdeps/arm/configure: Regenerated.
8526         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
8527         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
8528         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
8529         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
8530         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
8531         Use move/movt pair instead of a load.
8532         (LDST_GLOBAL): Macro removed.
8533         (LDR_GLOBAL): New macro replaces it.
8534         (LDR_HIDDEN): New macro.
8535         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
8536         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
8538         * setjmp/tst-setjmp-static.c: New file.
8539         * setjmp/Makefile (tests): Add it.
8540         (tests-static): New variable.
8542 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
8544         [BZ #17485]
8545         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
8547 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
8549         [BZ #14132]
8550         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
8552 2014-10-21  Roland McGrath  <roland@hack.frob.com>
8554         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
8556 2014-10-20  Roland McGrath  <roland@hack.frob.com>
8558         * io/fts.c (dirent_not_directory): New function.
8559         (fts_build): Call it.
8561 2014-10-20  Roland McGrath  <roland@hack.frob.com>
8563         * nptl/version.c (__nptl_main): Use normal __write rather than
8564         INTERNAL_SYSCALL.
8565         (banner): Update copyright years.
8567         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
8568         gettimeofday.
8569         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8570         * nptl/pthread_cond_timedwait.c: Likewise.
8571         * nptl/pthread_mutex_timedlock.c: Likewise.
8572         * nptl/sem_timedwait.c: Likewise.
8574         * sysdeps/nptl/bits/libc-lock.h
8575         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8576         (__libc_lock_init_recursive): Return void, not 0.
8577         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
8578         (__libc_rwlock_init): Likewise.
8579         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
8581 2014-10-20  Torvald Riegel  <triegel@redhat.com>
8583         [BZ #15215]
8584         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
8585         (__pthread_once_slow): ... here.
8586         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
8587         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
8589 2014-10-20  Torvald Riegel  <triegel@redhat.com>
8591         [BZ #15215]
8592         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
8593         __PTHREAD_ONCE_FORK_GEN_INCR): New.
8594         * sysdeps/nptl/fork.c (__libc_fork): Use them.
8595         * nptl/pthread_once.c (__pthread_once): Likewise.
8596         Update comments.
8598 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
8600         [BZ #14138]
8601         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
8602         name.
8603         (writev): Use __libc_writev as strong name.
8604         * sysdeps/unix/sysv/linux/readv.c: Remove file.
8605         * sysdeps/unix/sysv/linux/writev.c: Likewise.
8607 2014-10-17  Roland McGrath  <roland@hack.frob.com>
8609         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
8611         * sysdeps/i386/nptl/tls.h
8612         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
8613         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
8614         New macros.
8615         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
8616         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
8617         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
8618         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
8619         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
8620         Call CHECK_THREAD_SYSINFO instead of doing an assert.
8622         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
8623         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
8624         on [__NR_futex].
8625         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
8626         broken out of ...
8627         (__pthread_mutex_init): ... here.  Call it.
8628         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
8629         Conditionalize PI cases on [__NR_futex].
8630         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8631         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8632         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8634         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
8635         conditional on [SIGSETXID].
8636         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
8637         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
8638         is defined.  Likewise for SIGSETXID.
8639         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
8640         Conditionalize definitions on [SIGSETXID].
8641         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
8642         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
8643         unblocking on [SIGCANCEL].
8645         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
8646         [__NR_set_robust_list].
8648 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8650         * string/strcoll_l.c (get_next_seq): Fix up formatting.
8651         (do_compare): Likewise.
8653 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
8655         [BZ #15884]
8656         * string/strcoll_l.c: Don't include stdio.h.
8657         (coll_seq): Remove members idxarr and rulearr.
8658         (get_next_seq_cached): Remove function.
8659         (get_next_seq): Likewise.
8660         (get_next_seq_nocache): Rename to get_next_seq.
8661         (do_compare): Remove function.
8662         (do_compare_nocache): Rename to do_compare.
8663         (STRCOLL): Remove weight and rules cache.
8665 2014-10-16  Roland McGrath  <roland@hack.frob.com>
8667         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
8668         * sysdeps/arm/sfp-machine.h: ... to here.
8669         * sysdeps/arm/Implies: Remove arm/soft-fp.
8671 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
8673         * conform/data/sys/utsname.h-data (*_t): Allow.
8674         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
8675         [POSIX] (WEXITED): Do not expect constant.
8676         [POSIX] (WSTOPPED): Likewise.
8677         [POSIX] (WNOHANG): Likewise.
8678         [POSIX] (WNOWAIT): Likewise.
8679         [POSIX] (siginfo_t): Do not expect type or elements.
8680         [POSIX] (pid_t): Do not expect type.
8681         [POSIX] (signal.h): Do not allow header.
8682         [POSIX] (sys/resource.h): Likewise.
8683         [POSIX] (si_*): Do not allow pattern.
8684         [POSIX] (W*): Likewise.
8685         [POSIX] (P_*): Likewise.
8686         [POSIX] (BUS_*): Likewise.
8687         [POSIX] (CLD_*): Likewise.
8688         [POSIX] (FPE_*): Likewise.
8689         [POSIX] (ILL_*): Likewise.
8690         [POSIX] (POLL_*): Likewise.
8691         [POSIX] (SEGV_*): Likewise.
8692         [POSIX] (SI_*): Likewise.
8693         [POSIX] (TRAP_*): Likewise.
8694         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
8695         variable.
8697 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
8699         [BZ #12926]
8700         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
8701         infinite loop when __recvmsg returns 0.
8703 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
8705         * CANCEL-FCT-WAIVE: Remove file.
8706         * CANCEL-FILE-WAIVE: Likewise.
8708         [BZ #14132]
8709         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
8710         instead of INTVARDEF.
8711         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
8712         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
8713         rtld_hidden_data_def instead of INTVARDEF.
8714         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
8715         * elf/dl-deps.c (expand_dst): Likewise.
8716         * elf/dl-load.c (_dl_dst_count): Likewise.
8717         (_dl_dst_substitute): Likewise.
8718         (decompose_rpath): Likewise.
8719         (_dl_init_paths): Likewise.
8720         (open_path): Likewise.
8721         (_dl_map_object): Likewise.
8722         * elf/rtld.c (dl_main): Likewise.
8723         (process_dl_audit): Likewise.
8724         (process_envvars): Likewise.
8725         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
8726         Remove declaration.
8727         (__libc_enable_secure): Use rtld_hidden_proto.
8729 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8731         * elf/dl-load.c
8732         (add_path): New function broken out of _dl_rtld_di_serinfo.
8733         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
8735 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
8737         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
8738         parentheses around macro arguments.
8739         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
8740         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
8741         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
8742         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
8743         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
8744         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
8745         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
8746         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
8747         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
8748         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
8749         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
8750         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
8751         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
8752         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
8753         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
8754         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
8755         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
8756         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
8757         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
8758         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
8759         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
8760         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
8761         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
8762         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
8763         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
8764         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
8765         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
8766         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
8767         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
8768         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
8769         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
8770         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
8771         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
8772         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
8773         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
8774         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
8775         Likewise.
8776         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
8777         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
8778         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
8779         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
8780         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
8781         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
8782         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
8783         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
8784         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
8785         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
8786         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
8787         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
8788         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
8789         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
8790         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
8791         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
8792         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
8793         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
8794         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
8795         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
8796         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
8797         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
8798         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
8799         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
8800         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
8801         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
8802         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
8803         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
8804         (_FP_FRAC_SRS_1): Likewise.
8805         (_FP_FRAC_CLZ_1): Likewise.
8806         (_FP_MUL_MEAT_1_imm): Likewise.
8807         (_FP_MUL_MEAT_1_wide): Likewise.
8808         (_FP_MUL_MEAT_1_hard): Likewise.
8809         (_FP_SQRT_MEAT_1): Likewise.
8810         (_FP_FRAC_ASSEMBLE_1): Likewise.
8811         (_FP_FRAC_DISASSEMBLE_1): Likewise.
8812         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
8813         (__FP_CLZ_2): Likewise.
8814         (_FP_MUL_MEAT_2_wide): Likewise.
8815         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8816         (_FP_MUL_MEAT_2_gmp): Likewise.
8817         (_FP_MUL_MEAT_2_120_240_double): Likewise.
8818         (_FP_SQRT_MEAT_2): Likewise.
8819         (_FP_FRAC_ASSEMBLE_2): Likewise.
8820         (_FP_FRAC_DISASSEMBLE_2): Likewise.
8821         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
8822         (_FP_FRAC_CLZ_4): Likewise.
8823         (_FP_MUL_MEAT_4_wide): Likewise.
8824         (_FP_MUL_MEAT_4_gmp): Likewise.
8825         (_FP_SQRT_MEAT_4): Likewise.
8826         (_FP_FRAC_ASSEMBLE_4): Likewise.
8827         (_FP_FRAC_DISASSEMBLE_4): Likewise.
8828         * soft-fp/op-common.h (_FP_CMP): Likewise.
8829         (_FP_CMP_EQ): Likewise.
8830         (_FP_CMP_UNORD): Likewise.
8831         (_FP_TO_INT): Likewise.
8832         (_FP_FROM_INT): Likewise.
8833         [!__FP_CLZ] (__FP_CLZ): Likewise.
8834         (_FP_DIV_HELP_imm): Likewise.
8835         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
8836         Likewise.
8837         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
8838         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
8839         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
8840         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
8841         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
8842         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
8843         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
8844         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
8845         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
8846         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
8847         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
8848         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
8849         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
8850         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
8851         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
8852         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
8853         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
8854         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
8855         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
8856         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
8857         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
8858         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
8859         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
8860         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
8861         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
8862         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
8863         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
8864         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
8865         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
8866         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
8867         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
8868         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
8869         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
8870         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
8871         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
8872         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
8873         (FP_UNPACK_RAW_SP): Likewise.
8874         (FP_PACK_RAW_S): Likewise.
8875         (FP_PACK_RAW_SP): Likewise.
8876         (FP_UNPACK_S): Likewise.
8877         (FP_UNPACK_SP): Likewise.
8878         (FP_UNPACK_SEMIRAW_S): Likewise.
8879         (FP_UNPACK_SEMIRAW_SP): Likewise.
8880         (FP_PACK_S): Likewise.
8881         (FP_PACK_SP): Likewise.
8882         (FP_PACK_SEMIRAW_S): Likewise.
8883         (FP_PACK_SEMIRAW_SP): Likewise.
8884         (_FP_SQRT_MEAT_S): Likewise.
8885         (FP_CMP_S): Likewise.
8886         (FP_CMP_EQ_S): Likewise.
8887         (FP_CMP_UNORD_S): Likewise.
8888         (FP_TO_INT_S): Likewise.
8889         (FP_FROM_INT_S): Likewise.
8891         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
8893         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
8894         (FP_EX_INVALID_IMZ): Likewise.
8895         (FP_EX_INVALID_IMZ_FMA): Likewise.
8896         (FP_EX_INVALID_ISI): Likewise.
8897         (FP_EX_INVALID_ZDZ): Likewise.
8898         (FP_EX_INVALID_IDI): Likewise.
8899         (FP_EX_INVALID_SQRT): Likewise.
8900         (FP_EX_INVALID_CVI): Likewise.
8901         (FP_EX_INVALID_VC): Likewise.
8902         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
8903         "invalid" exceptions.
8904         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
8905         (_FP_ADD_INTERNAL): Likewise.
8906         (_FP_MUL): Likewise.
8907         (_FP_FMA): Likewise.
8908         (_FP_DIV): Likewise.
8909         (_FP_CMP_CHECK_NAN): Likewise.
8910         (_FP_SQRT): Likewise.
8911         (_FP_TO_INT): Likewise.
8912         (FP_EXTEND): Likewise.
8914 2014-10-09  Allan McRae  <allan@archlinux.org>
8916         * po/fr.po: Update French translation from translation project.
8918 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
8920         [BZ #14132]
8921         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
8922         of INTDEF.
8923         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
8924         (__cxa_atexit): Use libc_hidden_proto.
8925         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
8927         [BZ #14132]
8928         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
8929         declaration.
8930         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
8931         [!_ISOMAC] (__iswspace_l_internal): Likewise.
8932         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
8933         [!_ISOMAC] (__iswctype_internal): Likewise.
8934         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
8935         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
8936         alias.
8937         (fcntl): Remove __fcntl_internal alias.
8938         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
8939         __connect_internal alias.
8940         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
8941         Likewise.
8943         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
8944         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
8945         FP_DENORM_ZERO.
8946         (_FP_CHECK_FLUSH_ZERO): New macro.
8947         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
8948         (_FP_CMP): Likewise.
8949         (_FP_CMP_EQ): Likewise.
8950         (_FP_TO_INT): Do not set inexact for subnormal arguments if
8951         FP_DENORM_ZERO.
8952         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
8953         (FP_TRUNC): Likewise.
8955         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
8956         treated as invalid conversion, not as normal exponent.
8958         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
8959         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
8960         (_FP_CMP_EQ): Likewise.
8961         (_FP_CMP_UNORD): Likewise.
8962         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
8963         (FP_CMP_EQ_D): Likewise.
8964         (FP_CMP_UNORD_D): Likewise.
8965         * soft-fp/extended.h (FP_CMP_E): Likewise.
8966         (FP_CMP_EQ_E): Likewise.
8967         (FP_CMP_UNORD_E): Likewise.
8968         * soft-fp/quad.h (FP_CMP_Q): Likewise.
8969         (FP_CMP_EQ_Q): Likewise.
8970         (FP_CMP_UNORD_Q): Likewise.
8971         * soft-fp/single.h (FP_CMP_S): Likewise.
8972         (FP_CMP_EQ_S): Likewise.
8973         (FP_CMP_UNORD_S): Likewise.
8974         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
8975         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
8976         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
8977         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
8978         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
8979         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
8980         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
8981         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
8982         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
8983         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
8984         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
8985         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
8986         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
8987         to FP_CMP_Q.
8988         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
8989         FP_CMP_Q.
8990         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
8991         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
8992         FP_CMP_EQ_Q.
8993         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
8994         FP_CMP_Q.
8995         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
8996         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
8997         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
8998         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
8999         FP_CMP_EQ_Q.
9000         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
9001         FP_CMP_Q.
9002         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
9003         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
9004         FP_CMP_EQ_Q.
9005         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
9006         FP_CMP_Q.
9007         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
9008         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
9009         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
9010         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
9011         FP_CMP_EQ_Q.
9013         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
9014         a subnormal result, set the underflow exception if trapping on
9015         underflow is enabled.
9016         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
9017         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
9018         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
9019         redefine to 0.
9020         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
9021         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9022         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9023         * soft-fp/extendxftf2.c (__extendxftf2): Use
9024         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
9026         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
9027         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
9028         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9029         FP_HANDLE_EXCEPTIONS.
9030         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
9031         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9032         FP_HANDLE_EXCEPTIONS.
9033         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
9034         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9035         FP_HANDLE_EXCEPTIONS.
9036         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
9037         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9038         FP_HANDLE_EXCEPTIONS.
9040 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
9042         [BZ #14132]
9043         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
9044         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
9045         use INTUSE.
9046         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
9047         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
9048         Remove alias.
9049         (__adjtimex): Define using libc_hidden_ver.
9050         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
9051         Remove declaration.
9052         (ntp_gettime): Call __adjtimex directly.
9053         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
9054         Remove declaration.
9055         (ntp_gettimex): Call __adjtimex directly.
9056         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
9057         __adjtimex_internal alias.
9059 2014-10-08  Roland McGrath  <roland@hack.frob.com>
9061         [BZ #17460]
9062         * nscd/nscd.c (more_help): Rewrite list of tables collection
9063         using xstrdup and asprintf.
9065         * nscd/nscd_conf.c: Remove local xstrdup declaration.
9067 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9068             Roland McGrath  <roland@hack.frob.com>
9070         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
9071         (do_lookup_unique): ... local function 'enter' here; update callers.
9073 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
9075         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
9076         compat_symbol calls on [SHARED].
9077         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
9078         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
9079         Remove.
9080         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9081         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
9082         (oldsetrlimit): Remove.
9083         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9085         (lchown): New syscall entry.
9086         (oldsetrlimit): Remove.
9087         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9088         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
9089         (oldsetrlimit): Remove.
9090         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9092         [BZ #14138]
9093         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
9094         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
9095         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
9096         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
9097         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9098         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
9099         (fchown): Likewise.
9100         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
9101         (fchown): Likewise.
9102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
9103         Likewise.
9105 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9107         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
9108         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
9109         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
9110         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
9111         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
9112         Likewise.
9113         (__old_sem_post): Likewise.
9115 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
9117         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
9118         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
9119         HAVE_CLOCK_GETTIME_VSYSCALL macros.
9120         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
9121         Use INLINE_VSYSCALL macro.
9122         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
9123         __vdso_clock_gettime.
9124         * sysdeps/unix/sysv/linux/tile/init-first.c
9125         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
9126         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
9127         __vdso_clock_gettime.
9129         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
9130         to set up frame more cleanly.
9132         * sysdeps/tile/memcmp.c: New file.
9134         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
9136         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
9137         * sysdeps/tile/tilegx/strcasestr.c: New file.
9138         * sysdeps/tile/tilegx/strnlen.c: New file.
9139         * sysdeps/tile/tilegx/strstr.c: New file.
9141         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
9143 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
9145         * nptl/tst-setuid3.c: Write errors to stdout.
9147 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9149         * elf/dl-deps.c
9150         (preload): New functions broken out of _dl_map_object_deps.
9151         (_dl_map_object_deps):  Remove a nested function. Update call sites.
9153 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
9155         [BZ #14138]
9156         * sysdeps/unix/sysv/linux/execve.c: Remove file.
9157         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
9159 2014-10-01  Steve Ellcey  <sellcey@mips.com>
9161         * sysdeps/mips/strcmp.S: New.
9163 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
9165         [BZ #14138]
9166         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
9167         (linkat): Likewise.
9168         (mkdirat): Likewise.
9169         (readlinkat): Likewise.
9170         (renameat): Likewise.
9171         (symlinkat): Likewise.
9172         (unlinkat): Likewise.
9173         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
9174         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
9175         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
9176         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
9177         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9178         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
9179         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
9181 2014-09-30  Will Newton  <will.newton@linaro.org>
9183         * math/math.h: Define long double math functions if
9184         _LIBC_TEST is defined.
9185         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
9187         * localedata/Makefile: Move assignment to tests-special
9188         into an ifdef testing run-built-tests.
9189         * timezone/Makefile: Likewise.
9191 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
9193         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
9194         with $(BASH) not $(SHELL).
9196 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
9197             Matthew LeGendre  <legendre1@llnl.gov>
9199         [BZ #17411]
9200         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
9201         l_reloc_result.
9203 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9205         * stdio-common/printf_fp.c
9206         (hack_digit): New function, broken out of ...
9207         (__printf_fp): ... local function here.  Update call sites.
9208         hack_digit now takes an additional parameter that is a pointer
9209         to a struct of the referenced locals.  Those locals moved inside
9210         the struct and references updated.
9212 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
9214         * aclocal.m4: Require autoconf 2.69.
9215         * configure: Regenerated.
9216         * sysdeps/aarch64/configure: Likewise.
9217         * sysdeps/alpha/configure: Likewise.
9218         * sysdeps/arm/armv7/configure: Likewise.
9219         * sysdeps/arm/configure: Likewise.
9220         * sysdeps/ia64/configure: Likewise.
9221         * sysdeps/mach/configure: Likewise.
9222         * sysdeps/mips/configure: Likewise.
9223         * sysdeps/s390/configure: Likewise.
9224         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
9225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
9227         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
9228         file.
9229         * sysdeps/ia64/configure.ac: Likewise.
9231 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
9233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
9234         specify symbol version for ld.so.  Do not include entry for
9235         libpthread.
9236         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9237         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9238         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9240         [BZ #14171]
9241         * Makeconfig [$(build-shared) = yes]
9242         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
9243         makefiles.
9244         [$(build-shared) = yes && $(soversions.mk-done) = t]
9245         ($(common-objpfx)gnu/lib-names.h): Remove rule.
9246         [$(build-shared) = yes && $(soversions.mk-done) = t]
9247         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
9248         to Makerules.
9249         [$(build-shared) = yes && $(soversions.mk-done) = t]
9250         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
9251         here.
9252         [$(build-shared) = yes && $(soversions.mk-done) = t]
9253         (common-generated): Don't append gnu/lib-names.h and
9254         gnu/lib-names.stmp here.
9255         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
9256         (lib-names-h-abi): New variable.
9257         [$(build-shared) = yes && $(soversions.mk-done) = t]
9258         (lib-names-stmp-abi): Likewise.
9259         [$(build-shared) = yes && $(soversions.mk-done) = t &&
9260         abi-variants] (before-compile): Append
9261         $(common-objpfx)$(lib-names-h-abi).
9262         [$(build-shared) = yes && $(soversions.mk-done) = t &&
9263         abi-variants] (common-generated): Append gnu/lib-names.h.
9264         [$(build-shared) = yes && $(soversions.mk-done) = t &&
9265         abi-variants] (install-others-nosubdir): Depend on
9266         $(inst_includedir)/$(lib-names-h-abi).
9267         [$(build-shared) = yes && $(soversions.mk-done) = t &&
9268         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
9269         [$(build-shared) = yes && $(soversions.mk-done) = t]
9270         ($(common-objpfx)$(lib-names-h-abi)): New rule.
9271         [$(build-shared) = yes && $(soversions.mk-done) = t]
9272         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
9273         [$(build-shared) = yes && $(soversions.mk-done) = t]
9274         (common-generated): Append $(lib-names-h-abi) and
9275         $(lib-names-stmp-abi).
9276         * scripts/lib-names.awk: Do not handle multi being set.
9277         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
9278         Remove variable.
9279         (abi-lp64_be-ld-soname): Likewise.
9280         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
9281         Likewise.
9282         (abi-hard-ld-soname): Likewise.
9283         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
9284         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
9285         Remove variable.
9286         (abi-o32_hard-ld-soname): Likewise.
9287         (abi-o32_soft_2008-ld-soname): Likewise.
9288         (abi-o32_hard_2008-ld-soname): Likewise.
9289         (abi-n32_soft-ld-soname): Likewise.
9290         (abi-n32_hard-ld-soname): Likewise.
9291         (abi-n32_soft_2008-ld-soname): Likewise.
9292         (abi-n32_hard_2008-ld-soname): Likewise.
9293         (abi-n64_soft-ld-soname): Likewise.
9294         (abi-n64_hard-ld-soname): Likewise.
9295         (abi-n64_soft_2008-ld-soname): Likewise.
9296         (abi-n64_hard_2008-ld-soname): Likewise.
9297         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
9298         Likewise.
9299         (abi-64-v2-ld-soname): Likewise.
9300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
9301         ld.so entries.
9302         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
9303         variable.
9304         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
9305         entry.
9306         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
9307         variable.
9308         (abi-64-ld-soname): Likewise.
9309         (abi-x32-ld-soname): Likewise.
9310         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
9311         entry.
9312         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9314 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
9316         [BZ #14138]
9317         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
9318         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9319         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
9320         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
9321         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
9322         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
9323         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
9324         syscall entry for GLIBC_2.2 symbol version.
9325         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
9326         Likewise.
9327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9328         (setrlimit): Likewise.
9329         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
9330         Likewise.
9332 2014-09-23  Will Newton  <will.newton@linaro.org>
9334         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
9335         _LINUX_ARM_SYSDEP_H include guard too.
9336         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
9337         define.
9339 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
9341         * sysdeps/unix/sysv/linux/eventfd.c:
9342         Make first argument unsigned.
9343         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
9344         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
9346 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
9348         * socket/recvmmsg.c (recvmmsg): Drop const argument.
9349         * socket/sys/socket.h: Likewise
9350         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
9352 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9354         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
9356 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
9358         * time/tst-ftime.c: New test.
9359         * time/Makefile (tests): Add tst-ftime.
9361 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
9363         * soft-fp/extended.h: Fix comment formatting.
9364         * soft-fp/op-1.h: Likewise.
9365         * soft-fp/op-2.h: Likewise.
9366         * soft-fp/op-4.h: Likewise.
9367         * soft-fp/op-8.h: Likewise.
9368         * soft-fp/op-common.h: Likewise.
9369         * soft-fp/soft-fp.h: Likewise.
9371         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
9373 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
9375         [BZ #6652]
9376         * Makeconfig (soversions-default-setname): Remove variable.
9377         ($(common-objpfx)soversions.i): Don't pass default_setname to
9378         soversions.awk.
9379         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
9380         oldest_abi to abi-versions.awk.
9381         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
9382         * config.make.in (oldest-abi): Remove variable.
9383         * configure.ac (--enable-oldest-abi): Remove configure option.
9384         * configure: Regenerated.
9385         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
9386         text.
9387         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
9388         * scripts/soversions.awk: Do not handle default_setname variable.
9389         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
9390         variable.
9391         * sysdeps/mach/hurd/configure: Regenerated.
9392         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
9393         variable.
9394         * sysdeps/unix/sysv/linux/configure: Regenerated.
9396 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9398         * elf/Makefile (CFLAGS-interp.c): Remove.
9399         ($(elf-objpfx)runtime-linker.h): Generate header with linker
9400         path string.
9401         * elf/interp.c: Include generated runtime-linker.h
9403         * Makerules (lib%.so): Don't include $(+interp) in
9404         prerequisites.
9405         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
9406         * dlfcn/eval.c: Remove file.
9408         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
9409         macros.
9411         [BZ #17266]
9412         * misc/sys/cdefs.h: Define __extern_always_inline for clang
9413         4.2 and newer.
9415         [BZ #17370]
9416         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
9418 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9419             Jakub Jelinek  <jakub@redhat.com>
9421         [BZ #17266]
9422         * libio/stdio.h: Check definition of __fortify_function
9423         instead of __extern_always_inline to include bits/stdio2.h.
9424         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
9425         check if __extern_always_inline is defined.
9426         [__USE_MISC || __USE_XOPEN]: Likewise.
9427         [__USE_ISOC99] Likewise.
9428         * misc/sys/cdefs.h (__fortify_function): Define only if
9429         __extern_always_inline is defined.
9430         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
9431         __extern_always_inline and __extern_inline only for g++-4.3
9432         and newer or a compatible gcc.
9434 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
9436         [BZ #17371]
9437         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9438         last change to handle zero prefix length.
9440 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9442         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
9443         _SC_REGEX_VERSION.
9445         * posix/getconf.c (vars): Add _POSIX_IPV6 and
9446         _POSIX_RAW_SOCKETS.
9448 2014-09-13  Allan McRae  <allan@archlinux.org>
9450         * po/ru.po: Update Russian translation from translation project.
9452 2014-09-12  Roland McGrath  <roland@hack.frob.com>
9454         * locale/programs/locale.c (show_locale_vars): Inline local function
9455         into its sole call site.  Clean up some style nits.
9456         (print_item): New function, broken out of ...
9457         (show_info): ... local function here.  Clean up style nits.
9459         * locale/programs/ld-ctype.c (set_one_default): New function, broken
9460         out of ...
9461         (set_class_defaults): ... local function set_default here.
9462         Define set_default as a macro locally to pass constant parameters.
9463         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
9464         rather than a shared local.
9466         * stdlib/rpmatch.c (try): New function, broken out of ...
9467         (rpmatch): ... local function here.  Also, prototypify definition.
9469 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
9471         * scripts/soversions.awk: Do not handle configuration names.
9472         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
9473         vendor and os variables to soversions.awk.
9474         * configure.ac: Do not modify gnu-* host_os.
9475         * configure: Regenerated
9476         * shlib-versions: Remove first column with configuration names.
9477         * nptl/shlib-versions: Likewise.
9478         * nptl_db/shlib-versions: Likewise.
9479         * sysdeps/hppa/shlib-versions: Likewise.
9480         * sysdeps/m68k/shlib-versions: Likewise.
9481         * sysdeps/mach/hurd/shlib-versions: Likewise.
9482         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
9483         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
9484         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
9485         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
9486         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
9487         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
9488         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
9489         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
9490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
9491         Likewise.
9492         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9493         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
9494         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
9495         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
9496         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
9497         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
9498         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9499         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9502         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
9503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9504         Regenerated.
9505         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
9506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
9507         Condition symbol version definitions on [HAVE_ELFV2_ABI].
9509         * shlib-versions: Remove OS-specific entries.  Moved to files in
9510         sysdeps.
9511         * sysdeps/mach/hurd/shlib-versions: New file.
9512         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
9514         * nptl/shlib-versions: Remove architecture-specific entries.
9515         Moved to files in sysdeps.
9516         * shlib-versions: Likewise.
9517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
9518         file.
9519         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9520         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
9521         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
9522         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
9524         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
9525         (UDP_NO_CHECK6_RX): Likewise.
9527 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9529         * sysdeps/posix/sysconf.c (__sysconf): Spell
9530         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
9532 2014-08-12  Florian Weimer  <fweimer@redhat.com>
9534         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
9535         loading.
9536         * iconv/Versions (__gconv_transliterate): Export for use from
9537         gconv modules.
9538         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
9539         (struct __gconv_trans_data, __gconv_trans_fct,
9540         __gconv_trans_context_fct, __gconv_trans_query_fct,
9541         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
9542         definitions.
9543         (struct __gconv_step_data): Remove __trans member.
9544         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
9545         longer hidden.  Remove unused trans_data argument.
9546         * iconv/gconv_int.h (struct trans_struct): Remove definition.
9547         (__gconv_translit_find): Remove declaration.
9548         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
9549         prototype.
9550         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
9551         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
9552         trans_data argument.  Add hidden definition.
9553         (__gconv_translit_find): Remove.
9554         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
9555         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
9556         * iconv/skeleton.c: Remove transliteration initialization.
9557         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
9558         __gconv_step_data initialization.
9559         * libio/iofwide.c (__libio_translit_): Remove.
9560         (_IO_fwide): Adjust struct __gconv_step_data initialization.
9561         * wcsmbs/btowc.c (__btowc): Likewise.
9562         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9563         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9564         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9565         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9566         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
9567         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9568         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9569         * wcsmbs/wctob.c (wctob): Likewise.
9571 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9573         [BZ #16194]
9574         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
9575         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
9576         register usage.
9577         * sysdeps/x86/Makefile: Adjust.
9579 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9580             Roland McGrath  <roland@hack.frob.com>
9582         * locale/weight.h: Add include guard.
9583         (findidx): Make static rather than auto; take new parameters
9584         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
9585         * locale/weightwc.h: Likewise.
9586         * posix/fnmatch_loop.c
9587         (FCT): Change type of EXTRA from int32_t to wint_t.
9588         Don't include either header inside the function.
9589         Call FINDIDX rather than findidx, and pass new arguments.
9590         #undef FINDIDX at the end of the file.
9591         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
9592         FINDIDX before including fnmatch_loop.c for the non-wide version.
9593         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
9594         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
9595         for the wide version.
9596         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
9597         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
9598         Pass new arguments to findidx.
9599         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
9600         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
9601         Don't #include it inside the function.  Pass new arguments to findidx.
9602         * posix/regex_internal.h
9603         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
9604         (re_string_elem_size_at): Don't #include it inside the function.
9605         Pass new arguments to findidx.
9606         * string/strcoll_l.c: #include WEIGHT_H at top level.
9607         (get_next_seq): Don't #include it inside the function.
9608         Pass new arguments to findidx.
9609         (get_next_seq_nocache): Likewise.
9610         * string/strxfrm_l.c: #include WEIGHT_H at top level.
9611         (STRXFRM): Don't #include it inside the function.
9612         Pass new arguments to findidx.
9614 2014-09-11  Florian Weimer  <fweimer@redhat.com>
9616         [BZ #17344]
9617         * malloc/malloc.c (unlink): Turn asserts into a call to
9618         malloc_printerr.
9620 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
9622         [BZ #17370]
9623         * libio/wfileops (do_ftell_wide): Free OUT.
9625 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
9627         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
9629 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9631         [BZ #17363]
9632         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
9633         group if the current group is empty.
9635 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9637         * benchtests/bench-memset.c (test_main): Add more test from size
9638         from 32 to 512 bytes.
9639         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9640         Add POWER8 memset object.
9641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9642         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
9643         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
9644         implementation.
9645         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
9646         Likewise.
9647         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
9648         multiarch POWER8 memset optimization.
9649         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
9650         POWER8 memset optimization.
9652         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9653         Remove bzero multiarch objects.
9654         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
9655         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
9656         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
9657         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
9658         Remove define.
9659         [__bzero]: Redefine to specific name.
9660         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
9661         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
9662         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
9663         define.
9664         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9665         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9667 2014-09-10  Florian Weimer  <fweimer@redhat.com>
9669         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
9670         warnings into errors.
9672         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
9673         __cxa_thread_atexit_impl prototype.
9675 2014-09-09  Steve Ellcey  <sellcey@mips.com>
9677         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
9678         Fix capitalization of error message.
9680 2014-09-09  Steve Ellcey  <sellcey@mips.com>
9682         * sysdeps/mips/preconfigure: Modify ABI tests.
9684 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
9686         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
9688 2014-09-07  Roland McGrath  <roland@hack.frob.com>
9689             Carlos O'Donell  <carlos@systemhalted.org>
9691         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
9692         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
9693         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
9694         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
9695         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
9696         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
9697         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
9698         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
9699         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
9700         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
9701         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
9702         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
9703         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
9704         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
9705         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
9706         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
9707         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
9708         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
9709         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
9710         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
9711         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
9712         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
9713         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
9714         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
9715         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
9716         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
9717         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
9718         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
9719         Deconditionalize the code that was previously under [RESET_PID].
9720         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
9721         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
9722         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
9723         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
9724         include sysdep.h.
9726 2014-09-08  Allan McRae  <allan@archlinux.org>
9728         * version.h (RELEASE): Set to "development".
9729         (VERSION): Set to "2.20.90"
9731 2014-09-07  Allan McRae  <allan@archlinux.org
9733         * version.h (RELEASE): Set to "stable".
9734         (VERSION): Set to "2.20"
9735         * include/features.h (__GLIBC_MINOR__): Set to 20.
9737         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
9738         Liebler.
9740         * po/ko.po: Update Korean translation from translation project.
9742 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
9744         [BZ #17354]
9745         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
9746         macro for handling signed relocations.
9748 2014-09-03  Florian Weimer  <fweimer@redhat.com>
9750         [BZ #17325]
9751         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
9752         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
9753         assert.
9754         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
9755         * iconvdata/ibm935.c (BODY): Likewise.
9756         * iconvdata/ibm937.c (BODY): Likewise.
9757         * iconvdata/ibm939.c (BODY): Likewise.
9758         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
9759         assert.
9760         * iconvdata/Makefile (iconv-test.out): Pass module list to test
9761         script.
9762         * iconvdata/run-iconv-test.sh: New test loop for checking for
9763         decoder crashers.
9765 2014-09-02  Khem Raj  <raj.khem@gmail.com>
9767         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
9768         libm_hidden_ver.
9770 2014-09-01  Allan McRae  <allan@archlinux.org>
9772         * po/eo.po: Update Esperanto translation from translation project.
9774         * po/ca.po: Update Catalan translation from translation project.
9776 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9778         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
9779         __proc_dostop call.
9781 2014-08-27  Mark Wielaard  <mjw@redhat.com>
9783         [BZ #17319]
9784         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
9785         to call set_thread_area instead of hand written asm.
9786         (__NR_set_thread_area): Removed define.
9787         (TLS_FLAG_WRITABLE): Likewise.
9788         (__ASSUME_SET_THREAD_AREA): Remove check.
9789         (TLS_EBX_ARG): Remove define.
9790         (TLS_LOAD_EBX): Likewise.
9792 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9794         Simplify atomicity of socket creation in bind.
9796         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
9797         looking up the name after linking the file.
9799 2014-08-27  Allan McRae  <allan@archlinux.org>
9801         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9803 2014-08-26  Florian Weimer  <fweimer@redhat.com>
9805         [BZ #17187]
9806         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
9807         trans_compare, open_translit, __gconv_translit_find):
9808         Remove module loading code.
9810 2014-08-26  Allan McRae  <allan@archlinux.org>
9812         * po/vi.po: Update Vietnamese translation from translation project.
9814         * po/uk.po: Update Ukrainian translation from translation project.
9816         * po/fr.po: Update French translation from translation project.
9818         * po/ru.po: Update Russian translation from translation project.
9820         * po/pl.po: Update Polish translation from translation project.
9822         * po/cs.po: Update Czech translation from translation project.
9824         * po/de.po: Update German translation from translation project.
9826         * po/bg.po: Update Bulgarian translation from translation project.
9828         * po/sv.po: Update Sweedish translation from translation project.
9830         * po/nl.po: Update Dutch translation from translation project.
9832         * po/es.po: Update Spanish translation from translation project.
9834 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9836         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
9838         * catgets/Makefile (CPPFLAGS-gencat): Remove.
9839         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
9840         (CPPFLAGS-iconvconfig): Likewise.
9841         * timezone/Makefile (CPPFLAGS-zic): Likewise.
9843         * include/libc-symbols.h: Remove unnecessary check for
9844         NOT_IN_libc.
9845         * nptl/pthreadP.h: Likewise.
9846         * sysdeps/aarch64/setjmp.S: Likewise.
9847         * sysdeps/alpha/setjmp.S: Likewise.
9848         * sysdeps/arm/sysdep.h: Likewise.
9849         * sysdeps/i386/setjmp.S: Likewise.
9850         * sysdeps/m68k/setjmp.c: Likewise.
9851         * sysdeps/posix/getcwd.c: Likewise.
9852         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9853         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9854         * sysdeps/s390/s390-32/setjmp.S: Likewise.
9855         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9856         * sysdeps/sh/sh3/setjmp.S: Likewise.
9857         * sysdeps/sh/sh4/setjmp.S: Likewise.
9858         * sysdeps/unix/alpha/sysdep.h: Likewise.
9859         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9860         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9861         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9862         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9865         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9866         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9867         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9868         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9869         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9870         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9871         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9872         * sysdeps/x86_64/setjmp.S: Likewise.
9874 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
9876         [BZ #17263]
9877         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
9878         <stdint.h>.
9879         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
9880         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
9882 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9884         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
9886         [BZ #17262]
9887         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
9888         and __x86_64__ when disabling x87 inline functions.
9890 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
9892         [BZ #17259]
9893         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
9894         asm statement with __cpuid_count.
9896 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
9898         * configure.ac: Change __ehdr_start code to dereference the struct.
9899         Run readelf on the output to look for relocations.
9900         * configure: Regenerated.
9902 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
9904         [BZ #17261]
9905         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
9906         value to 0.
9907         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
9909 2014-08-12  Roland McGrath  <roland@hack.frob.com>
9911         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
9913 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
9915         [BZ #16892]
9916         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
9917         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
9919 2014-08-12  Sean Anderson  <seanga2@gmail.com>
9921         * malloc/malloc.c: Fix typo in comment.
9923 2014-08-09  Allan McRae  <allan@archlinux.org>
9925         * Regenerate libc.po.
9927 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
9929         * intl/tst-gettext2.sh: Check every lang file for creation.
9931 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
9933         * sysdeps/aarch64/fpu/math_private.h
9934         (libc_feholdsetround_noex_aarch64_ctx): New function.
9936 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
9938         * sysdeps/arm/armv6/strcpy.S (strcpy):
9939         Fix performance issue in misaligned cases.
9941 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9943         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
9944         Move definition from termios.h.
9945         (struct termio): Likewise.
9946         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9947         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9948         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9949         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9950         Likewise.
9951         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
9952         Move definition to ioctl-types.h
9953         (struct termio): Likewise.
9954         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9955         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9956         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9957         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9958         Likewise.
9960 2014-08-05  Richard Henderson  <rth@redhat.com>
9962         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
9963         exceptions.
9964         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
9965         Add fraiseexcpt.
9966         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
9967         Use __feraiseexcept.
9968         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
9969         Protect libm symbols with IS_IN_libm.
9971         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
9973 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
9975         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
9977 2014-08-04  Will Newton  <will.newton@linaro.org>
9979         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
9980         file.
9982 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
9984         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
9985         variants for each function.
9987 2014-08-04  Roland McGrath  <roland@hack.frob.com>
9989         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
9990         appended ...
9991         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
9992         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
9993         appended ...
9994         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
9995         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
9996         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
9997         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
9998         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
9999         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
10000         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
10001         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
10002         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
10003         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
10004         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
10005         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
10006         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
10007         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
10008         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
10009         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
10010         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
10011         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
10012         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
10013         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
10014         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
10015         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
10016         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
10017         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
10018         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
10019         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
10020         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
10021         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
10022         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
10023         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
10024         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
10025         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
10026         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
10027         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
10028         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
10029         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
10030         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
10031         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
10032         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
10033         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
10034         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
10035         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
10036         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
10037         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
10038         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
10039         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
10040         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
10041         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
10042         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
10043         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
10044         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
10045         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
10046         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
10047         Update #include.
10048         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
10049         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
10051 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10053         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
10054         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
10055         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
10056         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
10057         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
10058         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
10060 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10062         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
10063         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
10064         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10065         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
10067 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10069         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
10070         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
10071         (__libc_vfork): Define function under this name.
10072         (__vfork): Define as an alias.
10073         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
10074         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
10076 2014-08-04  Roland McGrath  <roland@hack.frob.com>
10078         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
10079         that was previously under [RESET_PID].
10080         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
10082 2014-08-04  Andreas Schwab  <schwab@suse.de>
10084         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
10086 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
10088         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
10089         (main): Likewise.
10091 2014-08-01  Roland McGrath  <roland@hack.frob.com>
10093         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
10095 2014-08-01  Richard Henderon  <rth@redhat.com>
10097         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
10098         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
10099         typo in exact zero test.
10100         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10101         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10102         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10104 2014-08-01  Roland McGrath  <roland@hack.frob.com>
10106         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
10107         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
10108         * sysdeps/arm/sysdep.h: ... here.
10109         [!__ASSEMBLER__]: Include <stdint.h>.
10111 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10113         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
10114         (HAVE_WCTYPE_H): Likewise.
10115         (HAVE_ISWCTYPE): Likewise.
10116         (ENABLE_NLS): Likewise.
10117         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
10118         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
10120         * posix/regex_internal.c: Check if DEBUG is defined and is
10121         set.
10123         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
10124         (HAVE_MBSRTOWCS): Likewise.
10125         * posix/fnmatch.c: Include string.h unconditionally.
10127 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
10129         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
10130         reversal.
10132 2014-07-31  Roland McGrath  <roland@hack.frob.com>
10134         * sysdeps/generic/safe-fatal.h: New file.
10135         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
10136         * nptl/forward.c: Include it.
10137         (__pthread_unwind): Use __safe_fatal as default action, rather
10138         than a bogus use of INTERNAL_SYSCALL that could never work.
10140         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
10141         * configure.ac (libc_cv_builtin_trap): New test.
10142         * configure: Regenerated.
10143         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
10144         (ABORT_INSTRUCTION): Define using __builtin_trap.
10146         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
10147         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
10148         * sysdeps/nptl/nptl-signals.h: New file.
10149         * nptl/pthreadP.h: Include <nptl-signals.h>.
10151 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10153         * sysdeps/s390/s390-64/utf16-utf32-z9.c
10154         (ONE_DIRECTION): Define.
10155         * sysdeps/s390/s390-64/utf8-utf16-z9.c
10156         (ONE_DIRECTION): Define.
10157         * sysdeps/s390/s390-64/utf8-utf32-z9.c
10158         (ONE_DIRECTION): Define.
10160 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10162         * sysdeps/s390/Makefile: Delete file.
10163         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
10164         * sysdeps/s390/__longjmp.c: Delete file.
10165         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
10166         Remove fields __flags and __reserved.
10167         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
10168         and add versioning.
10169         * sysdeps/s390/rtld-__longjmp.c: Delete file.
10170         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
10171         * sysdeps/s390/rtld-setjmp.S: Likewise.
10172         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
10173         * sysdeps/s390/s390-32/__longjmp.c: ... here.
10174         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
10175         * sysdeps/s390/s390-32/setjmp.S: ... here.
10176         Add versioning.
10177         (__sigsetjmp): Remove setting __flags field.
10178         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
10179         * sysdeps/s390/s390-64/__longjmp.c: ... here.
10180         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
10181         * sysdeps/s390/s390-64/setjmp.S: ... here.
10182         Add versioning.
10183         (__sigsetjmp): Remove setting __flags field.
10184         * sysdeps/s390/setjmp.S: Delete file.
10185         * sysdeps/s390/sigjmp.c: Likewise.
10186         * sysdeps/s390/v1-longjmp.c: Likewise.
10187         * sysdeps/s390/v1-setjmp.h: Likewise.
10188         * sysdeps/s390/v1-sigjmp.c: Likewise.
10189         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
10190         Remove v1-longjmp_chk.
10191         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
10192         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
10193         Include debug/longjmp_chk.c and add versioning.
10194         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
10195         Include nptl/pt-longjmp.c and add versioning.
10196         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
10197         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
10198         Include __longjmp.c.
10199         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10200         Move to ...
10201         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
10202         (__getcontext): Remove setting __flags field.
10203         Add versioning.
10204         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10205         Don't restore upper high grps.
10206         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
10207         Likewise.
10208         (__swapcontext): Remove setting uc_flags field.
10209         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
10210         Delete file.
10211         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10212         Include __longjmp.c.
10213         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10214         Move to ...
10215         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
10216         (__getcontext): Remove setting __flags field.
10217         Add versioning.
10218         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
10219         (__swapcontext): Remove setting uc_flags field.
10220         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
10221         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
10222         Remove fields uc_high_gprs and __reserved.
10223         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
10224         New file with reverted content.
10225         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
10226         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
10227         Regenerated.
10228         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
10229         Regenerated.
10231 2014-07-31  Andreas Schwab  <schwab@suse.de>
10233         * config.h.in (HAVE_IFUNC): Define to 0.
10234         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
10235         definedness.
10237 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
10239         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10240         memmove-avx-unaligned, memcpy-avx-unaligned and
10241         mempcpy-avx-unaligned.
10242         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10243         Add tests for AVX memcpy functions.
10244         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
10245         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
10246         memcpy_chk.
10247         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
10248         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
10249         memmove_chk.
10250         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
10251         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
10252         mempcpy_chk.
10253         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
10254         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
10255         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
10257 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10259         [BZ #17213]
10260         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
10261         powerpc64le.
10263 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
10265         [BZ #16839]
10266         * manual/llio.texi: Add section about open file description locks.
10267         * manual/examples/ofdlocks.c: Example of open file description
10268         lock usage.
10269         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
10270         F_OFD_SETLK, and F_OFD_SETLKW.
10272 2014-07-23  Allan McRae  <allan@archlinux.org>
10274         * po/es.po: Update Spanish translation from translation project.
10276 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
10278         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
10280 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
10282         [BZ #17078]
10283         * sysdeps/arm/dl-machine.h (elf_machine_rela)
10284         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
10285         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
10287 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
10289         [BZ #17088]
10290         * math/fesetenv.c (__fesetenv)
10291         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
10292         * math/feupdateenv.c (__feupdateenv)
10293         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
10295         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
10296         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10297         (__ASSUME_SOCKETCALL): Do not define.
10299         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
10300         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
10301         (__ASSUME_SOCKETCALL): Do not define.
10302         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
10303         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10304         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10305         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10306         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10307         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
10308         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10309         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10311         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
10312         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
10313         (__ASSUME_SOCKETCALL): Do not define.
10314         (__ASSUME_IPC64): Define unconditionally.
10315         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10316         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10317         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10318         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10319         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
10320         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10321         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
10322         Likewise.
10324         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
10325         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
10326         (__ASSUME_SOCKETCALL): Do not define.
10327         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
10328         (__ASSUME_FUTEX_LOCK_PI): Likewise.
10329         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10330         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10331         (__ASSUME_REQUEUE_PI): Define unconditionally.
10332         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
10333         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10334         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10335         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
10336         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10337         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10339         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
10340         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
10341         (__ASSUME_SOCKETCALL): Do not define.
10342         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
10343         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10344         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10345         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
10346         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10347         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10349         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
10350         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
10351         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10352         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
10353         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10354         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
10355         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10356         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
10357         (__ASSUME_GETCPU_SYSCALL): Likewise.
10359         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
10360         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
10361         cases for individual architectures.
10362         * sysdeps/gnu/configure: Regenerated.
10363         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
10364         LIBC_SLIBDIR_RTLDDIR.
10365         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
10366         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
10367         LIBC_SLIBDIR_RTLDDIR.
10368         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
10369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
10370         LIBC_SLIBDIR_RTLDDIR.
10371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10372         Regenerated.
10373         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
10374         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
10375         file.
10376         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
10377         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
10378         file.
10379         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
10380         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
10381         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
10382         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
10384         * sysdeps/aarch64/shlib-versions: Move to ...
10385         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
10386         * sysdeps/alpha/shlib-versions: Move to ...
10387         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
10388         * sysdeps/arm/shlib-versions: Move to ...
10389         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
10390         * sysdeps/hppa/shlib-versions: Move all contents except for
10391         libgcc_s entry to ...
10392         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
10393         entry from ...
10394         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
10395         * sysdeps/ia64/shlib-versions: Move to ...
10396         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
10397         entry from ...
10398         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
10399         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
10400         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
10401         * sysdeps/microblaze/shlib-versions: Move to ...
10402         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
10403         * sysdeps/mips/shlib-versions: Move to ...
10404         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
10405         entry from ...
10406         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
10407         * sysdeps/tile/shlib-versions: Move to ...
10408         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
10409         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
10410         from ...
10411         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
10412         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
10413         entry from ...
10414         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
10416 2014-07-17  Will Newton  <will.newton@linaro.org>
10418         * sysdeps/arm/bits/atomic.h
10419         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
10420         (__arch_compare_and_exchange_bool_16_int): Likewise.
10421         (__arch_compare_and_exchange_bool_64_int): Likewise.
10423         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
10424         into an #else block.
10426 2014-07-16  Roland McGrath  <roland@hack.frob.com>
10428         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
10429         just Linux configurations.  Test empirically that the compiler sets
10430         __ARM_EABI__, rather than using the tuple to decide.
10431         * sysdeps/arm/preconfigure: Regenerated.
10432         * sysdeps/unix/sysv/linux/arm/configure: File removed.
10433         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
10434         contents appended ...
10435         * sysdeps/arm/configure.ac: ... here.
10436         * sysdeps/arm/configure: Regenerated.
10438 2014-07-15  Roland McGrath  <roland@hack.frob.com>
10440         * nptl/pthread_kill.c: New file.
10441         * nptl/pthread_sigmask.c: New file.
10442         * nptl/pthread_sigqueue.c: New file.
10444         * sysdeps/nptl/lowlevellock.h: New file.
10445         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
10446         * sysdeps/nptl/lowlevellock-futex.h: New file.
10448         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
10449         Remove dead declarations.
10451 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
10453         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
10454         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
10455         config-cflags-avx2.
10456         * sysdeps/x86_64/configure.ac: Likewise.
10457         * sysdeps/i386/configure: Regenerated.
10458         * sysdeps/x86_64/configure: Likewise.
10459         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10460         memset-avx2 only if config-cflags-avx2 is yes.
10461         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10462         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
10463         defined.
10464         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
10465         only if HAVE_AVX2_SUPPORT is defined.
10466         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10468 2014-07-14  Alan Modra  <amodra@gmail.com>
10470         [BZ #17153]
10471         * elf/elf.h (DT_PPC64_NUM): Correct value.
10472         * NEWS: Add to fixed bug list.
10474 2014-07-13  Jim Meyering  <meyering@fb.com>
10476         [BZ 17150]
10477         regex: don't deref NULL upon heap allocation failure
10478         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
10479         failure in one more place.
10480         To trigger the segfault, configure grep -with-included-regex,
10481         build it, and run these commands:
10482         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
10484 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
10486         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10488 2014-07-11  Richard Henderson  <rth@redhat.com>
10490         * sysdeps/aarch64/libm-test-ulps: Update.
10492 2014-07-10  Florian Weimer  <fweimer@redhat.com>
10494         [BZ #17135]
10495         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
10496         * nptl/allocatestack.c (__nptl_setxid_error): New function.
10497         (__nptl_setxid): Initialize error member.  Call
10498         __nptl_setxid_error.
10499         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
10500         * nptl/descr.h (struct xid_command): Add error member.
10501         * nptl/tst-setuid3.c: New file.
10502         * nptl/Makefile (tests): Add it.
10504 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10506         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
10507         New define.
10508         (__lll_trylock): Use __lll_base_trylock.
10509         (__lll_cond_trylock): Likewise.
10511 2014-07-10  Roland McGrath  <roland@hack.frob.com>
10513         * nptl/pthread_create.c (start_thread): Use atomic_or and
10514         lll_futex_wake directly rather than lll_robust_dead.
10515         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10516         (lll_robust_dead): Macro removed.
10517         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
10518         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10519         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10520         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10521         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10522         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10523         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10524         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10525         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10526         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10527         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10528         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10529         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10530         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10531         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10533         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10534         Use atomic_compare_and_exchange_val_acq directly rather than
10535         lll_robust_trylock.
10536         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10537         (__lll_robust_trylock, lll_robust_trylock): Removed.
10538         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10539         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10540         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10541         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10542         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10543         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10544         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10545         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10546         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10547         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10548         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10549         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10550         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10551         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10553 2014-07-02  Florian Weimer  <fweimer@redhat.com>
10555         * manual/locale.texi (Locale Names): New section documenting
10556         locale name syntax.  Adjust menu and node chaining accordingly.
10557         (Choosing Locale): Reference Locale Names, Locale Categories.
10558         Mention setting LC_ALL=C.  Reflect that name syntax is now
10559         documented.
10560         (Locale Categories): New section title.  Reference Locale Names.
10561         LC_ALL is an environment variable, but not a category.
10562         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
10563         description, now in Locale Name.  Reference that section.  Locale
10564         name syntax is now documented.
10566 2014-07-02  Florian Weimer  <fweimer@redhat.com>
10568         [BZ #17137]
10569         * locale/findlocale.c (name_present, valid_locale_name): New
10570         functions.
10571         (_nl_find_locale): Use the loc_name variable to store name
10572         candidates.  Call name_present and valid_locale_name to check and
10573         validate locale names.  Return an error if the locale is invalid.
10575 2014-07-02  Florian Weimer  <fweimer@redhat.com>
10577         * locale/setlocale.c (setlocale): Use strdup for allocating
10578         composite name copy.
10580 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10582         Sync up with gnulib.
10583         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
10584         [!_LIBC && ENABLE_NLS]: Include gettext.h.
10585         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
10586         and _GL_ARG_NONNULL.
10587         [USE_UNLOCKED_IO]: Include unlocked-io.h.
10588         [!_LIBC]: Include code for Windows and Cygwin.
10589         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
10590         Include prototype for int strerror_r.
10591         [!_LIBC] (is_open): New function.
10592         (flush_stdout): New function.
10593         (print_errno_message): Use it.
10594         (error): Likewise.
10595         (error_at_line): Likewise.
10596         (error_tail) Add function attribute macros.  Use
10597         __builtin_expect.
10599         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
10601         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
10603         * io/ftw.c: Include sys/param.h unconditionally.
10605         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
10607         [BZ #17125]
10608         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
10609         libc_freeres_ptr.
10610         (freecache): New function to free CACHE on exit.
10612         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
10613         initialization.
10615 2014-07-09  David S. Miller  <davem@davemloft.net>
10617         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10619         * sysdeps/sparc/nptl/internaltypes.h: Delete.
10620         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
10621         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
10622         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
10623         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
10624         * sysdeps/sparc/nptl/sem_init.c: Likewise.
10625         * sysdeps/sparc/nptl/sem_post.c: Likewise.
10626         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
10627         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
10628         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
10629         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
10630         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
10631         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
10633 2014-07-09  Andreas Schwab  <schwab@suse.de>
10635         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
10636         output.
10637         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
10638         (do_test): Likewise.
10640         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10642 2014-07-09  Will Newton  <will.newton@linaro.org>
10644         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
10645         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
10646         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
10647         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
10648         * sysdeps/hppa/start.S (_start): Likewise.
10650 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
10652         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
10654         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
10655         defined.
10657 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10659         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
10660         after checking that it is non-NULL.
10662         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
10664 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10666         * sysdeps/powerpc/memmove.c: Remove file.
10667         * sysdeps/powerpc/powerpc32/power4/memcopy.h
10668         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
10669         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
10670         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
10671         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
10672         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
10673         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
10674         string memmove instead of removed powerpc one.
10676         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10677         [weak_alias]: Fix compiler warning due trailing data.
10678         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
10679         [weak_alias]: Likewise.
10680         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
10681         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
10683         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10684         (__libc_ifunc_impl_list): Add memmove functions.
10686 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10688         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
10689         Remove code.
10690         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
10691         Likewise
10692         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
10693         Likewise
10694         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
10695         Likewise
10696         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
10697         Likewise
10698         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
10699         Likewise
10700         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
10701         Likewise
10702         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
10703         Likewise
10704         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
10705         Likewise
10706         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
10707         Likewise
10708         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
10709         Likewise
10710         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
10711         Likewise
10712         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
10713         Likewise
10714         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
10715         Likewise
10716         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
10717         Likewise
10718         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
10719         Likewise
10720         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
10721         Likewise
10723 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10725         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
10726         to avoid alignment traps in non-cacheable memory.
10727         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10729         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
10730         multiarch objects.
10731         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
10732         file: multiarch power7 memmove.
10733         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
10734         multiarch default memmove.
10735         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
10736         multiarch memove for powerpc32/power4.
10738         * string/bcopy.c: Use full path to include memmove.c.
10739         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
10740         multiarch objects.
10741         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
10742         bcopy for powerpc64.
10743         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
10744         bcopy for powerpc64.
10745         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
10746         and memmove implementations.
10747         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
10748         optimized multiarch memmove for POWER7/powerpc64.
10749         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
10750         default multiarch memmove for powerpc64.
10751         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
10752         multiarch for powerpc64.
10753         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
10754         for POWER7/powerpc64.
10755         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
10756         memmove for POWER7/powerpc64.
10758         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
10759         glibc default one.
10761         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
10762         __ELF_NATIVE_CLASS equal to 64.
10764 2014-07-07  Roland McGrath  <roland@hack.frob.com>
10766         * sysdeps/nptl/lowlevellock.h: File removed.
10768         * NEWS: NPTL is no longer an add-on!
10769         * nptl/internaltypes.h: Moved ...
10770         * sysdeps/nptl/internaltypes.h: ... here.
10771         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
10772         * sysdeps/nptl/fork.c: Likewise.
10773         * sysdeps/nptl/gai_misc.h: Likewise.
10774         * sysdeps/nptl/librt-cancellation.c: Likewise.
10775         * sysdeps/nptl/jmp-unwind.c: Likewise.
10776         * sysdeps/nptl/setxid.h: Likewise.
10777         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
10778         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
10779         * sysdeps/unix/sysv/linux/arm/Implies: New file.
10780         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
10781         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
10782         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
10783         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
10784         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
10785         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
10786         * sysdeps/unix/sysv/linux/mips/Implies: New file.
10787         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
10788         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
10789         * sysdeps/unix/sysv/linux/sh/Implies: New file.
10790         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
10791         * sysdeps/unix/sysv/linux/tile/Implies: New file.
10792         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
10793         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
10794         * nptl/Makeconfig: Moved ...
10795         * sysdeps/nptl/Makeconfig: ... here.
10796         * nptl/configure: File removed.
10797         * nptl/ANNOUNCE: File removed.
10798         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
10799         * sysdeps/unix/sysv/linux/configure: Regenerated.
10801         * nptl/Makefile (routines): Add libc_pthread_init,
10802         libc_multiple_threads, register-atfork and unregister-atfork.
10803         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
10804         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
10805         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
10806         pthread-pi-defines.sym, structsem.sym.
10807         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
10808         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
10809         [$(subdir) = nptl] (tests): Add tst-setgetname.
10810         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
10811         * sysdeps/unix/sysv/linux/sigaction.c: Just include
10812         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
10813         [!LIBC_SIGACTION]: Remove aliases.
10814         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10815         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10816         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10817         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
10818         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10819         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
10820         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10821         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10822         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10823         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
10824         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
10825         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
10826         __libc_allocate_rtsig_private.
10827         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
10828         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
10829         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
10830         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
10831         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
10832         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
10833         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
10834         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
10835         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
10836         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
10837         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
10838         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
10839         * nptl/internaltypes.h: ... here.
10840         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
10841         * sysdeps/nptl/jmp-unwind.c: ... here.
10842         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
10843         * nptl/libc-lowlevellock.c: ... here.
10844         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
10845         * nptl/libc_multiple_threads.c: ... here.
10846         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
10847         * nptl/libc_pthread_init.c: ... here.
10848         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
10849         * nptl/lowlevelbarrier.sym: ... here.
10850         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
10851         * nptl/lowlevelcond.sym: ... here.
10852         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
10853         * nptl/lowlevellock.c: ... here.
10854         * nptl/lowlevellock.h: Moved ...
10855         * sysdeps/nptl/lowlevellock.h: ... here.
10856         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
10857         * nptl/lowlevelrobustlock.c: ... here.
10858         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
10859         * nptl/lowlevelrobustlock.sym: ... here.
10860         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
10861         * nptl/lowlevelrwlock.sym: ... here.
10862         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
10863         * nptl/pt-fork.c: ... here.
10864         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
10865         * nptl/pthread-pi-defines.sym: ... here.
10866         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
10867         * nptl/pthread_attr_getaffinity.c: ... here.
10868         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
10869         * nptl/pthread_attr_setaffinity.c: ... here.
10870         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
10871         * nptl/pthread_mutex_cond_lock.c: ... here.
10872         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10873         Update #include.
10874         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
10875         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
10876         * nptl/pthread_once.c: ... here, replacing old file.
10877         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
10878         * nptl/pthread_yield.c: ... here.
10879         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
10880         * nptl/register-atfork.c: ... here.
10881         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
10882         * nptl/sem_post.c: ... here.
10883         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
10884         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
10885         * nptl/sem_timedwait.c: ... here.
10886         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
10887         * nptl/sem_trywait.c: ... here.
10888         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
10889         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
10890         * nptl/sem_wait.c: ... here.
10891         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
10892         * nptl/structsem.sym: ... here.
10893         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
10894         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
10895         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
10896         * nptl/unregister-atfork.c: ... here.
10897         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
10898         * nptl/unwindbuf.sym: ... here.
10899         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
10900         * sysdeps/nptl/fork.c: ... here.
10901         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
10902         * sysdeps/nptl/fork.h: ... here.
10903         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
10904         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
10905         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
10906         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
10907         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
10908         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
10909         * sysdeps/unix/sysv/linux/getpid.c: ... here.
10910         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
10911         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
10912         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
10913         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
10914         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
10915         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
10916         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
10917         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
10918         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
10919         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
10920         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
10921         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
10922         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
10923         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
10924         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
10925         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
10926         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
10927         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
10928         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
10929         * sysdeps/unix/sysv/linux/raise.c: ... here.
10930         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
10931         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
10932         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
10933         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
10934         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
10935         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
10936         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
10937         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
10938         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
10939         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
10940         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
10941         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
10942         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
10943         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
10944         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
10946 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10948         * sysdeps/generic/memcopy.h: Add comment for
10949         MEMCPY_OK_FOR_FWD_MEMMOVE.
10951 2014-07-04  Will Newton  <will.newton@linaro.org>
10953         * string/memchr.c: Merge from gnulib.
10954         [_LIBC]: Remove conditionals.
10955         (__ptr_t): Remove define.
10956         (LONG_MAX_32_BITS): Likewise.
10957         (LONG_MAX): Likewise.
10958         (MEMCHR): Use ANSI prototype and optimize algorithm.
10960         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
10962 2014-07-03  Roland McGrath  <roland@hack.frob.com>
10964         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
10965         (lll_futex_timed_wait_bitset): Fix syscall argument count.
10967         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
10968         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
10969         in a bare environment with no <stdlib.h> installed.
10970         * sysdeps/nptl/configure: Regenerated.
10972         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
10974         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
10975         AC_EGREP_CPP for kernel header checks, so they only succeed if
10976         including <linux/version.h> actually works right.
10977         * sysdeps/unix/sysv/linux/configure: Regenerated.
10979         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
10980         value so it's not diagnosed as unused.
10982         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
10983         thing) with "ifeq ($(subdir),rt)".
10985 2014-07-03  Richard Henderson  <rth@redhat.com>
10987         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
10988         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
10989         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
10991         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
10992         (math_force_eval): New.
10994         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
10995         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
10997         * sysdeps/alpha/fpu/s_round.c: Remove file.
10998         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
11000         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
11001         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
11002         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
11003         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
11004         (_dl_start, print_statistics): Likewise.
11005         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
11006         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
11008         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11009         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11010         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11011         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11012         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11013         (HP_SMALL_TIMING_AVAIL): Define.
11014         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11015         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11016         (HP_SMALL_TIMING_AVAIL): Define.
11017         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11018         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11020         * sysdeps/aarch64/hp-timing.h: New file.
11022         * sysdeps/generic/hp-timing.h: Remove dead comment.
11023         * sysdeps/generic/hp-timing-common.h: New file.
11024         * sysdeps/alpha/hp-timing.h: Include it.
11025         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
11026         * sysdeps/i386/i686/hp-timing.h: Likewise.
11027         * sysdeps/ia64/hp-timing.h: Likewise.
11028         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11029         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11030         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11031         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11032         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
11033         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
11034         (hp_timing_t): New.
11036         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
11037         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
11038         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
11039         * elf/rtld.c (_dl_start_final): Likewise.
11040         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
11041         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11042         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11043         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11044         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11045         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11046         (HP_TIMING_DIFF_INIT): Remove.
11047         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11048         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11049         (HP_TIMING_DIFF_INIT): Remove.
11050         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11051         * sysdeps/i386/i686/hp-timing.c: Remove file.
11052         * sysdeps/x86_64/hp-timing.c: Remove file.
11053         * sysdeps/ia64/hp-timing.c: Remove file.
11054         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
11055         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
11056         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
11057         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
11059         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
11060         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
11061         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
11062         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11063         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11064         (HP_TIMING_ACCUM): Remove.
11065         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11066         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
11067         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11069         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
11070         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
11071         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
11072         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
11073         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
11074         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11075         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
11076         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11078         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
11080 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
11082         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
11084 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11086         Sync up with gettext.
11087         * intl/loadmsgcat.c: Define O_BINARY if not defined.
11088         [_MSC_VER]: Include malloc.h
11089         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
11090         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
11091         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
11092         TEMP_FAILURE_RETRY.  Cast return of alloca.
11093         [!_LIBC] Call gl_rwlock_init.
11094         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
11096 2014-07-02  Roland McGrath  <roland@hack.frob.com>
11098         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
11099         before checking its value.
11101 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11103         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
11105         * debug/memcpy_chk.c: Don't include pagecopy.h.
11106         * debug/mempcpy_chk.c: Likewise.
11107         * string/memcpy.c: Likewise.
11108         * string/memmove.c: Likewise.
11109         * sysdeps/powerpc/memmove.c: Likewise.
11110         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
11111         definition of PAGE_COPY_FWD_MAYBE here...
11112         * sysdeps/generic/pagecopy.h: ... from here.
11113         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
11115 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11116             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11118         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
11119         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
11120         optimizations.
11121         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11122         (__libc_ifunc_impl_list): Likewise.
11123         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
11124         multiarch strcat for PPC64.
11125         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
11126         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
11128 2014-07-02  Roland McGrath  <roland@hack.frob.com>
11130         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
11132 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11134         * intl/loadmsgcat.c: Remove declaration of
11135         get_sysdep_segment_value.
11136         (get_sysdep_segment_value): Use ISO C style.
11137         (_nl_load_domain): Use ISO C style.  Get rid of redundant
11138         semicolon.  Fix typo and formatting in comment.
11139         (_nl_unload_domain): Use ISO C style.
11141         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
11143 2014-07-02  Will Newton  <will.newton@linaro.org>
11145         * malloc/obstack.c: Merge from gnulib master.
11146         [HAVE_CONFIG_H]: Remove conditional code.
11147         [!_LIBC]: Include config.h.
11148         [!ELIDE_CODE]: Don't include inttypes.h, include
11149         stdint.h unconditionally.
11150         (print_and_abort): Mark as _Noreturn.
11151         (_obstack_allocated_p): Mark as __attribute_pure__.
11152         (obstack_free): Rename to __obstack_free.
11153         [!__attribute__]: Remove conditional code.
11154         * malloc/obstack.h: Merge from gnulib master.
11155         [__cplusplus]: Move conditional down.
11156         [!__attribute_pure__]: Define __attribute_pure__ here
11157         if it is not already defined.
11158         (_obstack_memory_used): Mark as __attribute_pure__.
11159         [!__obstack_free]: Define as obstack_free.
11160         [__GNUC__]: Remove check for ancient NeXT gcc.
11162 2014-07-02  Will Newton  <will.newton@linaro.org>
11163             Paul Eggert  <eggert@cs.ucla.edu>
11165         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
11167 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11169         * resolv/gethnamaddr.c: Add comment warning that the file is
11170         not maintained.
11172 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
11174         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
11175         entries.
11177         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
11178         entry for aio_cancel and aio_cancel64.
11179         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
11180         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
11181         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
11182         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
11183         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
11184         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
11185         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
11186         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
11187         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
11188         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
11189         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
11190         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
11191         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
11193 2014-07-01  Roland McGrath  <roland@hack.frob.com>
11195         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
11196         * nptl/pthread_mutex_lock.c: Likewise.
11197         * nptl/pthread_mutex_timedlock.c: Likewise.
11198         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
11200 2014-07-01  Richard henderson  <rth@redhat.com>
11202         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
11203         (__isnan, __isnanl): Remove.
11204         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
11206         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11208 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
11210         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11212 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11214         * resolv/nss_dns/dns-host.c (getanswer_r)
11215         [MULTI_PTRS_ARE_ALIASES]: Remove code.
11217 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
11219         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11220         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
11221         undefine.
11222         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
11223         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
11225 2014-07-01  Roland McGrath <roland@hack.frob.com>
11227         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
11228         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
11230         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
11231         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
11233         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
11234         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
11235         ... here.
11236         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
11237         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
11239         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
11240         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
11241         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
11242         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
11244         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
11245         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
11246         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
11247         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
11248         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
11249         Moved ...
11250         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
11251         ... here.
11252         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
11253         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
11254         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
11255         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
11256         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
11257         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
11258         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
11259         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
11260         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
11261         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
11262         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
11263         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
11264         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
11265         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
11266         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
11267         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
11268         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
11269         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
11270         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
11271         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
11272         ... here.
11273         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
11274         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
11275         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
11276         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
11277         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
11278         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
11279         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
11280         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
11282 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
11284         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
11285         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
11286         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
11287         Add sysdep.
11289 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11293 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
11295         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11296         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11298         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11300         * sysdeps/arm/libm-test-ulps: Regenerated.
11302 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
11303             Roland McGrath <roland@hack.frob.com>
11305         * test-skeleton.c (signal_handler): Kill the whole process group
11306         before killing the child individually.
11307         (main): Report any failure on `setpgid'.
11309 2014-06-30  Roland McGrath  <roland@hack.frob.com>
11311         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
11312         from _TLS_H to _ARM_NPTL_TLS_H.
11313         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
11314         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
11316 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
11318         [BZ #16539]
11319         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
11320         (__expm1l): Return argument unchanged when small but not
11321         subnormal.
11323         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
11324         include macro name.
11325         (_FP_UNPACK_RAW_1_P): Likewise.
11326         (_FP_PACK_RAW_1): Likewise.
11327         (_FP_PACK_RAW_1_P): Likewise.
11328         (_FP_MUL_MEAT_1_wide): Likewise.
11329         (_FP_MUL_MEAT_DW_1_hard): Likewise.
11330         (_FP_MUL_MEAT_1_hard): Likewise.
11331         (_FP_DIV_MEAT_1_imm): Likewise.
11332         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
11333         (_FP_DIV_MEAT_1_udiv): Likewise.
11334         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
11335         (_FP_UNPACK_RAW_2): Likewise.
11336         (_FP_UNPACK_RAW_2_P): Likewise.
11337         (_FP_PACK_RAW_2): Likewise.
11338         (_FP_PACK_RAW_2_P): Likewise.
11339         (_FP_MUL_MEAT_DW_2_wide): Likewise.
11340         (_FP_MUL_MEAT_2_wide): Likewise.
11341         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
11342         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11343         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
11344         (_FP_MUL_MEAT_2_gmp): Likewise.
11345         (_FP_DIV_MEAT_2_udiv): Likewise.
11346         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
11347         (_FP_FRAC_SRL_4): Likewise.
11348         (_FP_FRAC_SRST_4): Likewise.
11349         (_FP_FRAC_SRS_4): Likewise.
11350         (_FP_UNPACK_RAW_4): Likewise.
11351         (_FP_UNPACK_RAW_4_P): Likewise.
11352         (_FP_PACK_RAW_4): Likewise.
11353         (_FP_PACK_RAW_4_P): Likewise.
11354         (_FP_MUL_MEAT_DW_4_wide): Likewise.
11355         (_FP_MUL_MEAT_4_wide): Likewise.
11356         (_FP_MUL_MEAT_4_gmp): Likewise.
11357         (umul_ppppmnnn): Likewise.
11358         (_FP_DIV_MEAT_4_udiv): Likewise.
11359         (__FP_FRAC_ADD_4): Likewise.
11360         (__FP_FRAC_SUB_3): Likewise.
11361         (__FP_FRAC_SUB_4): Likewise.
11362         (__FP_FRAC_DEC_3): Likewise.
11363         (__FP_FRAC_DEC_4): Likewise.
11364         (__FP_FRAC_ADDI_4): Likewise.
11365         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
11366         (_FP_FRAC_SRL_8): Likewise.
11367         (_FP_FRAC_SRS_8): Likewise.
11369         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
11370         include macro name.
11371         (FP_UNPACK_RAW_EP): Likewise.
11372         (FP_PACK_RAW_E): Likewise.
11373         (FP_PACK_RAW_EP): Likewise.
11374         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
11375         (_FP_ISSIGNAN): Likewise.
11376         (_FP_ADD_INTERNAL): Likewise.
11377         (_FP_FMA): Likewise.
11378         (_FP_CMP): Likewise.
11379         (_FP_SQRT): Likewise.
11380         (_FP_TO_INT): Likewise.
11381         (_FP_FROM_INT): Likewise.
11382         (FP_EXTEND): Likewise.
11383         (_FP_DIV_MEAT_N_loop): Likewise.
11385 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
11387         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
11388         throughout.
11390 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
11392         [BZ #17097]
11393         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
11394         result with correct sign in case of exponents that produce
11395         overflow except for X very close to 1.
11397 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
11399         mktime: merge #if/#ifdef usage from glibc
11400         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
11401         as that works with both Glibc's and Gnulib's style.
11402         See thread starting at Siddhesh Poyarekar's bug report at:
11403         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
11405 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11407         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
11408         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
11409         * sysdeps/tile/tilegx/memmove.c: Remove file.
11411 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
11413         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
11414         abi-name definition.
11415         * scripts/soversions.awk: Do not handle or generate ABI lines.
11416         * shlib-versions: Remove ABI entries.
11417         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
11418         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
11420 2014-06-27  Roland McGrath  <roland@hack.frob.com>
11422         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
11423         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
11424         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
11425         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
11426         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
11427         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
11428         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
11429         Moved ...
11430         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11431         ... here.
11432         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
11433         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
11434         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
11435         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
11436         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
11437         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
11438         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
11439         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
11440         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
11441         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
11442         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
11443         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
11444         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
11445         Moved ...
11446         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
11447         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
11448         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
11449         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
11450         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
11451         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
11452         Moved ...
11453         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
11454         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
11455         Moved ...
11456         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
11457         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
11458         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
11459         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
11460         Moved ...
11461         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
11462         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
11463         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
11464         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
11465         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
11466         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
11467         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
11468         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
11469         Moved ...
11470         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
11471         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
11472         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
11473         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
11474         Moved ...
11475         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
11476         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
11477         Moved ...
11478         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
11479         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
11480         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
11481         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
11482         Moved ...
11483         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11484         ... here.
11485         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
11486         Identical file removed.
11487         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
11488         Moved ...
11489         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
11490         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
11491         Identical file removed.
11492         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
11493         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
11494         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
11495         Moved ...
11496         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
11497         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
11498         Identical file removed.
11499         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
11500         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
11501         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
11502         Identical file removed.
11503         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
11504         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
11505         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
11506         Identical file removed.
11507         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
11508         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
11509         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
11510         Identical file removed.
11511         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
11512         Moved ...
11513         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
11514         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
11515         Identical file removed.
11516         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
11517         Moved ...
11518         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
11519         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
11520         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
11521         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
11522         Identical file removed.
11523         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
11524         Moved ...
11525         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
11526         ... here.
11527         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
11528         Identical file removed.
11529         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
11530         Moved ...
11531         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
11532         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
11533         Identical file removed.
11534         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
11535         Moved ...
11536         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
11537         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
11538         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
11539         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
11540         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
11541         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
11542         Moved ...
11543         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
11544         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
11545         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
11547         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
11548         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
11549         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
11550         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
11551         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
11553 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
11555         [BZ #17092]
11556         * nscd/nscd.c (monitor_child): Return exit status of child
11557         instead of return value from wait syscall.
11559 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
11561         * configure.ac (libc_commonpagesize): Remove variable.
11562         (libc_relro_required): Likewise.
11563         (libc_cv_z_relro): Remove configure test.
11564         * configure: Regenerated.
11565         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
11566         variable.
11567         (libc_relro_required): Likewise.
11568         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
11569         (libc_relro_required): Likewise.
11570         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
11571         (libc_relro_required): Likewise.
11572         * sysdeps/arm/preconfigure: Regenerated.
11573         * sysdeps/ia64/preconfigure: Remove file.
11574         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
11575         variable.
11576         (libc_relro_required): Likewise.
11578         [BZ #16561]
11579         [BZ #16562]
11580         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
11581         (__ieee754_yn): Set FE_TONEAREST mode internally and then
11582         recompute overflowing results in original rounding mode.
11583         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
11584         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
11585         recompute overflowing results in original rounding mode.
11586         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
11587         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11588         recompute overflowing results in original rounding mode.
11589         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
11590         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11591         recompute overflowing results in original rounding mode.
11592         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
11593         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11594         recompute overflowing results in original rounding mode.
11595         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
11596         (libc_feholdsetround_ctx): New macro.
11597         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
11598         * sysdeps/i386/fpu/libm-test-ulps: Update.
11599         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
11601 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
11603         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
11604         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
11605         corresponding .cpsetup call.
11607 2014-06-26  Roland McGrath  <roland@hack.frob.com>
11609         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
11610         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
11611         * sysdeps/arm/Makefile [$(subdir) = csu]
11612         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
11613         (static-only-routines): Add aeabi_read_tp here.
11614         (shared-only-routines): Add libc-aeabi_read_tp here.
11615         (CFLAGS-libc-start.c): Add -fexceptions here.
11616         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
11617         (sysdep_routines, static-only-routines, shared-only-routines):
11618         Don't add to these here.
11619         (CFLAGS-libc-start.c): Likewise.
11621         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
11622         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11623         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
11624         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11625         * sysdeps/arm/Makefile [$(subdir) = rt]
11626         (librt-sysdep_routines, librt-shared-only-routines):
11627         Append rt-aeabi_unwind_cpp_pr1 here.
11628         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
11629         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
11630         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
11631         (libpthread-sysdep_routines, libpthread-shared-only-routines):
11632         Append nptl-aeabi_unwind_cpp_pr1 here.
11633         (tests): Filter out tst-cleanupx4 here.
11634         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
11635         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
11636         Don't do those here.
11638 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
11640         * scripts/list-sources.sh: Do not handle ports specially.
11642 2014-06-26  Roland McGrath  <roland@hack.frob.com>
11644         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
11645         * sysdeps/arm/feupdateenv.c: Likewise.
11647         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
11649 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
11651         * manual/texinfo.tex: Update to version 2014-05-05.10 with
11652         trailing whitespace removed.
11653         * scripts/config.guess: Update to version 2014-03-23.
11654         * scripts/config.sub: Update to version 2014-05-01
11655         * scripts/install-sh: Update to version 2013-12-25.23.
11656         * scripts/move-if-change: Update from gnulib.
11658 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11660         * debug/memmove_chk.c: Remove pagecopy.h include.
11662 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
11664         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
11665         identical to gnulib mktime.
11667 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
11669         * configure.ac: Do not test for machine being rs6000.  Do not test
11670         for powerpc*-*soft.
11671         * configure: Regenerated.
11673         [BZ #11505]
11674         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
11675         test.
11676         * configure: Regenerated.
11677         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
11678         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
11679         Remove configure test.
11680         * sysdeps/arm/configure: Regenerated.
11681         * sysdeps/nptl/configure.ac: Do not check
11682         libc_cv_asm_cfi_directives.
11683         * sysdeps/nptl/configure: Regenerated.
11684         * sysdeps/x86_64/nptl/configure.ac: Remove file.
11685         * sysdeps/x86_64/nptl/configure: Remove generated file.
11686         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
11687         unconditional.
11688         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
11690 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11692         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
11693         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
11694         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
11695         it is defined.
11697         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
11698         instead of whether it is defined.
11699         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
11700         * sysdeps/hppa/dl-machine.h: Likewise.
11701         * sysdeps/ia64/dl-machine.h: Likewise.
11702         * sysdeps/m68k/dl-machine.h: Likewise.
11703         * sysdeps/microblaze/dl-machine.h: Likewise.
11704         * sysdeps/mips/dl-machine.: Likewise.
11705         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11706         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11707         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11708         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11709         * sysdeps/sh/dl-machine.h: Likewise.
11710         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11711         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11712         * sysdeps/tile/dl-machine.h: Likewise.
11713         * sysdeps/x86_64/dl-machine.h: Likewise.
11715         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
11716         code.
11717         (verify_persistent_db): Likewise.
11719 2014-06-26  Roland McGrath  <roland@hack.frob.com>
11721         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
11722         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
11723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
11724         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
11725         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11726         Moved ...
11727         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11728         ... here.
11729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
11730         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
11731         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
11732         Identical file removed.
11733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
11734         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
11735         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
11736         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
11737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
11738         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
11739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
11740         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
11741         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
11742         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
11743         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11744         Moved ...
11745         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
11746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
11747         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
11748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
11749         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
11750         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11751         Moved ...
11752         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
11753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
11754         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
11755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
11756         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
11757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11758         Identical file removed.
11759         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
11760         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
11761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
11762         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
11763         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11764         Moved ...
11765         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11766         ... here.
11767         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
11768         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
11769         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
11770         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
11771         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
11772         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
11773         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
11774         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
11775         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
11776         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
11777         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11778         Moved ...
11779         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
11780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
11781         Moved ...
11782         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
11783         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
11784         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
11785         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11786         Moved ...
11787         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
11788         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
11789         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
11791         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
11792         folded into ...
11793         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
11794         * sysdeps/unix/sysv/linux/s390/Versions
11795         (libpthread: GLIBC_2.19): New version set.
11796         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
11797         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
11798         (librt: GLIBC_2.3.3): New version set.
11799         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
11800         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
11801         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
11802         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
11803         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
11804         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
11805         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
11806         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
11807         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
11808         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
11809         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
11810         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
11811         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
11812         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
11813         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
11814         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
11815         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
11816         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
11817         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
11818         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
11819         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
11820         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
11821         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
11822         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
11823         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
11824         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
11825         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
11826         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
11827         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
11828         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
11829         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
11830         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
11831         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
11832         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
11833         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
11834         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
11835         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
11836         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
11837         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
11838         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
11839         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
11840         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
11841         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
11842         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
11843         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
11845         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
11846         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
11847         (__libc_vfork): Define the function under this name.
11848         [!NOT_IN_libc] (__vfork): Make this an alias.
11849         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
11850         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
11851         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
11852         (__libc_vfork): Define the function under this name.
11853         [!NOT_IN_libc] (__vfork): Make this an alias.
11854         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
11855         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
11856         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
11857         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
11858         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
11859         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11861         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
11862         code that was previously under [RESET_PID].
11863         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
11864         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
11865         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
11867         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
11868         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
11869         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
11870         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
11871         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
11872         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
11873         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
11874         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
11875         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
11876         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
11877         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
11878         Moved ...
11879         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
11880         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
11881         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
11882         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
11883         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
11884         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
11885         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
11886         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
11887         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
11888         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
11889         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
11890         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
11891         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
11892         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
11893         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
11894         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
11895         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
11896         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
11897         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
11898         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
11899         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
11900         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
11901         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
11902         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
11903         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
11904         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
11905         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
11906         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
11907         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
11909 2014-06-25  Roland McGrath  <roland@hack.frob.com>
11911         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
11912         that was previously under [RESET_PID].
11913         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
11915 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
11917         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
11918         not undefine and redefine.
11919         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
11920         [O_CLOEXEC]: Make code unconditional.
11921         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
11922         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
11923         <kernel-features.h>.
11924         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
11925         conditional variable definition.
11926         (shm_open) [O_CLOEXEC]: Make code unconditional.
11927         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
11928         code.
11930         * configure.ac (USE_REGPARMS): Don't define here.
11931         * configure: Regenerated.
11932         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
11933         * sysdeps/i386/configure: Regenerated.
11935         * nptl/createthread.c: Don't include kernel-features.h.
11936         * nptl/pthread_cancel.c: Likewise.
11937         * nptl/pthread_condattr_setclock.c: Likewise.
11938         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
11939         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
11940         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
11941         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
11942         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
11943         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
11944         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11945         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
11946         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11947         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
11948         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
11949         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
11950         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
11951         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
11952         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
11953         * nscd/gai.c: Likewise.
11954         * nss/nss_db/db-open.c: Likewise.
11955         * sysdeps/generic/ldsodefs.h: Likewise.
11956         * sysdeps/sh/nptl/tls.h: Likewise.
11957         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11958         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
11959         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
11960         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
11961         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
11962         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11963         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
11964         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11965         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11966         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
11967         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
11968         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11969         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
11970         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
11971         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
11972         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
11973         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
11974         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
11975         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
11976         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
11977         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
11978         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
11979         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
11980         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
11981         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
11982         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
11983         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
11984         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
11985         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11986         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
11987         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
11988         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
11989         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
11990         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11991         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11992         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11993         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11994         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
11995         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
11996         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11997         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11998         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
11999         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
12000         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12001         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12002         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
12003         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
12004         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
12005         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
12006         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12007         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12008         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12009         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12010         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12011         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
12012         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12013         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12014         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
12015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
12017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
12018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
12019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
12020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
12027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
12028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
12029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
12035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
12036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12037         * sysdeps/unix/sysv/linux/pread.c: Likewise.
12038         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
12039         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
12040         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
12041         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
12042         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
12043         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
12044         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
12045         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
12046         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12047         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12048         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12049         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
12050         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
12051         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
12052         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
12053         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12054         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
12055         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
12056         * sysdeps/unix/sysv/linux/system.c: Likewise.
12057         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
12058         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12059         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12060         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12061         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12062         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12063         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12065         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
12066         * configure: Regenerated.
12067         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
12069         * configure.ac (base_machine): Do not set specially for particular
12070         machines here.
12071         * configure: Regenerated.
12072         * sysdeps/powerpc/preconfigure: Move machine and base_machine
12073         settings from configure.ac.
12074         * sysdeps/i386/preconfigure: New file.
12075         * sysdeps/s390/preconfigure: Likewise.
12076         * sysdeps/sh/preconfigure: Likewise.
12077         * sysdeps/sparc/preconfigure: Likewise.
12079 2014-06-25  Roland McGrath  <roland@hack.frob.com>
12081         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
12082         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
12083         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
12084         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
12085         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
12086         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
12087         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
12088         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
12089         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
12090         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
12091         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
12092         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
12093         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
12094         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
12095         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
12096         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
12097         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
12098         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
12099         * sysdeps/sparc/sparc64/Makefile: ... appended here.
12101         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
12102         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
12103         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
12104         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
12105         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
12106         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
12107         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
12108         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
12109         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
12110         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
12111         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
12112         * sysdeps/sparc/sparc32/sem_post.c: ... here.
12113         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
12114         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
12115         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
12116         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
12117         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
12118         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
12119         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
12120         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
12121         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
12122         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
12123         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
12124         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
12125         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
12126         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
12127         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
12128         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
12129         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
12130         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
12131         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
12132         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
12133         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
12134         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
12135         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
12136         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
12137         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
12138         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
12140         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
12141         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
12142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
12143         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
12144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12145         Moved ...
12146         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12147         ... here.
12148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
12149         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
12150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
12151         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
12152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
12153         Moved ...
12154         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
12155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
12156         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
12157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
12158         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
12159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
12160         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
12161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12162         Moved ...
12163         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
12164         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12165         Moved ...
12166         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
12167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
12168         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
12169         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12170         Moved ...
12171         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
12172         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
12173         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
12174         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
12175         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
12176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
12177         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
12178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
12179         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
12180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12181         Moved ...
12182         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12183         ... here.
12184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
12185         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
12186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
12187         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
12188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
12189         Moved ...
12190         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
12191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
12192         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
12193         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
12194         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
12195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
12196         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
12197         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12198         Moved ...
12199         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
12200         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12201         Moved ...
12202         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
12203         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
12204         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
12205         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12206         Moved ...
12207         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
12208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
12209         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
12210         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
12211         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
12213 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
12215         * timezone/checktab.awk: Update from tzcode 2014e.
12216         * timezone/private.h: Likewise.
12217         * timezone/tzfile.h: Likewise.
12218         * timezone/zdump.c: Likewise.
12219         * timezone/zic.c: Likewise.
12221         * sysdeps/unix/sysv/linux/kernel-features.h
12222         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
12223         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
12224         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
12225         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12226         Remove conditional code.
12228 2014-06-25  Will Newton  <will.newton@linaro.org>
12230         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
12231         (_dl_arm_cap_flags): Add HWCAP2 values.
12232         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
12233         (_DL_HWCAP_COUNT): Increase to 37.
12234         (_DL_HWCAP_LAST): New define.
12235         (_DL_HWCAP2_LAST): New define.
12236         (_dl_procinfo): Add support for printing
12237         AT_HWCAP2 entries.
12238         (_dl_string_hwcap): Use _dl_hwcap_string.
12240 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12244 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
12246         * README: Do not mention ports directory.
12248         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
12249         Remove macro.
12250         * sysdeps/unix/sysv/linux/futimes.c: Do not include
12251         <kernel-features.h>.
12252         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
12253         conditional variable definition.
12254         (__futimes): Update comment.
12255         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
12256         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
12258         [BZ #16560]
12259         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
12260         arguments close to 0.
12261         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
12262         Likewise.
12263         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
12264         Likewise.
12265         * math/auto-libm-test-in: Add more tests of exp10.
12266         * math/auto-libm-test-out: Regenerated.
12267         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12269         * sysdeps/unix/sysv/linux/kernel-features.h
12270         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
12271         * sysdeps/unix/sysv/linux/readv.c: Do not include
12272         <kernel-features.h>.
12273         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12274         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12275         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12276         unconditional.
12277         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12278         conditional code.
12279         * sysdeps/unix/sysv/linux/writev.c: Do not include
12280         <kernel-features.h>.
12281         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12282         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12283         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12284         unconditional.
12285         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12286         conditional code.
12288 2014-06-25  Will Newton  <will.newton@linaro.org>
12290         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
12291         comment changes throughout the file.  Remove checks
12292         for HAVE_*_H definitions that are not required.
12293         (__gen_tempname): Call abort if an unknown kind value is
12294         passed.
12296 2014-06-25  Andreas Schwab  <schwab@suse.de>
12298         [BZ #17086]
12299         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
12300         scalbln, scalblnf, scalblnl in libc.
12302 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12304         [BZ #17086]
12305         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
12306         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12307         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12309 2014-06-24  Roland McGrath  <roland@hack.frob.com>
12311         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
12312         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
12313         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
12314         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
12315         Update #include.
12316         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
12317         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
12318         Update #include.
12319         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
12320         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
12321         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
12322         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
12323         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
12324         * sysdeps/x86/bits/pthreadtypes.h: ... here.
12325         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
12326         * sysdeps/x86/bits/semaphore.h: ... here.
12327         * sysdeps/x86/nptl/elide.h: Moved ...
12328         * sysdeps/x86/elide.h: ... here.
12329         * sysdeps/x86_64/nptl/Implies: File removed.
12330         * sysdeps/i386/nptl/Implies: File removed.
12332 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
12334         [BZ #16539]
12335         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
12336         return the argument for normal arguments with exponent below -64.
12337         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12338         Likewise.
12339         * math/auto-libm-test-in: Add another test of expm1.
12340         * math/auto-libm-test-out: Regenerated.
12342         [BZ #16287]
12343         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
12344         calling __erfcl for arguments at least 16.
12345         * math/auto-libm-test-in: Add more tests of erf.
12346         * math/auto-libm-test-out: Regenerated.
12348         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
12349         individual architectures.
12350         * sysdeps/unix/sysv/linux/configure: Regenerated.
12351         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
12352         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
12353         * sysdeps/unix/sysv/linux/powerpc/configure.ac
12354         (ldd_rewrite_script): Define variable.
12355         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
12357         file.
12358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
12359         generated file.
12360         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
12361         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
12362         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
12363         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
12364         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
12365         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
12366         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
12367         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
12369 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12371         [BZ #17084]
12372         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
12373         Rename member __data.d to __data.__elision_data.
12375 2014-06-24  Wilco  <wdijkstr@arm.com>
12377         * NEWS: Add 16918 to fixed bug list.
12379 2014-06-24  Wilco  <wdijkstr@arm.com>
12381         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
12383 2014-06-24  Wilco  <wdijkstr@arm.com>
12385         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
12386         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
12387         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
12388         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
12389         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
12390         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
12391         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
12392         Use _FPU_MASK_RM.
12394 2014-06-24  Wilco  <wdijkstr@arm.com>
12396         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
12398 2014-06-24  Wilco  <wdijkstr@arm.com>
12400         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
12401         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
12402         * sysdeps/arm/fesetround.c (fesetround): Remove space.
12403         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
12405 2014-06-24  Wilco  <wdijkstr@arm.com>
12407         [BZ #16918]
12408         * sysdeps/arm/feupdateenv.c (feupdateenv):
12409         Rewrite to reduce FPSCR accesses and fix return value.
12411 2014-06-24  Wilco  <wdijkstr@arm.com>
12413         * sysdeps/arm/fclrexcpt.c (feclearexcept):
12414         Optimize to avoid unnecessary FPSCR writes.
12415         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
12416         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
12417         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
12418         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
12420 2014-06-24  Wilco  <wdijkstr@arm.com>
12422         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
12423         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
12424         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
12425         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
12426         Call libc_fetestexcept_vfp.
12427         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
12428         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
12429         __SOFTFP__ ifdef so that they can be built for softfp.
12431 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12433         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
12434         argument type signed char.
12436         * Makerules (check-abi): Dump diff of symlist if the test
12437         fails.
12439 2014-06-23  Roland McGrath  <roland@hack.frob.com>
12441         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
12442         using abort.
12444         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12445         Remove unused variable ST.
12447 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
12449         [BZ #16354]
12450         [BZ #17061]
12451         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
12452         small arguments before calling __expm1.
12453         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
12454         small arguments before calling __expm1f.
12455         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
12456         small arguments before calling __expm1l.
12457         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12458         Likewise.
12459         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
12460         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
12461         spurious underflow for some cosh tests.
12462         * math/auto-libm-test-out: Regenerated.
12463         * sysdeps/i386/fpu/libm-test-ulps: Update.
12465         [BZ #17050]
12466         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
12467         (__ieee754_y1): Set errno if return value overflows.
12468         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
12469         (__ieee754_y1f): Set errno if return value overflows.
12470         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
12471         (__ieee754_y1l): Set errno if return value overflows.
12472         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
12473         (__ieee754_y1l): Set errno if return value overflows.
12474         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
12475         * math/auto-libm-test-out: Regenerated.
12477         * math/gen-auto-libm-tests.c: Document use of
12478         ignore-zero-inf-sign.
12479         (input_flag_type): Add value flag_ignore_zero_inf_sign.
12480         (input_flags): Add ignore-zero-inf-sign.
12481         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
12482         * math/gen-libm-test.pl (generate_testfile): Handle
12483         ignore-zero-inf-sign.
12484         * math/auto-libm-test-in: Mark some cpow tests with
12485         ignore-zero-inf-sign and some with xfail-rounding.
12486         * math/auto-libm-test-out: Regenerated.
12487         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
12488         * sysdeps/i386/fpu/libm-test-ulps: Update.
12489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12491         [BZ #16315]
12492         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
12493         overflowing or underflowing operations take place with sign of
12494         result.
12495         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12496         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12497         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
12498         (__ieee754_pow): Recompute overflowing and underflowing results in
12499         original rounding mode.
12500         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
12501         (__powl_helper): Allow negative argument X and scale negated value
12502         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
12503         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
12504         overflowing or underflowing operations take place with sign of
12505         result.
12506         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
12507         Include <math.h>.
12508         * math/auto-libm-test-in: Add more tests of pow.
12509         * math/auto-libm-test-out: Regenerated.
12510         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
12511         (pow_tonearest_test_data): Remove.
12512         (pow_test_tonearest): Likewise.
12513         (pow_towardzero_test_data): Likewise.
12514         (pow_test_towardzero): Likewise.
12515         (pow_downward_test_data): Likewise.
12516         (pow_test_downward): Likewise.
12517         (pow_upward_test_data): Likewise.
12518         (pow_test_upward): Likewise.
12519         (main): Don't call removed functions.
12520         * sysdeps/i386/fpu/libm-test-ulps: Update.
12521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12523 2014-06-23  Roland McGrath  <roland@hack.frob.com>
12525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
12526         Moved ...
12527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
12528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12529         Moved ...
12530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
12531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12532         Moved ...
12533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
12534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12535         Moved ...
12536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
12537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12538         File removed.
12539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12540         File removed.
12541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
12542         File removed.
12543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
12544         File removed.
12545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
12546         File removed.
12547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
12548         File removed.
12549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
12550         File removed.
12551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12552         File removed.
12553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
12554         File removed.
12555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12556         File removed.
12557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
12558         File removed.
12559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
12560         File removed.
12561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
12562         Moved ...
12563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
12564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
12565         Moved ...
12566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12567         ... here.
12568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
12569         Moved ...
12570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
12571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
12572         Moved ...
12573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
12574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
12575         Moved ...
12576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
12577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
12578         Moved ...
12579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
12580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
12581         Moved ...
12582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
12583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
12584         Moved ...
12585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
12586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
12587         Moved ...
12588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
12589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
12590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12591         ... here.
12592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
12593         Moved ...
12594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
12595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12596         Moved ...
12597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12598         ... here.
12599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
12600         Moved ...
12601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12602         ... here.
12603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12604         Moved ...
12605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12606         ... here.
12607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12608         Moved ...
12609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
12610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12611         Moved ...
12612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
12613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
12614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
12615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12616         Moved ...
12617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12618         ... here.
12619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12620         Moved ...
12621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12622         ... here.
12623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12624         Moved ...
12625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
12626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12627         Moved ...
12628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
12629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12630         Moved ...
12631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
12632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12633         Moved ...
12634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
12635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12636         Moved ...
12637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12638         ... here.
12639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12640         Moved ...
12641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
12642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12643         Moved ...
12644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
12645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12646         Moved ...
12647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
12648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12649         Moved ...
12650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
12651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
12652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
12653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12654         Moved ...
12655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
12656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12657         Moved ...
12658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
12659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12660         Moved ...
12661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12662         ... here.
12663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12664         Moved ...
12665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12666         ... here.
12667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12668         Moved ...
12669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12670         ... here.
12671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12672         Moved ...
12673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
12674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12675         Moved ...
12676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
12677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12678         Moved ...
12679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
12680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12681         Moved ...
12682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12683         ... here.
12684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12685         Moved ...
12686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12687         ... here.
12688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12689         Moved ...
12690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12691         ... here.
12692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12693         Moved ...
12694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
12695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
12696         Moved ...
12697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
12699 2014-06-23  Will Newton  <will.newton@linaro.org>
12700             Wilco  <wdijkstr@arm.com>
12702         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
12703         implementation.  Include get-rounding-mode.h.
12704         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
12705         [!libc_feholdsetround_noex_ctx]: Define
12706         libc_feholdsetround_noex_ctx.
12707         [!libc_feholdsetround_noexf_ctx]: Define
12708         libc_feholdsetround_noexf_ctx.
12709         [!libc_feholdsetround_noexl_ctx]: Define
12710         libc_feholdsetround_noexl_ctx.
12711         (libc_feholdsetround_ctx): New function.
12712         (libc_feresetround_ctx): New function.
12713         (libc_feholdsetround_noex_ctx): New function.
12714         (libc_feresetround_noex_ctx): New function.
12716 2014-06-23  Roland McGrath  <roland@hack.frob.com>
12718         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
12719         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
12720         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
12721         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
12722         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
12723         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
12725         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
12726         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
12727         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
12728         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
12729         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
12730         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
12731         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
12732         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
12733         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
12734         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
12735         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
12736         Moved ...
12737         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12738         ... here.
12739         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
12740         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
12741         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
12742         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
12743         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
12744         Moved ...
12745         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
12746         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
12747         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
12748         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
12749         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
12750         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
12751         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
12752         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
12753         Moved ...
12754         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
12755         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
12756         Moved ...
12757         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
12758         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
12759         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
12760         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
12761         Moved ...
12762         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
12763         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
12764         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
12765         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
12766         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
12767         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
12768         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
12769         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
12770         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
12771         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
12772         Moved ...
12773         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12774         ... here.
12775         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
12776         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
12777         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
12778         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
12779         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
12780         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
12781         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
12782         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
12783         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
12784         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
12785         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
12786         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
12787         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
12788         Moved ...
12789         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
12790         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
12791         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
12792         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
12793         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
12794         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
12795         Moved ...
12796         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
12797         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
12798         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
12799         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
12800         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
12802         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
12803         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
12804         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
12805         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
12806         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
12807         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
12808         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
12809         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
12810         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
12811         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
12812         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
12813         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
12814         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
12815         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
12816         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
12817         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
12818         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
12819         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
12820         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
12821         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
12822         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
12823         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
12824         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
12825         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
12826         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
12827         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
12828         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
12829         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
12831 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
12833         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
12834         (FALLOC_FL_COLLAPSE_RANGE): New macro.
12835         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
12836         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
12837         (IPV6_PMTUDISC_INTERFACE): Likewise.
12838         (IPV6_PMTUDISC_OMIT): Likewise.
12840 2014-06-23  Andreas Schwab  <schwab@suse.de>
12842         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
12843         Remove unused errout label.
12845 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12847         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
12848         macro: hardware supports Vector Crypto instructions.
12850 2014-06-23  Will Newton  <will.newton@linaro.org>
12852         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
12853         rather than __builtin_expect.
12855         * elf/dl-lookup.c (undefined_msg): Remove variable.
12856         (_dl_lookup_symbol_x): Replace undefined_msg with string
12857         literal.
12859         * elf/dl-lookup.c (do_lookup_unique): New function.
12860         (do_lookup_x): Move STB_GNU_UNIQUE handling code
12861         to a separate function.
12863 2014-06-23  Andreas Schwab  <schwab@suse.de>
12865         [BZ #17079]
12866         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
12867         before reading the next line.
12869 2014-06-23  Will Newton  <will.newton@linaro.org>
12871         * test-skeleton.c (signal_handler): Use printf and %m
12872         rather than perror.  Use printf rather than fprintf to
12873         stderr.  Use puts rather than fputs to stderr.
12874         (main): Likewise.
12876 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
12878         * nscd/nscd.c (thread_info_t): Remove typedef.
12879         (thread_info): Remove variable.
12881 2014-06-21  Allan McRae  <allan@archlinux.org>
12883         * NEWS: Mention CVE-2014-4043.
12885 2014-06-20  Roland McGrath  <roland@hack.frob.com>
12887         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
12888         * nptl/smp.h: ... here.
12890         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
12892         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
12893         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
12894         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
12895         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
12897         * nptl/allocatestack.c: Include <stack-aliasing.h>.
12898         * nptl/stack-aliasing.h: New file.
12899         * sysdeps/i386/i686/stack-aliasing.h: New file.
12900         * sysdeps/i386/i686/nptl/Makefile: File removed.
12901         * sysdeps/x86_64/stack-aliasing.h: New file.
12902         * sysdeps/x86_64/nptl/Makefile
12903         (CFLAGS-pthread_create.c): Variable removed.
12905         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
12906         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
12907         old file.
12908         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
12909         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
12910         old file.
12912 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
12914         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12915         (__ASSUME_SIGFRAME_V2): Remove macro.
12916         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
12917         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
12918         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
12919         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
12920         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
12921         Declare as function.  Remove conditional macro definitions.
12922         (__default_rt_sa_restorer): Likewise.
12923         (__default_sa_restorer_v1): Remove declaration.
12924         (__default_sa_restorer_v2): Likewise.
12925         (__default_rt_sa_restorer_v1): Likewise.
12926         (__default_rt_sa_restorer_v2): Likewise.
12927         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
12928         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
12929         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
12931 2014-06-20  Roland McGrath  <roland@hack.frob.com>
12933         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
12934         (libpthread-routines): Add sysdep.
12935         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
12936         * sysdeps/unix/sysv/linux/sparc/Versions
12937         (libpthread: GLIBC_2.3.3): New version set.
12938         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
12939         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
12940         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
12941         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
12942         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
12943         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
12944         Moved ...
12945         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
12946         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
12947         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
12948         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
12949         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
12950         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
12951         * sysdeps/sparc/nptl/sem_init.c: ... here.
12952         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
12953         * sysdeps/sparc/nptl/sem_post.c: ... here.
12954         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
12955         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
12956         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
12957         * sysdeps/sparc/nptl/sem_wait.c: ... here.
12958         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
12959         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
12960         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
12961         (libpthread-routines): Add cpu_relax.
12962         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
12963         File removed.
12964         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
12965         (librt: GLIBC_2.3.3): New version set.
12966         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
12967         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
12968         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
12969         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
12970         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
12971         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
12972         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
12973         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
12974         Moved ...
12975         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
12976         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
12977         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
12978         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
12979         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
12980         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
12981         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
12982         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
12983         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
12984         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
12985         Moved ...
12986         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
12987         Update #include.
12988         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
12989         Moved ...
12990         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
12991         Update #include.
12992         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
12993         Moved ...
12994         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
12995         Update #include.
12996         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
12997         Moved ...
12998         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
12999         Update #include.
13000         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
13001         Moved ...
13002         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
13003         Update #include.
13004         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
13005         Moved ...
13006         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
13007         Update #include.
13008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
13009         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
13010         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
13011         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
13012         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
13013         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
13014         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
13015         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
13016         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
13017         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
13018         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13019         Moved ...
13020         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
13021         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
13022         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
13023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
13024         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
13026 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
13028         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
13029         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
13030         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13031         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
13032         * nscd/nscd.c: Likewise.
13033         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13034         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13035         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13036         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13038         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
13039         <kernel-features.h>.
13040         (init_mq_netlink): Remove conditional have_sock_cloexec
13041         definitions.  Remove code conditional on have_sock_cloexec < 0.
13042         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
13043         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
13044         * sysdeps/unix/sysv/linux/opensock.c: Do not include
13045         <kernel-features.h>.
13046         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
13047         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
13049 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
13051         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13052         Add tests for memset_chk and memset.
13054         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
13055         with AVX2_Usable.
13057 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
13059         [BZ #16046]
13060         * elf/tst-dl-iter-static.c: New file.
13061         * elf/Makefile (tests-static): Add tst-dl-iter-static.
13063         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
13064         error.
13066 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
13068         * sysdeps/unix/sysv/linux/kernel-features.h
13069         (__ASSUME_F_GETOWN_EX): Remove macro.
13070         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
13071         <kernel-features.h>.
13072         (miss_F_GETOWN_EX): Remove variable or macro.
13073         (do_fcntl): Do not check miss_F_GETOWN_EX.
13074         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
13076         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
13077         Remove macro.
13078         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
13079         [!__ASSUME_AT_RANDOM]: Remove conditional code.
13080         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
13082         * sysdeps/unix/sysv/linux/kernel-features.h
13083         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
13084         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
13085         [ADJ_OFFSET_SS_READ]: Make code unconditional.
13086         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
13088 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
13090         [BZ #17075]
13091         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
13092         Fix calculation of the symbol's value.
13093         * sysdeps/arm/tst-armtlsdescloc.c: New file.
13094         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
13095         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
13096         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
13097         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
13098         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
13099         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
13100         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
13101         (modules-names): Add `tst-armtlsdescmod',
13102         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
13103         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
13104         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13105         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
13106         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
13107         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13108         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
13109         ($(objpfx)tst-armtlsdescloc): New dependency.
13110         ($(objpfx)tst-armtlsdescextnow): Likewise.
13111         ($(objpfx)tst-armtlsdescextlazy): Likewise.
13112         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
13113         TLS scheme support.
13114         * sysdeps/arm/configure: Regenerate.
13116 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
13118         * include/fcntl.h (__atfct_seterrno): Remove prototype.
13119         (__atfct_seterrno_2): Likewise.
13120         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
13121         <kernel-features.h>.
13122         (__ASSUME_ATFCTS): Do not undefine and redefine.
13123         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
13124         (__have_atfcts): Remove conditional definition.
13125         (__fxstatat([__NR_fstatat64]: Make code unconditional.
13126         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
13127         unreachable if [__ASSUME_ATFCTS].
13128         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
13129         not undefine and redefine.
13130         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
13131         <kernel-features.h>.
13132         (faccessat) [__NR_faccessat]: Make code unconditional.
13133         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
13134         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
13135         <kernel-features.h>.
13136         (fchmodat) [__NR_fchmodat]: Make code unconditional.
13137         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13138         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
13139         <kernel-features.h>.
13140         (fchownat) [__NR_fchownat]: Make code unconditional.
13141         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
13142         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
13143         <kernel-features.h>.
13144         (futimesat) [__NR_futimesat]: Make code unconditional.
13145         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
13146         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13147         <kernel-features.h>.
13148         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13149         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13150         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13151         <kernel-features.h>.
13152         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
13153         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13154         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
13155         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13156         <kernel-features.h>.
13157         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
13158         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13159         * sysdeps/unix/sysv/linux/linkat.c: Do not include
13160         <kernel-features.h>.
13161         (linkat) [__NR_linkat]: Make code unconditional.
13162         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13163         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
13164         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
13165         <kernel-features.h>.
13166         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
13167         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13168         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
13169         <kernel-features.h>.
13170         (mkdirat) [__NR_mkdirat]: Make code unconditional.
13171         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
13172         * sysdeps/unix/sysv/linux/openat.c: Do not include
13173         <kernel-features.h>.
13174         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
13175         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
13176         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
13177         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
13178         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
13179         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
13180         <kernel-features.h>.
13181         (readlinkat) [__NR_readlinkat]: Make code unconditional.
13182         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
13183         result of INLINE_SYSCALL directly, not via int variable.
13184         * sysdeps/unix/sysv/linux/renameat.c: Do not include
13185         <kernel-features.h>.
13186         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
13187         (renameat) [__NR_renameat]: Make code unconditional.
13188         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
13189         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
13190         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
13191         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
13192         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
13193         (__ASSUME_ATFCTS): Do not undefine and redefine.
13194         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
13195         <kernel-features.h>.
13196         (symlinkat) [__NR_symlinkat]: Make code unconditional.
13197         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13198         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
13199         <kernel-features.h>.
13200         (unlinkat) [__NR_unlinkat]: Make code unconditional.
13201         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13202         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
13203         (__ASSUME_ATFCTS): Do not undefine and redefine.
13204         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13205         <kernel-features.h>.
13206         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13207         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13208         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13209         <kernel-features.h>.
13210         (__xmknodat) [__NR_mknodat]: Make code unconditional.
13211         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13213 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
13215         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
13217 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
13219         [BZ #17069]
13220         * posix/regcomp.c (parse_reg_exp): Deallocate partially
13221         constructed tree before returning error.
13222         * posix/bug-regexp36.c: Expand test case.
13224 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13226         [BZ #6803]
13227         * math/libm-test.inc (scalbln_test_date):
13228         Add errno expectations.
13229         * math/w_scalblnf.c: New File.
13230         Add wrapper which checks for setting errno to ERANGE.
13231         Add weak_alias for corresponding scalbln function.
13232         * math/w_scalbln.c: Likewise.
13233         * math/w_scalblnl.c: Likewise.
13234         * math/Makefile (libm-calls): Add w_scalbln.
13235         * sysdeps/ieee754/flt-32/s_scalblnf.c:
13236         Remove weak_alias for corresponding scalbln function.
13237         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13238         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13239         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13240         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13241         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
13242         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13243         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
13244         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13245         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
13246         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
13247         Remove long_double_symbol for scalblnl function in libm, libc.
13248         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
13249         Add wrapper which checks for setting errno to ERANGE.
13250         Add long_double_symbol for scalblnl function in libm, libc.
13251         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
13252         Remove long_double_symbol for scalblnl in libm.
13253         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
13254         Add wrapper which checks for setting errno to ERANGE.
13255         Add long_double_symbol for scalblnl function in libm.
13256         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
13257         Do not use wrapper because of own implementation.
13259 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
13261         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
13262         3 bytes for __pad1 for x32.
13263         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
13265 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
13266             H.J. Lu  <hongjiu.lu@intel.com>
13268         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
13269         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
13270         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13271         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13272         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13274 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
13276         [BZ #17069]
13277         * posix/regcomp.c (parse_expression): Deallocate partially
13278         constructed tree before returning error.
13279         * posix/Makefile.c (tests): Add bug-regex36.
13280         (generated): Add bug-regex36.mtrace.
13281         (tests-special): Add $(objpfx)bug-regex36-mem.out
13282         (bug-regex36-ENV): New variable.
13283         ($(objpfx)bug-regex36-mem.out): New rule.
13284         * posix/bug-regex36.c: New file.
13286 2014-06-19  Will Newton  <will.newton@linaro.org>
13288         * malloc/malloc.c (systrim): If extra is zero then return
13289         early.
13291 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13293         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
13295 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
13297         * sysdeps/aarch64/strchr.S: New file.
13299 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
13301         [BZ #17022]
13302         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
13303         from arguments -2 or below.
13304         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13305         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
13307 2014-06-18  Andreas Schwab  <schwab@suse.de>
13309         [BZ #17062]
13310         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
13311         of a bracket expr not to run off the end of the string.
13312         * posix/Makefile (tests): Add tst-fnmatch3.
13313         * posix/tst-fnmatch3.c: New file.
13315 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
13317         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
13318         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13319         [$(cross-compiling) = no]: Likewise.
13320         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13321         [$(cross-compiling) = no]: Likewise.
13323 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13325         [BZ #17031]
13326         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
13327         double, adjusted for any remainder from the high double.
13328         * math/libm-test.inc (nearbyint): Add tests.
13329         (rint): Likewise.
13331 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13333         * nptl/sysdeps/powerpc/Makefile: Moved ...
13334         * sysdeps/powerpc/nptl/Makefile: ... here.
13335         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
13336         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
13337         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
13338         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
13339         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
13340         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
13341         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
13342         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
13343         * nptl/sysdeps/powerpc/tls.h: Moved ...
13344         * sysdeps/powerpc/nptl/tls.h: ... here.
13346 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
13348         [BZ #16681]
13349         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
13350         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13351         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
13352         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
13353         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13354         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
13355         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
13356         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13357         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
13359 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
13361         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13363 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
13365         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
13366         defined operator.
13368         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
13369         $TIMEOUTFACTOR.
13371 2014-06-16  Florian Weimer  <fweimer@redhat.com>
13373         [BZ #17058]
13374         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
13375         non-executed part of the test.
13377 2014-06-16  Andreas Schwab  <schwab@suse.de>
13379         * string/bits/string2.h (strdup, strndup): Update feature guard.
13381 2014-06-14  David S. Miller  <davem@davemloft.net>
13383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13385 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
13387         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
13388         that was previously under [RESET_PID].
13389         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
13391         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
13392         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
13393         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
13394         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13395         (__libc_vfork): New strong alias.
13396         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
13398 2014-06-14 Andi Kleen  <ak@linux.intel.com>
13400         * sysdeps/generic/elide.h: New file.
13402 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13404         * Makefile (installed-headers): Adjust path of pthread.h header.
13406 2014-06-13  Roland McGrath  <roland@hack.frob.com>
13408         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
13409         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
13410         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
13411         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
13413         * nptl/sysdeps/s390/Makefile: Moved ...
13414         * sysdeps/s390/nptl/Makefile: ... here.
13415         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
13416         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
13417         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
13418         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
13419         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
13420         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
13421         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
13422         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
13423         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
13424         * sysdeps/s390/nptl/pthreaddef.h: ... here.
13425         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
13426         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
13427         * nptl/sysdeps/s390/tls.h: Moved ...
13428         * sysdeps/s390/nptl/tls.h: ... here.
13430         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
13431         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
13433 2014-06-13  David S. Miller  <davem@davemloft.net>
13435         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
13436         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
13437         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
13438         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
13439         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
13440         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
13441         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
13442         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
13443         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
13444         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
13445         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
13446         Remove RESET_PID cpp guards.
13447         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
13448         Remove RESET_PID cpp guards.
13449         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
13451 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
13453         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
13454         __sp to uintptr_t.
13456 2014-06-13  Andi Kleen  <ak@linux.intel.com>
13458         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
13459         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
13460         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
13461         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
13462         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
13463         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
13464         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
13465         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
13466         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
13467         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
13468         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
13469         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
13470         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
13471         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
13472         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
13473         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
13474         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
13475         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
13476         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
13477         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
13479         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
13480         (pthread_rwlock_rdlock): Add elision.
13481         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
13482         (pthread_rwlock_wrlock): Add elision.
13483         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
13484         (pthread_rwlock_trywrlock): Add elision.
13485         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
13486         (pthread_rwlock_tryrdlock): Add elision.
13487         * nptl/pthread_rwlock_unlock.c: Include elide.h.
13488         (pthread_rwlock_tryrdlock): Add elision unlock.
13489         * nptl/sysdeps/pthread/pthread.h:
13490         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
13491         (PTHREAD_RWLOCK_INITIALIZER,
13492         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
13493         Handle new elision field.
13494         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
13495         * sysdeps/arm/nptl/bits/pthreadtypes.h
13496         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13497         * sysdeps/sh/nptl/bits/pthreadtypes.h
13498         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13499         * sysdeps/tile/nptl/bits/pthreadtypes.h
13500         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13501         * sysdeps/a/nptl/bits/pthreadtypes.h
13502         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13503         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13504         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13505         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13506         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13507         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
13508         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13509         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13510         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13511         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13512         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13513         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13514         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13515         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13516         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13517         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
13518         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13519         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
13520         (elision_init): Set try_xbegin to zero when no RTM.
13521         * sysdeps/x86/nptl/bits/pthreadtypes.h
13522         (pthread_rwlock_t): Change __pad1 to __rwelision.
13523         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13525 2014-06-13  Andi Kleen  <ak@linux.intel.com>
13527         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
13528         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
13529         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
13530         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
13532 2014-06-13  Meador Inge  <meadori@codesourcery.com>
13534         [BZ #16996]
13535         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
13536         that the cached result has been set before returning it.
13538 2014-06-12  Roland McGrath  <roland@hack.frob.com>
13540         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
13541         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
13542         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
13543         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
13544         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
13545         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
13547         * nptl/sysdeps/sparc/Makefile: Moved ...
13548         * sysdeps/sparc/nptl/Makefile: ... here.
13549         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
13550         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
13551         * nptl/sysdeps/sparc/tls.h: Moved ...
13552         * sysdeps/sparc/nptl/tls.h: ... here.
13553         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
13554         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
13555         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
13556         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
13557         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
13558         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
13559         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
13560         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
13561         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
13562         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
13563         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
13564         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
13565         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
13566         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
13567         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
13568         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
13569         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
13570         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
13571         Update #include.
13572         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
13573         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
13574         Update #include.
13575         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
13576         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
13577         Update #include.
13578         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
13579         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
13580         Update #include.
13582         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
13584         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
13585         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
13587         * sysdeps/pthread/posix-timer.h: Include <list.h>.
13588         (struct list_links): Type removed.
13589         (struct thread_node, struct timer_node): Replace struct list_links
13590         with struct list_head.
13591         (list_unlink_ip): Likewise.
13592         * sysdeps/pthread/timer_routines.c
13593         (timer_free_list, thread_free_list, thread_active_list): Likewise.
13594         (list_append, list_insbefore): Likewise.
13595         (list_init): Function removed.
13596         (thread_init, init_module): Use INIT_LIST_HEAD instead.
13597         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
13598         * sysdeps/pthread/Makefile: ... here, new file.
13600         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
13601         * sysdeps/nptl/Implies: ... here.
13602         * sysdeps/unix/sysv/linux/Implies: Add nptl.
13603         * nptl/sysdeps/pthread/list.h: Moved ...
13604         * include/list.h: ... here.
13605         * nptl/sysdeps/pthread/createthread.c: Moved ...
13606         * nptl/createthread.c: ... here.
13607         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
13608         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
13609         * nptl/pt-longjmp.c: ... here.
13610         * nptl/sysdeps/pthread/Makefile: Moved ...
13611         * sysdeps/nptl/Makefile: ... here.
13612         * nptl/sysdeps/pthread/Subdirs: Moved ...
13613         * sysdeps/nptl/Subdirs: ... here.
13614         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
13615         * sysdeps/nptl/aio_misc.h: ... here.
13616         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
13617         * sysdeps/nptl/bits/libc-lock.h: ... here.
13618         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
13619         * sysdeps/nptl/bits/libc-lockP.h: ... here.
13620         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
13621         * sysdeps/nptl/bits/stdio-lock.h: ... here.
13622         * nptl/sysdeps/pthread/configure: Moved ...
13623         * sysdeps/nptl/configure: ... here.
13624         * nptl/sysdeps/pthread/configure.ac: Moved ...
13625         * sysdeps/nptl/configure.ac: ... here.
13626         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
13627         * sysdeps/nptl/gai_misc.h: ... here.
13628         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
13629         * sysdeps/nptl/librt-cancellation.c: ... here.
13630         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
13631         * sysdeps/nptl/malloc-machine.h: ... here.
13632         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
13633         * sysdeps/nptl/pthread-functions.h: ... here.
13634         * nptl/sysdeps/pthread/pthread.h: Moved ...
13635         * sysdeps/nptl/pthread.h: ... here.
13636         * nptl/sysdeps/pthread/setxid.h: Moved ...
13637         * sysdeps/nptl/setxid.h: ... here.
13638         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
13639         * sysdeps/nptl/sigfillset.c: ... here.
13640         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
13641         * sysdeps/nptl/tcb-offsets.h: ... here.
13642         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
13643         * sysdeps/nptl/tst-mqueue8x.c: ... here.
13644         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
13645         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
13646         * nptl/sysdeps/pthread/allocalim.h: Moved ...
13647         * sysdeps/pthread/allocalim.h: ... here.
13648         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
13649         * sysdeps/pthread/bits/sigthread.h: ... here.
13650         * nptl/sysdeps/pthread/flockfile.c: Moved ...
13651         * sysdeps/pthread/flockfile.c: ... here.
13652         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
13653         * sysdeps/pthread/ftrylockfile.c: ... here.
13654         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
13655         * sysdeps/pthread/funlockfile.c: ... here.
13656         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
13657         * sysdeps/pthread/posix-timer.h: ... here.
13658         * nptl/sysdeps/pthread/timer_create.c: Moved ...
13659         * sysdeps/pthread/timer_create.c: ... here.
13660         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
13661         * sysdeps/pthread/timer_delete.c: ... here.
13662         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
13663         * sysdeps/pthread/timer_getoverr.c: ... here.
13664         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
13665         * sysdeps/pthread/timer_gettime.c: ... here.
13666         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
13667         * sysdeps/pthread/timer_routines.c: ... here.
13668         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
13669         * sysdeps/pthread/timer_settime.c: ... here.
13670         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
13671         * sysdeps/pthread/tst-timer.c: ... here.
13672         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
13673         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
13675         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
13676         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
13678         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
13679         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
13680         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
13681         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
13682         Update #include target.
13683         * nptl/sysdeps/i386/i686/Makefile: Moved ...
13684         * sysdeps/i386/i686/nptl/Makefile: ... here.
13685         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
13686         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
13687         Update #include target.
13688         * nptl/sysdeps/i386/i686/tls.h: Moved ...
13689         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
13690         * nptl/sysdeps/i386/Makefile: Moved ...
13691         * sysdeps/i386/nptl/Makefile: ... here.
13692         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
13693         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
13694         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
13695         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
13696         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
13697         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
13698         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
13699         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
13700         * sysdeps/i386/nptl/pthreaddef.h: ... here.
13701         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
13702         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
13703         * nptl/sysdeps/i386/tls.h: Moved ...
13704         * sysdeps/i386/nptl/tls.h: ... here.
13706         * sysdeps/sh/Makefile [$(subdir) = csu]
13707         (gen-as-const-headers): Add tcb-offsets.sym.
13708         * nptl/sysdeps/sh/Makefile: File removed.
13709         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
13710         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
13711         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
13712         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
13713         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
13714         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
13715         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
13716         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
13717         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
13718         * sysdeps/sh/nptl/pthreaddef.h: ... here.
13719         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
13720         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
13721         * nptl/sysdeps/sh/tls.h: Moved ...
13722         * sysdeps/sh/nptl/tls.h: ... here.
13723         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
13724         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
13725         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
13726         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
13727         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
13728         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
13729         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
13730         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
13731         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
13732         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
13733         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
13734         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
13735         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
13736         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
13737         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
13738         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
13739         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
13740         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
13741         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
13742         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
13743         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
13744         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
13745         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
13746         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
13747         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
13748         Moved ...
13749         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
13750         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
13751         Moved ...
13752         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
13753         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
13754         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
13755         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
13756         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
13757         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
13758         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
13759         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
13760         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
13761         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
13762         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
13763         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
13764         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
13765         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
13766         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
13767         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
13768         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
13769         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
13770         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
13772 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13774         * posix/spawn_faction_addopen.c: Include string.h.
13776 2014-06-11  Roland McGrath  <roland@hack.frob.com>
13778         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
13779         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
13780         * nptl/sysdeps/x86_64/Makefile: Moved ...
13781         * sysdeps/x86_64/nptl/Makefile: ... here.
13782         * nptl/sysdeps/x86_64/configure: Moved ...
13783         * sysdeps/x86_64/nptl/configure: ... here.
13784         * nptl/sysdeps/x86_64/configure.ac: Moved ...
13785         * sysdeps/x86_64/nptl/configure.ac: ... here.
13786         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
13787         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
13788         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
13789         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
13790         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
13791         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
13792         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
13793         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
13794         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
13795         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
13796         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
13797         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
13798         * nptl/sysdeps/x86_64/tls.h: Moved ...
13799         * sysdeps/x86_64/nptl/tls.h: ... here.
13800         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
13801         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
13802         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
13803         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
13805         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
13807 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13811 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
13813         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
13814         type.
13815         [POSIX] (off_t): Likewise.
13816         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
13817         [POSIX] (S_ISBLK): Require macro.
13818         [POSIX] (S_ISCHR): Likewise.
13819         [POSIX] (S_ISDIR): Likewise.
13820         [POSIX] (S_ISFIFO): Likewise.
13821         [POSIX] (S_ISREG): Likewise.
13822         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
13823         optional-macro.
13824         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
13825         type.
13826         [POSIX] (time_t): Likewise.
13827         [POSIX] (timer_t): Likewise.
13829 2014-06-11  Florian Weimer  <fweimer@redhat.com>
13831         [BZ #17048]
13832         * posix/spawn_int.h (struct __spawn_action): Make the path string
13833         non-const to support deallocation.
13834         * posix/spawn_faction_addopen.c
13835         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
13836         * posix/spawn_faction_destroy.c
13837         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
13838         path in all spawn_do_open actions.
13839         * posix/tst-spawn.c (do_test): Exercise the copy operation in
13840         posix_spawn_file_actions_addopen.
13842 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
13844         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
13845         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
13846         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
13847         conditional code always true.
13848         (__libc_vfork): New alias.
13850 2014-06-11  Roland McGrath  <roland@hack.frob.com>
13852         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13853         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
13855         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
13857         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13858         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
13860         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
13861         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
13863         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13864         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
13866 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13868         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
13869         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
13870         multiarch strcmp for PPC64.
13871         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
13872         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
13873         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
13874         multiarch optimizations.
13875         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13876         (__libc_ifunc_impl_list): Likewise.
13878 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13880         * benchtests/scripts/validate_benchout.py: New script.
13881         * benchtests/Makefile (bench-func): Call it.
13882         * benchtests/scripts/benchout.schema.json: New file.
13884 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
13886         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
13887         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
13888         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
13889         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
13890         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
13891         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
13892         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
13893         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
13894         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
13895         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
13896         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
13897         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
13898         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
13899         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
13900         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
13901         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
13902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
13903         Moved ...
13904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
13905         ... here.
13906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
13907         Moved ...
13908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
13909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
13910         Moved ...
13911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
13912         ... here.
13913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
13914         Moved ...
13915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
13916         ... here.
13917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
13918         Moved ...
13919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
13920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
13921         Moved ...
13922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
13923         ... here.
13924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
13925         Moved ...
13926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
13927         ... here.
13928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
13929         Moved ...
13930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
13931         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
13932         Moved ...
13933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
13934         ... here.
13935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
13936         Moved ...
13937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
13938         ... here.
13939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
13940         Moved ...
13941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
13942         ... here.
13943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
13944         Moved ...
13945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
13946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
13947         Moved ...
13948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
13949         ... here.
13950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
13951         Moved ...
13952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
13953         ... here.
13954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
13955         Moved ...
13956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
13957         ... here.
13958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
13959         Moved ...
13960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
13961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
13962         Moved ...
13963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
13964         ... here.
13965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
13966         Moved ...
13967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
13968         ... here.
13969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
13970         Moved ...
13971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
13972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
13973         Moved ...
13974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
13975         ... here.
13976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
13977         Moved ...
13978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
13979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
13980         Moved ...
13981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
13982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
13983         Moved ...
13984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
13985         ... here.
13986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
13987         Moved ...
13988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
13989         ... here.
13990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
13991         Moved ...
13992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
13993         ... here.
13994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
13995         Moved ...
13996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
13997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
13998         Moved ...
13999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
14000         ... here.
14001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
14002         Moved ...
14003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
14004         ... here.
14005         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
14006         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
14007         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
14008         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
14009         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
14010         Moved ...
14011         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
14012         ... here.
14013         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
14014         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
14015         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
14016         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
14017         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
14018         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
14019         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
14020         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
14021         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
14022         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
14023         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
14024         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
14025         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
14026         Moved ...
14027         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
14028         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
14029         Moved ...
14030         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
14031         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
14032         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
14033         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
14034         Moved ...
14035         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
14036         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
14037         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
14038         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
14039         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
14040         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
14041         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
14043 2014-06-10  Wilco  <wdijkstr@arm.com>
14045         * math/test-fenv-return.c: New file.
14046         * math/Makefile: Add new test test-fenv-return.
14048 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
14050         [BZ #17042]
14051         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
14052         when x - 1 is zero.
14053         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
14054         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14055         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
14056         0.0L for an argument of 1.0L.
14057         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14058         Likewise.
14059         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
14060         value when x - 1 is zero.
14061         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
14062         * sysdeps/i386/fpu/libm-test-ulps: Update.
14063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14065 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
14067         [BZ #15119]
14068         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
14070 2014-06-09  Roland McGrath  <roland@hack.frob.com>
14072         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
14073         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
14075 2014-06-09  Roland McGrath  <roland@hack.frob.com>
14077         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14078         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
14080         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14081         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
14083         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14084         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
14086         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14087         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
14089         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
14090         if not already defined.
14091         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
14092         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
14093         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
14094         (TLS_INIT_TP): Use it.
14095         (TLS_DEFINE_INIT_TP): New macro.
14096         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
14098 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
14100         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
14101         constant.
14102         [POSIX] (IXANY): Likewise.
14103         [POSIX] (OLCUC): Likewise.
14104         [POSIX || POSIX2008] (CBAUD): Do not allow.
14105         [POSIX || POSIX2008] (DEFECHO): Likewise.
14106         [POSIX || POSIX2008] (ECHOCTL): Likewise.
14107         [POSIX || POSIX2008] (ECHOKE): Likewise.
14108         [POSIX || POSIX2008] (ECHOPRT): Likewise.
14109         [POSIX || POSIX2008] (EXTA): Likewise.
14110         [POSIX || POSIX2008] (EXTB): Likewise.
14111         [POSIX || POSIX2008] (FLUSHO): Likewise.
14112         [POSIX || POSIX2008] (LOBLK): Likewise.
14113         [POSIX || POSIX2008] (PENDIN): Likewise.
14114         [POSIX || POSIX2008] (SWTCH): Likewise.
14115         [POSIX || POSIX2008] (VDISCARD): Likewise.
14116         [POSIX || POSIX2008] (VDSUSP): Likewise.
14117         [POSIX || POSIX2008] (VLNEXT): Likewise.
14118         [POSIX || POSIX2008] (VREPRINT): Likewise.
14119         [POSIX || POSIX2008] (VSTATUS): Likewise.
14120         [POSIX || POSIX2008] (VWERASE): Likewise.
14121         (B*): Change to B[0123456789]*.
14122         * conform/data/time.h-data [POSIX || UNIX98]
14123         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
14124         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14125         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
14126         [POSIX] (tm_*): Do not allow.
14128 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
14130         * Makefile (install): Don't set LANGUAGE.
14131         * Makefile.in (install): Likewise.
14132         * assert/Makefile (test-assert-ENV): Remove variable.
14133         (test-assert-perr-ENV): Likewise.
14134         * elf/Makefile (neededtest4-ENV): Likewise.
14135         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14136         [$(cross-compiling) = no]: Don't set LANGUAGE.
14137         * io/ftwtest-sh (LANG): Remove variable.
14138         * libio/Makefile (tst-widetext-ENV): Likewise.
14139         * manual/install.texi (Running make install): Don't refer to
14140         environment settings for make install.
14141         * INSTALL: Regenerated.
14142         * nptl/tst-tls6.sh: Don't set LANG.
14143         * posix/globtest.sh (LANG): Remove variable.
14144         * string/Makefile (tester-ENV): Likewise.
14145         (inl-tester-ENV): Likewise.
14146         (noinl-tester-ENV): Likewise.
14147         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14148         [$(cross-compiling) = no]: Don't set LANGUAGE.
14149         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
14150         without explicit environment settings.
14152 2014-06-06  Roland McGrath  <roland@hack.frob.com>
14154         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
14155         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
14156         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
14157         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
14159 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
14161         * crypt/crypt-private.h [DOS]: Add some includes taken from the
14162         other files in the crypt directory.
14163         * crypt/crypt.c: Remove duplicate includes.
14164         * crypt/crypt-entry.c: Likewise.
14165         * crypt/crypt_util.c: Likewise.
14167 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
14169         * Makeconfig (run-program-env): New variable.
14170         (run-program-prefix-before-env): Likewise.
14171         (run-program-prefix-after-env): Likewise.
14172         (run-program-prefix): Define in terms of new variables.
14173         (built-program-cmd-before-env): New variable.
14174         (built-program-cmd-after-env): Likewise.
14175         (built-program-cmd): Define in terms of new variables.
14176         (test-program-prefix-before-env): New variable.
14177         (test-program-prefix-after-env): Likewise.
14178         (test-program-prefix): Define in terms of new variables.
14179         (test-program-cmd-before-env): New variable.
14180         (test-program-cmd-after-env): Likewise.
14181         (test-program-cmd): Define in terms of new variables.
14182         * Rules (make-test-out): Use $(run-program-env).
14183         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
14184         (help): Do not mention environment variables.  Mention
14185         --timeoutfactor option.
14186         (timeoutfactor): New variable.
14187         (blacklist_exports): Remove function.
14188         (exports): Remove variable.
14189         (command): Do not include ${exports}.
14190         * manual/install.texi (Configuring and compiling): Do not mention
14191         test wrappers preserving environment variables.  Mention that last
14192         assignment to a variable must take precedence.
14193         * INSTALL: Regenerated.
14194         * benchtests/Makefile (run-bench): Use $(run-program-env).
14195         * catgets/Makefile ($(objpfx)test1.cat): Use
14196         $(built-program-cmd-before-env), $(run-program-env) and
14197         $(built-program-cmd-after-env).
14198         ($(objpfx)test2.cat): Do not specify environment variables
14199         explicitly.
14200         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
14201         $(run-program-env) and $(built-program-cmd-after-env).
14202         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
14203         $(run-program-env) and $(test-program-cmd-after-env).
14204         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
14205         explicitly.
14206         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
14207         run_program_env and test_program_cmd_after_env arguments.
14208         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
14209         * elf/tst-pathopt.sh: Use run_program_env argument.
14210         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
14211         $(test-wrapper-env) and $(run-program-env).
14212         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
14213         run_program_env arguments.
14214         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
14215         * intl/Makefile ($(objpfx)tst-gettext.out): Use
14216         $(test-program-prefix-before-env), $(run-program-env) and
14217         $(test-program-prefix-after-env).
14218         ($(objpfx)tst-gettext2.out): Likewise.
14219         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
14220         run_program_env and test_program_prefix_after_env arguments.
14221         * intl/tst-gettext2.sh: Likewise.
14222         * intl/tst-gettext4.sh: Do not set environment variables
14223         explicitly.
14224         * intl/tst-gettext6.sh: Likewise.
14225         * intl/tst-translit.sh: Likewise.
14226         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
14227         $(test-program-prefix-before-env), $(run-program-env) and
14228         $(test-program-prefix-after-env).
14229         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
14230         run_program_env and test_program_prefix_after_env arguments.
14231         * math/Makefile (run-regen-ulps): Use $(run-program-env).
14232         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
14233         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
14234         explicitly with each use of ${test_wrapper_env}.
14235         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
14236         $(test-program-prefix-before-env), $(run-program-env) and
14237         $(test-program-prefix-after-env).
14238         * posix/tst-getconf.sh: Do not set environment variables
14239         explicitly.
14240         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
14241         run_program_env and test_program_prefix_after_env arguments.
14242         * stdio-common/tst-printf.sh: Do not set environment variables
14243         explicitly.
14244         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
14245         $(test-program-prefix-before-env), $(run-program-env) and
14246         $(test-program-prefix-after-env).
14247         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
14248         run_program_env and test_program_prefix_after_env arguments.
14249         Split $test calls into $test_pre and $test.
14250         * timezone/Makefile (build-testdata): Use
14251         $(built-program-cmd-before-env), $(run-program-env) and
14252         $(built-program-cmd-after-env).
14254 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14256         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
14257         strlen for non SHARED builds.
14259 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14261         * nptl/allocatestack.c (check_list): Inlined function...
14262         (__reclaim_stacks): ... here.
14264 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
14266         [BZ #15698]
14267         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14268         memory overrun.
14270 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
14272         * Rules (make-test-out): Include
14273         LOCPATH=$(common-objpfx)localedata in default environment.
14274         * debug/Makefile (tst-chk1-ENV): Remove variable.
14275         (tst-chk2-ENV): Likewise.
14276         (tst-chk3-ENV): Likewise.
14277         (tst-chk4-ENV): Likewise.
14278         (tst-chk5-ENV): Likewise.
14279         (tst-chk6-ENV): Likewise.
14280         (tst-lfschk1-ENV): Likewise.
14281         (tst-lfschk2-ENV): Likewise.
14282         (tst-lfschk3-ENV): Likewise.
14283         (tst-lfschk4-ENV): Likewise.
14284         (tst-lfschk5-ENV): Likewise.
14285         (tst-lfschk6-ENV): Likewise.
14286         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
14287         (tst-iconv7-ENV): Likewise.
14288         * intl/Makefile (LOCPATH-ENV): Likewise.
14289         (tst-codeset-ENV): Likewise.
14290         (tst-gettext3-ENV): Likewise.
14291         (tst-gettext5-ENV): Likewise.
14292         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
14293         (tst-fopenloc-ENV): Likewise.
14294         (tst-fgetws-ENV): Remove variable.
14295         (tst-ungetwc1-ENV): Likewise.
14296         (tst-ungetwc2-ENV): Likewise.
14297         (bug-ungetwc2-ENV): Likewise.
14298         (tst-swscanf-ENV): Likewise.
14299         (bug-ftell-ENV): Likewise.
14300         (tst-fgetwc-ENV): Likewise.
14301         (tst-fseek-ENV): Likewise.
14302         (tst-ftell-partial-wide-ENV): Likewise.
14303         (tst-ftell-active-handler-ENV): Likewise.
14304         (tst-ftell-append-ENV): Likewise.
14305         * posix/Makefile (tst-fnmatch-ENV): Likewise.
14306         (tst-regexloc-ENV): Likewise.
14307         (bug-regex1-ENV): Likewise.
14308         (tst-regex-ENV): Likewise.
14309         (tst-regex2-ENV): Likewise.
14310         (bug-regex5-ENV): Likewise.
14311         (bug-regex6-ENV): Likewise.
14312         (bug-regex17-ENV): Likewise.
14313         (bug-regex18-ENV): Likewise.
14314         (bug-regex19-ENV): Likewise.
14315         (bug-regex20-ENV): Likewise.
14316         (bug-regex22-ENV): Likewise.
14317         (bug-regex23-ENV): Likewise.
14318         (bug-regex25-ENV): Likewise.
14319         (bug-regex26-ENV): Likewise.
14320         (bug-regex30-ENV): Likewise.
14321         (bug-regex32-ENV): Likewise.
14322         (bug-regex33-ENV): Likewise.
14323         (bug-regex34-ENV): Likewise.
14324         (bug-regex35-ENV): Likewise.
14325         (tst-rxspencer-ENV): Likewise.
14326         (tst-rxspencer-no-utf8-ENV): Likewise.
14327         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
14328         (tst-sscanf-ENV): Likewise.
14329         (tst-swprintf-ENV): Likewise.
14330         (tst-swscanf-ENV): Likewise.
14331         (test-vfprintf-ENV): Likewise.
14332         (scanf13-ENV): Likewise.
14333         (bug14-ENV): Likewise.
14334         (tst-grouping-ENV): Likewise.
14335         * stdlib/Makefile (tst-strtod-ENV): Likewise.
14336         (tst-strtod3-ENV): Likewise.
14337         (tst-strtod4-ENV): Likewise.
14338         (tst-strtod5-ENV): Likewise.
14339         (testmb2-ENV): Likewise./
14340         * string/Makefile (tst-strxfrm-ENV): Likewise.
14341         (tst-strxfrm2-ENV): Likewise.
14342         (bug-strcoll1-ENV): Likewise.
14343         (test-strcasecmp-ENV): Likewise.
14344         (test-strncasecmp-ENV): Likewise.
14345         * time/Makefile (tst-strptime-ENV): Likewise.
14346         (tst-ftime_l-ENV): Likewise.
14347         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
14348         (tst-mbrtowc-ENV): Likewise.
14349         (tst-wcrtomb-ENV): Likewise.
14350         (tst-mbrtowc2-ENV): Likewise.
14351         (tst-c16c32-1-ENV): Likewise.
14352         (tst-mbsnrtowcs-ENV): Likewise.
14354 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
14356         * manual/resource.texi (How to get information about the memory
14357         subsystem?): Fix typo.
14358         Reported by Peon de la Parra Ivan <peon@keba.com>
14360 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
14362         [BZ #16882]
14363         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
14364         (pthread_spin_lock): Branch out of spin loop to proper location.
14365         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
14366         (pthread_spin_lock): Likewise.
14368         * nptl/tst-spin4.c: New test.
14369         * nptl/Makefile (tests): Add tst-spin4.
14371 2014-06-03  Andreas Schwab  <schwab@suse.de>
14373         [BZ #15946]
14374         * resolv/res_send.c (send_dg): Reload file descriptor after
14375         calling reopen.
14377 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
14379         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14381 2014-06-03  Richard Henderson  <rth@redhat.com>
14383         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
14384         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
14385         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
14386         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
14387         in the SAVE_PID block.
14388         (__libc_vfork): New alias.
14389         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
14391         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
14392         child in registers, not on the stack.  Remove RESET_PID conditionals.
14393         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
14395 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14397         * sysdeps/aarch64/libm-test-ulps: Regenerate.
14399 2014-06-03  Wilco  <wdijkstr@arm.com>
14401         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
14402         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
14403         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
14404         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
14405         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
14406         Likewise.
14408 2014-06-03  Wilco  <wdijkstr@arm.com>
14410         * sysdeps/aarch64/fpu/math_private.h
14411         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
14412         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
14413         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
14414         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
14415         Fix declarations.
14417 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14419         * crypt/crypt-private.h: Include ufc-crypt.h.
14420         (__b64_from_24bit): Declare extern.
14421         * crypt/crypt_util.c(__b64_from_24bit): New function.
14422         (b64t): New static const variable.
14423         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
14424         (b64t): Remove variable.
14425         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
14426         * crypt/sha256-crypt.c: Include crypt-private.h.
14427         (b64t): Remove variable.
14428         (__sha256_crypt_r): Remove b64_from_24bit and replace
14429         with __b64_from_24bit.
14430         * crypt/sha512-crypt.c: Likewise.
14432 2014-06-02  Roland McGrath  <roland@hack.frob.com>
14434         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
14435         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
14436         Label the code __libc_vfork rather than __vfork.
14437         [!NOT_IN_libc] (vfork): Define as weak alias.
14438         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
14439         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
14440         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
14442 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14444         * malloc/malloc.c (malloc_info): Fix format specifier for
14445         n_mmaps.
14447 2014-06-02  Wilco  <wdijkstr@arm.com>
14449         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
14450         FPCR write.
14452 2014-06-02  Wilco  <wdijkstr@arm.com>
14454         [BZ #17009]
14455         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
14456         Rewrite to reduce FPCR/FPSR accesses.
14458 2014-06-01  David S. Miller  <davem@davemloft.net>
14460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14462 2014-05-31  David S. Miller  <davem@davemloft.net>
14464         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
14465         to occur in round to nearest mode when |x| >= 2.0
14467 2014-05-30  Richard Henderson  <rth@twiddle.net>
14469         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
14470         (PSEUDO_RET_NOERRNO): Remove.
14471         (ret): Don't redefine.
14472         (ret_NOERRNO): Define in terms of ret.
14473         (ret_ERRVAL): Likewise.
14475         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
14476         use of PSEUDO_RET; perform the error check directly.
14478 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
14480         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
14481         with __int128_t.
14483 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14485         * malloc/malloc (malloc_info): Fix formatting.
14487 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14488             Roland McGrath  <roland@hack.frob.com>
14490         * malloc/malloc (malloc_info): Also print mmapped statistics.
14492 2014-05-30  Roland McGrath  <roland@hack.frob.com>
14494         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
14495         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
14497 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
14499         * malloc/malloc.c (malloc_info): Inline mi_arena.
14501 2014-05-29  Richard Henderson  <rth@twiddle.net>
14503         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
14504         Remove comma before expanding ASM_ARGS_##nr.
14505         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
14506         Make _x0 a strict output; make _x8 a strict input; adjust expansion
14507         of ASM_ARGS_##nr.
14508         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
14509         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
14510         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
14511         (ASM_ARGS_1): Add leading comma.
14513         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
14514         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
14515         to __errno_location.
14516         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
14517         Remove the expected plt for __errno_location.
14519         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14520         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
14521         call to __read_tp.
14523         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14524         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
14525         it and break it down.
14526         (DOCARGS_0, DOCARGS_1): Do nothing.
14527         (DOCARGS_2): Update to store into the new stack frame.
14528         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
14529         (UNDOCARGS_1): Update to restore from the new stack frame.
14530         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
14531         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
14533         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14534         (SINGLE_THREAD_P): New parameter for result regno.
14535         (PSEUDO): Update to match; use cbz instead of beq.
14537         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14538         Use ENTRY to define the _nocancel entry point.  Share the syscall
14539         and syscall error check paths with the cancel path.
14540         (PSEUDO_END): New.
14542         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
14543         whitespace; tabs before and after asm mnemonics.
14545 2014-05-29  Eric Wong  <normalperson@yhbt.net>
14547         [BZ #15132]
14548         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14549         Call fstat64 or stat64 internally, depending on arguments passed.
14550         Replace stat buffer argument with file descriptor argument.
14551         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
14552         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14553         Pass fd to __internal_statvfs instead of calling fstat64.
14554         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
14555         Pass fd to __internal_statvfs64 instead of calling fstat64.
14556         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
14557         Pass -1 to __internal_statvfs instead of calling stat64.
14558         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
14559         Pass -1 to __internal_statvfs64 instead of calling stat64.
14561 2014-05-28  Roland McGrath  <roland@hack.frob.com>
14563         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
14564         that was previously under [RESET_PID].
14565         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
14567         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
14568         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
14570 2014-05-27  Roland McGrath  <roland@hack.frob.com>
14572         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
14574         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
14575         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
14577 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
14579         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
14581 2014-05-27  Andreas Schwab  <schwab@suse.de>
14583         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
14584         TLS_INIT_TP macro.
14585         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
14586         * elf/rtld.c (init_tls, dl_main): Likewise.
14587         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
14588         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
14589         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
14590         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
14591         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
14592         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
14593         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
14594         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
14595         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
14596         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
14597         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
14598         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
14599         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
14600         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
14601         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
14602         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
14603         * sysdeps/generic/tls.h: Update description.
14605 2014-05-27  Will Newton  <will.newton@linaro.org>
14607         [BZ #16990]
14608         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
14609         and restore r2 rather than just restoring.
14611 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14613         [BZ #16724]
14614         * libio/tst-ftell-append.c: New test case.
14615         * libio/Makefile (tests): Add test case.
14616         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
14617         append mode.
14618         * libio/wfileops.c (do_ftell_wide): Likewise.
14620 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14624         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
14625         ...
14626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
14627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14628         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
14629         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
14630         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
14631         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
14632         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
14633         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
14634         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
14635         Moved ...
14636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
14637         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
14638         Moved ...
14639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
14640         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
14641         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
14642         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
14643         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
14644         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
14645         ...
14646         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
14647         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
14648         Moved ...
14649         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
14650         here.
14651         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
14652         ...
14653         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
14654         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
14655         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
14657         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
14658         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
14659         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
14660         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
14662         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
14663         merge into ...
14664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
14665         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
14666         ...
14667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
14668         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
14669         ...
14670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
14671         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14672         Moved ...
14673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
14674         here.
14675         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14676         Moved ...
14677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
14678         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14679         Moved ...
14680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
14682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
14683         conditional [RESET_PID].
14684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
14685         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
14686         removed.
14687         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
14688         removed.
14690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
14691         <tcb-offsets.h>.
14692         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14693         (__libc_vfork): New strong alias.
14694         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
14695         removed.
14696         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
14697         Removed.
14699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
14700         <tcb-offsets.h>.
14701         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
14702         (__libc_vfork): New strong alias.
14703         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
14704         removed.
14705         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
14706         removed.
14708 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
14710         * malloc/malloc.c (mi_arena): New function.
14711         (malloc_info): Remove nested function mi_arena. Call non-nosted
14712         function mi_arena.
14714 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14716         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
14717         by insrwi.
14718         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
14719         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
14720         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
14721         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
14722         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
14723         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
14724         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
14726 2014-05-26  Andreas Schwab  <schwab@suse.de>
14728         [BZ #16984]
14729         * locale/programs/repertoire.c (repertoire_read): Add slash
14730         between I18NPATH element and file name.
14731         * locale/programs/locfile.c (locfile_read): Likewise.
14733 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
14735         * nptl/pthread_mutexattr_settype.c
14736         (__pthread_mutexattr_settype):
14737         Disable lock elision for PTHREAD_MUTEX_NORMAL.
14739 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
14741         * nptl/tst-mutex5 (do_test):
14742         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
14744 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14746         * benchtests/README: Document 'init' directive.
14747         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
14748         BENCH_INIT.
14749         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
14750         (parse_file): Recognize 'init' directive.
14752 2014-05-26  Kyle McMartin  <kyle@redhat.com>
14754         [BZ #16796]
14755         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
14756         alignment of struct pthread.
14758 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14760         [BZ #16878]
14761         * nscd/netgroupcache.c (addgetnetgrentX): Look for
14762         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
14763         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
14764         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
14766 2014-05-25  Richard Henderson  <rth@twiddle.net>
14768         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14769         (SINGLE_THREAD_P_PIC): Remove.
14770         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
14771         (SINGLE_THREAD_P_PIC): Remove.
14773         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
14774         branch to syscall error ...
14775         (PSEUDO): ... here.
14776         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
14777         from __local_syscall_error to .Lsyscall_error.
14778         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
14779         (SYSCALL_ERROR): Update label name.
14781         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14782         Do not use DOARGS/UNDOARGS.
14783         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
14784         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
14785         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
14786         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
14787         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
14789         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
14790         block comment.
14792         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
14793         define if !NOT_IN_libc.
14794         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
14795         define with non-default symbol versions.
14797 2014-05-23  Richard Henderson  <rth@twiddle.net>
14799         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
14800         (vfork, __vfork): Define via compat_symbol.
14802         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
14803         [!HAVE_IFUNC] (vfork_compat): Remove.
14804         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
14806 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
14808         [BZ #16978]
14809         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
14810         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
14811         variable.
14813 2014-05-23  Richard Henderson  <rth@twiddle.net>
14815         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
14816         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
14817         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
14818         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
14820         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
14821         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
14822         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
14823         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
14824         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
14825         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
14826         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
14827         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
14828         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
14829         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
14830         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
14831         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
14832         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
14833         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
14834         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
14835         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
14836         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
14837         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
14838         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
14839         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
14840         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
14841         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
14842         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
14843         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
14844         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
14845         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
14846         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
14847         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
14848         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
14849         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
14850         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
14851         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
14852         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
14853         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
14854         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
14855         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
14856         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
14857         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
14858         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
14859         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
14860         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
14861         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
14862         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
14863         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
14864         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
14865         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
14866         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
14867         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
14868         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
14869         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
14870         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
14871         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
14872         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
14873         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
14874         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
14875         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
14877         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
14878         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
14879         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
14880         before exiting on error.
14881         (__libc_vfork): New strong alias.
14882         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
14883         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
14885         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
14886         that was previously under [RESET_PID].
14887         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
14889         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
14891 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
14893         [BZ #16977]
14894         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
14895         value when x - 1 is zero.
14896         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
14897         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
14898         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
14899         0.0L for an argument of 1.0L.
14900         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
14901         Likewise.
14902         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
14903         value when x - 1 is zero.
14904         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
14905         * sysdeps/i386/fpu/libm-test-ulps: Update.
14906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14908 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14910         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
14911         alphasort and versionsort.
14913 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14915         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
14916         macro.
14917         [copysignf]: Likewise.
14919 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14921         * crypt/md5-crypt.c: Fix formatting.
14923 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14925         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
14926         (b64_from_24bit): New function.
14928 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14930         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
14931         libc_hidden_builtin_def to ifunc.
14932         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14933         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
14935 2014-05-21  Roland McGrath  <roland@hack.frob.com>
14937         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
14938         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
14940 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
14942         * nscd/Depend (linuxthreads): Remove.
14943         (nptl): Add.
14944         * resolv/Depend (linuxthreads): Remove.
14945         * rt/Depend (linuxthreads): Remove.
14947         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
14948         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
14949         $(common-objpfx)elf/.
14950         (link-libc-before-gnulib): Likewise.
14951         (elfobjdir): Remove variable.
14952         * Makefile (install): Use $(elf-objpfx) instead of
14953         $(common-objpfx)elf/.
14954         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
14955         $(elfobjdir)/.
14956         (link-libc-deps): Likewise.
14957         ($(common-objpfx)libc.so): Likewise.
14958         ($(common-objpfx)linkobj/libc.so): Likewise.
14959         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
14960         instead of $(common-objpfx)elf/.
14961         (symbolic-link-list): Likewise.
14962         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14963         [$(cross-compiling) = no]: Likewise.
14964         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
14965         $(elfobjdir)/.
14966         (static-gnulib-arch): Likewise.
14967         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14968         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
14969         $(common-objpfx)elf/.
14971 2014-05-21  Richard Henderson  <rth@redhat.com>
14973         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14974         (SINGLE_THREAD_P): Use the correct width load.  Fold
14975         into the ldr offset.
14977         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
14978         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
14980 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
14982         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
14983         (libgcc_s_resume): Use __attribute_used__.
14984         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
14985         Likewise.
14987 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14989         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
14990         optimization when used with float constants.
14992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14994 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
14996         [BZ #16915]
14997         * locale/nl_langinfo_l.c: Make direct reference to every
14998         _nl_current_CATEGORY symbol.
14999         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
15000         (tests-static): Add tst-langinfo-static.
15001         (tests-special): Add tst-langinfo-static.out.
15002         ($(objpfx)tst-langinfo.out): Redirect output.
15003         ($(objpfx)tst-langinfo-static.out): New.
15004         * localedata/tst-langinfo.sh: Send output to stdout.
15005         * localedata/tst-langinfo-static.c: New file.
15007         [BZ #16965]
15008         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
15009         when the shift amount is modulo the limb size.
15011 2014-05-20  Richard Henderson  <rth@redhat.com>
15013         [BZ #16967]
15014         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
15015         Change type of sa_flags from unsigned int to int.
15017         [BZ #16966]
15018         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
15020         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
15022 2014-05-20  Will Newton  <will.newton@linaro.org>
15024         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15025         Test the return value of the system call in the nocancel case.
15027 2014-05-20  Will Newton  <will.newton@linaro.org>
15028             Yvan Roux  <yvan.roux@linaro.org>
15030         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
15031         #include of asm/ptrace.h.
15032         (PTRACE_GET_THREAD_AREA): Remove #undef.
15033         (PTRACE_GETHBPREGS): Likewise.
15034         (PTRACE_SETHBPREGS): Likewise.
15035         (struct user_regs_struct): New structure.
15036         (struct user_fpsimd_struct): New structure.
15037         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
15038         #include of asm/ptrace.h and second #include of sys/user.h.
15039         (PTRACE_GET_THREAD_AREA): Remove #undef.
15040         (PTRACE_GETHBPREGS): Likewise.
15041         (PTRACE_SETHBPREGS): Likewise.
15042         (ELF_NGREG): Use new struct user_regs_struct.
15043         (elf_fpregset_t): Use new struct user_fpsimd_struct.
15045 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15047         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
15048         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
15050 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
15052         [BZ #16958]
15053         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
15054         membar to avoid block loads/stores to overlap previous stores.
15056 2014-05-17  Richard Henderson  <rth@redhat.com>
15058         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
15059         Create the __##syscall_name##_nocancel entry point.
15060         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
15061         Remove; let the sysdep-cancel.h code create it.
15063 2014-05-17  David S. Miller  <davem@davemloft.net>
15065         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
15066         Protect with __USE_GNU.
15067         (TIOCSET_TEMPT): Likewise.
15068         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15069         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
15070         these are already provided in bits/ioctl-types.h
15072 2014-05-16  Roland McGrath  <roland@hack.frob.com>
15074         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
15075         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
15077         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
15078         Use wait4 regardless of [__NR_waitpid].
15080 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
15082         PR libgcc/60166
15083         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15084         (_FP_NANSIGN_Q): Set the quiet bit.
15086 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
15088         * benchtests/Makefile
15089         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
15090         not $(common-objpfx)math/libm.so.
15091         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
15092         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
15093         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
15094         $(common-objpfx)dlfcn/libdl.so.
15095         ($(objpfx)tst-audit8): Depend on $(libm), not
15096         $(common-objpfx)math/libm.so.
15097         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
15098         not $(common-objpfx)dlfcn/libdl.so.
15099         * math/Makefile
15100         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15101         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
15102         [$(build-shared) = yes].
15103         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
15104         $(common-objpfx)nptl/libpthread.so.
15105         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
15106         $(common-objpfx)math/libm.so$(libm.so-version) or
15107         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
15108         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
15109         $(common-objpfx)dlfcn/libdl.so.
15110         * setjmp/Makefile (link-libm): Remove variable.
15111         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
15112         * stdio-common/Makefile (link-libm): Remove variable.
15113         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
15114         * stdlib/Makefile (link-libm): Remove variable.
15115         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
15116         ($(objpfx)tst-strtod-round): Likewise.
15117         ($(objpfx)tst-tininess): Likewise.
15118         ($(objpfx)tst-strtod-underflow): Likewise.
15119         ($(objpfx)tst-strtod6): Likewise.
15120         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
15121         $(libdl), not $(common-objpfx)nptl/libpthread.so and
15122         $(common-objpfx)dlfcn/libdl.so.
15124 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15126         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
15127         BSD terminal modes definitions.
15129 2014-05-16  Roland McGrath  <roland@hack.frob.com>
15131         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
15132         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
15134         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
15135         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
15136         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
15137         Don't do #include_next.
15138         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
15139         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
15140         Don't do #include_next.
15141         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
15142         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
15143         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
15144         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
15146 2014-05-16  Allan McRae  <allan@archlinux.org>
15148         * po/sv.po: Update Swedish translation from translation project.
15150         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
15151         in sed expression.
15153 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
15155         [BZ #16917]
15156         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
15157         errno if the TIOCGPTN ioctl fails with an error different than
15158         EINVAL.
15159         * login/tst-ptsname.c: New file.
15160         * login/Makefile (tests): Add tst-ptsname.
15162         [BZ #16943]
15163         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
15164         and prlimit64.
15166 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15168         [BZ #16849]
15169         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
15170         herrno to return EAI_AGAIN.
15172 2014-05-14  Roland McGrath  <roland@hack.frob.com>
15174         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
15175         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
15176         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
15177         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
15178         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
15179         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
15180         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
15181         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
15182         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
15183         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
15184         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
15185         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
15186         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
15187         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
15188         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
15189         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
15190         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
15191         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
15192         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
15193         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
15194         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
15195         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
15196         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
15197         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
15198         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
15199         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
15200         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
15201         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
15202         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
15203         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
15204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
15205         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
15206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
15207         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
15208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15209         Moved ...
15210         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
15211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
15212         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
15213         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
15214         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
15215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
15216         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
15217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
15218         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
15219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
15220         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
15221         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
15222         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
15223         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
15224         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
15225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
15226         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
15227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
15228         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
15229         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
15230         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
15231         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
15232         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
15233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
15234         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
15235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
15236         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
15237         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15238         Moved ...
15239         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
15240         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
15241         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
15242         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
15243         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
15244         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
15245         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
15246         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
15247         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
15248         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
15249         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
15250         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
15251         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
15252         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
15253         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
15254         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
15255         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
15256         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
15257         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
15258         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15259         Moved ...
15260         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
15261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
15262         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
15264         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
15265         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
15266         (libpthread-sysdep_routines): Add elision-related stuff here instead.
15267         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
15268         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
15269         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
15270         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
15271         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
15272         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
15273         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
15274         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
15275         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
15276         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
15277         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
15278         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
15279         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
15280         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
15281         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
15282         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
15283         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
15284         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
15285         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
15286         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
15287         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
15288         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
15289         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
15290         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
15291         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
15292         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
15293         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
15294         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
15296         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
15297         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
15299         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
15300         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
15301         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
15302         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
15303         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
15304         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
15305         Moved ...
15306         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
15307         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15308         Moved ...
15309         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
15310         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15311         Moved ...
15312         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
15313         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
15314         Moved ...
15315         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
15316         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
15317         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
15318         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15319         Moved ...
15320         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
15321         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
15322         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
15323         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
15324         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
15325         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
15326         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
15327         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15328         Moved ...
15329         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
15330         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15331         Moved ...
15332         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15333         ... here.
15334         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
15335         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
15336         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
15337         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
15338         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15339         Moved ...
15340         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15341         ... here.
15342         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
15343         Moved ...
15344         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
15345         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
15346         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
15347         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
15348         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
15349         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
15350         Moved ...
15351         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
15352         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15353         Moved ...
15354         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
15355         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15356         Moved ...
15357         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
15358         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
15359         Moved ...
15360         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
15361         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
15362         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
15363         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
15364         Moved ...
15365         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
15366         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
15367         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
15368         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
15369         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
15370         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
15371         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
15372         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
15373         Moved ...
15374         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
15375         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15376         Moved ...
15377         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15378         ... here.
15379         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
15380         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
15381         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
15382         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
15383         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15384         Moved ...
15385         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15386         ... here.
15387         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
15388         Moved ...
15389         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
15390         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
15391         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
15392         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
15393         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
15394         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
15395         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
15396         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
15397         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
15398         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
15399         Moved ...
15400         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
15401         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
15402         Moved ...
15403         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
15404         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
15405         Moved ...
15406         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
15407         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
15408         Moved ...
15409         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
15410         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
15411         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
15412         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
15413         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
15414         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
15415         Moved ...
15416         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
15417         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
15418         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
15419         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
15420         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
15421         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
15422         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
15423         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
15424         Moved ...
15425         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
15426         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
15427         Moved ...
15428         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
15429         ... here.
15430         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
15431         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
15432         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
15433         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
15434         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
15435         Moved ...
15436         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
15437         ... here.
15438         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
15439         Moved ...
15440         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
15441         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
15442         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
15443         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
15444         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
15445         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
15446         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
15447         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
15448         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
15449         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
15450         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
15452         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
15453         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
15455         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
15456         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
15458         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
15459         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
15460         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
15461         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
15462         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
15463         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
15464         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
15465         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
15466         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
15467         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
15468         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
15469         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
15470         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
15471         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
15472         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
15473         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
15474         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
15475         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
15476         Moved ...
15477         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
15478         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
15479         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
15480         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
15481         Moved ...
15482         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
15483         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
15484         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
15485         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
15486         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
15487         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
15488         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
15489         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
15490         Moved ...
15491         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
15492         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
15493         Moved ...
15494         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
15495         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
15496         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
15497         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
15498         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
15499         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
15500         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
15501         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
15502         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
15503         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
15504         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
15505         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
15506         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
15507         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
15508         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
15509         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
15510         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
15512         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
15513         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
15514         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
15515         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
15516         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
15518         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
15519         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
15520         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
15521         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
15522         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
15523         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
15524         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
15525         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
15526         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
15527         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
15529         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
15530         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
15532         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
15533         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
15534         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
15535         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
15536         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
15537         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
15538         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
15539         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
15540         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
15541         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
15542         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
15543         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
15544         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
15545         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
15546         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
15547         Update #include.
15548         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
15549         Likewise.
15550         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15551         Likewise.
15552         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15553         Likewise.
15554         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15555         Likewise.
15556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
15557         Likewise.
15558         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
15559         Likewise.
15560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15561         Likewise.
15562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
15563         Likewise.
15564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
15565         Likewise.
15566         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
15567         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
15568         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
15569         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
15570         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
15571         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
15572         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
15573         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
15574         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
15575         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
15576         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
15577         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
15578         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
15579         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
15580         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
15582         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
15583         that was previously under [RESET_PID].
15584         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15585         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
15586         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
15588         * sysdeps/i386/nptl/Implies: New file.
15589         * sysdeps/x86_64/nptl/Implies: New file.
15590         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
15591         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
15592         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
15593         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
15595         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
15596         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15597         (__libc_vfork): New strong alias.
15598         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
15599         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
15601         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
15602         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15603         (__libc_vfork): New strong alias.
15604         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
15605         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
15607         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
15608         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15609         (__libc_vfork): New strong alias.
15610         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
15611         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
15612         * nptl/pt-vfork.c: New file.
15613         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
15614         (libpthread: GLIBC_2.20): New version set (empty).
15616 2014-05-14  Will Newton  <will.newton@linaro.org>
15618         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
15619         rather than #if.
15621 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
15623         [BZ #16564]
15624         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
15625         arguments with exponent 65 or above.
15626         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
15627         arguments 0x1p113L or above.
15628         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
15629         to arguments 0x1p107L or above.
15630         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
15631         positive arguments with exponent 65 or above.
15632         * math/auto-libm-test-in: Add more tests of log1p.
15633         * math/auto-libm-test-out: Regenerated.
15635         [BZ #16928]
15636         * math/s_cacos.c (__cacos): Ensure zero real part of result from
15637         non-finite arguments is +0.
15638         * math/s_cacosf.c (__cacosf): Likewise.
15639         * math/s_cacosl.c (__cacosl): Likewise.
15640         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
15641         * sysdeps/i386/fpu/libm-test-ulps: Update.
15642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15644         [BZ #16927]
15645         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
15646         value.
15647         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
15648         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
15649         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
15650         for explicit high bit of mantissa when testing for argument equal
15651         to 1.
15652         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
15653         * sysdeps/i386/fpu/libm-test-ulps: Update.
15654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15656         [BZ #16516]
15657         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
15658         (__erf): Scale by 16 instead of 8 in potentially underflowing
15659         case.  Ensure exception if result actually underflows.
15660         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
15661         (__erff): Scale by 16 instead of 8 in potentially underflowing
15662         case.  Ensure exception if result actually underflows.
15663         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
15664         (efx8): Remove variable.
15665         (__erfl): Scale by 16 instead of 8 in potentially underflowing
15666         case.  Ensure exception if result actually underflows.
15667         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
15668         (efx8): Remove variable.
15669         (__erfl): Scale by 16 instead of 8 in potentially underflowing
15670         case.  Ensure exception if result actually underflows.
15671         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
15672         (efx8): Remove variable.
15673         (__erfl): Scale by 16 instead of 8 in potentially underflowing
15674         case.  Ensure exception if result actually underflows.
15675         * math/auto-libm-test-in: Add more tests of erf.
15676         * math/auto-libm-test-out: Regenerated.
15678 2014-05-14  Andreas Schwab  <schwab@suse.de>
15680         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
15681         Remove code conditionalized on USE___THREAD.
15683         * config.h.in (HAVE_PT_CHOWN): Define as 0.
15684         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
15685         not definedness.
15687 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
15689         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
15690         Define unconditionally.
15691         (__ASSUME_O_CLOEXEC): Likewise.
15692         (__ASSUME_SOCK_CLOEXEC): Likewise.
15693         (__ASSUME_IN_NONBLOCK): Likewise.
15694         (__ASSUME_PIPE2): Likewise.
15695         (__ASSUME_EVENTFD2): Likewise.
15696         (__ASSUME_SIGNALFD4): Likewise.
15697         (__ASSUME_DUP3): Likewise.
15698         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15699         (__ASSUME_DUP3): Do not define.
15700         (__ASSUME_EVENTFD2): Likewise.
15701         (__ASSUME_IN_NONBLOCK): Likewise.
15702         (__ASSUME_O_CLOEXEC): Likewise.
15703         (__ASSUME_PIPE2): Likewise.
15704         (__ASSUME_SIGNALFD4): Likewise.
15705         (__ASSUME_SOCK_CLOEXEC): Likewise.
15706         (__ASSUME_UTIMES): Undefine.
15707         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15708         (__ASSUME_UTIMES): Do not define.
15709         (__ASSUME_O_CLOEXEC): Likewise.
15710         (__ASSUME_SOCK_CLOEXEC): Likewise.
15711         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
15712         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
15713         0x020621].
15714         (__ASSUME_PIPE2): Likewise.
15715         (__ASSUME_EVENTFD2): Likewise.
15716         (__ASSUME_SIGNALFD4): Likewise.
15717         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
15718         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
15719         Do not define.
15720         (__ASSUME_EVENTFD2): Likewise.
15721         (__ASSUME_SIGNALFD4): Likewise.
15722         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15723         (__ASSUME_32BITUIDS): Likewise.
15724         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15725         (__ASSUME_IPC64): Likewise.
15726         (__ASSUME_ST_INO_64_BIT): Likewise.
15727         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
15728         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
15729         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15730         (__ASSUME_UTIMES): Do not define.
15731         (__ASSUME_PSELECT): Likewise.
15732         (__ASSUME_PPOLL): Likewise.
15733         (__ASSUME_O_CLOEXEC): Likewise.
15734         (__ASSUME_SOCK_CLOEXEC): Likewise.
15735         (__ASSUME_IN_NONBLOCK): Likewise.
15736         (__ASSUME_PIPE2): Likewise.
15737         (__ASSUME_EVENTFD2): Likewise.
15738         (__ASSUME_SIGNALFD4): Likewise.
15739         (__ASSUME_DUP3): Likewise.
15740         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15741         (__ASSUME_UTIMES): Likewise.
15742         (__ASSUME_O_CLOEXEC): Likewise.
15743         (__ASSUME_SOCK_CLOEXEC): Likewise.
15744         (__ASSUME_IN_NONBLOCK): Likewise.
15745         (__ASSUME_PIPE2): Likewise.
15746         (__ASSUME_EVENTFD2): Likewise.
15747         (__ASSUME_SIGNALFD4): Likewise.
15748         (__ASSUME_DUP3): Likewise.
15749         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15750         (__ASSUME_UTIMES): Likewise.
15751         (__ASSUME_O_CLOEXEC): Likewise.
15752         (__ASSUME_SOCK_CLOEXEC): Likewise.
15753         (__ASSUME_IN_NONBLOCK): Likewise.
15754         (__ASSUME_PIPE2): Likewise.
15755         (__ASSUME_EVENTFD2): Likewise.
15756         (__ASSUME_SIGNALFD4): Likewise.
15757         (__ASSUME_DUP3): Likewise.
15758         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
15759         Likewise.
15760         (__ASSUME_UTIMES): Likewise.
15761         (__ASSUME_EVENTFD2): Likewise.
15762         (__ASSUME_SIGNALFD4): Likewise.
15763         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15764         (__ASSUME_O_CLOEXEC): Likewise.
15765         (__ASSUME_SOCK_CLOEXEC): Likewise.
15766         (__ASSUME_IN_NONBLOCK): Likewise.
15767         (__ASSUME_PIPE2): Likewise.
15768         (__ASSUME_EVENTFD2): Likewise.
15769         (__ASSUME_SIGNALFD4): Likewise.
15770         (__ASSUME_DUP3): Likewise.
15771         (__ASSUME_UTIMES): Undefine.
15773         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
15774         feclearexcept.  Remove symbol versioning code.
15775         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
15776         symbol versioning code.
15777         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
15778         symbol versioning code.
15779         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
15780         feupdateenv.  Remove symbol versioning code.
15781         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
15782         fegetexceptflag.  Remove symbol versioning code.
15783         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
15784         fesetexceptflag.  Remove symbol versioning code.
15785         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
15786         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
15787         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
15788         (__posix_fadvise64_l32): Remove prototype.
15789         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
15790         code.
15792 2014-05-13  Roland McGrath  <roland@hack.frob.com>
15794         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
15795         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
15796         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
15797         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
15799 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
15801         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
15802         current working directory
15804 2014-05-13  Roland McGrath  <roland@hack.frob.com>
15806         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
15807         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
15808         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
15809         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
15810         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
15811         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
15812         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
15813         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
15814         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
15815         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
15816         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
15817         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
15818         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
15819         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
15820         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
15821         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
15822         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
15823         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
15824         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
15825         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
15826         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
15827         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
15828         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
15829         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
15830         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
15831         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
15832         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
15833         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
15834         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
15835         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
15836         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
15837         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
15838         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
15839         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
15840         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
15841         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
15842         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
15843         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
15844         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
15845         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
15846         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
15847         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
15849         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
15850         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
15852         * sysdeps/unix/sysv/linux/arm/Makefile
15853         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
15854         Add rt-aeabi_unwind_cpp_pr1.
15855         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
15856         Add nptl-aeabi_unwind_cpp_pr1.
15857         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
15858         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
15859         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
15860         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15861         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
15862         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15864         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
15865         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
15866         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
15867         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
15869         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
15870         Deconditionalize the code that was previously under [RESET_PID].
15871         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
15873         * sysdeps/generic/exit-thread.h: New file.
15874         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
15875         * include/unistd.h (__exit_thread): Remove declaration.
15876         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
15877         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
15878         * csu/libc-start.c: Include <exit-thread.h>.
15879         (LIBC_START_MAIN): Pass no argument to __exit_thread.
15880         * nptl/pthread_create.c: Include <exit-thread.h>.
15881         (start_thread): Call __exit_thread in place of __exit_thread_inline.
15882         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
15883         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
15884         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
15885         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
15886         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
15887         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
15888         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
15889         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
15890         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
15891         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
15892         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
15893         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
15894         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
15895         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
15896         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
15897         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
15899 2014-05-13  Andreas Schwab  <schwab@suse.de>
15901         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
15903 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
15905         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15906         (__ASSUME_UTIMES): Do not condition on kernel version.
15907         (__ASSUME_PSELECT): Define unconditionally.
15908         (__ASSUME_PPOLL): Likewise.
15909         (__ASSUME_ATFCTS): Likewise.
15910         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
15911         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
15912         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
15913         (__ASSUME_UTIMENSAT): Define unconditionally.
15914         (__ASSUME_PRIVATE_FUTEX): Likewise.
15915         (__ASSUME_FALLOCATE): Likewise.
15916         (__ASSUME_O_CLOEXEC): Likewise.
15917         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
15918         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
15919         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
15920         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
15921         (__ASSUME_IN_NONBLOCK): Likewise.
15922         (__ASSUME_PIPE2): Likewise.
15923         (__ASSUME_EVENTFD2): Likewise.
15924         (__ASSUME_SIGNALFD4): Likewise.
15925         (__ASSUME_DUP3): Likewise.
15926         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15927         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
15928         (__ASSUME_AT_RANDOM): Likewise.
15929         (__ASSUME_PREADV): Likewise.
15930         (__ASSUME_PWRITEV): Likewise.
15931         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
15932         (__ASSUME_F_GETOWN_EX): Define unconditionally.
15933         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
15934         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15935         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
15936         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15937         (__ASSUME_O_CLOEXEC): Define unconditionally.
15938         (__ASSUME_PSELECT): Do not undefine conditionally.
15939         (__ASSUME_PPOLL): Likewise.
15940         (__ASSUME_ATFCTS): Likewise.
15941         (__ASSUME_SET_ROBUST_LIST): Likewise.
15942         (__ASSUME_UTIMENSAT): Likewise.
15943         (__ASSUME_FDATASYNC): Define unconditionally.
15944         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15945         (__ASSUME_SIGFRAME_V2): Likewise.
15946         )__ASSUME_EVENTFD2): Likewise.
15947         (__ASSUME_SIGNALFD4): Likewise.
15948         (__ASSUME_PSELECT): Do not undefine conditionally.
15949         (__ASSUME_PPOLL): Likewise.
15950         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15951         (__ASSUME_PSELECT): Define unconditionally.
15952         (__ASSUME_PPOLL): Likewise.
15953         (__ASSUME_O_CLOEXEC): Likewise.
15954         (__ASSUME_SOCK_CLOEXEC): Likewise.
15955         (__ASSUME_IN_NONBLOCK): Likewise.
15956         (__ASSUME_PIPE2): Likewise.
15957         (__ASSUME_EVENTFD2): Likewise.
15958         (__ASSUME_SIGNALFD4): Likewise.
15959         (__ASSUME_DUP3): Likewise.
15960         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15961         (__ASSUME_O_CLOEXEC): Likewise.
15962         (__ASSUME_SOCK_CLOEXEC): Likewise.
15963         (__ASSUME_IN_NONBLOCK): Likewise.
15964         (__ASSUME_PIPE2): Likewise.
15965         (__ASSUME_EVENTFD2): Likewise.
15966         (__ASSUME_SIGNALFD4): Likewise.
15967         (__ASSUME_DUP3): Likewise.
15968         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15969         (__ASSUME_EVENTFD2): Likewise.
15970         (__ASSUME_SIGNALFD4): Likewise.
15971         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15973 2014-05-12  Andreas Schwab  <schwab@suse.de>
15975         [BZ #16932]
15976         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
15977         (_nss_nis_gethostbyname4_r): Return error if item length is larger
15978         than maximum RPC packet size.
15979         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
15980         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
15981         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
15982         (_nss_nis_getservbyport_r): Likewise.
15984 2014-05-12  Will Newton  <will.newton@linaro.org>
15986         * malloc/Makefile (tests): Add tst-mallopt.
15987         * malloc/tst-mallopt.c: New file.
15989 2014-05-09  Roland McGrath  <roland@hack.frob.com>
15991         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
15992         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
15994 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15996         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
15997         (tst-tlsmod6.so): Likewise.
15999 2014-05-09  Roland McGrath  <roland@hack.frob.com>
16001         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
16003 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
16005         [BZ #16064]
16006         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
16007         and <dl-procinfo.h>.
16008         (__fegetenv): Save SSE state in envp->__eip if supported.
16009         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
16010         envp->__eip if supported.
16011         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
16012         and <dl-procinfo.h>.
16013         (__fesetenv): Always set __eip, __cs_selector, __opcode,
16014         __data_offset and __data_selector in environment to 0.  Set SSE
16015         state if supported.
16016         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16017         test-fenv-sse.
16018         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
16019         -mfpmath=sse.
16020         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
16022 2014-05-09  Will Newton  <will.newton@linaro.org>
16024         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
16025         and libc_relro_required for ARM.
16026         * sysdeps/arm/preconfigure: Regenerate.
16028 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
16029             Stefan Liebler  <stli@linux.vnet.ibm.com>
16031         * config.make.in (enable-lock-elision): New Makefile variable.
16032         * configure.ac: Likewise.
16033         * configure: Regenerate.
16034         * sysdeps/s390/configure.ac:
16035         Add check for gcc transactions support.
16036         * sysdeps/s390/configure: Regenerate.
16037         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
16038         Build elision files if enabled.
16039         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
16040         Add lock elision support for s390.
16041         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
16042         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
16043         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
16044         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
16045         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
16046         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
16047         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16048         Likewise.
16049         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
16050         Likewise.
16051         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
16052         Likewise.
16053         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
16054         Likewise.
16055         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
16056         (__lll_timedlock_elision, __lll_lock_elision)
16057         (__lll_unlock_elision, __lll_trylock_elision)
16058         (lll_timedlock_elision, lll_lock_elision)
16059         (lll_unlock_elision, lll_trylock_elision): Add.
16060         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16061         (pthread_mutex_t): Add lock elision support for s390.
16063 2014-05-14  Wilco  <wdijkstr@arm.com>
16065         * sysdeps/arm/fclrexcpt.c: Cleanup.
16066         * sysdeps/arm/fedisblxcpt.c: Cleanup.
16067         * sysdeps/arm/feenablxcpt.c: Cleanup.
16068         * sysdeps/arm/fegetenv.c: Cleanup.
16069         * sysdeps/arm/fegetexcept.c: Cleanup.
16070         * sysdeps/arm/fegetround.c: Cleanup.
16071         * sysdeps/arm/feholdexcpt.c: Cleanup.
16072         * sysdeps/arm/fesetenv.c: Cleanup.
16073         * sysdeps/arm/fesetround.c: Cleanup.
16074         * sysdeps/arm/feupdateenv.c: Cleanup.
16075         * sysdeps/arm/fgetexcptflg.c: Cleanup.
16076         * sysdeps/arm/fraiseexcpt.c: Cleanup.
16077         * sysdeps/arm/fsetexcptflg.c: Cleanup.
16078         * sysdeps/arm/ftestexcept.c: Cleanup.
16079         * sysdeps/arm/get-rounding-mode.h: Cleanup.
16080         * sysdeps/arm/setfpucw.c: Cleanup.
16082 2014-05-09  Will Newton  <will.newton@linaro.org>
16084         * sysdeps/arm/armv7/strcmp.S: New file.
16085         * NEWS: Mention addition of ARMv7 optimized strcmp.
16087 2014-05-08  Roland McGrath  <roland@hack.frob.com>
16089         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
16090         look for %.ac rather than %.in.
16092         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
16093         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
16094         * sysdeps/mach/hurd/configure: Regenerated.
16095         * sysdeps/unix/sysv/linux/configure: Regenerated.
16097         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
16099 2014-05-07  Steve Ellcey  <sellcey@mips.com>
16101         [BZ# 16922]
16102         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
16103         (LONG_SUB): Ditto.
16104         (PTR_SUB): Ditto.
16106 2014-05-07  Andreas Schwab  <schwab@suse.de>
16108         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
16109         when skipping over non-matching result from nscd.
16111 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
16113         [BZ #16876]
16114         * nptl/sockperf.c (client): Check socket return value.
16116         [BZ #16877]
16117         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
16118         nscd security class.
16120 2014-05-06  Roland McGrath  <roland@hack.frob.com>
16122         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
16123         * sysdeps/arm/unwind.h: ... here.
16125 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
16127         [BZ# 16916]
16128         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
16129         Define.
16131 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16133         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
16134         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
16135         multiarch strncpy for PPC64.
16136         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
16137         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
16138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
16139         multiarch optimizations.
16140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16141         (__libc_ifunc_impl_list): Likewise.
16142         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
16143         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
16144         multiarch stpncpy for PPC64.
16145         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
16146         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
16148 2014-05-06  Andreas Schwab  <schwab@suse.de>
16150         [BZ #16912]
16151         * gmon/mcount.c (_MCOUNT_DECL): Use
16152         atomic_compare_and_exchange_bool_acq instead of
16153         catomic_compare_and_exchange_bool_acq.
16155 2014-05-05  Roland McGrath  <roland@hack.frob.com>
16157         * elf/Makefile (others, install-bin): Remove pldd.
16158         (pldd-modules): Variable removed.
16159         ($(objpfx)pldd): Target removed.
16160         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
16161         (others, install-bin): Append pldd here.
16162         ($(objpfx)pldd): New target.
16164         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
16165         to 0, so the first #if test emitted later doesn't see it undefined.
16166         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
16167         * sysdeps/gnu/errlist.c: Regenerated.
16169 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16171         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16172         [libc_hidden_builtin_def]: Define to empty value.
16173         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
16174         [libc_hidden_builtin_def]: Likewise.
16175         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
16176         [libc_hidden_builtin_def]: Likewise.
16177         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
16178         [libc_hidden_builtin_def]: Likewise.
16179         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
16180         __redirect_memcpy and define ifunc as default hidden symbol.
16181         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
16182         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
16184 2014-05-04  Adam Conrad  <adconrad@0c3.net>
16186         * locale/iso-4217.def: Reintroduce XDR currency.
16188 2014-05-04  Allan McRae  <allan@archlinux.org>
16190         * po/eo.po: Update Esperanto translation from translation project.
16192 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
16194         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
16195         and FEATURE_INDEX_MAX to 1.
16196         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
16198 2014-05-01  Steve Ellcey  <sellcey@mips.com>
16200         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
16201         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
16202         * iconvdata/big5.c (ONE_DIRECTION): Define.
16203         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
16204         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
16205         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
16206         * iconvdata/cp932.c (ONE_DIRECTION): Define.
16207         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
16208         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
16209         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
16210         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
16211         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
16212         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
16213         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
16214         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
16215         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
16216         * iconvdata/gbk.c (ONE_DIRECTION): Define.
16217         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
16218         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
16219         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
16220         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
16221         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
16222         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
16223         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
16224         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
16225         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
16226         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
16227         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
16228         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
16229         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
16230         * iconvdata/iso646.c (ONE_DIRECTION): Define.
16231         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
16232         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
16233         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
16234         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
16235         * iconvdata/johab.c (ONE_DIRECTION): Define.
16236         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
16237         * iconvdata/sjis.c (ONE_DIRECTION): Define.
16238         * iconvdata/t.61.c (ONE_DIRECTION): Define.
16239         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
16240         * iconvdata/tscii.c (ONE_DIRECTION): Define.
16241         * iconvdata/uhc.c (ONE_DIRECTION): Define.
16242         * iconvdata/unicode.c (ONE_DIRECTION): Define.
16243         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
16244         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
16245         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
16247 2014-05-01  Roland McGrath  <roland@hack.frob.com>
16249         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
16250         (_IO_JUMPS_OFFSET): Define to 0.
16252         * nptl/sysdeps/pthread/bits/libc-lock.h
16253         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
16254         (__libc_lock_define_initialized_recursive): Always define using
16255         initializer.  Modern compilers treat uninitialized (implicit zero) and
16256         explicit zero initializers the same (i.e. put the datum in bss).
16258 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
16260         * nscd/nscd-client.h: Include <string.h>.
16262 2014-05-01  David S. Miller  <davem@davemloft.net>
16264         [BZ #16885]
16265         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
16266         multiple zero bytes exist at the end of a string.
16267         Reported by Aurelien Jarno <aurelien@aurel32.net>
16269         * string/test-strcmp.c (check): Add explicit test for situations where
16270         there are multiple zero bytes after the first.
16272 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
16274         [BZ #16890]
16275         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
16276         when compiling wprintf.
16277         * stdio-common/tstdiomisc.c (t3): New function.
16278         (main): Call it.
16280 2014-05-01  Steve Ellcey  <sellcey@mips.com>
16282         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
16283         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
16284         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
16285         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
16287 2014-05-01  Steve Ellcey  <sellcey@mips.com>
16289         * stdlib/longlong.h: Updated from GCC.
16291 2014-05-01  Will Newton  <will.newton@linaro.org>
16292             Bernard Ogden  <bernie.ogden@linaro.org>
16294         * NEWS: Update fixed bug list.
16296         [BZ #15119]
16297         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
16299 2014-04-30  David S. Miller  <davem@davemloft.net>
16301         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
16302         (libc_feholdexcept_setround_sparc_ctx): New function.
16303         (libc_fesetenv_sparc_ctx): Likewise.
16304         (libc_feupdateenv_sparc_ctx): Likewise.
16305         (libc_feholdsetround_sparc_ctx): Likewise.
16306         (libc_feholdexcept_setround_ctx): Define.
16307         (libc_feholdexcept_setroundf_ctx): Likewise.
16308         (libc_feholdexcept_setroundl_ctx): Likewise.
16309         (libc_fesetenv_ctx): Likewise.
16310         (libc_fesetenvf_ctx): Likewise.
16311         (libc_fesetenvl_ctx): Likewise.
16312         (libc_feupdateenv_ctx): Likewise.
16313         (libc_feupdateenvf_ctx): Likewise.
16314         (libc_feupdateenvl_ctx): Likewise.
16315         (libc_feresetround_ctx): Likewise.
16316         (libc_feresetroundf_ctx): Likewise.
16317         (libc_feresetroundl_ctx): Likewise.
16318         (libc_feholdsetround_ctx): Likewise.
16319         (libc_feholdsetroundf_ctx): Likewise.
16320         (libc_feholdsetroundl_ctx): Likewise.
16322         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16323         with __USE_GNU instead of XOPEN cpp guards.
16325         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
16326         0.
16328         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16329         with XOPEN cpp guards.
16331 2014-04-30  Julian Brown  <julian@codesourcery.com>
16333         [BZ #16888]
16334         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
16335         handling.
16337 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
16339         [BZ #9894]
16340         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16341         Change to 2.6.32.
16342         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
16343         * sysdeps/unix/sysv/linux/configure: Regenerated.
16344         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
16345         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
16346         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
16347         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
16348         * README: Update reference to required Linux kernel version.
16349         * manual/install.texi (Linux): Update reference to required Linux
16350         kernel headers version.
16351         * INSTALL: Regenerated.
16353         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
16354         header inclusion.
16355         [POSIX] (limits.h): Likewise.
16356         [POSIX] (math.h): Likewise.
16357         [POSIX] (sys/wait.h): Likewise.
16358         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
16359         function.
16360         [POSIX] (stddef.h): Do not allow header inclusion.
16362 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16364         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
16366 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
16368         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
16369         Return immediately after lll_futex_wake.
16371 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16373         [BZ #16791]
16374         * nscd/nscd-client.h (datahead_init_common): Initialize entire
16375         structure.
16376         (datahead_init_pos): Call datahead_init_common early.
16377         (datahead_init_neg): Likewise.
16379         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
16380         datahead_init_neg): New functions.
16381         * nscd/aicache.c (addhstaiX): Use them.
16382         * nscd/grpcache.c (cache_addgr): Likewise.
16383         * nscd/hstcache.c (cache_addhst): Likewise.
16384         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16385         * nscd/netgroupcache.c (do_notfound): Likewise.
16386         (addgetnetgrentX): Likewise.
16387         (addinnetgrX): Likewise.
16388         * nscd/pwdcache.c (cache_addpw): Likewise.
16389         * nscd/servicescache.c (cache_addserv): Likewise.
16391 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16392             Atsushi Onoe  <atsushi@onoe.org>
16394         [BZ #14308]
16395         [BZ #12994]
16396         [BZ #13651]
16397         * resolv/res_query.c (__libc_res_nsearch): Return if at least
16398         one response is valid.
16399         * resolv/res_send.c (send_dg): Check for validity of other
16400         response if the current response is a referral.
16402 2014-04-29  Steve Ellcey  <sellcey@mips.com>
16404         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
16406 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
16408         [BZ #16823]
16409         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
16410         Always divide by positive zero when computing -Inf result.
16411         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16412         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
16414 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16416         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
16417         FPSCR if value do not change.
16418         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16419         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
16420         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16421         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16422         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
16423         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
16424         function.
16426 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
16428         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
16429         * sysdeps/unix/sysv/linux/hppa: Move directory from
16430         ports/systeps/unix/sysv/linux/hppa.
16431         * README: Update listing for hppa-*-linux-gnu.
16433 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
16435         [BZ #16754]
16436         * manual/stdio.texi (Hook functions): Fix types of stream hook
16437         functions.
16438         [BZ #16854]
16439         * socket/sys/socket.h: Fix typo in comment.
16441 2014-04-28  Wilco  <wdijkstr@arm.com>
16443         * sysdeps/arm/fenv_private.h: New file.
16444         * sysdeps/arm/math_private.h: New file.
16445         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
16447 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
16449         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
16450         with __int128_t.
16451         (La_x86_64_retval): Likewise.
16453 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
16455         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
16456         fpsr if value didn't change.
16457         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
16458         to fpcr if value didn't change.
16459         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
16460         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
16461         fpsr or fpcr if value didn't change.
16462         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16463         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
16464         fpcr if value didn't change.
16465         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
16466         to fpsr if value didn't change.
16468 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16470         * nptl/tst-sem3.c: Use test-skeleton.c
16471         (main): Rename to do_test.  Use return instead of
16472         exit.
16473         * nptl/tst-sem4.c: Use test-skeleton.c
16474         (main): Rename to do_test.
16476 2014-04-22  David S. Miller  <davem@davemloft.net>
16478         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
16479         (struct sigaction): New struct member __glibc_reserved0, change
16480         type of sa_flags to int.
16482 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
16484         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
16485         (COUNT_LEADING_ZEROS_0): Define for AArch64.
16487 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16489         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
16490         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
16492 2014-04-22  Will Newton  <will.newton@linaro.org>
16493             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
16495         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
16496         (__longjmp): Add longjmp and longjmp_target SystemTap
16497         probes.
16498         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
16499         (__sigsetjmp): Add setjmp SystemTap probe.
16501 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
16503         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
16504         match manual order.
16506 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16508         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
16510         * sysdeps/powerpc/fpu/fenv_private.h
16511         (libc_feholdexcept_setroundl_ctx): Define to
16512         libc_feholdexcept_setround_ppc_ctx.
16513         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
16514         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
16515         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
16516         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
16518 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
16520         * sysdeps/aarch64/math-tests.h: New file.
16522 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
16524         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
16525         New.
16526         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16527         Check and set bit_AVX2_Usable.
16528         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
16529         macro.
16530         (bit_AVX2): Likewise.
16531         (index_AVX2_Usable): Likewise.
16532         (CPUID_AVX2): Likewise.
16533         (HAS_AVX2): Likewise.
16535 2014-04-17  Will Newton  <will.newton@linaro.org>
16537         * manual/setjmp.texi (System V contexts): Add note that
16538         calling setcontext on a context created by a call to a
16539         signal handler is undefined.  Update text to note that
16540         setcontext from a signal handler is possible but not
16541         recommended.
16543         [BZ #16629]
16544         * stdlib/tst-setcontext.c: Include signal.h.
16545         (main): Check that the signal stack before and
16546         after swapcontext is the same.
16548         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
16549         Re-implement to restore registers in user code and avoid
16550         rt_sigreturn system call.
16552 2014-04-17  Wilco  <wdijkstr@arm.com>
16554         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
16555         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
16556         * math/test-fenv.c: Skip exception trap tests on targets which only
16557         support non-stop mode.
16559 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
16560             Wilco Dijkstra  <wilco.dijkstra@arm.com>
16562         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
16563         (libc_feholdsetround_aarch64_ctx)
16564         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
16565         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
16566         (libc_feresetround_ctx, libc_feresetroundf_ctx)
16567         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
16568         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
16569         (libc_feresetround_noexl_ctx): Define.
16571 2014-04-16  Richard Henderson  <rth@redhat.com>
16573         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
16575         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
16576         unwind tables.
16578         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
16579         const from the non-libc, non-ldso copy.
16581         * sysdeps/alpha/libm-test-ulps: Regenerate.
16583 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
16584             Wilco Dijkstra  <wilco.dijkstra@arm.com>
16586         * sysdeps/aarch64/fpu/math_private.h: New file.
16588 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16590         * sysdeps/aarch64/libm-test-ulps: Regenerate.
16592 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
16594         [BZ #16275]
16595         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
16596         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
16597         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
16598         Intel MPX bound registers before _dl_profile_fixup.
16599         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
16600         registers after _dl_profile_fixup.  Save and restore bound
16601         registers bnd0/bnd1 when calling _dl_call_pltexit.
16602         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
16603         (LR_BND_OFFSET): Likewise.
16604         (LRV_BND0_OFFSET): Likewise.
16605         (LRV_BND1_OFFSET): Likewise.
16607 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16609         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
16610         to...
16611         * sysdeps/mach/hurd/i386/tls.h: ... here.
16612         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
16613         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
16614         fields.
16616 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16618         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
16620 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16622         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16624 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16626         [BZ #14770]
16627         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
16628         * sysdeps/s390/configure: Regenerate.
16630         [BZ #16824]
16631         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
16632         Set round-to-nearest internally to reduce error accumulation.
16634 2014-04-16  Alan Modra  <amodra@gmail.com>
16636         [BZ #16740]
16637         [BZ #16619]
16638         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
16639         * math/libm-test.inc (frexp_test_data): Add tests.
16640         * NEWS: Update fixed bug list.
16642 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16644         * benchtests/Makefile: Depend on libraries in build directory.
16645         (bench-math): Separate out math tests.
16646         (bench-pthread): Separate out pthread tests.
16647         (bench): Include math and pthread tests.
16649 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
16651         [BZ #16831]
16652         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
16653         _dl_debug_initialize.
16655         * configure.ac: Remove SELinux header check.
16656         * configure: Regenerate.
16657         * nscd/selinux.c (perms): Array of const char* to permission names.
16658         (nscd_request_avc_has_perm): Call security_deny_unknown to find
16659         default policy. Call string_to_security_class and string_to_av_perm to
16660         translate strings. Enforce default policy and call avs_has_perm with
16661         results of translated strings.
16663 2014-04-13  David S. Miller  <davem@davemloft.net>
16665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16667 2014-04-12  Allan McRae  <allan@archlinux.org>
16669         [BZ #16838]
16670         * manual/string.texi (Collation Functions): Fix qsort argument
16671         order in example.
16672         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16674 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
16676         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
16677         Make the test a no-op if there are no exceptions defined.
16679 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16681         * elf/Makefile (tests): make tst-dlopen-aout conditional on
16682         enable-hardcoded-path-in-tests
16684 2014-04-11  Will Newton  <will.newton@linaro.org>
16686         * benchtests/Makefile (extra-objs): Add json-lib.o.
16687         (bench-func): Tidy up JSON output.
16688         * benchtests/bench-skeleton.c: Include json-lib.h.
16689         (main): Use JSON library functions to do output of
16690         benchmark results.
16691         * benchtests/bench-timing-type.c (main): Output the
16692         timing type simply, leaving formatting to the user.
16693         * benchtests/json-lib.c: New file.
16694         * benchtests/json-lib.h: Likewise.
16696 2014-04-11  Torvald Riegel  <triegel@redhat.com>
16698         [BZ #15215]
16699         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
16700         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
16701         memory barriers.  Add comments.
16702         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
16703         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
16704         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
16705         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
16706         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
16707         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
16709 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16711         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
16712         * sysdeps/s390/s390-64/configure.ac: ... this ...
16713         * sysdeps/s390/configure.ac: ... to here.
16714         * sysdeps/s390/s390-32/configure: Delete file.
16715         * sysdeps/s390/s390-64/configure: Delete file.
16716         * sysdeps/s390/configure: Regenerate.
16718 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
16720         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
16722 2014-04-11  Will Newton  <will.newton@linaro.org>
16724         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
16725         to zero if it is not defined elsewhere.  (mtrim): Test
16726         the value of MALLOC_DEBUG with #if rather than #ifdef.
16728 2014-04-10 Torvald Riegel  <triegel@redhat.com>
16730         * benchtests/pthread_once-inputs: New file.
16731         * benchtests/pthread_once-source.c: New file.
16732         * benchtests/README: Update documentation.
16734 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
16735             H.J. Lu  <hongjiu.lu@intel.com>
16737         [BZ #16275]
16738         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
16739         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
16740         * sysdeps/x86_64/configure: Regenerated.
16741         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
16742         macro.
16743         (REGISTER_SAVE_RAX): Likewise.
16744         (REGISTER_SAVE_RCX): Likewise.
16745         (REGISTER_SAVE_RDX): Likewise.
16746         (REGISTER_SAVE_RSI): Likewise.
16747         (REGISTER_SAVE_RDI): Likewise.
16748         (REGISTER_SAVE_R8): Likewise.
16749         (REGISTER_SAVE_R9): Likewise.
16750         (REGISTER_SAVE_BND0): Likewise.
16751         (REGISTER_SAVE_BND1): Likewise.
16752         (REGISTER_SAVE_BND2): Likewise.
16753         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
16754         bound registers when calling _dl_fixup.
16756 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16758         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
16759         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
16760         of its definition.
16761         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
16762         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
16763         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
16764         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
16765         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
16766         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
16767         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
16769 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
16771         [BZ #15514]
16772         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
16773         pathconf(_PC_NAME_MAX).
16775 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16777         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
16778         Remove macro usage.
16779         (__PTHREAD_SPINS): Move definition to ...
16780         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16781         (__PTHREAD_SPINS): ... here.
16782         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16783         (__PTHREAD_SPIN): Likewise.
16784         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
16785         (__PTHREAD_SPIN): Likewise.
16786         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
16787         (__PTHREAD_SPIN): Likewise.
16788         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
16789         (__PTHREAD_SPIN): Likewise.
16790         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16791         (__PTHREAD_SPIN): Likewise.
16792         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16793         (__PTHREAD_SPIN): Likewise.
16794         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
16795         (__PTHREAD_SPIN): Likewise.
16796         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16797         (__PTHREAD_SPIN): Likewise.
16798         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16799         (__PTHREAD_SPIN): Likewise.
16800         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16801         (__PTHREAD_SPIN): Likewise.
16802         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16803         (__PTHREAD_SPIN): Likewise.
16804         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
16805         (__PTHREAD_SPIN): Likewise.
16807         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
16808         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
16809         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
16810         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
16811         imply folder.
16812         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
16813         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
16814         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
16815         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
16816         correct imply path.
16817         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
16818         strlen symbol for non multi-arch builds.
16819         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
16820         missing hidden_def and weak_alias.
16822 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
16824         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
16826 2014-04-07  Will Newton  <will.newton@linaro.org>
16828         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
16829         and contents.  [!_LIBC] Remove #ifndef and contents.
16830         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
16831         * string/memccpy.c (__memccpy): Use ANSI prototype.
16832         * string/memfrob.c (memfrob): Likewise.
16833         * string/strcoll.c (STRCOLL): Likewise.
16834         * string/strlen.c (strlen): Likewise.
16835         * string/strtok.c (STRTOK): Likewise.
16836         * string/strcat.c: Remove unused #include of memcopy.h.
16837         (strcat): Use ANSI prototype.
16838         * string/strchr.c: Remove unused #include of memcopy.h.
16839         (strchr): Use ANSI prototype.
16840         * string/strcmp.c: Remove unused #include of memcopy.h.
16841         (strcmp): Use ANSI prototype.
16842         * string/strcpy.c: Remove unused #include of memcopy.h.
16843         (strcpy): Use ANSI prototype.
16845 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16847         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
16848         * config.make.in (config-extra-cppflags): Set it from
16849         libc_extra_cppflags.
16850         * configure.ac (libc_extra_cflags): Make it accumulate over
16851         configure fragments.
16852         (libc_extra_cppflags): New flag.
16853         * configure. Regenerate.
16854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
16855         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
16856         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
16857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16859         [BZ #16815]
16860         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
16861         result for FE_DOWNWARD rounding mode.
16862         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16863         Likewise.
16864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16866 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
16868         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
16869         in function argument name.
16871 2014-04-03  David Svoboda  <svoboda@cert.org>
16873         [BZ #5666]
16874         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
16875         explicitly.
16877 2014-04-03  Roland McGrath  <roland@hack.frob.com>
16879         * elf/dl-unmap-segments.h: New file.
16880         * sysdeps/generic/ldsodefs.h
16881         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
16882         * elf/dl-close.c: Include <dl-unmap-segments.h>.
16883         * elf/dl-fptr.c: Likewise.
16884         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
16885         * sysdeps/aarch64/tlsdesc.c: Likewise.
16886         * sysdeps/arm/tlsdesc.c: Likewise.
16887         * sysdeps/i386/tlsdesc.c: Likewise.
16888         * sysdeps/tile/dl-runtime.c: Likewise.
16889         * sysdeps/x86_64/tlsdesc.c: Likewise.
16890         * elf/dl-load.h: New file.
16891         * elf/dl-load.c: Include it.
16892         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
16893         Macros moved to dl-load.h.
16894         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
16895         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
16896         Use _dl_unmap_segments in place of __munmap.
16897         Break out segment-mapping loop into ...
16898         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
16900 2014-04-03  Will Newton  <will.newton@linaro.org>
16902         * elf/dl-lookup.c (do_lookup_x): Remove comment
16903         referring to nested function and move variable
16904         declarations down to before first use.
16906 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
16908         [BZ #16799]
16909         [BZ #16800]
16910         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
16911         with 0 numerator.
16912         * math/s_catanf.c (__catanf): Likewise.
16913         * math/s_catanh.c (__catanh): Likewise.
16914         * math/s_catanhf.c (__catanhf): Likewise.
16915         * math/s_catanhl.c (__catanhl): Likewise.
16916         * math/s_catanl.c (__catanl): Likewise.
16917         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
16918         by positive zero when computing -Inf result.
16919         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
16920         (catanh_test): Likewise.
16921         * sysdeps/i386/fpu/libm-test-ulps: Update.
16922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16924         [BZ #16789]
16925         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
16926         instead of using underflowing value in computing result.
16927         * math/s_clog10.c (__clog10): Likewise.
16928         * math/s_clog10f.c (__clog10f): Likewise.
16929         * math/s_clog10l.c (__clog10l): Likewise.
16930         * math/s_clogf.c (__clogf): Likewise.
16931         * math/s_clogl.c (__clogl): Likewise.
16932         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
16933         (clog10_test): Likewise.
16934         * sysdeps/i386/fpu/libm-test-ulps: Update.
16935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16937 2014-04-02  Alan Modra  <amodra@gmail.com>
16939         [BZ #16739]
16940         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
16941         output when value is near a power of two.  Use int64_t for lx and
16942         remove casts.  Use decimal rather than hex exponent constants.
16943         Don't use long double multiplication when double will suffice.
16944         * math/libm-test.inc (nextafter_test_data): Add tests.
16945         * NEWS: Add 16739 and 16786 to bug list.
16947         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
16949         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
16951 2014-04-01  Will Newton  <will.newton@linaro.org>
16953         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
16954         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
16956 2014-04-01  Florian Weimer  <fweimer@redhat.com>
16958         [BZ #13347]
16959         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
16960         * nptl/tst-setuid2.c: New file.
16961         * nptl/Makefile (xtests): Add tst-setuid2.
16963 2014-04-01  Alan Modra  <amodra@gmail.com>
16965         [BZ #16786]
16966         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
16968 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
16970         [BZ #6803]
16971         [BZ #6804]
16972         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
16973         set errno as appropriate.
16974         * math/w_scalbf.c (__scalbf): Likewise.
16975         * math/w_scalbl.c (__scalbl): Likewise.
16976         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
16977         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
16978         * math/libm-test.inc (scalb_test_data): Add errno expectations.
16979         Add more NaN tests.
16981         [BZ #16349]
16982         * math/w_atan2.c: Include <errno.h>.
16983         (__atan2): Set errno for result underflowing to zero.
16984         * math/w_atan2f.c: Include <errno.h>.
16985         (__atan2f): Set errno for result underflowing to zero.
16986         * math/w_atan2l.c: Include <errno.h>.
16987         (__atan2l): Set errno for result underflowing to zero.
16988         * math/auto-libm-test-in: Don't allow missing errno for some atan2
16989         tests.
16990         * math/auto-libm-test-out: Regenerated.
16992 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16994         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
16995         Encode instruction correctly in little endian.
16996         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
16997         Likewise.
16998         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
16999         Likewise.
17000         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
17001         Likewise.
17002         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
17003         Likewise.
17005 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
17007         [BZ #9894]
17008         * sysdeps/unix/sysv/linux/kernel-features.h
17009         [__sparc__ && !__arch64__ && !__sparc_v9__]
17010         (__ASSUME_SET_ROBUST_LIST): Do not define.
17011         [__sparc__ && !__arch64__ && !__sparc_v9__]
17012         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17013         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
17014         Likewise.
17015         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17016         (__ASSUME_FUTEX_LOCK_PI): Undefine.
17017         (__ASSUME_REQUEUE_PI): Likewise.
17018         (__ASSUME_SET_ROBUST_LIST): Likewise.
17019         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17020         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
17021         Undefine.
17022         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17023         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
17024         Likewise.
17025         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
17026         Likewise.
17027         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
17028         Likewise.
17029         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17030         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
17031         Undefine.
17032         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
17033         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
17034         Likewise.
17036         [BZ #16648]
17037         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17038         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
17039         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
17041 2014-03-31  Will Newton  <will.newton@linaro.org>
17043         * benchtests/Makefile (bench): Add ffs and ffsll to list
17044         of tests.
17045         * benchtests/ffs-inputs: New file.
17046         * benchtests/ffsll-inputs: Likewise.
17048 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
17050         [BZ #16770]
17051         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
17052         too large before casting to int.
17053         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
17054         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
17055         * math/libm-test.inc (scalb_test_data): Add more tests.
17057 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17059         * benchtests/Makefile (DETAILED_OPT): New make option.
17060         (bench-func): Run benchmark program with -d if DETAILED_OPT is
17061         set.
17062         * benchtests/bench-skeleton.c: Include stdbool.h.
17063         (main): Store and print timings per input.
17064         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
17065         member to each argument value.
17066         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
17067         (_print_arg_data): Initialize per-input timing to 0.
17069         * benchtests/Makefile (timing-type): New binary.
17070         (bench-clean): Also remove bench-timing-type.
17071         (bench): New target for timing-type.
17072         (bench-func): Print output in JSON format.
17073         * benchtests/bench-skeleton.c (main): Print output in JSON
17074         format.
17075         * benchtests/bench-timing-type.c: New file.
17076         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
17077         (TIMING_PRINT_STATS): Remove.
17078         * benchtests/scripts/bench.py (_print_arg_data): Store variant
17079         name separately.
17081         * benchtests/bench-modf.c: Remove.
17082         * benchtests/modf-inputs: New inputs file.
17084 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
17086         [BZ #16362]
17087         * math/s_clog10.c (M_PI_LOG10E): New macro.
17088         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
17089         imaginary parts are 0.
17090         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
17091         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
17092         imaginary parts are 0.
17093         * math/s_clog10l.c (M_PI_LOG10El): New macro.
17094         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
17095         imaginary parts are 0.
17096         * math/libm-test.inc (clog10_test_data): Update expected results
17097         for when real and imaginary parts are 0.
17099 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
17101         * elf/dl-load.c: Finish conversion of __builtin_expect into
17102         __glibc_{un}likely.
17104 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
17106         [BZ #16348]
17107         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
17108         1+x for argument with exponent below -67.
17109         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
17110         Likewise.
17111         * math/auto-libm-test-in: Add more tests of exp.
17112         * math/auto-libm-test-out: Regenerated.
17114 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17116         [BZ #16759]
17117         * inet/getnetgrent_r.c (get_nonempty_val): New function.
17118         (nscd_getnetgrent): Use it.
17120         [BZ #16760]
17121         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
17122         of stpcpy.
17124 2014-03-27  Andi Kleen  <ak@linux.intel.com>
17126         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
17127         (lll_robust_lock, lll_cond_lock, lll_timedlock)
17128         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17129         (lll_robust_unlock): Remove out of line section. Use cfi
17130         intrinsics.
17131         (LLL_STUB_UNWIND_INFO*): Remove.
17132         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
17133         (lll_robust_lock, lll_cond_lock, lll_timedlock)
17134         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17135         (lll_robust_unlock): Remove out of line section. Use cfi
17136         intrinsics.
17137         (LLL_STUB_UNWIND_INFO*): Remove.
17139 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17141         [BZ #16758]
17142         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
17143         blank values.
17145 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
17147         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
17149 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
17151         [BZ #16198]
17152         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
17153         fnstenv.
17154         * math/test-fenv-preserve.c: New file.
17155         * math/Makefile (tests): Add test-fenv-preserve.
17157 2014-03-26  Will Newton <will.newton@linaro.org>
17159         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
17161 2014-03-25  Roland McGrath  <roland@hack.frob.com>
17163         * scripts/versionlist.awk: Partition the version sets and emit all
17164         GLIBC_* (sorted) before all others (sorted).
17166 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
17168         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
17169         GLIBC_2.2.5 version.
17171 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17173         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
17174         calls.
17176         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
17177         previous change.
17179         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17181 2014-03-25  Andreas Schwab  <schwab@suse.de>
17183         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
17184         label to be used after in6ailist is initialized.
17186 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17188         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17189         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17191 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
17193         [BZ #16357]
17194         [BZ #16599]
17195         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
17196         min_plus_half.
17197         (fp_formats): Update initializers.
17198         (init_fp_formats): Initialize new field.
17199         (output_for_one_input_case): Allow underflow for results up to
17200         min_plus_half.
17201         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
17202         * math/auto-libm-test-in: Don't mark some underflows from asin and
17203         atanh as spurious.
17204         * math/auto-libm-test-out: Regenerated.
17205         * sysdeps/i386/fpu/libm-test-ulps: Update.
17206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17208 2014-03-25  Andreas Schwab  <schwab@suse.de>
17210         * libio/Makefile (tst-ftell-partial-wide-ENV)
17211         (tst-ftell-active-handler-ENV): Define.
17213 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
17215         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
17217 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
17219         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
17221 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
17223         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
17224         * sysdeps/x86_64/fpu/multiarch/e_exp.c
17225         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17227 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
17229         [BZ #16634]
17230         * elf/dl-load.c (open_verify): Add mode parameter.
17231         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
17232         (open_path): Change from boolean 'secure' to complete flag 'mode'
17233         (_dl_map_object): Adjust.
17234         * elf/Makefile (tests): Add tst-dlopen-aout.
17235         * elf/tst-dlopen-aout.c: New test.
17237 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
17239         [BZ #16714]
17240         * sysdeps/unix/sysv/linux/s390/bits/stat.h
17241         (struct stat): Rename member pad0 to __glibc_reserved0.
17243         [BZ #16712]
17244         * sysdeps/s390/s390-32/bits/wordsize.h
17245         (__WORDSIZE32_SIZE_ULONG): New define.
17246         * sysdeps/s390/s390-64/bits/wordsize.h
17247         (__WORDSIZE32_SIZE_ULONG): Likewise.
17248         * sysdeps/generic/stdint.h (SIZE_MAX):
17249         Define as UL if __WORDSIZE32_SIZE_ULONG.
17251         [BZ #16713]
17252         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
17253         (__glibc_reserved0): New variable.
17254         (sa_flags): Change type to int.
17256         * posix/Makefile (before-compile): Use += before-compile instead
17257         of a :=.
17259         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17260         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17262 2014-03-20  Andreas Schwab  <schwab@suse.de>
17264         [BZ #16743]
17265         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
17266         non-matching result from nscd.
17268 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17270         * scripts/bench.py: Moved to ...
17271         * benchtests/scripts/bench.py: ... here.
17272         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
17274 2014-03-24  Andreas Schwab  <schwab@suse.de>
17276         [BZ #16002]
17277         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
17278         alloca_account and account alloca use for struct in6ailist.
17280 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
17282         [BZ #16284]
17283         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
17284         rounding mode to recompute results that overflow to infinity or
17285         underflow to zero.
17286         * math/auto-libm-test-in: Don't mark tests as expected to fail for
17287         bug 16284.
17288         * math/auto-libm-test-out: Regenerated.
17289         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
17290         (ccosh_test): Likewise.
17291         (csin_test_data): Use plus_oflow.
17292         (csin_test): Use ALL_RM_TEST.
17293         (csinh_test_data): Use plus_oflow.
17294         (csinh_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  Joseph Myers  <joseph@codesourcery.com>
17300         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
17301         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
17302         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
17304         [BZ #16731]
17305         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
17306         when x - 1 is zero.
17307         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
17308         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
17309         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17310         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
17311         argument is 1.
17312         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
17313         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
17314         zero.
17315         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
17316         * sysdeps/i386/fpu/libm-test-ulps: Update.
17317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17319 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17321         * scripts/bench.pl: Remove file.
17322         * scripts/bench.py: New benchmark script.
17323         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
17324         * benchtests/README: Mention python dependency.
17325         * scripts/pylintrc: New file.
17326         * scripts/pylint: New file.
17328         * bits/mathdef.h: Use #ifdef instead of #if.
17329         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
17330         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17331         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
17332         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17333         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
17334         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17336 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17337             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17339         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
17340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
17341         and strpbrk-ppc64 objects.
17342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17343         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
17344         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
17345         multiarch strpbrk for POWER7.
17346         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
17347         multiarch strpbrk for PPC64.
17348         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
17349         ifunc selector.
17350         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
17351         strpbrk for POWER7.
17353 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
17355         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
17356         (atan_test): Likewise.
17357         (atanh_test_data): Use NO_TEST_INLINE for two tests.
17358         (atanh_test): Use ALL_RM_TEST.
17359         (atan2_test_data): Likewise.
17360         (cabs_test): Likewise.
17361         (cacosh_test): Likewise.
17362         (carg_test): Likewise.
17363         (casin_test): Likewise.
17364         (casinh_test): Likewise.
17365         (cbrt_test): Likewise.
17366         (csqrt_test): Likewise.
17367         (erf_test): Likewise.
17368         (erfc_test): Likewise.
17369         (pow10_test): Likewise.
17370         (exp2_test): Likewise.
17371         (hypot_test): Likewise.
17372         (j0_test): Likewise.
17373         (j1_test): Likewise.
17374         (lgamma_test): Likewise.
17375         (gamma_test): Likewise.
17376         (sincos_test): Likewise.
17377         (tanh_test): Likewise.
17378         (y0_test): Likewise.
17379         (y1_test): Likewise.
17380         * sysdeps/i386/fpu/libm-test-ulps: Update.
17381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17383 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17385         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
17386         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
17387         and strcspn-ppc64 objects.
17388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17389         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
17390         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
17391         multiarch strcspn for POWER7.
17392         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
17393         multiarch strcspn for PPC64.
17394         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
17395         ifunc selector.
17396         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
17397         strcspn for POWER7.
17399 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
17401         * math/gen-libm-test.pl (generate_testfile): Expect only function
17402         name as argument to AUTO_TESTS_* and pass results for all rounding
17403         modes to parse_args.
17404         (parse_auto_input): Separate inputs of automatic tests from
17405         outputs before storing in %auto_tests.
17406         * math/libm-test.inc (acos_test_data): Update call to
17407         AUTO_TESTS_f_f.
17408         (acos_test): Use ALL_RM_TEST.
17409         (acos_tonearest_test_data): Remove.
17410         (acos_test_tonearest): Likewise.
17411         (acos_towardzero_test_data): Likewise.
17412         (acos_test_towardzero): Likewise.
17413         (acos_downward_test_data): Likewise.
17414         (acos_test_downward): Likewise.
17415         (acos_upward_test_data): Likewise.
17416         (acos_test_upward): Likewise.
17417         (acosh_test_data): Update call to AUTO_TESTS_f_f.
17418         (asin_test_data): Likewise.
17419         (asin_test): Use ALL_RM_TEST.
17420         (asin_tonearest_test_data): Remove.
17421         (asin_test_tonearest): Likewise.
17422         (asin_towardzero_test_data): Likewise.
17423         (asin_test_towardzero): Likewise.
17424         (asin_downward_test_data): Likewise.
17425         (asin_test_downward): Likewise.
17426         (asin_upward_test_data): Likewise.
17427         (asin_test_upward): Likewise.
17428         (asinh_test_data): Update call to AUTO_TESTS_f_f.
17429         (atan_test_data): Likewise.
17430         (atanh_test_data): Likewise.
17431         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
17432         (cabs_test_data): Update call to AUTO_TESTS_c_f.
17433         (carg_test_data): Likewise.
17434         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
17435         (ccos_test_data): Update call to AUTO_TESTS_c_c.
17436         (ccosh_test_data): Likewise.
17437         (cexp_test_data): Likewise.
17438         (clog_test_data): Likewise.
17439         (clog10_test_data): Likewise.
17440         (cos_test_data): Update call to AUTO_TESTS_f_f.
17441         (cos_test): Use ALL_RM_TEST.
17442         (cos_tonearest_test_data): Remove.
17443         (cos_test_tonearest): Likewise.
17444         (cos_towardzero_test_data): Likewise.
17445         (cos_test_towardzero): Likewise.
17446         (cos_downward_test_data): Likewise.
17447         (cos_test_downward): Likewise.
17448         (cos_upward_test_data): Likewise.
17449         (cos_test_upward): Likewise.
17450         (cosh_test_data): Update call to AUTO_TESTS_f_f.
17451         (cosh_test): Use ALL_RM_TEST.
17452         (cosh_tonearest_test_data): Remove.
17453         (cosh_test_tonearest): Likewise.
17454         (cosh_towardzero_test_data): Likewise.
17455         (cosh_test_towardzero): Likewise.
17456         (cosh_downward_test_data): Likewise.
17457         (cosh_test_downward): Likewise.
17458         (cosh_upward_test_data): Likewise.
17459         (cosh_test_upward): Likewise.
17460         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
17461         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
17462         (ctan_test_data): Likewise.
17463         (ctan_test): Use ALL_RM_TEST.
17464         (ctan_tonearest_test_data): Remove.
17465         (ctan_test_tonearest): Likewise.
17466         (ctan_towardzero_test_data): Likewise.
17467         (ctan_test_towardzero): Likewise.
17468         (ctan_downward_test_data): Likewise.
17469         (ctan_test_downward): Likewise.
17470         (ctan_upward_test_data): Likewise.
17471         (ctan_test_upward): Likewise.
17472         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
17473         (ctanh_test): Use ALL_RM_TEST.
17474         (ctanh_tonearest_test_data): Remove.
17475         (ctanh_test_tonearest): Likewise.
17476         (ctanh_towardzero_test_data): Likewise.
17477         (ctanh_test_towardzero): Likewise.
17478         (ctanh_downward_test_data): Likewise.
17479         (ctanh_test_downward): Likewise.
17480         (ctanh_upward_test_data): Likewise.
17481         (ctanh_test_upward): Likewise.
17482         (erf_test_data): Update call to AUTO_TESTS_f_f.
17483         (erfc_test_data): Likewise.
17484         (exp_test_data): Likewise.
17485         (exp_test): Use ALL_RM_TEST.
17486         (exp_tonearest_test_data): Remove.
17487         (exp_test_tonearest): Likewise.
17488         (exp_towardzero_test_data): Likewise.
17489         (exp_test_towardzero): Likewise.
17490         (exp_downward_test_data): Likewise.
17491         (exp_test_downward): Likewise.
17492         (exp_upward_test_data): Likewise.
17493         (exp_test_upward): Likewise.
17494         (exp10_test_data): Update call to AUTO_TESTS_f_f.
17495         (exp10_test): Use ALL_RM_TEST.
17496         (exp10_tonearest_test_data): Remove.
17497         (exp10_test_tonearest): Likewise.
17498         (exp10_towardzero_test_data): Likewise.
17499         (exp10_test_towardzero): Likewise.
17500         (exp10_downward_test_data): Likewise.
17501         (exp10_test_downward): Likewise.
17502         (exp10_upward_test_data): Likewise.
17503         (exp10_test_upward): Likewise.
17504         (exp2_test_data): Update call to AUTO_TESTS_f_f.
17505         (expm1_test_data): Likewise.
17506         (expm1_test): Use ALL_RM_TEST.
17507         (expm1_tonearest_test_data): Remove.
17508         (expm1_test_tonearest): Likewise.
17509         (expm1_towardzero_test_data): Likewise.
17510         (expm1_test_towardzero): Likewise.
17511         (expm1_downward_test_data): Likewise.
17512         (expm1_test_downward): Likewise.
17513         (expm1_upward_test_data): Likewise.
17514         (expm1_test_upward): Likewise.
17515         (fma_test_data): Update call to AUTO_TESTS_fff_f.
17516         (fma_test): Use ALL_RM_TEST.
17517         (fma_towardzero_test_data): Remove.
17518         (fma_test_towardzero): Likewise.
17519         (fma_downward_test_data): Likewise.
17520         (fma_test_downward): Likewise.
17521         (fma_upward_test_data): Likewise.
17522         (fma_test_upward): Likewise.
17523         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
17524         (j0_test_data): Update call to AUTO_TESTS_f_f.
17525         (j1_test_data): Likewise.
17526         (jn_test_data): Update call to AUTO_TESTS_if_f.
17527         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
17528         (log_test_data): Update call to AUTO_TESTS_f_f.
17529         (log10_test_data): Likewise.
17530         (log1p_test_data): Likewise.
17531         (log2_test_data): Likewise.
17532         (pow_test_data): Update call to AUTO_TESTS_ff_f.
17533         (pow_tonearest_test_data): Likewise.
17534         (sin_test_data): Update call to AUTO_TESTS_f_f.
17535         (sin_test): Use ALL_RM_TEST.
17536         (sin_tonearest_test_data): Remove.
17537         (sin_test_tonearest): Likewise.
17538         (sin_towardzero_test_data): Likewise.
17539         (sin_test_towardzero): Likewise.
17540         (sin_downward_test_data): Likewise.
17541         (sin_test_downward): Likewise.
17542         (sin_upward_test_data): Likewise.
17543         (sin_test_upward): Likewise.
17544         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
17545         (sinh_test_data): Update call to AUTO_TESTS_f_f.
17546         (sinh_test): Use ALL_RM_TEST.
17547         (sinh_tonearest_test_data): Remove.
17548         (sinh_test_tonearest): Likewise.
17549         (sinh_towardzero_test_data): Likewise.
17550         (sinh_test_towardzero): Likewise.
17551         (sinh_downward_test_data): Likewise.
17552         (sinh_test_downward): Likewise.
17553         (sinh_upward_test_data): Likewise.
17554         (sinh_test_upward): Likewise.
17555         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
17556         (sqrt_test): Use ALL_RM_TEST.
17557         (sqrt_tonearest_test_data): Remove.
17558         (sqrt_test_tonearest): Likewise.
17559         (sqrt_towardzero_test_data): Likewise.
17560         (sqrt_test_towardzero): Likewise.
17561         (sqrt_downward_test_data): Likewise.
17562         (sqrt_test_downward): Likewise.
17563         (sqrt_upward_test_data): Likewise.
17564         (sqrt_test_upward): Likewise.
17565         (tan_test_data): Update call to AUTO_TESTS_f_f.
17566         (tan_test): Use ALL_RM_TEST.
17567         (tan_tonearest_test_data): Remove.
17568         (tan_test_tonearest): Likewise.
17569         (tan_towardzero_test_data): Likewise.
17570         (tan_test_towardzero): Likewise.
17571         (tan_downward_test_data): Likewise.
17572         (tan_test_downward): Likewise.
17573         (tan_upward_test_data): Likewise.
17574         (tan_test_upward): Likewise.
17575         (tanh_test_data): Update call to AUTO_TESTS_f_f.
17576         (tgamma_test_data): Likewise.
17577         (y0_test_data): Likewise.
17578         (y1_test_data): Likewise.
17579         (yn_test_data): Update call to AUTO_TESTS_if_f.
17580         (main): Do not call removed functions.
17582 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
17584         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
17585         (ldexp_test_data): Remove.
17586         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
17587         scalbn_test_data.
17588         (scalb_test): Use ALL_RM_TEST.
17590 2014-03-19  Andreas Schwab  <schwab@suse.de>
17592         * nscd/nscd.service: Also invalidate netgroup cache on reload.
17594 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
17596         [BZ #16649]
17597         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17598         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
17599         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
17600         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17601         (__ASSUME_PREADV): Undefine.
17602         (__ASSUME_PWRITEV): Likewise.
17604 2014-03-18  Roland McGrath  <roland@hack.frob.com>
17606         * bits/mman-linux.h: Add comment about non-Linux use.
17607         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
17608         bits/mman-linux.h resting place.
17610         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
17611         * bits/mman-linux.h: ... here.
17613 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17615         * conform/conformtest.pl: Add standard definition when calling C
17616         preprocessor on data files.
17617         (checknamespace): Remove unused variable.
17619 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
17621         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
17622         minus_oflow, plus_uflow and minus_uflow in expected results.
17623         * math/libm-test.inc (scalbn_test_data): Add more tests of
17624         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
17625         minus_uflow.
17626         (scalbn_test): Use ALL_RM_TEST.
17627         (scalbln_test_data): Add more tests of negative arguments.  Use
17628         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
17629         (scalbln_test): Use ALL_RM_TEST.
17631 2014-03-18  Roland McGrath  <roland@hack.frob.com>
17633         * scripts/abilist.awk: Ignore symbols marked with .hidden.
17635 2014-03-18  Will Newton  <will.newton@linaro.org>
17637         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
17638         inaccurate comment.
17640 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
17642         * Makerules [!subdir] (check-abi): Exit with error status if a
17643         test failed.
17645 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
17647         * math/libm-test.inc (nearbyint_test_data): Include all tests used
17648         for rint.  Include results for all rounding modes.
17649         (nearbyint_test): Use ALL_RM_TEST.
17650         (rint_test_data): Include all tests used for nearbyint.
17652 2014-03-17  Will Newton  <will.newton@linaro.org>
17654         * nptl/sysdeps/pthread/pthread.h: Revert previous
17655         change.
17657         * sysdeps/generic/ldsodefs.h: Revert previous
17658         change.
17660         * libio/genops.c: Revert previous change.
17661         * libio/libioP.h: Likewise.
17662         * stdio-common/vfprintf.c: Likewise.
17664         * sysdeps/generic/math_private.h: Revert previous
17665         change.
17667         * sysdeps/generic/math_private.h: Check whether
17668         HAVE_RM_CTX is defined with #ifdef rather
17669         than #if.
17671         * argp/argp-fmtstream.h: Check whether
17672         __STRICT_ANSI__ is defined with #ifdef rather
17673         than #if.
17674         * argp/argp.h: Likewise.
17676         * libio/genops.c: Check whether
17677         _IO_JUMPS_OFFSET is defined with #ifdef rather
17678         than #if.
17679         * libio/libioP.h: Likewise.
17680         * stdio-common/vfprintf.c: Likewise.
17682         * sysdeps/generic/ldsodefs.h: Check whether
17683         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
17684         than #if.
17686         * nptl/sysdeps/pthread/pthread.h: Check
17687         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
17688         its value.
17690 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17692         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
17693         setting O_APPEND.
17694         * libio/tst-ftell-active-handler.c (do_append_test): Add a
17695         test case.
17697         [BZ #16680]
17698         * libio/fileops.c (_IO_file_open): Seek to end of file but
17699         don't cache the offset.
17700         (get_file_offset): Remove function.
17701         (do_ftell): Use cached offset when available.
17702         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
17703         don't cache the offset.
17704         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
17705         case.
17706         (do_one_test): Call it.
17707         (do_ftell_test): Fix up expected old offset for a+ mode.
17708         * libio/wfileops.c (do_ftell_wide): Used cached offset when
17709         available.
17711         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
17712         up test status with function return status.
17713         (do_write_test): Likewise.
17714         (do_append_test): Likewise.
17716         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
17717         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
17718         Remove.
17720 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
17722         * math/gen-libm-test.pl (parse_args): Handle results specified for
17723         each rounding mode separately.
17724         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
17725         tests and results from lrint_tonearest_test_data,
17726         lrint_towardzero_test_data, lrint_downward_test_data and
17727         lrint_upward_test_data.
17728         (lrint_test): Use ALL_RM_TEST.
17729         (lrint_tonearest_test_data): Remove.
17730         (lrint_test_tonearest): Likewise.
17731         (lrint_towardzero_test_data): Likewise.
17732         (lrint_test_towardzero): Likewise.
17733         (lrint_downward_test_data): Likewise.
17734         (lrint_test_downward): Likewise.
17735         (lrint_upward_test_data): Likewise.
17736         (lrint_test_upward): Likewise.
17737         (llrint_test_data): Merge in per-rounding-mode tests and results
17738         from llrint_tonearest_test_data, llrint_towardzero_test_data,
17739         llrint_downward_test_data and llrint_upward_test_data.
17740         (llrint_test): Use ALL_RM_TEST.
17741         (llrint_tonearest_test_data): Remove.
17742         (llrint_test_tonearest): Likewise.
17743         (llrint_towardzero_test_data): Likewise.
17744         (llrint_test_towardzero): Likewise.
17745         (llrint_downward_test_data): Likewise.
17746         (llrint_test_downward): Likewise.
17747         (llrint_upward_test_data): Likewise.
17748         (llrint_test_upward): Likewise.
17749         (rint_test_data): Merge in per-rounding-mode tests and results
17750         from rint_tonearest_test_data, rint_towardzero_test_data,
17751         rint_downward_test_data and rint_upward_test_data.  Add
17752         per-rounding-mode results for tests not in those arrays.
17753         (rint_test): Use ALL_RM_TEST.
17754         (rint_tonearest_test_data): Remove.
17755         (rint_test_tonearest): Likewise.
17756         (rint_towardzero_test_data): Likewise.
17757         (rint_test_towardzero): Likewise.
17758         (rint_downward_test_data): Likewise.
17759         (rint_test_downward): Likewise.
17760         (rint_upward_test_data): Likewise.
17761         (rint_test_upward): Likewise.
17762         (main): Don't call removed functions.
17764 2014-03-14  Roland McGrath  <roland@hack.frob.com>
17766         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
17767         "Compiled on ..." crapola.  It is anti-useful.
17769 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
17771         * scripts/evaluate-test.sh: Handle fourth argument to determine
17772         whether test run should stop on failure.
17773         * Makeconfig (stop-on-test-failure): New variable.
17774         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
17775         $(stop-on-test-failure).
17776         * Makefile (tests): Give a summary of results from testing and
17777         exit with failure status if they include an ERROR or FAIL.
17778         (xtests): Likewise.
17779         * manual/install.texi (Configuring and compiling): Mention
17780         stop-on-test-failure=y.
17781         * INSTALL: Regenerated.
17783 2014-03-14  Roland McGrath  <roland@hack.frob.com>
17785         * scripts/versionlist.awk: New file.
17786         * Makerules [$(build-shared) = yes]
17787         (postclean-generated): Add Versions.def, not Versions.def.v and
17788         Versions.def.v.i.
17789         ($(common-objpfx)Versions.def.v.i): Target removed.
17790         ($(common-objpfx)Versions.def): New target.
17791         ($(common-objpfx)Versions.all): Depend on that rather that
17792         $(common-objpfx)Versions.def.v.
17793         * Versions.def: File removed.
17795         * Makeconfig (+gccwarn): Add -Wundef.
17796         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
17797         a dl-sysdep.h breaking its contract.
17798         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
17799         * include/stackinfo.h: New file.
17800         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
17801         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
17802         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
17803         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
17804         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
17805         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
17806         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17807         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17808         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17809         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17810         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17811         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
17812         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17813         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17814         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17816 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17818         [BZ #16707]
17819         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
17820         implementation.
17821         * math/libm-test.inc (round_test_data): Add more tests.
17823         [BZ #16706]
17824         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
17825         implementation.
17826         * math/libm-test.inc (nearbyint_test_data): Add more tests.
17828         [BZ #16701]
17829         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
17830         implementation.
17831         * math/libm-test.inc (ceil_test_data): Add more tests.
17833         * math/libm-test.inc (trunc_test_data): Add more tests related to
17834         BZ#16414.
17836 2014-03-14  Roland McGrath  <roland@hack.frob.com>
17838         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
17839         with #if rather than #ifdef.
17840         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
17842 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
17844         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
17845         first.  Disable AVX-512 GCC support if assembler doesn't support
17846         it.
17847         * sysdeps/x86_64/configure: Regenerated.
17849 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
17851         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
17852         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
17853         (__old_pthread_attr_setstack): Likewise.
17854         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
17855         [!_STACK_GROWS_DOWN]: Likewise.
17857 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
17859         * config.make.in (have-bash2): Delete.
17860         * configure.ac (libc_cv_have_bash2): Delete.
17861         * configure: Regenerate.
17862         * elf/Makefile (common-ldd-rewrite): Rename to ...
17863         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
17864         (sh-ldd-rewrite): Delete.
17865         (bash-ldd-rewrite): Delete.
17866         (have-bash2): Delete checks.
17867         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
17868         ldd-rewrite.
17870         * config.make.in (have-ksh): Delete.
17871         (KSH): Delete.
17872         * configure.ac (libc_cv_have_ksh): Delete.
17873         * configure: Regenerate.
17875         * elf/Makefile: Delete $(have-ksh) check.
17876         ($(objpfx)sotruss): Change KSH to BASH.
17877         * elf/sotruss.ksh: Rename to ...
17878         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
17879         function style to match POSIX.  Drop ksh vim mode setting.
17881         * manual/time.texi (Specifying the Time Zone with TZ): Change
17882         Tuesday to Thursday.
17884         * debug/tst-longjmp_chk2.c: Update header comment.
17885         (stackoverflow_handler): Add comment.  Call assert on pass value.
17887 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
17889         [BZ #16194]
17890         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
17891         (HAVE_AVX512_ASM_SUPPORT): Likewise.
17892         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
17893         (La_x86_64_vector): Add zmm.
17894         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
17895         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
17896         ($(objpfx)tst-audit10): New target.
17897         ($(objpfx)tst-audit10.out): Likewise.
17898         (tst-audit10-ENV): New.
17899         (AVX512-CFLAGS): Likewise.
17900         (CFLAGS-tst-audit10.c): Likewise.
17901         (CFLAGS-tst-auditmod10a.c): Likewise.
17902         (CFLAGS-tst-auditmod10b.c): Likewise.
17903         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
17904         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
17905         * sysdeps/x86_64/configure: Regenerated.
17906         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
17907         AVX-512 zmm register support.
17908         (_dl_x86_64_save_sse): Likewise.
17909         (_dl_x86_64_restore_sse): Likewise.
17910         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
17911         size vector registers.
17912         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
17913         (ZMM_SIZE): Likewise.
17914         * sysdeps/x86_64/tst-audit10.c: New file.
17915         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
17916         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
17918 2014-03-13  Roland McGrath  <roland@hack.frob.com>
17920         * configure.ac (HAVE_EHDR_START): New check.
17921         * configure: Regenerated.
17922         * config.h.in (HAVE_EHDR_START): New #undef.
17923         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
17924         assuming the lowest-addressed segment maps the start of the file.
17926 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
17928         * INSTALL: Regenerated.
17930 2014-03-13  Will Newton  <will.newton@linaro.org>
17932         * manual/setjmp.texi (System V contexts): Improve
17933         clarity and grammar of documentation.
17935 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17937         [BZ #16381]
17938         * elf/Makefile (tests): Add tst-pie2.
17939         (tests-pie): Add tst-pie2.
17940         * elf/tst-pie2.c: New file.
17941         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
17942         for ET_EXEC.
17943         * elf/rtld.c (map_doit): Load executable as lt_executable.
17944         (dl_main): Likewise.
17946 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
17948         [BZ #16642]
17949         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17950         (__ASSUME_PSELECT): Undefine.
17952 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17954         [BZ #16689]
17955         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
17956         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
17957         static build.
17958         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
17959         selector for static builds.
17961 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17963         [BZ #16695]
17964         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
17965         key in the buffer.
17967 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17969         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
17970         IFUNC selector for static builds.
17972 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
17974         * sysdeps/mips/math_private.h [__mips_hard_float]
17975         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
17976         libc_feresetround_mips_ctx.
17977         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
17978         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
17979         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
17981         [BZ #16677]
17982         * math/s_nextafter.c (__nextafter): Do not return value from
17983         overflowing computation.
17984         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
17985         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
17986         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
17987         Likewise.
17988         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
17989         Likewise.
17990         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
17991         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
17993 2014-03-11  Roland McGrath  <roland@hack.frob.com>
17995         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
17996         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
17997         Move sfi_sp use from the load-multiple (that no longer sets sp) to
17998         the new mov targetting sp.
18000 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18002         [BZ #16683]
18003         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
18004         Define it for static builds as well.
18005         (NO_BZERO_IMPL): Likewise.
18007 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18009         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
18010         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
18011         multiarch strspn for PPC64.
18012         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
18013         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
18014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18015         (__libc_ifunc_impl_list): Likewise.
18016         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
18017         multiarch optimizations
18018         * string/strspn.c (strspn): Using macro to redefine symbol name.
18020 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18021             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18023         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
18024         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
18025         multiarch strncat for PPC64.
18026         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
18027         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
18028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18029         (__libc_ifunc_impl_list): Likewise.
18030         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
18031         multiarch optimizations
18033 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18035         [BZ #16639]
18036         * nscd/nscd.service: Make service type forking.
18038 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18040         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
18041         sign in non default rounding modes.
18042         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
18044 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
18046         * math/libm-test.inc (ALL_RM_TEST): New macro.
18047         (ceil_test): Use ALL_RM_TEST.
18048         (cimag_test): Likewise.
18049         (conj_test): Likewise.
18050         (copysign_test): Likewise.
18051         (cproj_test): Likewise.
18052         (creal_test): Likewise.
18053         (fabs_test): Likewise.
18054         (floor_test): Likewise.
18055         (fmax_test): Likewise.
18056         (fmin_test): Likewise.
18057         (fmod_test): Likewise.
18058         (fpclassify_test): Likewise.
18059         (frexp_test): Likewise.
18060         (ilogb_test): Likewise.
18061         (isfinite_test): Likewise.
18062         (finite_test): Likewise.
18063         (isgreater_test): Likewise.
18064         (isgreaterequal_test): Likewise.
18065         (isinf_test): Likewise.
18066         (isless_test): Likewise.
18067         (islessequal_test): Likewise.
18068         (islessgreater_test): Likewise.
18069         (isnan_test): Likewise.
18070         (isnormal_test): Likewise.
18071         (issignaling_test): Likewise.
18072         (isunordered_test): Likewise.
18073         (logb_test): Likewise.
18074         (logb_downward_test_data): Remove.
18075         (logb_test_downward): Likewise.
18076         (lround_test): Use ALL_RM_TEST.
18077         (llround_test): Likewise.
18078         (modf_test): Likewise.
18079         (nexttoward_test): Likewise.
18080         (remainder_test): Likewise.
18081         (drem_test): Likewise.
18082         (remainder_tonearest_test_data): Likewise.
18083         (remainder_test_tonearest): Likewise.
18084         (drem_test_tonearest): Likewise.
18085         (remainder_towardzero_test_data): Likewise.
18086         (remainder_test_towardzero): Likewise.
18087         (drem_test_towardzero): Likewise.
18088         (remainder_downward_test_data): Likewise.
18089         (remainder_test_downward): Likewise.
18090         (drem_test_downward): Likewise.
18091         (remainder_upward_test_data): Likewise.
18092         (remainder_test_upward): Likewise.
18093         (drem_test_upward): Likewise.
18094         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
18095         (round_test): Use ALL_RM_TEST.
18096         (signbit_test): Likewise.
18097         (trunc_test): Likewise.
18098         (significand_test): Likewise.
18099         (main): Don't call removed functions.
18101 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
18103         [BZ #16674]
18104         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
18105         || __USE_XOPEN2K8].
18106         (ILL_ILLOPN): Likewise.
18107         (ILL_ILLADR): Likewise.
18108         (ILL_ILLTRP): Likewise.
18109         (ILL_PRVOPC): Likewise.
18110         (ILL_PRVREG): Likewise.
18111         (ILL_COPROC): Likewise.
18112         (ILL_BADSTK): Likewise.
18113         (FPE_INTDIV): Likewise.
18114         (FPE_INTOVF): Likewise.
18115         (FPE_FLTDIV): Likewise.
18116         (FPE_FLTOVF): Likewise.
18117         (FPE_FLTUND): Likewise.
18118         (FPE_FLTRES): Likewise.
18119         (FPE_FLTINV): Likewise.
18120         (FPE_FLTSUB): Likewise.
18121         (SEGV_MAPERR): Likewise.
18122         (SEGV_ACCERR): Likewise.
18123         (BUS_ADRALN): Likewise.
18124         (BUS_ADRERR): Likewise.
18125         (BUS_OBJERR): Likewise.
18126         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18127         (TRAP_TRACE): Likewise.
18128         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18129         __USE_XOPEN2K8].
18130         (CLD_KILLED): Likewise.
18131         (CLD_DUMPED): Likewise.
18132         (CLD_TRAPPED): Likewise.
18133         (CLD_STOPPED): Likewise.
18134         (CLD_CONTINUED): Likewise.
18135         (POLL_IN): Likewise.
18136         (POLL_OUT): Likewise.
18137         (POLL_MSG): Likewise.
18138         (POLL_ERR): Likewise.
18139         (POLL_PRI): Likewise.
18140         (POLL_HUP): Likewise.
18141         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
18142         Likewise.
18143         (ILL_ILLOPN): Likewise.
18144         (ILL_ILLADR): Likewise.
18145         (ILL_ILLTRP): Likewise.
18146         (ILL_PRVOPC): Likewise.
18147         (ILL_PRVREG): Likewise.
18148         (ILL_COPROC): Likewise.
18149         (ILL_BADSTK): Likewise.
18150         (FPE_INTDIV): Likewise.
18151         (FPE_INTOVF): Likewise.
18152         (FPE_FLTDIV): Likewise.
18153         (FPE_FLTOVF): Likewise.
18154         (FPE_FLTUND): Likewise.
18155         (FPE_FLTRES): Likewise.
18156         (FPE_FLTINV): Likewise.
18157         (FPE_FLTSUB): Likewise.
18158         (SEGV_MAPERR): Likewise.
18159         (SEGV_ACCERR): Likewise.
18160         (BUS_ADRALN): Likewise.
18161         (BUS_ADRERR): Likewise.
18162         (BUS_OBJERR): Likewise.
18163         (BUS_MCEERR_AR): Likewise.
18164         (BUS_MCEERR_AO): Likewise.
18165         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18166         (TRAP_TRACE): Likewise.
18167         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18168         __USE_XOPEN2K8].
18169         (CLD_KILLED): Likewise.
18170         (CLD_DUMPED): Likewise.
18171         (CLD_TRAPPED): Likewise.
18172         (CLD_STOPPED): Likewise.
18173         (CLD_CONTINUED): Likewise.
18174         (POLL_IN): Likewise.
18175         (POLL_OUT): Likewise.
18176         (POLL_MSG): Likewise.
18177         (POLL_ERR): Likewise.
18178         (POLL_PRI): Likewise.
18179         (POLL_HUP): Likewise.
18180         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
18181         (ILL_ILLOPN): Likewise.
18182         (ILL_ILLADR): Likewise.
18183         (ILL_ILLTRP): Likewise.
18184         (ILL_PRVOPC): Likewise.
18185         (ILL_PRVREG): Likewise.
18186         (ILL_COPROC): Likewise.
18187         (ILL_BADSTK): Likewise.
18188         (FPE_INTDIV): Likewise.
18189         (FPE_INTOVF): Likewise.
18190         (FPE_FLTDIV): Likewise.
18191         (FPE_FLTOVF): Likewise.
18192         (FPE_FLTUND): Likewise.
18193         (FPE_FLTRES): Likewise.
18194         (FPE_FLTINV): Likewise.
18195         (FPE_FLTSUB): Likewise.
18196         (SEGV_MAPERR): Likewise.
18197         (SEGV_ACCERR): Likewise.
18198         (BUS_ADRALN): Likewise.
18199         (BUS_ADRERR): Likewise.
18200         (BUS_OBJERR): Likewise.
18201         (BUS_MCEERR_AR): Likewise.
18202         (BUS_MCEERR_AO): Likewise.
18203         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18204         (TRAP_TRACE): Likewise.
18205         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18206         __USE_XOPEN2K8].
18207         (CLD_KILLED): Likewise.
18208         (CLD_DUMPED): Likewise.
18209         (CLD_TRAPPED): Likewise.
18210         (CLD_STOPPED): Likewise.
18211         (CLD_CONTINUED): Likewise.
18212         (POLL_IN): Likewise.
18213         (POLL_OUT): Likewise.
18214         (POLL_MSG): Likewise.
18215         (POLL_ERR): Likewise.
18216         (POLL_PRI): Likewise.
18217         (POLL_HUP): Likewise.
18218         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
18219         Likewise.
18220         (ILL_ILLOPN): Likewise.
18221         (ILL_ILLADR): Likewise.
18222         (ILL_ILLTRP): Likewise.
18223         (ILL_PRVOPC): Likewise.
18224         (ILL_PRVREG): Likewise.
18225         (ILL_COPROC): Likewise.
18226         (ILL_BADSTK): Likewise.
18227         (ILL_BADIADDR): Likewise.
18228         (ILL_BREAK): Likewise.
18229         (FPE_INTDIV): Likewise.
18230         (FPE_INTOVF): Likewise.
18231         (FPE_FLTDIV): Likewise.
18232         (FPE_FLTOVF): Likewise.
18233         (FPE_FLTUND): Likewise.
18234         (FPE_FLTRES): Likewise.
18235         (FPE_FLTINV): Likewise.
18236         (FPE_FLTSUB): Likewise.
18237         (FPE_DECOVF): Likewise.
18238         (FPE_DECDIV): Likewise.
18239         (FPE_DECERR): Likewise.
18240         (FPE_INVASC): Likewise.
18241         (FPE_INVDEC): Likewise.
18242         (SEGV_MAPERR): Likewise.
18243         (SEGV_ACCERR): Likewise.
18244         (SEGV_PSTKOVF): Likewise.
18245         (BUS_ADRALN): Likewise.
18246         (BUS_ADRERR): Likewise.
18247         (BUS_OBJERR): Likewise.
18248         (BUS_MCEERR_AR): Likewise.
18249         (BUS_MCEERR_AO): Likewise.
18250         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18251         (TRAP_TRACE): Likewise.
18252         (TRAP_BRANCH): Likewise.
18253         (TRAP_HWBKPT): Likewise.
18254         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18255         __USE_XOPEN2K8].
18256         (CLD_KILLED): Likewise.
18257         (CLD_DUMPED): Likewise.
18258         (CLD_TRAPPED): Likewise.
18259         (CLD_STOPPED): Likewise.
18260         (CLD_CONTINUED): Likewise.
18261         (POLL_IN): Likewise.
18262         (POLL_OUT): Likewise.
18263         (POLL_MSG): Likewise.
18264         (POLL_ERR): Likewise.
18265         (POLL_PRI): Likewise.
18266         (POLL_HUP): Likewise.
18267         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
18268         (ILL_ILLOPN): Likewise.
18269         (ILL_ILLADR): Likewise.
18270         (ILL_ILLTRP): Likewise.
18271         (ILL_PRVOPC): Likewise.
18272         (ILL_PRVREG): Likewise.
18273         (ILL_COPROC): Likewise.
18274         (ILL_BADSTK): Likewise.
18275         (FPE_INTDIV): Likewise.
18276         (FPE_INTOVF): Likewise.
18277         (FPE_FLTDIV): Likewise.
18278         (FPE_FLTOVF): Likewise.
18279         (FPE_FLTUND): Likewise.
18280         (FPE_FLTRES): Likewise.
18281         (FPE_FLTINV): Likewise.
18282         (FPE_FLTSUB): Likewise.
18283         (SEGV_MAPERR): Likewise.
18284         (SEGV_ACCERR): Likewise.
18285         (BUS_ADRALN): Likewise.
18286         (BUS_ADRERR): Likewise.
18287         (BUS_OBJERR): Likewise.
18288         (BUS_MCEERR_AR): Likewise.
18289         (BUS_MCEERR_AO): Likewise.
18290         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18291         (TRAP_TRACE): Likewise.
18292         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18293         __USE_XOPEN2K8].
18294         (CLD_KILLED): Likewise.
18295         (CLD_DUMPED): Likewise.
18296         (CLD_TRAPPED): Likewise.
18297         (CLD_STOPPED): Likewise.
18298         (CLD_CONTINUED): Likewise.
18299         (POLL_IN): Likewise.
18300         (POLL_OUT): Likewise.
18301         (POLL_MSG): Likewise.
18302         (POLL_ERR): Likewise.
18303         (POLL_PRI): Likewise.
18304         (POLL_HUP): Likewise.
18305         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
18306         (ILL_ILLOPN): Likewise.
18307         (ILL_ILLADR): Likewise.
18308         (ILL_ILLTRP): Likewise.
18309         (ILL_PRVOPC): Likewise.
18310         (ILL_PRVREG): Likewise.
18311         (ILL_COPROC): Likewise.
18312         (ILL_BADSTK): Likewise.
18313         (FPE_INTDIV): Likewise.
18314         (FPE_INTOVF): Likewise.
18315         (FPE_FLTDIV): Likewise.
18316         (FPE_FLTOVF): Likewise.
18317         (FPE_FLTUND): Likewise.
18318         (FPE_FLTRES): Likewise.
18319         (FPE_FLTINV): Likewise.
18320         (FPE_FLTSUB): Likewise.
18321         (SEGV_MAPERR): Likewise.
18322         (SEGV_ACCERR): Likewise.
18323         (BUS_ADRALN): Likewise.
18324         (BUS_ADRERR): Likewise.
18325         (BUS_OBJERR): Likewise.
18326         (BUS_MCEERR_AR): Likewise.
18327         (BUS_MCEERR_AO): Likewise.
18328         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18329         (TRAP_TRACE): Likewise.
18330         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18331         __USE_XOPEN2K8].
18332         (CLD_KILLED): Likewise.
18333         (CLD_DUMPED): Likewise.
18334         (CLD_TRAPPED): Likewise.
18335         (CLD_STOPPED): Likewise.
18336         (CLD_CONTINUED): Likewise.
18337         (POLL_IN): Likewise.
18338         (POLL_OUT): Likewise.
18339         (POLL_MSG): Likewise.
18340         (POLL_ERR): Likewise.
18341         (POLL_PRI): Likewise.
18342         (POLL_HUP): Likewise.
18343         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
18344         (ILL_ILLOPN): Likewise.
18345         (ILL_ILLADR): Likewise.
18346         (ILL_ILLTRP): Likewise.
18347         (ILL_PRVOPC): Likewise.
18348         (ILL_PRVREG): Likewise.
18349         (ILL_COPROC): Likewise.
18350         (ILL_BADSTK): Likewise.
18351         (FPE_INTDIV): Likewise.
18352         (FPE_INTOVF): Likewise.
18353         (FPE_FLTDIV): Likewise.
18354         (FPE_FLTOVF): Likewise.
18355         (FPE_FLTUND): Likewise.
18356         (FPE_FLTRES): Likewise.
18357         (FPE_FLTINV): Likewise.
18358         (FPE_FLTSUB): Likewise.
18359         (SEGV_MAPERR): Likewise.
18360         (SEGV_ACCERR): Likewise.
18361         (BUS_ADRALN): Likewise.
18362         (BUS_ADRERR): Likewise.
18363         (BUS_OBJERR): Likewise.
18364         (BUS_MCEERR_AR): Likewise.
18365         (BUS_MCEERR_AO): Likewise.
18366         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18367         (TRAP_TRACE): Likewise.
18368         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18369         __USE_XOPEN2K8].
18370         (CLD_KILLED): Likewise.
18371         (CLD_DUMPED): Likewise.
18372         (CLD_TRAPPED): Likewise.
18373         (CLD_STOPPED): Likewise.
18374         (CLD_CONTINUED): Likewise.
18375         (POLL_IN): Likewise.
18376         (POLL_OUT): Likewise.
18377         (POLL_MSG): Likewise.
18378         (POLL_ERR): Likewise.
18379         (POLL_PRI): Likewise.
18380         (POLL_HUP): Likewise.
18381         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
18382         (ILL_ILLOPN): Likewise.
18383         (ILL_ILLADR): Likewise.
18384         (ILL_ILLTRP): Likewise.
18385         (ILL_PRVOPC): Likewise.
18386         (ILL_PRVREG): Likewise.
18387         (ILL_COPROC): Likewise.
18388         (ILL_BADSTK): Likewise.
18389         (ILL_DBLFLT): Likewise.
18390         (ILL_HARDWALL): Likewise.
18391         (FPE_INTDIV): Likewise.
18392         (FPE_INTOVF): Likewise.
18393         (FPE_FLTDIV): Likewise.
18394         (FPE_FLTOVF): Likewise.
18395         (FPE_FLTUND): Likewise.
18396         (FPE_FLTRES): Likewise.
18397         (FPE_FLTINV): Likewise.
18398         (FPE_FLTSUB): Likewise.
18399         (SEGV_MAPERR): Likewise.
18400         (SEGV_ACCERR): Likewise.
18401         (BUS_ADRALN): Likewise.
18402         (BUS_ADRERR): Likewise.
18403         (BUS_OBJERR): Likewise.
18404         (BUS_MCEERR_AR): Likewise.
18405         (BUS_MCEERR_AO): Likewise.
18406         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18407         (TRAP_TRACE): Likewise.
18408         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18409         __USE_XOPEN2K8].
18410         (CLD_KILLED): Likewise.
18411         (CLD_DUMPED): Likewise.
18412         (CLD_TRAPPED): Likewise.
18413         (CLD_STOPPED): Likewise.
18414         (CLD_CONTINUED): Likewise.
18415         (POLL_IN): Likewise.
18416         (POLL_OUT): Likewise.
18417         (POLL_MSG): Likewise.
18418         (POLL_ERR): Likewise.
18419         (POLL_PRI): Likewise.
18420         (POLL_HUP): Likewise.
18421         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
18422         (ILL_ILLOPN): Likewise.
18423         (ILL_ILLADR): Likewise.
18424         (ILL_ILLTRP): Likewise.
18425         (ILL_PRVOPC): Likewise.
18426         (ILL_PRVREG): Likewise.
18427         (ILL_COPROC): Likewise.
18428         (ILL_BADSTK): Likewise.
18429         (FPE_INTDIV): Likewise.
18430         (FPE_INTOVF): Likewise.
18431         (FPE_FLTDIV): Likewise.
18432         (FPE_FLTOVF): Likewise.
18433         (FPE_FLTUND): Likewise.
18434         (FPE_FLTRES): Likewise.
18435         (FPE_FLTINV): Likewise.
18436         (FPE_FLTSUB): Likewise.
18437         (SEGV_MAPERR): Likewise.
18438         (SEGV_ACCERR): Likewise.
18439         (BUS_ADRALN): Likewise.
18440         (BUS_ADRERR): Likewise.
18441         (BUS_OBJERR): Likewise.
18442         (BUS_MCEERR_AR): Likewise.
18443         (BUS_MCEERR_AO): Likewise.
18444         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18445         (TRAP_TRACE): Likewise.
18446         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18447         __USE_XOPEN2K8].
18448         (CLD_KILLED): Likewise.
18449         (CLD_DUMPED): Likewise.
18450         (CLD_TRAPPED): Likewise.
18451         (CLD_STOPPED): Likewise.
18452         (CLD_CONTINUED): Likewise.
18453         (POLL_IN): Likewise.
18454         (POLL_OUT): Likewise.
18455         (POLL_MSG): Likewise.
18456         (POLL_ERR): Likewise.
18457         (POLL_PRI): Likewise.
18458         (POLL_HUP): Likewise.
18459         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
18460         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
18462         [BZ #16670]
18463         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
18464         before #include of <time.h>.
18465         [!__USE_XOPEN2K] (__need_timespec): Likewise.
18466         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
18467         (test-xfail-UNIX98/sched.h/conform): Likewise.
18469 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18471         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
18472         error absence of trapping exception support.
18473         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18475 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
18477         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
18478         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
18479         * timezone/Makefile (testdata): Move definition above include of
18480         Rules.
18481         (test-zones): New variable.
18482         (tests-special): Add zone files.
18483         (build-testdata): Use $(evaluate-test).
18485         * elf/Makefile (tests-special): Rename tests to end with .out.
18486         ($(objpfx)noload-mem): Likewise.
18487         ($(objpfx)tst-leaks1-mem): Likewise.
18488         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
18489         * iconv/Makefile (xtests-special): Change test-iconvconfig to
18490         $(objpfx)test-iconvconfig.out.
18491         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
18492         set -e inside subshell and redirect output to file.
18493         * iconvdata/Makefile (generated): Rename tests to end with .out.
18494         Correct type.
18495         (tests-special): Rename tests to end with .out.
18496         ($(objpfx)mtrace-tst-loading): Likewise.
18497         * intl/Makefile (generated): Likewise.
18498         (tests-special): Likewise.
18499         ($(objpfx)mtrace-tst-gettext): Likewise.
18500         * misc/Makefile (generated): Likewise.
18501         (tests-special): Likewise.
18502         ($(objpfx)tst-error1-mem): Likewise.
18503         * nptl/Makefile (tests-special): Likewise.
18504         ($(objpfx)tst-stack3-mem): Likewise.
18505         (generated): Likewise.
18506         * posix/Makefile (generated): Likewise.
18507         (tests-special): Likewise.
18508         (xtests-special): Likewise.
18509         ($(objpfx)tst-fnmatch-mem): Likewise.
18510         ($(objpfx)bug-regex2-mem): Likewise.
18511         ($(objpfx)bug-regex14-mem): Likewise.
18512         ($(objpfx)bug-regex21-mem): Likewise.
18513         ($(objpfx)bug-regex31-mem): Likewise.
18514         ($(objpfx)tst-vfork3-mem): Likewise.
18515         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18516         ($(objpfx)tst-pcre-mem): Likewise.
18517         ($(objpfx)tst-boost-mem): Likewise.
18518         ($(objpfx)bug-ga2-mem): Likewise.
18519         ($(objpfx)bug-glob2-mem): Likewise.
18520         * resolv/Makefile (generate): Likewise.
18521         (tests-special): Likewise.
18522         (xtests-special): Likewise.
18523         (generated): Likewise.
18524         ($(objpfx)mtrace-tst-leaks): Likewise.
18525         ($(objpfx)mtrace-tst-leaks2): Likewise.
18527         * scripts/merge-test-results.sh: New file.
18528         * Makefile (tests-special-notdir): New variable.
18529         (tests): Run merge-test-results.sh.
18530         (xtests): Likewise.
18531         * Rules (tests-special-notdir): New variable.
18532         (xtests-special-notdir): Likewise.
18533         (tests): Run merge-test-results.sh
18534         (xtests): Likewise.
18536         * Makeconfig (test-xfail-name): New variable.
18537         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
18538         compute variable name for expected failures.
18539         * conform/Makefile (conformtest-headers-data): New variable.
18540         (conformtest-standards): Likewise.
18541         (conformtest-headers-ISO): Likewise.
18542         (conformtest-headers-ISO99): Likewise.
18543         (conformtest-headers-ISO11): Likewise.
18544         (conformtest-headers-POSIX): Likewise.
18545         (conformtest-headers-XPG3): Likewise.
18546         (conformtest-headers-XPG4): Likewise.
18547         (conformtest-headers-UNIX98): Likewise.
18548         (conformtest-headers-XOPEN2K): Likewise.
18549         (conformtest-headers-POSIX2008): Likewise.
18550         (conformtest-headers-XOPEN2K8): Likewise.
18551         (conformtest-header-list-base): Likewise.
18552         (conformtest-header-list-tests): Likewise.
18553         (conformtest-header-base): Likewise.
18554         (conformtest-header-tests): Likewise.
18555         (tests-special): Add $(conformtest-header-list-tests).  If
18556         [$(fast-check) && !$(cross-compiling)], add
18557         $(conformtest-header-tests) instead of
18558         $(objpfx)run-conformtest.out.
18559         (generated): Add $(conformtest-header-list-base).  If
18560         [$(fast-check) && !$(cross-compiling)], add
18561         $(conformtest-header-base).  Remove previous setting.
18562         ($(conformtest-header-list-tests)): New target.
18563         (test-xfail-run-conformtest): Remove variable.
18564         ($(objpfx)run-conformtest.out): Remove target.
18565         (test-xfail-ISO11/complex.h/conform): New variable.
18566         (test-xfail-ISO11/stdalign.h/conform): Likewise.
18567         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
18568         (test-xfail-XPG3/varargs.h/conform): Likewise.
18569         (test-xfail-XPG4/varargs.h/conform): Likewise.
18570         (test-xfail-UNIX98/varargs.h/conform): Likewise.
18571         (test-xfail-XPG4/ndbm.h/conform): Likewise.
18572         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
18573         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
18574         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
18575         (test-xfail-XPG3/fcntl.h/conform): Likewise.
18576         (test-xfail-XPG3/ftw.h/conform): Likewise.
18577         (test-xfail-XPG3/grp.h/conform): Likewise.
18578         (test-xfail-XPG3/langinfo.h/conform): Likewise.
18579         (test-xfail-XPG3/limits.h/conform): Likewise.
18580         (test-xfail-XPG3/pwd.h/conform): Likewise.
18581         (test-xfail-XPG3/search.h/conform): Likewise.
18582         (test-xfail-XPG3/signal.h/conform): Likewise.
18583         (test-xfail-XPG3/stdio.h/conform): Likewise.
18584         (test-xfail-XPG3/stdlib.h/conform): Likewise.
18585         (test-xfail-XPG3/string.h/conform): Likewise.
18586         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
18587         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
18588         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18589         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18590         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
18591         (test-xfail-XPG3/sys/types.h/conform): Likewise.
18592         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
18593         (test-xfail-XPG3/termios.h/conform): Likewise.
18594         (test-xfail-XPG3/time.h/conform): Likewise.
18595         (test-xfail-XPG3/unistd.h/conform): Likewise.
18596         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
18597         (test-xfail-XPG4/fcntl.h/conform): Likewise.
18598         (test-xfail-XPG4/langinfo.h/conform): Likewise.
18599         (test-xfail-XPG4/netdb.h/conform): Likewise.
18600         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
18601         (test-xfail-XPG4/signal.h/conform): Likewise.
18602         (test-xfail-XPG4/stdio.h/conform): Likewise.
18603         (test-xfail-XPG4/stdlib.h/conform): Likewise.
18604         (test-xfail-XPG4/stropts.h/conform): Likewise.
18605         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18606         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18607         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18608         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18609         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18610         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
18611         (test-xfail-XPG4/sys/time.h/conform): Likewise.
18612         (test-xfail-XPG4/sys/types.h/conform): Likewise.
18613         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
18614         (test-xfail-XPG4/termios.h/conform): Likewise.
18615         (test-xfail-XPG4/ucontext.h/conform): Likewise.
18616         (test-xfail-XPG4/unistd.h/conform): Likewise.
18617         (test-xfail-XPG4/utmpx.h/conform): Likewise.
18618         (test-xfail-POSIX/sched.h/conform): Likewise.
18619         (test-xfail-POSIX/signal.h/conform): Likewise.
18620         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
18621         (test-xfail-POSIX/tar.h/conform): Likewise.
18622         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
18623         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
18624         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
18625         (test-xfail-UNIX98/netdb.h/conform): Likewise.
18626         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
18627         (test-xfail-UNIX98/sched.h/conform): Likewise.
18628         (test-xfail-UNIX98/signal.h/conform): Likewise.
18629         (test-xfail-UNIX98/stdio.h/conform): Likewise.
18630         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
18631         (test-xfail-UNIX98/stropts.h/conform): Likewise.
18632         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18633         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
18634         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18635         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
18636         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18637         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
18638         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
18639         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
18640         (test-xfail-UNIX98/unistd.h/conform): Likewise.
18641         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
18642         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
18643         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
18644         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
18645         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
18646         (test-xfail-XOPEN2K/math.h/conform): Likewise.
18647         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
18648         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
18649         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
18650         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
18651         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
18652         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
18653         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
18654         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18655         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18656         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
18657         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18658         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18659         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18660         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
18661         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
18662         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
18663         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
18664         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18665         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
18666         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18667         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
18668         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
18669         (test-xfail-POSIX2008/signal.h/conform): Likewise.
18670         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18671         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
18672         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
18673         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18674         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18675         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
18676         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
18677         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18678         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18679         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
18680         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
18681         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18682         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18683         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18684         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
18685         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18686         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18687         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18688         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18689         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
18690         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
18691         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
18692         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
18693         (conformtest-cc-flags): Likewise.
18694         ($(conformtest-header-tests): New target.
18695         * conform/check-header-lists.sh: New file.
18696         * conform/run-conformtest.sh: Remove.
18698         * conform/conformtest.pl: Allow ' and \ in values given for
18699         constants.
18700         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
18701         inclusion.
18702         [POSIX] (sys/types.h): Likewise.
18703         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
18704         inclusion.
18705         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
18706         inclusion.
18707         * conform/data/signal.h-data (SIGIO): Remove expectation.
18708         [XPG3] (SIGBUS): Do not expect.
18709         [POSIX || XPG3] (SIGPOLL): Likewise.
18710         [POSIX || XPG3] (SIGPROF): Likewise.
18711         [POSIX || XPG3] (SIGSYS): Likewise.
18712         [XPG3] (SIGTRAP): Likewise.
18713         [POSIX || XPG3] (SIGURG): Likewise.
18714         [POSIX || XPG3] (SIGVTALRM): Likewise.
18715         [POSIX || XPG3] (SIGXCPU): Likewise.
18716         [POSIX || XPG3] (SIGXFSZ): Likewise.
18717         [POSIX] (SA_SIGINFO): Expect.
18718         [XPG3] (siginfo_t): Do not expect type or contents.
18719         [POSIX] (si_pid): Do not expect element.
18720         [POSIX] (si_uid): Likewise.
18721         [POSIX] (si_addr): Likewise.
18722         [POSIX] (si_status): Likewise.
18723         [POSIX] (si_band): Likewise.
18724         [XPG4] (si_value): Likewise.
18725         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
18726         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
18727         [POSIX || XPG3] (ILL_ILLADR): Likewise.
18728         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
18729         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
18730         [POSIX || XPG3] (ILL_PRVREG): Likewise.
18731         [POSIX || XPG3] (ILL_COPROC): Likewise.
18732         [POSIX || XPG3] (ILL_BADSTK): Likewise.
18733         [POSIX || XPG3] (FPE_INTDIV): Likewise.
18734         [POSIX || XPG3] (FPE_INTOVF): Likewise.
18735         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
18736         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
18737         [POSIX || XPG3] (FPE_FLTUND): Likewise.
18738         [POSIX || XPG3] (FPE_FLTRES): Likewise.
18739         [POSIX || XPG3] (FPE_FLTINV): Likewise.
18740         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
18741         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
18742         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
18743         [POSIX || XPG3] (BUS_ADRALN): Likewise.
18744         [POSIX || XPG3] (BUS_ADRERR): Likewise.
18745         [POSIX || XPG3] (BUS_OBJERR): Likewise.
18746         [POSIX || XPG3] (CLD_EXITED): Likewise.
18747         [POSIX || XPG3] (CLD_KILLED): Likewise.
18748         [POSIX || XPG3] (CLD_DUMPED): Likewise.
18749         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
18750         [POSIX || XPG3] (CLD_STOPPED): Likewise.
18751         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
18752         [POSIX || XPG3] (POLL_IN): Likewise.
18753         [POSIX || XPG3] (POLL_OUT): Likewise.
18754         [POSIX || XPG3] (POLL_MSG): Likewise.
18755         [POSIX || XPG3] (POLL_ERR): Likewise.
18756         [POSIX || XPG3] (POLL_PRI): Likewise.
18757         [POSIX || XPG3] (POLL_HUP): Likewise.
18758         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
18759         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
18760         (SIG*): Do not allow.
18761         [XPG3] (si_*): Likewise.
18762         [XPG3] (SI_*): Likewise.
18763         [XPG3 || XPG4] (sigev_*): Likewise.
18764         [XPG3 || XPG4] (SIGEV_*): Likewise.
18765         [XPG3 || XPG4] (sival_*): Likewise.
18766         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
18767         [POSIX || XPG3] (BUS_*): Likewise.
18768         [POSIX || XPG3] (CLD_*): Likewise.
18769         [POSIX || XPG3] (FPE_*): Likewise.
18770         [POSIX || XPG3] (ILL_*): Likewise.
18771         [POSIX || XPG3] (POLL_*): Likewise.
18772         [POSIX || XPG3] (SEGV_*): Likewise.
18773         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
18774         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
18775         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
18776         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
18777         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
18778         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
18779         Specify type and value.
18780         (TVERSLEN): Likewise.
18781         (REGTYPE): Likewise.
18782         (AREGTYPE): Likewise.
18783         (LNKTYPE): Likewise.
18784         (SYMTYPE): Likewise.
18785         (CHRTYPE): Likewise.
18786         (BLKTYPE): Likewise.
18787         (DIRTYPE): Likewise.
18788         (FIFOTYPE): Likewise.
18789         (CONTTYPE): Likewise.
18790         (TSUID): Likewise.
18791         (TSGID): Likewise.
18792         (TSVTX): Likewise.
18793         (TUREAD): Likewise.
18794         (TUWRITE): Likewise.
18795         (TUEXEC): Likewise.
18796         (TGREAD): Likewise.
18797         (TGWRITE): Likewise.
18798         (TGEXEC): Likewise.
18799         (TOREAD): Likewise.
18800         (TOWRITE): Likewise.
18801         (TOEXEC): Likewise.
18802         [POSIX] (TSVTX): Expect constant.
18804 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
18806         * Makefile (tests): Change dependencies to ....
18807         (tests-special): ... additions to this variable.
18808         (tests): Depend on $(tests-special).
18809         * Makerules (check-abi-list): New variable.
18810         (check-abi): Depend on $(check-abi-list).
18811         [$(subdir) = elf] (tests-special): Add
18812         $(objpfx)check-abi-libc.out.
18813         [$(build-shared) = yes && subdir] (tests-special): Add
18814         $(check-abi-list).
18815         [$(build-shared) = yes && subdir] (tests): Do not depend on
18816         check-abi.
18817         * Rules (tests): Depend on $(tests-special).
18818         (xtests): Depend on $(xtests-special).
18819         * catgets/Makefile (tests): Change dependencies to ....
18820         (tests-special): ... additions to this variable.
18821         * conform/Makefile (tests): Change dependencies to ....
18822         (tests-special): ... additions to this variable.
18823         * elf/Makefile (tests): Change dependencies to ....
18824         (tests-special): ... additions to this variable.
18825         * grp/Makefile (tests): Change dependencies to ....
18826         (tests-special): ... additions to this variable.
18827         * iconv/Makefile (xtests): Change dependencies to ....
18828         (xtests-special): ... additions to this variable.
18829         * iconvdata/Makefile (tests): Change dependencies to ....
18830         (tests-special): ... additions to this variable.
18831         * intl/Makefile (tests): Change dependencies to ....
18832         (tests-special): ... additions to this variable.  Also add
18833         $(objpfx)tst-gettext.out.
18834         * io/Makefile (tests): Change dependencies to ....
18835         (tests-special): ... additions to this variable.
18836         * libio/Makefile (tests): Change dependencies to ....
18837         (tests-special): ... additions to this variable.
18838         * malloc/Makefile (tests): Change dependencies to ....
18839         (tests-special): ... additions to this variable.
18840         * misc/Makefile (tests): Change dependencies to ....
18841         (tests-special): ... additions to this variable.
18842         * nptl/Makefile (tests): Change dependencies to ....
18843         (tests-special): ... additions to this variable.
18844         * nptl_db/Makefile (tests): Change dependencies to ....
18845         (tests-special): ... additions to this variable.
18846         * posix/Makefile (tests): Change dependencies to ....
18847         (tests-special): ... additions to this variable.
18848         (xtests): Change dependencies to ....
18849         (xtests-special): ... additions to this variable.
18850         * resolv/Makefile (tests): Change dependencies to ....
18851         (tests-special): ... additions to this variable.
18852         (xtests): Change dependencies to ....
18853         (xtests-special): ... additions to this variable.
18854         * stdio-common/Makefile (tests): Change dependencies to ....
18855         (tests-special): ... additions to this variable.
18856         (do-tst-unbputc): Remove target.
18857         (do-tst-printf): Likewise.
18858         * stdlib/Makefile (tests): Change dependencies to ....
18859         (tests-special): ... additions to this variable.
18860         * string/Makefile (tests): Change dependencies to ....
18861         (tests-special): ... additions to this variable.
18862         * sysdeps/x86/Makefile (tests): Change dependencies to ....
18863         (tests-special): ... additions to this variable.
18865         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
18866         whole file.
18867         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
18868         whole file.
18869         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
18870         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
18872         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
18873         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
18874         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
18875         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
18876         * conform/data/libgen.h-data [XPG3]: Likewise.
18877         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
18878         * conform/data/ndbm.h-data [XPG3]: Likewise.
18879         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
18880         * conform/data/netdb.h-data [XPG3]: Likewise.
18881         * conform/data/netinet/in.h-data [XPG3]: Likewise.
18882         * conform/data/poll.h-data [XPG3]: Likewise.
18883         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
18884         * conform/data/strings.h-data [XPG3]: Likewise.
18885         * conform/data/stropts.h-data [XPG3]: Likewise.
18886         * conform/data/sys/mman.h-data [XPG3]: Likewise.
18887         * conform/data/sys/resource.h-data [XPG3]: Likewise.
18888         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
18889         Likewise.
18890         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
18891         * conform/data/sys/time.h-data [XPG3]: Likewise.
18892         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
18893         * conform/data/sys/uio.h-data [XPG3]: Likewise.
18894         * conform/data/sys/un.h-data [XPG3]: Likewise.
18895         * conform/data/syslog.h-data [XPG3]: Likewise.
18896         * conform/data/ucontext.h-data [XPG3]: Likewise.
18897         * conform/data/utmpx.h-data [XPG3]: Likewise.
18898         * conform/data/varargs.h-data [UNIX98]: Enable file.
18900         * manual/Makefile (INSTALL_INFO): Remove variable setting.
18902         * math/libm-test.inc (struct test_f_f_data): Move expected results
18903         into structure for each rounding mode.
18904         (struct test_ff_f_data): Likewise.
18905         (struct test_ff_f_data_nexttoward): Likewise.
18906         (struct test_fi_f_data): Likewise.
18907         (struct test_fl_f_data): Likewise.
18908         (struct test_if_f_data): Likewise.
18909         (struct test_fff_f_data): Likewise.
18910         (struct test_c_f_data): Likewise.
18911         (struct test_f_f1_data): Likewise.
18912         (struct test_fF_f1_data): Likewise.
18913         (struct test_ffI_f1_data): Likewise.
18914         (struct test_c_c_data): Likewise.
18915         (struct test_cc_c_data): Likewise.
18916         (struct test_f_i_data): Likewise.
18917         (struct test_ff_i_data): Likewise.
18918         (struct test_f_l_data): Likewise.
18919         (struct test_f_L_data): Likewise.
18920         (struct test_fFF_11_data): Likewise.
18921         (RM_): New macro.
18922         (RM_FE_DOWNWARD): Likewise.
18923         (RM_FE_TONEAREST): Likewise.
18924         (RM_FE_TOWARDZERO): Likewise.
18925         (RM_FE_UPWARD): Likewise.
18926         (RUN_TEST_LOOP_f_f): Update references to expected results.
18927         (RUN_TEST_LOOP_2_f): Likewise.
18928         (RUN_TEST_LOOP_fff_f): Likewise.
18929         (RUN_TEST_LOOP_c_f): Likewise.
18930         (RUN_TEST_LOOP_f_f1): Likewise.
18931         (RUN_TEST_LOOP_fF_f1): Likewise.
18932         (RUN_TEST_LOOP_fI_f1): Likewise.
18933         (RUN_TEST_LOOP_ffI_f1): Likewise.
18934         (RUN_TEST_LOOP_c_c): Likewise.
18935         (RUN_TEST_LOOP_cc_c): Likewise.
18936         (RUN_TEST_LOOP_f_i): Likewise.
18937         (RUN_TEST_LOOP_f_i_tg): Likewise.
18938         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18939         (RUN_TEST_LOOP_f_b): Likewise.
18940         (RUN_TEST_LOOP_f_b_tg): Likewise.
18941         (RUN_TEST_LOOP_f_l): Likewise.
18942         (RUN_TEST_LOOP_f_L): Likewise.
18943         (RUN_TEST_LOOP_fFF_11): Likewise.
18944         * math/gen-libm-test.pl (parse_args): Output four copies of
18945         expected results for each test.
18947         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18948         (__ASSUME_UTIMES): Remove.
18949         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18950         (__ASSUME_UTIMES): Likewise.
18952         * math/gen-auto-libm-tests.c: Update comment on output format.
18953         (output_for_one_input_case): Generate before-rounding and
18954         after-rounding information as conditions on output flags not
18955         floating-point format.
18956         * math/auto-libm-test-out: Regenerated.
18957         * math/gen-libm-test.pl (cond_value): New function.
18958         (or_cond_value): Use cond_value.
18959         (generate_testfile): Handle conditional exceptions.
18961 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
18963         * math/libm-test.inc (max_valid_error): New variable.
18964         (init_max_error): Take new argument specifying whether function
18965         results are exactly determined.  Set max_valid_error and bound
18966         other variables for errors based on this argument.
18967         (set_max_error): Do not record results above max_valid_error.
18968         (check_float_internal): Only accept errors of up to 0.5ulps if
18969         also at most max_valid_error.
18970         (START): Take new argument EXACT and pass it to init_max_error.
18971         (acos_test): Update call to START.
18972         (acos_test_tonearest): Likewise.
18973         (acos_test_towardzero): Likewise.
18974         (acos_test_downward): Likewise.
18975         (acos_test_upward): Likewise.
18976         (acosh_test): Likewise.
18977         (asin_test): Likewise.
18978         (asin_test_tonearest): Likewise.
18979         (asin_test_towardzero): Likewise.
18980         (asin_test_downward): Likewise.
18981         (asin_test_upward): Likewise.
18982         (asinh_test): Likewise.
18983         (atan_test): Likewise.
18984         (atanh_test): Likewise.
18985         (atan2_test): Likewise.
18986         (cabs_test): Likewise.
18987         (cacos_test): Likewise.
18988         (cacosh_test): Likewise.
18989         (carg_test): Likewise.
18990         (casin_test): Likewise.
18991         (casinh_test): Likewise.
18992         (catan_test): Likewise.
18993         (catanh_test): Likewise.
18994         (cbrt_test): Likewise.
18995         (ccos_test): Likewise.
18996         (ccosh_test): Likewise.
18997         (ceil_test): Likewise.
18998         (cexp_test): Likewise.
18999         (cimag_test): Likewise.
19000         (clog_test): Likewise.
19001         (clog10_test): Likewise.
19002         (conj_test): Likewise.
19003         (copysign_test): Likewise.
19004         (cos_test): Likewise.
19005         (cos_test_tonearest): Likewise.
19006         (cos_test_towardzero): Likewise.
19007         (cos_test_downward): Likewise.
19008         (cos_test_upward): Likewise.
19009         (cosh_test): Likewise.
19010         (cosh_test_tonearest): Likewise.
19011         (cosh_test_towardzero): Likewise.
19012         (cosh_test_downward): Likewise.
19013         (cosh_test_upward): Likewise.
19014         (cpow_test): Likewise.
19015         (cproj_test): Likewise.
19016         (creal_test): Likewise.
19017         (csin_test): Likewise.
19018         (csinh_test): Likewise.
19019         (csqrt_test): Likewise.
19020         (ctan_test): Likewise.
19021         (ctan_test_tonearest): Likewise.
19022         (ctan_test_towardzero): Likewise.
19023         (ctan_test_downward): Likewise.
19024         (ctan_test_upward): Likewise.
19025         (ctanh_test): Likewise.
19026         (ctanh_test_tonearest): Likewise.
19027         (ctanh_test_towardzero): Likewise.
19028         (ctanh_test_downward): Likewise.
19029         (ctanh_test_upward): Likewise.
19030         (erf_test): Likewise.
19031         (erfc_test): Likewise.
19032         (exp_test): Likewise.
19033         (exp_test_tonearest): Likewise.
19034         (exp_test_towardzero): Likewise.
19035         (exp_test_downward): Likewise.
19036         (exp_test_upward): Likewise.
19037         (exp10_test): Likewise.
19038         (exp10_test_tonearest): Likewise.
19039         (exp10_test_towardzero): Likewise.
19040         (exp10_test_downward): Likewise.
19041         (exp10_test_upward): Likewise.
19042         (pow10_test): Likewise.
19043         (exp2_test): Likewise.
19044         (expm1_test): Likewise.
19045         (expm1_test_tonearest): Likewise.
19046         (expm1_test_towardzero): Likewise.
19047         (expm1_test_downward): Likewise.
19048         (expm1_test_upward): Likewise.
19049         (fabs_test): Likewise.
19050         (fdim_test): Likewise.
19051         (floor_test): Likewise.
19052         (fma_test): Likewise.
19053         (fma_test_towardzero): Likewise.
19054         (fma_test_downward): Likewise.
19055         (fma_test_upward): Likewise.
19056         (fmax_test): Likewise.
19057         (fmin_test): Likewise.
19058         (fmod_test): Likewise.
19059         (fpclassify_test): Likewise.
19060         (frexp_test): Likewise.
19061         (hypot_test): Likewise.
19062         (ilogb_test): Likewise.
19063         (isfinite_test): Likewise.
19064         (finite_test): Likewise.
19065         (isgreater_test): Likewise.
19066         (isgreaterequal_test): Likewise.
19067         (isinf_test): Likewise.
19068         (isless_test): Likewise.
19069         (islessequal_test): Likewise.
19070         (islessgreater_test): Likewise.
19071         (isnan_test): Likewise.
19072         (isnormal_test): Likewise.
19073         (issignaling_test): Likewise.
19074         (isunordered_test): Likewise.
19075         (j0_test): Likewise.
19076         (j1_test): Likewise.
19077         (jn_test): Likewise.
19078         (ldexp_test): Likewise.
19079         (lgamma_test): Likewise.
19080         (gamma_test): Likewise.
19081         (lrint_test): Likewise.
19082         (lrint_test_tonearest): Likewise.
19083         (lrint_test_towardzero): Likewise.
19084         (lrint_test_downward): Likewise.
19085         (lrint_test_upward): Likewise.
19086         (llrint_test): Likewise.
19087         (llrint_test_tonearest): Likewise.
19088         (llrint_test_towardzero): Likewise.
19089         (llrint_test_downward): Likewise.
19090         (llrint_test_upward): Likewise.
19091         (log_test): Likewise.
19092         (log10_test): Likewise.
19093         (log1p_test): Likewise.
19094         (log2_test): Likewise.
19095         (logb_test): Likewise.
19096         (logb_test_downward): Likewise.
19097         (lround_test): Likewise.
19098         (llround_test): Likewise.
19099         (modf_test): Likewise.
19100         (nearbyint_test): Likewise.
19101         (nextafter_test): Likewise.
19102         (nexttoward_test): Likewise.
19103         (pow_test): Likewise.
19104         (pow_test_tonearest): Likewise.
19105         (pow_test_towardzero): Likewise.
19106         (pow_test_downward): Likewise.
19107         (pow_test_upward): Likewise.
19108         (remainder_test): Likewise.
19109         (drem_test): Likewise.
19110         (remainder_test_tonearest): Likewise.
19111         (drem_test_tonearest): Likewise.
19112         (remainder_test_towardzero): Likewise.
19113         (drem_test_towardzero): Likewise.
19114         (remainder_test_downward): Likewise.
19115         (drem_test_downward): Likewise.
19116         (remainder_test_upward): Likewise.
19117         (drem_test_upward): Likewise.
19118         (remquo_test): Likewise.
19119         (rint_test): Likewise.
19120         (rint_test_tonearest): Likewise.
19121         (rint_test_towardzero): Likewise.
19122         (rint_test_downward): Likewise.
19123         (rint_test_upward): Likewise.
19124         (round_test): Likewise.
19125         (scalb_test): Likewise.
19126         (scalbn_test): Likewise.
19127         (scalbln_test): Likewise.
19128         (signbit_test): Likewise.
19129         (sin_test): Likewise.
19130         (sin_test_tonearest): Likewise.
19131         (sin_test_towardzero): Likewise.
19132         (sin_test_downward): Likewise.
19133         (sin_test_upward): Likewise.
19134         (sincos_test): Likewise.
19135         (sinh_test): Likewise.
19136         (sinh_test_tonearest): Likewise.
19137         (sinh_test_towardzero): Likewise.
19138         (sinh_test_downward): Likewise.
19139         (sinh_test_upward): Likewise.
19140         (sqrt_test): Likewise.
19141         (sqrt_test_tonearest): Likewise.
19142         (sqrt_test_towardzero): Likewise.
19143         (sqrt_test_downward): Likewise.
19144         (sqrt_test_upward): Likewise.
19145         (tan_test): Likewise.
19146         (tan_test_tonearest): Likewise.
19147         (tan_test_towardzero): Likewise.
19148         (tan_test_downward): Likewise.
19149         (tan_test_upward): Likewise.
19150         (tanh_test): Likewise.
19151         (tgamma_test): Likewise.
19152         (trunc_test): Likewise.
19153         (y0_test): Likewise.
19154         (y1_test): Likewise.
19155         (yn_test): Likewise.
19156         (significand_test): Likewise.
19158         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
19159         individual tests in comment.
19160         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
19161         (prev_max_error): New variable.
19162         (prev_real_max_error): Likewise.
19163         (prev_imag_max_error): Likewise.
19164         (compare_ulp_data): Don't refer to test names in comment.
19165         (find_test_ulps): Remove function.
19166         (find_function_ulps): Likewise.
19167         (find_complex_function_ulps): Likewise.
19168         (init_max_error): Take function name as argument.  Look up ulps
19169         for that function.
19170         (print_ulps): Remove function.
19171         (print_max_error): Use prev_max_error instead of calling
19172         find_function_ulps.
19173         (print_complex_max_error): Use prev_real_max_error and
19174         prev_imag_max_error instead of calling find_complex_function_ulps.
19175         (check_float_internal): Take max_ulp parameter instead of calling
19176         find_test_ulps.  Don't call print_ulps.
19177         (check_float): Update call to check_float_internal.
19178         (check_complex): Update calls to check_float_internal.
19179         (START): Pass argument to init_max_error.
19180         * math/gen-libm-test.pl (%results): Don't include "kind"
19181         information.
19182         (parse_ulps): Don't handle ulps of individual tests.
19183         (print_ulps_file): Likewise.
19184         (output_ulps): Likewise.
19185         * math/README.libm-test: Update.
19186         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
19187         individual tests.
19188         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
19189         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
19190         * sysdeps/arm/libm-test-ulps: Likewise.
19191         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19192         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
19193         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
19194         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
19195         * sysdeps/microblaze/libm-test-ulps: Likewise.
19196         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19197         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19198         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19199         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19200         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19201         * sysdeps/sh/libm-test-ulps: Likewise.
19202         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19203         * sysdeps/tile/libm-test-ulps: Likewise.
19204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19206 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
19208         * math/libm-test.inc (print_complex_max_error): Check separately
19209         whether real and imaginary errors are within allowed range and
19210         pass 0 to print_complex_function_ulps instead of value within
19211         allowed range.
19213 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19215         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
19216         formatting.
19217         (get_handles_fopen): Likewise.
19218         (do_write_test): Likewise.
19220         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
19222         * libio/fileops.c (do_ftell): Use cached offset when
19223         available.
19224         * libio/iofwide.c (do_ftell_wide): Likewise.
19225         * libio/iofdopen.c (_IO_new_fdopen): Don't use
19226         _IO_file_attach.
19227         * libio/wfileops.c (_IO_fwide): Don't cache offset.
19229         [BZ #16532]
19230         * libio/libioP.h (get_file_offset): New function.
19231         * libio/fileops.c (get_file_offset): Likewise.
19232         (do_ftell): Likewise.
19233         (_IO_new_file_seekoff): Split out ftell logic.
19234         * libio/wfileops.c (do_ftell_wide): Likewise.
19235         (_IO_wfile_seekoff): Split out ftell logic.
19236         * libio/tst-ftell-active-handler.c: New test case.
19237         * libio/Makefile (tests): Add it.
19239 2014-03-03  Roland McGrath  <roland@hack.frob.com>
19241         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
19242         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
19244 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19246         [BZ #16639]
19247         * nscd/connections.c (nscd_init): Call do_exit.
19248         (start_threads): Call do_exit and notify_parent.
19249         (begin_drop_privileges): Call do_exit.
19250         (finish_drop_privileges): Likewise.
19251         * nscd/selinux.c (preserve_capabilities): Likewise.
19252         (install_real_capabilities): Likewise.
19253         (nscd_selinux_enabled): Likewise.
19254         (avc_create_thread): Likewise.
19255         (avc_alloc_lock): Likewise.
19256         (nscd_avc_init): Likewise.
19257         * nscd/nscd.c (parent_fd): New static variable.
19258         (main): Create a pipe between parent and child processes.
19259         Skip closing parent_fd.
19260         (monitor_child): New function.
19261         (do_exit): Likewise.
19262         (notify_parent): Likewise.
19263         * nscd/nscd.h (notify_parent): Likewise.
19264         (do_exit): Likewise.
19266 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
19268         * malloc/malloc.c (__libc_calloc): Revert last change.
19270 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19272         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19274 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19276         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
19277         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
19278         implementation.
19279         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19280         (__libc_ifunc_impl_list): Likewise.
19281         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
19282         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
19283         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
19284         * string/strrchr.c: Define STRRCHR.
19286 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
19288         * benchtest/bench-strtok.c (simple_strtok): Delete.
19289         (strtok_string): Use as benchmark.
19290         * string/strtok (STRTOK): New macro.
19292 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
19294         * manual/threads.texi: Add header and standard comments to all
19295         functions.
19297         * elf/dl-lookup.c (check_match): New function.
19298         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
19299         (do_lookup_x): Remove nested function check_match. Use non-nested
19300         function check_match.
19302 2014-02-28  Roland McGrath  <roland@hack.frob.com>
19304         * csu/Makefile (generated, before-compile): Use += rather than =.
19305         * catgets/Makefile (generated, generated-dirs): Likewise.
19306         * debug/Makefile (generated): Likewise.
19307         * dlfcn/Makefile (generated): Likewise.
19308         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
19309         * iconvdata/Makefile (before-compile, generated): Likewise.
19310         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
19311         * libio/Makefile (generated): Likewise.
19312         * malloc/Makefile (generated): Likewise.
19313         * manual/Makefile (generated, generated-dirs): Likewise.
19314         * misc/Makefile (generated): Likewise.
19315         * posix/Makefile (generated): Likewise.
19316         * resolv/Makefile (generated): Likewise.
19317         * sunrpc/Makefile (generated, generated-dirs): Likewise.
19318         * timezone/Makefile (generated, generated-dirs): Likewise.
19320         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
19322 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19324         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19325         power8 implementation.
19326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
19327         file: POWER8 llround ifunc implementation.
19328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19329         (__lllround): Add POWER8 implementation.
19330         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
19331         POWER8 llround implementation.
19333         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
19334         power8 implementation.
19335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
19336         file: POWER8 llrint ifunc implementation.
19337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
19338         Add POWER8 implementation.
19339         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
19340         POWER8 llrint implementation.
19342         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
19343         power8 implementation.
19344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
19345         file: POWER8 finite ifunc implementation.
19346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
19347         Add POWER8 implementation.
19348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
19349         Likewise.
19350         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
19351         POWER8 finite implementation.
19352         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
19354         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
19355         power8 implementation.
19356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
19357         file: POWER8 isinf ifunc implementation.
19358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
19359         POWER8 implementation.
19360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
19361         Likewise.
19362         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
19363         isinf implementation.
19364         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
19366         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19367         (INIT_ARCH): Add hwcap2 initialization.
19368         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19369         power8 implementation.
19370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
19371         file: POWER8 isnan ifunc implementation.
19372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
19373         POWER8 implementation.
19374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
19375         Likewise.
19376         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
19377         isnan implementation.
19378         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
19380 2014-02-27  Joey Ye  <joey.ye@arm.com>
19382         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19383         (_FP_NANFRAC_Q): Set to zero.
19385 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19387         [BZ #16623]
19388         * math/auto-libm-test-in: New test inputs.
19389         * math/auto-libm-test-out: Regenerate.
19390         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
19391         and DA.
19392         (__cos): Likewise.
19393         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19395 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
19397         * scripts/evaluate-test.sh: Take new argument indicating whether
19398         failure is expected.
19399         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
19400         indicating whether failure is expected.
19401         * conform/Makefile (test-xfail-run-conformtest): New variable.
19402         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
19403         level.
19404         * posix/Makefile (test-xfail-annexc): New variable.
19405         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
19407 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
19409         * argp/Makefile: Include Makeconfig immediately after defining
19410         subdir.
19411         * assert/Makefile: Likewise.
19412         * benchtests/Makefile: Likewise.
19413         * catgets/Makefile: Likewise.
19414         * conform/Makefile: Likewise.
19415         * crypt/Makefile: Likewise.
19416         * csu/Makefile: Likewise.
19417         (all): Remove target.
19418         * ctype/Makefile: Include Makeconfig immediately after defining
19419         subdir.
19420         * debug/Makefile: Likewise.
19421         * dirent/Makefile: Likewise.
19422         * dlfcn/Makefile: Likewise.
19423         * gmon/Makefile: Likewise.
19424         * gnulib/Makefile: Likewise.
19425         * grp/Makefile: Likewise.
19426         * gshadow/Makefile: Likewise.
19427         * hesiod/Makefile: Likewise.
19428         * hurd/Makefile: Likewise.
19429         (all): Remove target.
19430         * iconvdata/Makefile: Include Makeconfig immediately after
19431         defining subdir.
19432         * inet/Makefile: Likewise.
19433         * intl/Makefile: Likewise.
19434         * io/Makefile: Likewise.
19435         * libio/Makefile: Likewise.
19436         (all): Remove target.
19437         * locale/Makefile: Include Makeconfig immediately after defining
19438         subdir.
19439         * login/Makefile: Likewise.
19440         * mach/Makefile: Likewise.
19441         (all): Remove target.
19442         * malloc/Makefile: Include Makeconfig immediately after defining
19443         subdir.
19444         (all): Remove target.
19445         * manual/Makefile: Include Makeconfig immediately after defining
19446         subdir.
19447         * math/Makefile: Likewise.
19448         * misc/Makefile: Likewise.
19449         * nis/Makefile: Likewise.
19450         * nss/Makefile: Likewise.
19451         * po/Makefile: Likewise.
19452         (all): Remove target.
19453         * posix/Makefile: Include Makeconfig immediately after defining
19454         subdir.
19455         * pwd/Makefile: Likewise.
19456         * resolv/Makefile: Likewise.
19457         * resource/Makefile: Likewise.
19458         * rt/Makefile: Likewise.
19459         * setjmp/Makefile: Likewise.
19460         * shadow/Makefile: Likewise.
19461         * signal/Makefile: Likewise.
19462         * socket/Makefile: Likewise.
19463         * soft-fp/Makefile: Likewise.
19464         * stdio-common/Makefile: Likewise.
19465         * stdlib/Makefile: Likewise.
19466         * streams/Makefile: Likewise.
19467         * string/Makefile: Likewise.
19468         * sunrpc/Makefile: Likewise.
19469         (all): Remove target.
19470         * sysvipc/Makefile: Include Makeconfig immediately after defining
19471         subdir.
19472         * termios/Makefile: Likewise.
19473         * time/Makefile: Likewise.
19474         * timezone/Makefile: Likewise.
19475         (all): Remove target.
19476         * wcsmbs/Makefile: Include Makeconfig immediately after defining
19477         subdir.
19478         * wctype/Makefile: Likewise.
19480 2014-02-26  Steve Ellcey  <sellcey@mips.com>
19482         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
19483         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
19484         (libc_feholdexcept_setround_mips): Ditto.
19485         (libc_feholdsetround): New.
19486         (libc_feholdsetroundf): New.
19487         (libc_feholdsetroundl): New.
19488         (libc_feupdateenv_test_mips): New.
19489         (libc_feupdateenv_test): New.
19490         (libc_feupdateenv_testf): New.
19491         (libc_feupdateenv_testl): New.
19492         (libc_feresetround): New.
19493         (libc_feresetroundf): New.
19494         (libc_feresetroundl): New.
19495         (libc_fetestexcept_mips): New.
19496         (libc_fetestexcept): New.
19497         (libc_fetestexceptf): New.
19498         (libc_fetestexceptl): New.
19499         (HAVE_RM_CTX): New.
19500         (libc_feholdexcept_setround_mips_ctx): New.
19501         (libc_feholdexcept_setround_ctx): New.
19502         (libc_feholdexcept_setroundf_ctx): New.
19503         (libc_feholdexcept_setroundl_ctx): New.
19504         (libc_fesetenv_mips_ctx): New.
19505         (libc_fesetenv_ctx): New.
19506         (libc_fesetenv_ctxf): New.
19507         (libc_fesetenv_ctxl): New.
19508         (libc_feupdateenv_mips_ctx): New.
19509         (libc_feupdateenv_ctx): New.
19510         (libc_feupdateenvf_ctx): New.
19511         (libc_feupdateenvl_ctx): New.
19512         (libc_feholdsetround_mips_ctx): New.
19513         (libc_feholdsetround_ctx): New.
19514         (libc_feholdsetroundf_ctx): New.
19515         (libc_feholdsetroundl_ctx): New.
19516         (libc_feresetround_mips_ctx): New.
19517         (libc_feresetround_ctx): New.
19518         (libc_feresetroundf_ctx): New.
19519         (libc_feresetroundl_ctx): New.
19521 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
19523         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
19525         * manual/ipc.texi: New file.
19526         * manual/Makefile (chapters): Add ipc.
19527         * manual/job.texi: Add "Inter-Process Communication" to next.
19528         * manual/process.texi: Add "Inter-Process Communication" to prev.
19530 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19534 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
19536         * malloc/malloc.c (__libc_calloc): Simplify implementation.
19538         * manual/arith.texi: Fix spaces after sentences.
19539         * manual/charset.texi: Likewise.
19540         * manual/errno.texi: Likewise.
19541         * manual/install.texi: Likewise.
19542         * manual/llio.texi: Likewise.
19543         * manual/locale.texi: Likewise.
19544         * manual/maint.texi: Likewise.
19545         * manual/math.texi: Likewise.
19546         * manual/memory.texi: Likewise.
19547         * manual/message.texi: Likewise.
19548         * manual/probes.texi: Likewise.
19549         * manual/resource.texi: Likewise.
19550         * manual/signal.texi: Likewise.
19551         * manual/socket.texi: Likewise.
19552         * manual/stdio.texi: Likewise.
19553         * manual/string.texi: Likewise.
19554         * manual/time.texi: Likewise.
19555         * manual/users.texi: Likewise.
19557 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
19559         [BZ #16632]
19560         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
19561         _DEFAULT_SOURCE is defined.
19563 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
19564             Carlos O'Donell  <carlos@redhat.com>
19566         [BZ #16613]
19567         * elf/dl-tls.c (_dl_count_modids): New function.
19568         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
19569         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
19570         audit library and increment generation counter.
19571         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
19572         * elf/tst-audit9.c: New file.
19573         * elf/tst-auditmod9a.c: New file.
19574         * elf/tst-auditmod9b.c: New file.
19575         * elf/Makefile: Add rules to build and run tst-audit9.
19577 2014-02-25  Florian Weimer  <fweimer@redhat.com>
19579         [BZ #15347]
19580         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
19582 2014-02-25  Will Newton  <will.newton@linaro.org>
19584         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
19585         (__longjmp): Restore sp and lr before restoring callee
19586         saved registers.  Add longjmp and longjmp_target
19587         SystemTap probe point.
19588         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
19589         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
19590         Define to zero to match jmpbuf layout.
19591         * sysdeps/arm/setjmp.S: Include stap-probe.h.
19592         (__sigsetjmp): Save sp and lr before saving callee
19593         saved registers.  Add setjmp SystemTap probe point.
19595 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19597         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19599 2014-02-24  Andreas Schwab  <schwab@suse.de>
19601         [BZ #15804]
19602         * elf/pldd.c (wait_for_ptrace_stop): New function.
19603         (main): Call it after attaching.
19605 2014-02-22  Roland McGrath  <roland@hack.frob.com>
19607         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
19608         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
19609         Versions files is now verboten.
19610         * hurd/Versions (libc: GLIBC_2.0):
19611         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
19612         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
19613         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
19614         * mach/Versions: Likewise.
19616         * csu/Versions: Remove unused %include.
19617         * resolv/Versions: Likewise.
19619 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
19621         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
19622         ($(objpfx)check-local-headers.out): Likewise.
19623         ($(objpfx)begin-end-check.out): Likewise.
19624         * Makerules (check-abi-%.out): Likewise.
19625         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
19626         ($(objpfx)test2.cat): Likewise.
19627         ($(objpfx)de/libc.cat): Likewise.
19628         ($(objpfx)test-gencat.out): Likewise.
19629         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
19630         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
19631         ($(objpfx)noload-mem): Likewise.
19632         ($(objpfx)tst-pathopt.out): Likewise.
19633         ($(objpfx)tst-rtld-load-self.out): Likewise.
19634         ($(objpfx)tst-array1-cmp.out): Likewise.
19635         ($(objpfx)tst-array1-static-cmp.out): Likewise.
19636         ($(objpfx)tst-array2-cmp.out): Likewise.
19637         ($(objpfx)tst-array3-cmp.out): Likewise.
19638         ($(objpfx)tst-array4-cmp.out): Likewise.
19639         ($(objpfx)tst-array5-cmp.out): Likewise.
19640         ($(objpfx)tst-array5-static-cmp.out): Likewise.
19641         ($(objpfx)check-textrel.out): Likewise.
19642         ($(objpfx)check-execstack.out): Likewise.
19643         ($(objpfx)check-localplt.out): Likewise.
19644         ($(objpfx)order2-cmp.out): Likewise.
19645         ($(objpfx)tst-leaks1-mem): Likewise.
19646         ($(objpfx)tst-leaks1-static-mem): Likewise.
19647         ($(objpfx)tst-initorder-cmp.out): Likewise.
19648         ($(objpfx)tst-initorder2-cmp.out): Likewise.
19649         ($(objpfx)tst-unused-dep.out): Likewise.
19650         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
19651         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
19652         * iconv/Makefile (test-iconvconfig): Likewise.
19653         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
19654         ($(objpfx)iconv-test.out): Likewise.
19655         ($(objpfx)tst-tables.out): Likewise.
19656         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
19657         ($(objpfx)tst-gettext.out): Likewise.
19658         ($(objpfx)tst-translit.out): Likewise.
19659         ($(objpfx)tst-gettext2.out): Likewise.
19660         ($(objpfx)tst-gettext4.out): Likewise.
19661         ($(objpfx)tst-gettext6.out): Likewise.
19662         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
19663         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
19664         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
19665         ($(objpfx)tst-fopenloc-mem.out): Likewise.
19666         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
19667         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
19668         * posix/Makefile ($(objpfx)globtest.out): Likewise.
19669         ($(objpfx)wordexp-tst.out): Likewise.
19670         ($(objpfx)annexc.out): Likewise.
19671         ($(objpfx)tst-fnmatch-mem): Likewise.
19672         ($(objpfx)bug-regex2-mem): Likewise.
19673         ($(objpfx)bug-regex14-mem): Likewise.
19674         ($(objpfx)bug-regex21-mem): Likewise.
19675         ($(objpfx)bug-regex31-mem): Likewise.
19676         ($(objpfx)tst-vfork3-mem): Likewise.
19677         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19678         ($(objpfx)tst-pcre-mem): Likewise.
19679         ($(objpfx)tst-boost-mem): Likewise.
19680         ($(objpfx)tst-getconf.out): Likewise.
19681         ($(objpfx)bug-ga2-mem): Likewise.
19682         ($(objpfx)bug-glob2-mem): Likewise.
19683         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
19684         ($(objpfx)mtrace-tst-leaks2): Likewise.
19685         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
19686         ($(objpfx)tst-printf.out): Likewise.
19687         ($(objpfx)tst-setvbuf1.out): Likewise.
19688         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
19689         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
19690         ($(objpfx)tst-fmtmsg.out): Likewise.
19691         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
19692         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
19694         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
19695         * bits/sigaction.h [__USE_MISC]: Likewise.
19696         * bits/waitstatus.h: Update #endif comments.
19697         * ctype/ctype.h: Likewise.
19698         * dirent/dirent.h: Likewise.
19699         [__USE_MISC]: Remove redundant conditionals.
19700         * grp/grp.h: Update #endif comments.
19701         [__USE_GNU]: Remove redundant conditionals.
19702         [__USE_MISC]: Likewise.
19703         * inet/netinet/in.h [__USE_GNU]: Likewise.
19704         * io/sys/stat.h [__USE_MISC]: Likewise.
19705         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
19706         * libio/bits/stdio.h: Update #endif comments.
19707         [__USE_MISC]: Remove redundant conditionals.
19708         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
19709         * libio/stdio.h: Update #endif comments.
19710         [__USE_MISC]: Remove redundant conditionals.
19711         * math/bits/math-finite.h [__USE_MISC]: Likewise.
19712         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
19713         * math/math.h: Update #else and #endif comments.
19714         [__USE_MISC]: Remove redundant conditionals.
19715         * misc/sys/uio.h: Update #endif comments.
19716         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
19717         * posix/glob.h [__USE_MISC]: Likewise.
19718         * posix/sys/types.h: Update #endif comments.
19719         [__USE_MISC]: Remove redundant conditionals.
19720         * posix/sys/wait.h: Update #endif comments.
19721         [__USE_MISC]: Remove redundant conditionals.
19722         * posix/unistd.h: Update #endif comments.
19723         [__USE_MISC]: Remove redundant conditionals.
19724         * pwd/pwd.h [__USE_GNU]: Likewise.
19725         [__USE_MISC]: Likewise.
19726         * resolv/netdb.h [__USE_GNU]: Likewise.
19727         * signal/signal.h: Update #endif comments.
19728         [__USE_MISC]: Remove redundant conditionals.
19729         * stdlib/stdlib.h: Update #else and #endif comments.
19730         [__USE_MISC]: Remove redundant conditionals.
19731         [__USE_GNU]: Likewise.
19732         * string/bits/string2.h [__USE_MISC]: Likewise.
19733         * string/string.h: Update #endif comments.
19734         [__USE_MISC]: Remove redundant conditionals.
19735         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
19736         Likewise.
19737         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
19738         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
19739         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
19740         Likewise.
19741         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
19742         Likewise.
19743         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
19744         comments.
19745         [__USE_MISC]: Remove redundant conditionals.
19746         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
19747         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
19748         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
19749         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
19750         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
19751         Likewise.
19752         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
19753         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
19754         Likewise.
19755         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
19756         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
19757         Likewise.
19758         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
19759         Likewise.
19760         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
19761         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
19762         Likewise.
19763         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
19764         Likewise.
19765         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
19766         * sysdeps/x86/bits/string.h: Update #endif comments.
19767         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
19768         conditionals.
19769         * time/sys/time.h: Update #endif comments.
19770         * time/time.h: Likewise.
19771         [__USE_MISC]: Remove redundant conditionals.
19773 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
19775         [BZ #16600]
19776         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
19778 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
19780         * Versions.def (librt): Add GLIBC_2.17.
19782 2014-02-21  Adam Conrad  <adconrad@0c3.net>
19784         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
19785         synonym for _SYS_AUXV_H to allow direct inclusion.
19786         * sysdeps/sparc/bits/hwcap.h: Likewise.
19787         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
19788         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
19789         * sysdeps/sparc/sysdep.h: Likewise.
19791 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19793         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
19795 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19797         * benchtests/bench-strrchr.c: Print length instead of position.
19799 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
19801         [BZ #16611]
19802         * sysdeps/unix/sysv/linux/kernel-features.h
19803         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
19804         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
19805         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
19806         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
19807         Likewise.
19808         [__i386__ || __powerpc__ || __sh__ || __sparc__]
19809         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19810         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
19811         (__ASSUME_SENDMMSG): Define instead of using previous
19812         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
19813         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19814         (__ASSUME_SENDMMSG_SYSCALL): Define.
19815         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19816         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
19817         Likewise.
19818         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19819         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19820         Likewise.
19821         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19822         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19823         Likewise.
19824         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
19825         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
19826         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
19827         [__ASSUME_SENDMMSG]: Change conditionals to
19828         [__ASSUME_SENDMMSG_SOCKETCALL].
19829         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19830         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
19831         Define.
19832         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19833         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
19834         Likewise.
19835         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
19836         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
19837         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
19838         [!__ASSUME_SENDMMSG]: Change conditional to
19839         [!__ASSUME_SENDMMSG_SOCKETCALL].
19840         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19841         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19842         Define.
19844         [BZ #16610]
19845         * sysdeps/unix/sysv/linux/kernel-features.h
19846         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
19847         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
19848         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
19849         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
19850         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19851         [__i386__ || __sparc__]
19852         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19853         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
19854         (__ASSUME_RECVMMSG): Define instead of using previous
19855         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
19856         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19857         (__ASSUME_RECVMMSG_SYSCALL): Define.
19858         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19859         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19860         Likewise.
19861         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19862         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19863         Likewise.
19864         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19865         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19866         Likewise.
19867         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
19868         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
19869         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
19870         [__ASSUME_RECVMMSG]: Change condition to
19871         [__ASSUME_RECVMMSG_SOCKETCALL].
19872         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19873         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19874         Define.
19875         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19876         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19877         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19878         Likewise.
19879         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
19880         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
19881         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
19882         [!__ASSUME_RECVMMSG]: Change condition to
19883         [!__ASSUME_RECVMMSG_SOCKETCALL].
19884         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19885         (__ASSUME_RECVMMSG_SYSCALL): Define.
19887         [BZ #16609]
19888         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
19889         __powerpc__ || __s390__ || __sh__ || __sparc__]
19890         (__ASSUME_SOCKETCALL): Define.
19891         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
19892         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
19893         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
19894         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
19895         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19896         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
19897         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
19898         (__ASSUME_ACCEPT4): Define instead of using previous
19899         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
19900         __powerpc__ || __sparc__ || __s390__)] condition.
19901         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19902         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
19903         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
19904         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
19905         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
19906         [!__ASSUME_ACCEPT4]: Change condition to
19907         [!__ASSUME_ACCEPT4_SOCKETCALL].
19908         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19909         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
19910         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
19911         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19912         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
19913         __ASSUME_ACCEPT4_SYSCALL.
19914         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
19915         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
19916         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19917         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
19918         __ASSUME_ACCEPT4_SYSCALL.
19919         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
19920         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
19921         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
19922         [__ASSUME_ACCEPT4]: Change condition to
19923         [__ASSUME_ACCEPT4_SOCKETCALL].
19924         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19925         (__ASSUME_SOCKETCALL): Define.
19926         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
19927         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19928         (__ASSUME_SOCKETCALL): Define.
19929         (__ASSUME_ACCEPT4): Remove.
19930         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
19931         Define.
19932         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19933         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
19934         Likewise.
19935         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19936         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
19938         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
19939         macro.
19940         (HWCAP_ARM_LPAE): Likewise.
19941         (HWCAP_ARM_EVTSTRM): Likewise.
19942         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
19943         Add vpfd32, lpae and evtstrm.
19944         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
19945         Increase to 22.
19947 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
19949         * math/auto-libm-test-in: Add tests of clog10.
19950         * math/auto-libm-test-out: Regenerated.
19951         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
19952         * sysdeps/i386/fpu/libm-test-ulps: Update.
19953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19955 2014-02-18  Andreas Schwab  <schwab@suse.de>
19957         [BZ #16574]
19958         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
19959         Store non-zero if the second buffer was newly allocated.
19960         (send_dg): Likewise.
19961         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
19962         to send_vc and send_dg.
19963         (res_nsend): Pass NULL for ansp2_malloced.
19964         * resolv/res_query.c (__libc_res_nquery): Add parameter
19965         answerp2_malloced and pass it down to __libc_res_nsend.
19966         (res_nquery): Pass additional NULL to __libc_res_nquery.
19967         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
19968         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
19969         second answer buffer if answerp2_malloced was set.
19970         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
19971         (__libc_res_nquerydomain): Add parameter
19972         answerp2_malloced and pass it down to __libc_res_nquery.
19973         (res_nquerydomain): Pass additional NULL to
19974         __libc_res_nquerydomain.
19975         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
19976         additional NULL to __libc_res_nsend and __libc_res_nquery.
19977         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
19978         additional NULL to __libc_res_nsearch.
19979         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
19980         parameter of __libc_res_nsearch to check for separately allocated
19981         second buffer.
19982         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
19983         __libc_res_nquery.
19984         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
19985         additional NULL to __libc_res_nquery.
19986         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
19987         __libc_res_nsearch.
19988         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
19989         * include/resolv.h: Update prototypes of __libc_res_nquery,
19990         __libc_res_nsearch, __libc_res_nsend.
19992 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
19994         * math/auto-libm-test-in: Add tests of fma.
19995         * math/auto-libm-test-out: Regenerated.
19996         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
19997         (fma_towardzero_test_data): Likewise.
19998         (fma_downward_test_data): Likewise.
19999         (fma_upward_test_data): Likewise.
20000         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
20001         mpc_mode.
20002         (rounding_modes): Add values for new field.
20003         (func_calc_method): Add value mpfr_fff_f.
20004         (func_calc_desc): Add mpfr_fff_f union field.
20005         (test_function): Add field exact_args.
20006         (FUNC): Add macro argument EXACT_ARGS.
20007         (FUNC_mpfr_f_f): Update call to FUNC.
20008         (FUNC_mpfr_f_f): Likewise.
20009         (FUNC_mpfr_ff_f): Likewise.
20010         (FUNC_mpfr_if_f): Likewise.
20011         (FUNC_mpc_c_f): Likewise.
20012         (FUNC_mpc_c_c): Likewise.
20013         (test_functions): Add fma.  Update calls to FUNC.
20014         (handle_input_arg): Add argument exact_args.
20015         (add_test): Update call to handle_input_arg.
20016         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
20017         (output_for_one_input_case): Update call to calc_generic_results.
20018         Recalculate exact zero results in each rounding mode.
20020         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
20021         non-negative before setting low bit.
20022         * math/auto-libm-test-in: Mark one asin test possibly having
20023         spurious underflow.
20024         * math/auto-libm-test-out: Regenerated.
20025         * sysdeps/i386/fpu/libm-test-ulps: Update.
20026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20028 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
20030         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
20031         * sysdeps/unix/sysv/linux/microblaze: Move directory from
20032         ports/sysdeps/unix/sysv/linux/microblaze.
20033         * README: Add missing listing for microblaze*-*-linux-gnu.
20035 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
20037         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
20038         duplicate code
20040 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
20042         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
20043         * sysdeps/unix/sysv/linux/ia64: Move directory from
20044         ports/sysdeps/unix/sysv/linux/ia64.
20045         * README: Update listing for ia64-*-linux-gnu.
20047 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
20048             Joseph Myers  <joseph@codesourcery.com>
20050         * Makeconfig (test-name): New variable.
20051         (evaluate-test): Likewise.
20052         * Makerules (do-test-clean): Remove .test-result files.
20053         (common-mostlyclean): Likewise.
20054         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
20055         * scripts/evaluate-test.sh: New file.
20057 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
20059         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
20060         separate $(objpfx)tst-fopenloc-cmp.out and
20061         $(objpfx)tst-fopenloc-mem.out targets.
20062         (tests): Update dependencies.
20063         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
20064         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
20065         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
20066         (tst-rxspencer-no-utf8-ARGS): New variable.
20067         (tst-rxspencer-no-utf8-ENV): Likewise.
20068         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
20069         instead of $(objpfx)tst-rxspencer-mem.
20070         ($(objpfx)tst-rxspencer-mem): Change target to
20071         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
20072         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
20073         * posix/tst-rxspencer-no-utf8.c: New file.
20075         * elf/Makefile ($(objpfx)order.out): Remove rule.
20076         [$(run-built-tests) = yes] (tests): Depend on
20077         $(objpfx)order-cmp.out.
20078         ($(objpfx)order-cmp.out): New rule.
20079         [$(run-built-tests) = yes] (tests): Depend on
20080         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
20081         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
20082         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
20083         $(objpfx)tst-array5-static-cmp.out.
20084         ($(objpfx)tst-array1.out): Remove rule.
20085         ($(objpfx)tst-array1-cmp.out): New rule.
20086         ($(objpfx)tst-array1-static.out): Remove rule.
20087         ($(objpfx)tst-array1-static-cmp.out): New rule.
20088         ($(objpfx)tst-array2.out): Remove rule.
20089         ($(objpfx)tst-array2-cmp.out): New rule.
20090         ($(objpfx)tst-array3.out): Remove rule.
20091         ($(objpfx)tst-array3-cmp.out): New rule.
20092         ($(objpfx)tst-array4.out): Remove rule.
20093         ($(objpfx)tst-array4-cmp.out): New rule.
20094         ($(objpfx)tst-array5.out): Remove rule.
20095         ($(objpfx)tst-array5-cmp.out): New rule.
20096         ($(objpfx)tst-array5-static.out): Remove rule.
20097         ($(objpfx)tst-array5-static-cmp.out): New rule.
20098         [$(run-built-tests) = yes] (tests): Depend on
20099         $(objpfx)order2-cmp.out.
20100         ($(objpfx)order2.out): Remove rule.
20101         ($(objpfx)order2-cmp.out): New rule.
20102         ($(objpfx)tst-initorder.out): Remove rule.
20103         [$(run-built-tests) = yes] (tests): Depend on
20104         $(objpfx)tst-initorder-cmp.out.
20105         ($(objpfx)tst-initorder-cmp.out): New rule.
20106         ($(objpfx)tst-initorder2.out): Remove rule.
20107         [$(run-built-tests) = yes] (tests): Depend on
20108         $(objpfx)tst-initorder2-cmp.out.
20109         ($(objpfx)tst-initorder2-cmp.out): New rule.
20110         [$(run-built-tests) = yes] (tests): Depend on
20111         $(objpfx)tst-unused-dep-cmp.out.
20112         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
20113         ($(objpfx)tst-unused-dep-cmp.out): New rule.
20114         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
20115         on $(objpfx)tst-setvbuf1-cmp.out.
20116         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
20117         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
20118         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
20119         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
20120         ($(objpfx)tst-svc.out): Remove rule.
20121         ($(objpfx)tst-svc-cmp.out): New rule.
20123 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
20125         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
20126         * ctype/ctype.h [__USE_MISC]: Likewise.
20127         * dirent/dirent.h [__USE_MISC]: Likewise.
20128         * grp/grp.h [__USE_MISC]: Likewise.
20129         * io/fcntl.h [__USE_MISC]: Likewise.
20130         * io/sys/stat.h [__USE_MISC]: Likewise.
20131         * libio/stdio.h [__USE_MISC]: Likewise.
20132         * posix/unistd.h [__USE_MISC]: Likewise.
20133         * pwd/pwd.h [__USE_MISC]: Likewise.
20134         * stdlib.h [__USE_MISC]: Likewise.
20135         * string/bits/string2.h [__USE_MISC]: Likewise.
20136         * string/string.h [__USE_MISC]: Likewise.
20137         * time/time.h [__USE_MISC]: Likewise.
20139 2014-02-13  Andreas Schwab  <schwab@suse.de>
20141         [BZ #16574]
20142         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
20143         second answer buffer if it was separately allocated.
20145 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
20147         * sysdeps/mips/math-tests.h: Include <features.h>.
20148         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20149         (ROUNDING_TESTS_long_double): Do not define.
20150         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20151         (EXCEPTION_TESTS_long_double): Likewise.
20152         * sysdeps/mips/mips64/libm-test-ulps: Update.
20154         * include/features.h (__USE_BSD): Remove macro definitions.
20155         (__USE_SVID): Likewise.
20156         (_BSD_SOURCE): Likewise.
20157         (_SVID_SOURCE): Likewise.
20158         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
20159         from definition of _DEFAULT_SOURCE.
20160         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
20161         [_DEFAULT_SOURCE].
20162         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
20163         * bits/mman.h [__USE_BSD]: Likewise.
20164         * bits/termios.h [__USE_BSD]: Likewise.
20165         * bits/waitstatus.h [__USE_BSD]: Likewise.
20166         * ctype/ctype.h [__USE_SVID]: Likewise.
20167         * dirent/dirent.h [__USE_BSD]: Likewise.
20168         * grp/grp.h [__USE_SVID]: Likewise.
20169         [__USE_BSD]: Likewise.
20170         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
20171         * io/fcntl.h [__USE_BSD]: Likewise.
20172         * io/ftw.h [__USE_BSD]: Likewise.
20173         * io/sys/stat.h [__USE_BSD]: Likewise.
20174         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
20175         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
20176         * libio/stdio.h [__USE_SVID]: Likewise.
20177         [__USE_BSD]: Likewise.
20178         * math/math.h [__USE_SVID]: Likewise.
20179         [__USE_BSD]: Likewise.
20180         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
20181         * misc/bits/syslog.h [__USE_BSD]: Likewise.
20182         * misc/search.h [__USE_SVID]: Likewise.
20183         * misc/sys/mman.h [__USE_BSD]: Likewise.
20184         * misc/sys/syslog.h [__USE_BSD]: Likewise.
20185         * misc/sys/uio.h [__USE_BSD]: Likewise.
20186         * posix/bits/unistd.h [__USE_BSD]: Likewise.
20187         * posix/glob.h [__USE_BSD]: Likewise.
20188         * posix/regex.h [__USE_BSD]: Likewise.
20189         * posix/sys/types.h [__USE_BSD]: Likewise.
20190         [__USE_SVID]: Likewise.
20191         * posix/sys/utsname.h [__USE_SVID]: Likewise.
20192         * posix/sys/wait.h [__USE_BSD]: Likewise.
20193         [__USE_SVID]: Likewise.
20194         * posix/unistd.h [__USE_BSD]: Likewise.
20195         [__USE_SVID]: Likewise.
20196         * pwd/pwd.h [__USE_SVID]: Likewise.
20197         * resolv/netdb.h [__USE_BSD]: Likewise.
20198         * setjmp/setjmp.h [__USE_BSD]: Likewise.
20199         * signal/signal.h [__USE_BSD]: Likewise.
20200         [__USE_SVID]: Likewise.
20201         * socket/sys/socket.h [__USE_BSD]: Likewise.
20202         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
20203         * stdlib/stdlib.h [__USE_BSD]: Likewise.
20204         [__USE_SVID]: Likewise.
20205         * string/bits/string2.h [__USE_BSD]: Likewise.
20206         [__USE_SVID]: Likewise.
20207         * string/bits/string3.h [__USE_BSD]: Likewise.
20208         * string/endian.h [__USE_BSD]: Likewise.
20209         * string/string.h [__USE_SVID]: Likewise.
20210         [__USE_BSD]: Likewise.
20211         * string/strings.h [__USE_BSD]: Likewise.
20212         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
20213         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
20214         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
20215         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
20216         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
20217         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
20218         Likewise.
20219         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
20220         Likewise.
20221         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
20222         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
20223         Likewise.
20224         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
20225         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
20226         Likewise.
20227         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
20228         Likewise.
20229         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
20230         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
20231         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
20232         Likewise.
20233         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
20234         Likewise.
20235         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
20236         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
20237         * termios/termios.h [__USE_BSD]: Likewise.
20238         * time/sys/time.h [__USE_BSD]: Likewise.
20239         * time/time.h [__USE_BSD]: Likewise.
20240         [__USE_SVID]: Likewise.
20242         * Makefile (subdir_targets): Remove subdir_lint.out.
20244         * stdio-common/Makefile (do-tst-unbputc): Remove target.
20245         (do-tst-printf): Likewise.
20246         (tests): Depend directly on $(objpfx)tst-unbputc.out and
20247         $(objpfx)tst-printf.out.
20249         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
20251         * Makerules (check-abi-%): Change target to
20252         $(objpfx)check-abi-%.out.
20253         (check-abi target): Update dependencies.
20254         (check-abi-pattern variable): Redirect output of diff to $@.
20255         (check-abi variable): Likewise.
20256         * elf/Makefile (check-abi): Update dependencies.
20258         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
20259         unused.
20260         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
20261         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
20262         subnormal range.
20263         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
20264         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
20265         value has largest subnormal exponent.
20266         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
20267         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
20268         * sysdeps/aarch64/soft-fp/sfp-machine.h
20269         (_FP_TININESS_AFTER_ROUNDING): New macro.
20270         * sysdeps/alpha/soft-fp/sfp-machine.h
20271         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20272         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20273         Likewise.
20274         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
20275         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20276         * sysdeps/mips/soft-fp/sfp-machine.h
20277         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20278         * sysdeps/powerpc/soft-fp/sfp-machine.h
20279         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20280         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20281         Likewise.
20282         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20283         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20284         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20285         (_FP_TININESS_AFTER_ROUNDING): Likewise.
20286         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20287         Likewise.
20289 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
20291         [BZ #16545]
20292         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
20293         model 1.
20295 2014-02-12  Richard Henderson  <rth@redhat.com>
20297         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
20298         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
20299         * sysdeps/unix/sysv/linux/alpha: Move directory from
20300         ports/sysdeps/unix/sysv/linux/alpha.
20301         * README: Update listing for alpha-*-linux-gnu.
20303 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
20305         * include/features.h: Update comment documenting feature test
20306         macros.
20307         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
20308         _DEFAULT_SOURCE.
20309         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
20310         (_SVID_SOURCE): Likewise.
20311         (_DEFAULT_SOURCE): Update description of default features.
20312         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
20313         with _GNU_SOURCE.
20314         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
20315         (S_ISVTX): Likewise.
20316         * manual/math.texi (Mathematical Constants): Likewise.
20317         * manual/signal.texi (Interrupted Primitives): Likewise.
20318         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
20319         * math/test-matherr.c (_SVID_SOURCE): Do not define.
20320         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
20321         Don't refer to _SVID_SOURCE in warning text.
20323         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20325         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
20326         already defined.
20327         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
20328         * sysdeps/mips/dl-lookup.c: Remove.
20329         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
20331 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20333         [BZ #16447]
20334         * math/auto-libm-test-in: Add testcase for expl.
20335         * math/auto-libm-test-out: Regenerate.
20336         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
20337         calculation of unsafe.
20338         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
20340 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20342         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
20343         * sysdeps/unix/sysv/linux/aarch64: Move directory from
20344         ports/sysdeps/unix/sysv/linux/aarch64.
20345         * README: Update listing for aarch64*-*-linux-gnu.
20347 2014-02-11  Will Newton  <will.newton@linaro.org>
20349         * manual/probes.texi (Mathematical Function Probes): Use
20350         "triggered" instead of "hit".
20352         * manual/probes.texi (Internal Probes): Add documentation
20353         of setjmp, longjmp and longjmp_target probes.
20355         * include/stap-probe.h: Add comment about probe argument
20356         format.
20358         * malloc/mtrace.c (attribute_hidden): Remove unused macro
20359         definition.  (tr_where, tr_freehook, tr_mallochook,
20360         tr_reallochook, tr_memalignhook): Use ANSI protoype.
20362 2014-02-11  David S. Miller  <davem@davemloft.net>
20364         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
20365         processing int_tests.
20367 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
20369         * sysdeps/mips: Move directory from ports/sysdeps/mips.
20370         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
20371         * sysdeps/unix/sysv/linux/mips: Move directory from
20372         ports/sysdeps/unix/sysv/linux/mips.
20373         * README: Update listing for mips-*-linux-gnu and
20374         mips64-*-linux-gnu.
20376 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
20378         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
20379         * sysdeps/unix/sysv/linux/m68k: Move directory from
20380         ports/sysdeps/unix/sysv/linux/m68k.
20381         * README: Update listing for m68k-*-linux-gnu.
20383 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
20385         * sysdeps/tile: Move directory from ports/sysdeps/tile.
20386         * sysdeps/unix/sysv/linux/generic: Move directory from
20387         ports/sysdeps/unix/sysv/linux/generic.
20388         * sysdeps/unix/sysv/linux/tile: Move directory from
20389         ports/sysdeps/unix/sysv/linux/tile.
20390         * README: Update listing for tile*-*-linux-gnu.
20392 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
20394         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
20395         __builtin_expect.
20396         * benchtests/bench-memmem.c (simple_memmem): Likewise.
20397         * catgets/open_catalog.c (__open_catalog): Likewise.
20398         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
20399         * debug/confstr_chk.c: Likewise.
20400         * debug/fread_chk.c (__fread_chk): Likewise.
20401         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
20402         * debug/getgroups_chk.c: Likewise.
20403         * debug/mbsnrtowcs_chk.c: Likewise.
20404         * debug/mbsrtowcs_chk.c: Likewise.
20405         * debug/mbstowcs_chk.c: Likewise.
20406         * debug/memcpy_chk.c: Likewise.
20407         * debug/memmove_chk.c: Likewise.
20408         * debug/mempcpy_chk.c: Likewise.
20409         * debug/memset_chk.c: Likewise.
20410         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20411         * debug/strcat_chk.c (__strcat_chk): Likewise.
20412         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
20413         * debug/strncat_chk.c (__strncat_chk): Likewise.
20414         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
20415         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
20416         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
20417         * debug/wcpncpy_chk.c: Likewise.
20418         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20419         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
20420         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
20421         * debug/wcsncpy_chk.c: Likewise.
20422         * debug/wcsnrtombs_chk.c: Likewise.
20423         * debug/wcsrtombs_chk.c: Likewise.
20424         * debug/wcstombs_chk.c: Likewise.
20425         * debug/wmemcpy_chk.c: Likewise.
20426         * debug/wmemmove_chk.c: Likewise.
20427         * debug/wmempcpy_chk.c: Likewise.
20428         * debug/wmemset_chk.c: Likewise.
20429         * dirent/scandirat.c (SCANDIRAT): Likewise.
20430         * dlfcn/dladdr1.c (dladdr1): Likewise.
20431         * dlfcn/dladdr.c (dladdr): Likewise.
20432         * dlfcn/dlclose.c (dlclose_doit): Likewise.
20433         * dlfcn/dlerror.c (__dlerror): Likewise.
20434         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
20435         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
20436         * dlfcn/dlopen.c (dlopen_doit): Likewise.
20437         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20438         * dlfcn/dlsym.c (dlsym_doit): Likewise.
20439         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
20440         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
20441         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
20442         Likewise.
20443         * elf/dl-conflict.c: Likewise.
20444         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
20445         * elf/dl-dst.h: Likewise.
20446         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
20447         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
20448         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
20449         * elf/dl-init.c (call_init, _dl_init): Likewise.
20450         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
20451         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
20452         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
20453         Likewise.
20454         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
20455         Likewise.
20456         * elf/dl-minimal.c (__libc_memalign): Likewise.
20457         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
20458         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20459         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
20460         * elf/dl-sym.c (do_sym): Likewise.
20461         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
20462         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
20463         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
20464         * elf/dl-writev.h (_dl_writev): Likewise.
20465         * elf/ldconfig.c (search_dir): Likewise.
20466         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
20467         (dl_main): Likewise.
20468         * elf/setup-vdso.h (setup_vdso): Likewise.
20469         * grp/compat-initgroups.c (compat_call): Likewise.
20470         * grp/fgetgrent.c (fgetgrent): Likewise.
20471         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
20472         * grp/putgrent.c (putgrent): Likewise.
20473         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20474         Likewise.
20475         * hurd/hurdinit.c: Likewise.
20476         * iconvdata/8bit-gap.c (struct): Likewise.
20477         * iconvdata/ansi_x3.110.c : Likewise.
20478         * iconvdata/big5.c : Likewise.
20479         * iconvdata/big5hkscs.c : Likewise.
20480         * iconvdata/cp1255.c: Likewise.
20481         * iconvdata/cp1258.c : Likewise.
20482         * iconvdata/cp932.c : Likewise.
20483         * iconvdata/euc-cn.c: Likewise.
20484         * iconvdata/euc-jisx0213.c : Likewise.
20485         * iconvdata/euc-jp.c: Likewise.
20486         * iconvdata/euc-jp-ms.c : Likewise.
20487         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
20488         * iconvdata/gb18030.c : Likewise.
20489         * iconvdata/gbbig5.c (const): Likewise.
20490         * iconvdata/gbgbk.c: Likewise.
20491         * iconvdata/gbk.c : Likewise.
20492         * iconvdata/ibm1364.c : Likewise.
20493         * iconvdata/ibm930.c : Likewise.
20494         * iconvdata/ibm932.c: Likewise.
20495         * iconvdata/ibm933.c : Likewise.
20496         * iconvdata/ibm935.c : Likewise.
20497         * iconvdata/ibm937.c : Likewise.
20498         * iconvdata/ibm939.c : Likewise.
20499         * iconvdata/ibm943.c: Likewise.
20500         * iconvdata/iso_11548-1.c: Likewise.
20501         * iconvdata/iso-2022-cn.c : Likewise.
20502         * iconvdata/iso-2022-cn-ext.c : Likewise.
20503         * iconvdata/iso-2022-jp-3.c: Likewise.
20504         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
20505         * iconvdata/iso-2022-kr.c : Likewise.
20506         * iconvdata/iso646.c (gconv_end): Likewise.
20507         * iconvdata/iso_6937-2.c : Likewise.
20508         * iconvdata/iso_6937.c : Likewise.
20509         * iconvdata/iso8859-1.c: Likewise.
20510         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
20511         * iconvdata/shift_jisx0213.c : Likewise.
20512         * iconvdata/sjis.c : Likewise.
20513         * iconvdata/t.61.c : Likewise.
20514         * iconvdata/tcvn5712-1.c : Likewise.
20515         * iconvdata/tscii.c: Likewise.
20516         * iconvdata/uhc.c : Likewise.
20517         * iconvdata/unicode.c (gconv_end): Likewise.
20518         * iconvdata/utf-16.c (gconv_end): Likewise.
20519         * iconvdata/utf-32.c (gconv_end): Likewise.
20520         * iconvdata/utf-7.c (base64): Likewise.
20521         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
20522         * iconv/gconv_close.c (__gconv_close): Likewise.
20523         * iconv/gconv_open.c (__gconv_open): Likewise.
20524         * iconv/gconv_simple.c (internal_ucs4_loop_single)
20525         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
20526         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
20527         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
20528         (ucs4le_internal_loop_single): Likewise.
20529         * iconv/iconv.c (iconv): Likewise.
20530         * iconv/iconv_close.c: Likewise.
20531         * iconv/loop.c (SINGLE): Likewise.
20532         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
20533         * include/atomic.h: Likewise.
20534         * inet/inet6_option.c (option_alloc): Likewise.
20535         * intl/bindtextdom.c (set_binding_values): Likewise.
20536         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
20537         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
20538         * intl/localealias.c (read_alias_file): Likewise.
20539         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20540         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
20541         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
20542         * libio/fmemopen.c (fmemopen): Likewise.
20543         * libio/iofgets.c (_IO_fgets): Likewise.
20544         * libio/iofgets_u.c (fgets_unlocked): Likewise.
20545         * libio/iofgetws.c (fgetws): Likewise.
20546         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
20547         * libio/iogetdelim.c (_IO_getdelim): Likewise.
20548         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
20549         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
20550         * locale/findlocale.c (_nl_find_locale): Likewise.
20551         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
20552         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
20553         Likewise.
20554         * locale/setlocale.c (setlocale): Likewise.
20555         * login/programs/pt_chown.c (main): Likewise.
20556         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
20557         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
20558         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
20559         (mmap, mmap64, mremap, munmap): Likewise.
20560         * math/e_exp2l.c: Likewise.
20561         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
20562         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
20563         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
20564         * math/s_catan.c (__catan): Likewise.
20565         * math/s_catanf.c (__catanf): Likewise.
20566         * math/s_catanh.c (__catanh): Likewise.
20567         * math/s_catanhf.c (__catanhf): Likewise.
20568         * math/s_catanhl.c (__catanhl): Likewise.
20569         * math/s_catanl.c (__catanl): Likewise.
20570         * math/s_ccosh.c (__ccosh): Likewise.
20571         * math/s_ccoshf.c (__ccoshf): Likewise.
20572         * math/s_ccoshl.c (__ccoshl): Likewise.
20573         * math/s_cexp.c (__cexp): Likewise.
20574         * math/s_cexpf.c (__cexpf): Likewise.
20575         * math/s_cexpl.c (__cexpl): Likewise.
20576         * math/s_clog10.c (__clog10): Likewise.
20577         * math/s_clog10f.c (__clog10f): Likewise.
20578         * math/s_clog10l.c (__clog10l): Likewise.
20579         * math/s_clog.c (__clog): Likewise.
20580         * math/s_clogf.c (__clogf): Likewise.
20581         * math/s_clogl.c (__clogl): Likewise.
20582         * math/s_csin.c (__csin): Likewise.
20583         * math/s_csinf.c (__csinf): Likewise.
20584         * math/s_csinh.c (__csinh): Likewise.
20585         * math/s_csinhf.c (__csinhf): Likewise.
20586         * math/s_csinhl.c (__csinhl): Likewise.
20587         * math/s_csinl.c (__csinl): Likewise.
20588         * math/s_csqrt.c (__csqrt): Likewise.
20589         * math/s_csqrtf.c (__csqrtf): Likewise.
20590         * math/s_csqrtl.c (__csqrtl): Likewise.
20591         * math/s_ctan.c (__ctan): Likewise.
20592         * math/s_ctanf.c (__ctanf): Likewise.
20593         * math/s_ctanh.c (__ctanh): Likewise.
20594         * math/s_ctanhf.c (__ctanhf): Likewise.
20595         * math/s_ctanhl.c (__ctanhl): Likewise.
20596         * math/s_ctanl.c (__ctanl): Likewise.
20597         * math/w_pow.c: Likewise.
20598         * math/w_powf.c: Likewise.
20599         * math/w_powl.c: Likewise.
20600         * math/w_scalb.c (sysv_scalb): Likewise.
20601         * math/w_scalbf.c (sysv_scalbf): Likewise.
20602         * math/w_scalbl.c (sysv_scalbl): Likewise.
20603         * misc/error.c (error_tail): Likewise.
20604         * misc/pselect.c (__pselect): Likewise.
20605         * nis/nis_callback.c (__nis_create_callback): Likewise.
20606         * nis/nis_call.c (__nisfind_server): Likewise.
20607         * nis/nis_creategroup.c (nis_creategroup): Likewise.
20608         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
20609         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
20610         * nis/nis_getservlist.c (nis_getservlist): Likewise.
20611         * nis/nis_lookup.c (nis_lookup): Likewise.
20612         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
20613         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
20614         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
20615         * nis/nis_xdr.c (xdr_endpoint): Likewise.
20616         * nis/nss_compat/compat-grp.c (getgrent_next_file)
20617         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
20618         * nis/nss_compat/compat-initgroups.c (add_group)
20619         (internal_getgrent_r): Likewise.
20620         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
20621         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
20622         * nis/nss_compat/compat-spwd.c (getspent_next_file)
20623         (internal_getspnam_r): Likewise.
20624         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
20625         (_nss_nis_getaliasbyname_r): Likewise.
20626         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
20627         (_nss_nis_getntohost_r): Likewise.
20628         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
20629         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
20630         (_nss_nis_getgrgid_r): Likewise.
20631         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
20632         (internal_nis_gethostent_r, internal_gethostbyname2_r)
20633         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
20634         (_nss_nis_gethostbyname4_r): Likewise.
20635         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
20636         (initgroups_netid): Likewise.
20637         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
20638         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
20639         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
20640         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
20641         (_nss_nis_getprotobynumber_r): Likewise.
20642         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
20643         (_nss_nis_getsecretkey): Likewise.
20644         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
20645         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
20646         (_nss_nis_getpwuid_r): Likewise.
20647         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
20648         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
20649         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
20650         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
20651         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
20652         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
20653         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
20654         Likewise.
20655         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
20656         (_nss_nisplus_getntohost_r): Likewise.
20657         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
20658         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
20659         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
20660         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
20661         Likewise.
20662         * nis/nss_nisplus/nisplus-initgroups.c
20663         (_nss_nisplus_initgroups_dyn): Likewise.
20664         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
20665         (_nss_nisplus_getnetbyaddr_r): Likewise.
20666         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
20667         (_nss_nisplus_getprotobynumber_r): Likewise.
20668         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
20669         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
20670         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
20671         Likewise.
20672         * nis/nss_nisplus/nisplus-service.c
20673         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
20674         (_nss_nisplus_getservbyport_r): Likewise.
20675         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
20676         (_nss_nisplus_getspnam_r): Likewise.
20677         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
20678         Likewise.
20679         * nscd/aicache.c (addhstaiX): Likewise.
20680         * nscd/cache.c (cache_search, prune_cache): Likewise.
20681         * nscd/connections.c (register_traced_file, send_ro_fd)
20682         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
20683         (main_loop_epoll): Likewise.
20684         * nscd/grpcache.c (addgrbyX): Likewise.
20685         * nscd/hstcache.c (addhstbyX): Likewise.
20686         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20687         * nscd/mem.c (gc, mempool_alloc): Likewise.
20688         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
20689         (addinnetgrX): Likewise.
20690         * nscd/nscd-client.h (__nscd_acquire_maplock)
20691         (__nscd_drop_map_ref): Likewise.
20692         * nscd/nscd_getai.c (__nscd_getai): Likewise.
20693         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
20694         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
20695         Likewise.
20696         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
20697         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20698         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
20699         (__nscd_get_map_ref): Likewise.
20700         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
20701         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
20702         Likewise.
20703         * nscd/pwdcache.c (addpwbyX): Likewise.
20704         * nscd/selinux.c (preserve_capabilities): Likewise.
20705         * nscd/servicescache.c (addservbyX): Likewise.
20706         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
20707         * posix/fnmatch.c (fnmatch): Likewise.
20708         * posix/getopt.c (_getopt_internal_r): Likewise.
20709         * posix/glob.c (glob, glob_in_dir): Likewise.
20710         * posix/wordexp.c (exec_comm_child): Likewise.
20711         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
20712         (getanswer_r, gaih_getanswer_slice): Likewise.
20713         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
20714         * resolv/res_init.c: Likewise.
20715         * resolv/res_mkquery.c (res_nmkquery): Likewise.
20716         * resolv/res_query.c (__libc_res_nquery): Likewise.
20717         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
20718         Likewise.
20719         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
20720         * stdio-common/perror.c (perror): Likewise.
20721         * stdio-common/printf_fp.c (___printf_fp): Likewise.
20722         * stdio-common/tmpnam.c (tmpnam): Likewise.
20723         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20724         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
20725         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20726         Likewise.
20727         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
20728         * stdlib/putenv.c (putenv): Likewise.
20729         * stdlib/setenv.c (__add_to_environ): Likewise.
20730         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20731         * stdlib/strtol_l.c (INTERNAL): Likewise.
20732         * string/memmem.c (memmem): Likewise.
20733         * string/strerror.c (strerror): Likewise.
20734         * string/strnlen.c (__strnlen): Likewise.
20735         * string/test-memmem.c (simple_memmem): Likewise.
20736         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
20737         * sunrpc/pm_getport.c (__get_socket): Likewise.
20738         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
20739         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
20740         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
20741         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
20742         Likewise.
20743         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
20744         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20745         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
20746         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
20747         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20748         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
20749         Likewise.
20750         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
20751         Likewise.
20752         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
20753         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
20754         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20755         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20756         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20757         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
20758         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20759         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
20760         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
20761         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
20762         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20763         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20764         Likewise.
20765         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
20766         Likewise.
20767         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
20768         Likewise.
20769         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
20770         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20771         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
20772         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
20773         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
20774         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
20775         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20776         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
20777         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
20778         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
20779         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
20780         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20781         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20782         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20783         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20784         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
20785         Likewise.
20786         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
20787         Likewise.
20788         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
20789         Likewise.
20790         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
20791         Likewise.
20792         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20793         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20794         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
20795         Likewise.
20796         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
20797         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
20798         * sysdeps/posix/opendir.c (__opendirat): Likewise.
20799         * sysdeps/posix/sleep.c: Likewise.
20800         * sysdeps/posix/tempname.c: Likewise.
20801         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
20802         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20803         Likewise.
20804         * sysdeps/powerpc/powerpc32/dl-machine.h
20805         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
20806         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20807         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20808         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
20809         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
20810         Likewise.
20811         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
20812         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
20813         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
20814         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
20815         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
20816         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
20817         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
20818         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
20819         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20820         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
20821         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
20822         (elf_machine_lazy_rel): Likewise.
20823         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20824         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
20825         (elf_machine_lazy_rel): Likewise.
20826         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
20827         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
20828         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
20829         * sysdeps/unix/grantpt.c (grantpt): Likewise.
20830         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
20831         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
20832         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
20833         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20834         Likewise.
20835         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20836         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20837         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
20838         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
20839         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20840         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20841         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
20842         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
20843         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
20844         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20845         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
20846         Likewise.
20847         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
20848         (__posix_fallocate64_l64): Likewise.
20849         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
20850         (posix_fallocate): Likewise.
20851         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
20852         Likewise.
20853         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20854         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
20855         (getifaddrs_internal): Likewise.
20856         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
20857         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
20858         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
20859         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
20860         * sysdeps/unix/sysv/linux/posix_fallocate64.c
20861         (__posix_fallocate64_l64): Likewise.
20862         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
20863         Likewise.
20864         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
20865         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
20866         (__get_clockfreq): Likewise.
20867         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
20868         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20869         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
20870         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20871         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20872         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
20873         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
20874         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
20875         Likewise.
20876         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
20877         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
20878         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
20879         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
20880         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20881         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
20882         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
20883         Likewise.
20884         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20885         (posix_fallocate): Likewise.
20886         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20887         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
20888         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
20889         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
20890         (elf_machine_rela, elf_machine_rela_relative)
20891         (elf_machine_lazy_rel): Likewise.
20892         * time/asctime.c (asctime_internal): Likewise.
20893         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
20894         * time/tzset.c (__tzset_parse_tz): Likewise.
20895         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20896         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
20897         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
20898         * wcsmbs/wcsmbsload.h: Likewise.
20900         [BZ #15894]
20901         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
20903         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
20904         (arena_get2): Remove THREAD_STATS conditionals.
20905         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
20906         (__malloc_stats, int): Likewise.
20908 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
20910         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
20911         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
20913         * manual/setjmp.texi: Fix typos/grammar errors.
20915         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
20916         Only return early when n is <= 0.  Delete unused return statement.
20918         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
20919         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20920         * debug/tst-longjmp_chk3.c: New file.
20922         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
20923         (test_main): Replace code with set_fortify_handler call.
20924         * debug/test-strcpy_chk.c: Likewise.
20925         * debug/tst-chk1.c: Likewise.
20926         * debug/tst-longjmp_chk.c: Likewise.
20927         * test-skeleton.c: Include fcntl.h & paths.h
20928         (set_fortify_handler): Define.
20930         * debug/tst-longjmp_chk.c: Add header comment and include
20931         ../test-skeleton.c.
20932         (do_test): Mark static.
20933         (TEST_FUNCTION): Define.
20935         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
20936         (IP_PMTUDISC_INTERFACE): Likewise.
20937         (IP_MULTICAST_IF): Likewise.
20938         (IP_MULTICAST_TTL): Likewise.
20939         (IP_MULTICAST_LOOP): Likewise.
20940         (IP_ADD_MEMBERSHIP): Likewise.
20941         (IP_DROP_MEMBERSHIP): Likewise.
20942         (IP_UNBLOCK_SOURCE): Likewise.
20943         (IP_BLOCK_SOURCE): Likewise.
20944         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
20945         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
20946         (IP_MSFILTER): Likewise.
20947         (MCAST_JOIN_GROUP): Likewise.
20948         (MCAST_BLOCK_SOURCE): Likewise.
20949         (MCAST_UNBLOCK_SOURCE): Likewise.
20950         (MCAST_LEAVE_GROUP): Likewise.
20951         (MCAST_JOIN_SOURCE_GROUP): Likewise.
20952         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20953         (MCAST_MSFILTER): Likewise.
20954         (IP_MULTICAST_ALL): Likewise.
20955         (IP_UNICAST_IF): Likewise.
20957         * timezone/Makefile: Delete $(have-ksh) check.
20958         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
20959         * timezone/tzselect.ksh: Add +x mode bits.
20961         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
20962         (ANON_INODE_FS_MAGIC): Likewise.
20963         (BDEVFS_MAGIC): Likewise.
20964         (BINFMTFS_MAGIC): Likewise.
20965         (BTRFS_TEST_MAGIC): Likewise.
20966         (CRAMFS_MAGIC_WEND): Likewise.
20967         (DEBUGFS_MAGIC): Likewise.
20968         (ECRYPTFS_SUPER_MAGIC): Likewise.
20969         (EXT3_SUPER_MAGIC): Likewise.
20970         (EXT4_SUPER_MAGIC): Likewise.
20971         (FUTEXFS_SUPER_MAGIC): Likewise.
20972         (HOSTFS_SUPER_MAGIC): Likewise.
20973         (HUGETLBFS_MAGIC): Likewise.
20974         (MINIX3_SUPER_MAGIC): Likewise.
20975         (MTD_INODE_FS_MAGIC): Likewise.
20976         (NILFS_SUPER_MAGIC): Likewise.
20977         (OPENPROM_SUPER_MAGIC): Likewise.
20978         (PIPEFS_MAGIC): Likewise.
20979         (PSTOREFS_MAGIC): Likewise.
20980         (QNX6_SUPER_MAGIC): Likewise.
20981         (RAMFS_MAGIC): Likewise.
20982         (REISERFS_SUPER_MAGIC_STRING): Likewise.
20983         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
20984         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
20985         (SECURITYFS_MAGIC): Likewise.
20986         (SELINUX_MAGIC): Likewise.
20987         (SMACK_MAGIC): Likewise.
20988         (SOCKFS_MAGIC): Likewise.
20989         (SQUASHFS_MAGIC): Likewise.
20990         (STACK_END_MAGIC): Likewise.
20991         (TMPFS_MAGIC): Likewise.
20992         (USBDEVICE_SUPER_MAGIC): Likewise.
20993         (V9FS_MAGIC): Likewise.
20994         (XENFS_SUPER_MAGIC): Likewise.
20995         (CRAMFS_MAGIC): Fix typo in comment.
20996         (EXT2_SUPER_MAGIC): Update comment.
20997         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
20999 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
21001         * sysdeps/arm: Move directory from ports/sysdeps/arm.
21002         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
21003         * sysdeps/unix/sysv/linux/arm: Move directory from
21004         ports/sysdeps/unix/sysv/linux/arm.
21005         * README: Update listing for arm-*-linux-gnueabi.
21007         * README: Remove mention of am33.
21009 2014-02-07  Roland McGrath  <roland@hack.frob.com>
21011         * bits/sigset.h (__sigemptyset): Use a statement expression rather
21012         than the comma operator, to avoid "rhs of comma has no effect"
21013         compiler warnings.
21014         (__sigfillset, __sigandset, __sigorset): Likewise.
21015         * include/signal.h (__sigemptyset): Likewise.
21016         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
21018 2014-02-07  Allan McRae  <allan@archlinux.org>
21020         * version.h (RELEASE): Set to "development".
21021         (VERSION): Set to "2.19.90"
21022         * NEWS: Add 2.20 section.
21024 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
21026         [BZ #16529]
21027         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
21029 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21031         * manual/contrib.texi: Update entry for Carlos O'Donell,
21032         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
21034 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
21036         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
21038         * sysdeps/unix/sysv/linux/kernel-features.h
21039         [__LINUX_KERNEL_VERSION >= 0x020621]
21040         (__ASSUME_PROC_PID_TASK_COMM): Define.
21042 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21044         [BZ #16398]
21045         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
21046         conversion when destination buffer does not have enough space.
21047         * libio/tst-ftell-partial-wide.c: New test case.
21048         * libio/Makefile (tests): Add tst-ftell-partial-wide.
21050         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
21051         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
21052         Leonard and Allan McRae.
21054 2014-02-04  David S. Miller  <davem@davemloft.net>
21056         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
21057         32-bit.
21059 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21062         New file
21063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21064         New file
21065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21066         New file.
21067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21068         New file.
21069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21070         New file.
21071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21072         New file.
21073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21074         New file.
21075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21076         New file.
21077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21078         New file.
21079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21080         New file.
21081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21082         New file.
21083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21084         New file.
21085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21086         New file.
21088 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21090         * nptl/shlib-versions: Change powerpc*le start to 2.17.
21091         * shlib-versions: Likewise.
21093 2014-02-04  Roland McGrath  <roland@hack.frob.com>
21094             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21096         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
21097         (abilist-pattern): New variable, set to %-le.abilist.
21099         * Makerules (abilist-pattern): New variable.
21100         (vpath): Use $(abilist-pattern) in place of %.abilist.
21101         (check-abi-% pattern rule): Likewise.
21102         (check-abi, update-abi): Likewise.
21104 2014-02-04  Eric Wong  <normalperson@yhbt.net>
21106         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21108 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
21110         * manual/startup.texi: Add next, previous, and top entries for
21111         the `Program Arguments' and `Environment Variables' nodes.
21113 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
21115         * manual/macros.texi: Add comments before MTASC-safety macros.
21117         * manual/users.texi: Document MTASC-safety properties.
21119         * manual/threads.texi (pthread_key_create, pthread_key_delete)
21120         (pthread_getspecific, pthread_setspecific): Format with
21121         @deftypefun, and add @safety note.
21122         * manual/signal.texi: Move comments that analyze the above
21123         functions to their home place.
21125 2014-02-03  Allan McRae  <allan@archlinux.org>
21127         * po/sl.po: Update Slovenian translation from translation project.
21129 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
21131         * manual/time.texi (timegm): Add missing blank after @c.
21132         Reported by Joseph Myers <joseph@codesourcery.com>.
21134 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
21136         * manual/check-safety.sh: New.
21137         * manual/Makefile ($(objpfx)stamp-summary): Run it.
21139         * manual/terminal.texi: Document MTASC-safety properties.
21141         * manual/filesys.texi: Document MTASC-safety properties.
21143         * manual/errno.texi: Document MTASC-safety properties.
21145         * manual/intro.texi: Document safety identifiers and
21146         conditionals.
21148         * manual/string.texi (wcstok): Fix prototype.
21149         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
21151         * manual/time.texi: Document MTASC-safety properties.
21153         * manual/string.texi: Document MTASC-safety properties.
21155         * manual/threads.texi: Document MTASC-safety properties.
21157         * manual/stdio.texi: Document MTASC-safety properties.
21159         * manual/syslog.texi: Document MTASC-safety properties.
21161         * manual/sysinfo.texi: Document MTASC-safety properties.
21163         * manual/startup.texi: Document MTASC-safety properties.
21165         * manual/socket.texi: Document MTASC-safety properties.
21167         * manual/signal.texi: Document MTASC-safety properties.
21169 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
21171         * manual/setjmp.texi: Document MTASC-safety properties.
21173         * manual/search.texi: Document MTASC-safety properties.
21175         * manual/resource.texi: Document MTASC-safety properties.
21177         * manual/process.texi: Document MTASC-safety properties.
21179         * manual/platform.texi: Document MTASC-safety properties.
21181         * manual/pipe.texi: Document MTASC-safety properties.
21183         * manual/pattern.texi: Document MTASC-safety properties.
21185         * manual/message.texi: Document MTASC-safety properties.
21187         [BZ #12751]
21188         * manual/memory.texi: Document MTASC-safety properties.
21190         * manual/math.texi: Document MTASC-safety properties.
21192         * manual/locale.texi: Document MTASC-safety properties.
21194         * manual/llio.texi: Document MTASC-safety properties.
21196         * manual/libdl.texi: New.
21198         * manual/lang.texi: Document MTASC-safety properties.
21200         * manual/job.texi: Document MTASC-safety properties.
21202         * manual/getopt.texi: Document MTASC-safety properties.
21204         * manual/ctype.texi: Document MTASC-safety properties.
21206 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
21208         [BZ #16046]
21209         * csu/libc-tls.c (static_map): Remove variable.
21210         (__libc_setup_tls): Use main executable's link map for TLS data.
21211         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
21212         casing for LM_ID_BASE and GL(dl_nns).
21213         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
21214         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
21215         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
21216         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
21217         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
21218         member.
21219         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
21220         l_phnum members.
21222 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
21224         * manual/debug.texi: Document MTASC-safety properties.
21226 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
21228         [BZ #16510]
21229         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
21230         of __x86_64__ when disabling x87 inline functions.
21232 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
21234         * manual/charset.texi: Document MTASC-safety properties.
21236         * manual/crypt.texi: Document MTASC-safety properties.
21238         * manual/conf.texi: Document MTASC-safety properties.
21240         * manual/arith.texi: Document MTASC-safety properties.
21242         * manual/argp.texi: Document MTASC-safety properties.
21244         * manual/macros.texi: Introduce macros to document multi
21245         thread, asynchronous signal and asynchronous cancellation
21246         safety properties.
21247         * manual/intro.texi: Introduce the properties themselves.
21249 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21251         * sysdeps/sh/sh4/Makefile: New file.
21253 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
21255         * math/gen-libm-test.pl ($srcdir): New variable.
21256         ($auto_input): Use it.
21258 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21260         [BZ #16506]
21261         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
21262         access beyond array bounds when parsing netgroups file.
21264         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
21265         the old buffer before realloc.
21267 2014-01-27  Allan McRae  <allan@archlinux.org>
21269         * po/fr.po: Update French translation from translation project.
21271 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21273         * sysdeps/sh/libm-test-ulps: Regenerate.
21275 2014-01-24  David S. Miller  <davem@davemloft.net>
21277         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
21279 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21281         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
21282         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
21284 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21286         [BZ #16474]
21287         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
21288         string pointers after reallocation.
21290 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21292         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
21293         __SH4A__ instead of __SH_FPU_ANY__.
21295 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21297         * sysdeps/sh/fpu_control.h: New file.
21298         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
21299         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
21300         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
21301         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
21302         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
21303         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
21304         * sysdeps/sh/sys/ucontext.h: Remove.
21305         * sysdeps/sh/sys: Remove directory.
21307 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21309         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
21310         s390/sys/ucontext.h.
21311         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
21312         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
21314 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
21316         [BZ #15605]
21317         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
21319 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21321         [BZ#16431]
21322         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21323         Adjust the vDSO correctly for internal calls.
21324         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
21326 2014-01-20  Allan McRae  <allan@archlinux.org>
21328         * po/ca.po: Update Catalan translation from translation project.
21330 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
21332         * sysdeps/s390/sotruss-lib.c: New file.
21334 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21336         [BZ#16430]
21337         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
21338         (__GI___gettimeofday): Alias for a different internal symbol to avoid
21339         local calls issues by not having a PLT stub required for IFUNC calls.
21340         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
21342 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
21344         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
21345         * math/test-fpucw-static.c: Likewise.
21347 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21349         [BZ #16453]
21350         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
21352 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21354         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
21355         implementation for powerpc.
21357 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
21359         [BZ #14782]
21360         * sysdeps/posix/system.c (__libc_system): Do not enable
21361         asynchronous cancellation.
21363 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21365         [BZ #16427]
21366         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
21367         handling only for numbers special also in the IEEE case.
21369 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21371         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21373 2014-01-11  Allan McRae  <allan@archlinux.org>
21375         * po/bg.po: Update Bulgarian translation from translation project.
21377         * po/de.po: Update German translation from translation project.
21379 2014-01-10  Roland McGrath  <roland@hack.frob.com>
21381         * sysdeps/generic/gcc-compat.h: New file.
21383 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21385         * benchtests/asin-inputs: Correct slow inputs.
21386         * benchtests/acos-inputs: Likewise.
21388 2014-01-10  Allan McRae  <allan@archlinux.org>
21390         * po:sv.po: Update Swedish translation from translation project.
21392         * po/vi.po: Update Vietnamese translation from translation project.
21394         * po/eo.po: Update Esperanto translation from translation project.
21396         * po/cs.po: Update Czech translation from translation project.
21398         * po/nl.po: Update Dutch translation from translation project.
21400         * po/pl.po: Update Polish translation from translation project.
21402         * po/ru.po: Update Russian translation from translation project.
21404         * po/uk.po: Update Ukrainian translation from translation project.
21406 2014-01-08  Brooks Moses  <bmoses@google.com>
21408         * elf/dl-load.c: Fix comment typo.
21410 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
21412         * po/header.pot: Rename to...
21413         * po/pot.header: ... this.
21414         * po/Makefile: Use pot.header.
21416 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
21417             Maxim Kuvyrkov  <maxim@kugelworks.com>
21419         [BZ #16394]
21420         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
21421         SRC and DEST against LEN.
21423 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21425         [BZ #16414]
21426         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
21427         implementation.
21428         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
21430 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21434 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
21436         [BZ #16408]
21437         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
21438         for large positive arguments.
21440 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
21442         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21444         * math/auto-libm-test-in: Mark various tests with
21445         xfail-rounding:ldbl-128ibm.
21446         * math/auto-libm-test-out: Regenerated.
21448         [BZ #16407]
21449         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
21450         Increase overflow threshold.
21452 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
21454         [BZ #14286]
21455         * stdio-common/vfprintf.c: Check for integer overflow.
21457 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21459         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
21460         the first argument and return value of __tls_get_addr_internal.
21462 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21464         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
21465         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
21467 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21469         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
21470         * sysdeps/s390/rtld-global-offsets.sym: New file.
21471         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
21472         GLIBC_2.19 symbol.
21473         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
21474         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
21475         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
21476         ... this.
21477         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
21478         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
21479         ... this.
21480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21481         Regenerate.
21482         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21483         Regenerate.
21484         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
21485         halfs of GPRs for high_gprs contexts.
21486         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
21487         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
21488         field.
21489         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
21490         uc_flags field.
21491         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
21492         64 bit versions:
21493         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
21494         for high GPRs (uc_high_gprs) and for future extensions
21495         (__reserved).
21496         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
21497         for future extensions (__reserved).
21498         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
21499         64 bit versions:
21500         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
21501         SC_HIGHGPRS offset definition.
21502         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
21503         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
21505         * Versions.def: Add GLIBC_2.19 for libpthread.
21506         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
21507         siglongjmp for libpthread with GLIBC_2.19 symver.
21508         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
21509         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
21510         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
21511         * sysdeps/s390/__longjmp.c: New file.
21512         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
21513         * sysdeps/s390/longjmp.c: New file.
21514         * sysdeps/s390/setjmp.S: New file.
21515         * sysdeps/s390/sigjmp.S: New file.
21516         * sysdeps/s390/v1-longjmp.c: New file.
21517         * sysdeps/s390/v1-setjmp.h: New file.
21518         * sysdeps/s390/v1-sigjmp.c: New file.
21519         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
21520         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
21521         GLIBC_2.19 version.
21522         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
21523         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
21524         versioned symbols for ____longjmp_chk.
21525         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21526         Likewise.
21527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21528         Regenerate.
21529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21530         Regenerate.
21531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21532         Regenerate.
21533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21534         Regenerate.
21535         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
21536         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
21537         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
21538         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
21539         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
21540         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
21541         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
21542         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
21543         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
21544         * sysdeps/s390/rtld-__longjmp.c: New file.
21545         * sysdeps/s390/rtld-setjmp.S: New file.
21547 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
21549         [BZ #16400]
21550         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21551         Return -__logl (x) for small positive arguments without evaluating
21552         a polynomial.
21554 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
21556         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
21557         Rename to ...
21558         (__ptrace_peeksiginfo_args): ... this.
21559         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21560         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21561         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21563 2014-01-06  Allan McRae  <allan@archlinux.org>
21565         * inet/netinet/in.h: Fix typo in comment.
21567 2014-01-05  Andreas Jaeger  <aj@suse.de>
21569         * sysdeps/i386/fpu/libm-test-ulps: Update.
21571 2014-01-05  Allan McRae  <allan@archlinux.org>
21573         * po/libc.pot: Regenerated.
21575         * malloc/memusagestat.c: Fix gettext call formatting.
21577 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
21579         * nscd/nscd.c: Improve usage() output.
21581 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
21583         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
21584         * sysdeps/unix/sysv/linux/configure: Regenerated.
21585         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
21586         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
21588 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
21590         [BZ #16390]
21591         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21592         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
21594 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21596         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
21597         extra tokens at end of #undef directive.
21598         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
21599         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
21600         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
21602 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
21604         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21606         * math/auto-libm-test-in: Mark various tests with
21607         xfail-rounding:ldbl-128ibm.
21608         * math/auto-libm-test-out: Regenerated.
21610 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
21612         [BZ #16386]
21613         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
21614         numbers with subnormal high part when calculating exponent.
21616         [BZ #16385]
21617         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
21618         fabs.
21620         [BZ #16384]
21621         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
21622         M_LN2l.
21623         (__ieee754_acoshl): Use __log1pl not __log1p.
21625 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
21627         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
21628         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
21629         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
21630         (grow_heap, heap_trim, _int_new_arena, get_free_list)
21631         (reused_arena, arena_get2): Convert to GNU style.
21632         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
21633         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
21634         (memalign_check, __malloc_set_state): Likewise.
21635         * malloc/mallocbug.c (main): Likewise.
21636         * malloc/malloc.c (__malloc_assert, malloc_init_state)
21637         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
21638         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
21639         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
21640         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
21641         (__posix_memalign, malloc_info): Likewise.
21642         * malloc/malloc.h: Likewise.
21643         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
21644         (mallochook, memalignhook, reallochook, mabort): Likewise.
21645         * malloc/mcheck.h: Likewise.
21646         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
21647         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
21648         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
21649         * malloc/morecore.c (__default_morecore): Likewise.
21650         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
21651         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
21652         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
21653         (print_and_abort): Likewise.
21654         * malloc/obstack.h: Likewise.
21655         * malloc/set-freeres.c (__libc_freeres): Likewise.
21656         * malloc/tst-mallocstate.c (main): Likewise.
21657         * malloc/tst-mtrace.c (main): Likewise.
21658         * malloc/tst-realloc.c (do_test): Likewise.
21660 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21662         [BZ #16366]
21663         * nscd/netgroupcache.c (do_notfound): New function.
21664         (addgetnetgrentX): Use it.
21666         [BZ # 16365]
21667         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
21668         NSS_STATUS_NOTFOUND.
21670 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
21672         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21675 2014-01-01  Allan McRae  <allan@archlinux.org>
21677         * scripts/update-copyrights: Update configure input file suffix.
21679         * NEWS: Update copyright year.
21680         * catgets/gencat.c: Likewise.
21681         * csu/version.c: Likewise.
21682         * debug/catchsegv.sh: Likewise.
21683         * debug/pcprofiledump.c: Likewise.
21684         * debug/xtrace.sh: Likewise.
21685         * elf/ldconfig.c: Likewise.
21686         * elf/ldd.bash.in: Likewise.
21687         * elf/pldd.c: Likewise.
21688         * elf/sotruss.ksh: Likewise.
21689         * elf/sprof.c: Likewise.
21690         * iconv/iconv_prog.c: Likewise.
21691         * iconv/iconvconfig.c: Likewise.
21692         * locale/programs/locale.c: Likewise.
21693         * locale/programs/localedef.c: Likewise.
21694         * login/programs/pt_chown.c: Likewise.
21695         * malloc/memusage.sh: Likewise.
21696         * malloc/memusagestat.c: Likewise.
21697         * malloc/mtrace.pl: Likewise.
21698         * manual/libc.texinfo: Likewise.
21699         * nscd/nscd.c: Likewise.
21700         * nss/getent.c: Likewise.
21701         * nss/makedb.c: Likewise.
21702         * posix/getconf.c: Likewise.
21703         * scripts/test-installation.pl: Likewise.
21705         * All files with FSF copyright notices: Update copyright dates
21706         using scripts/update-copyrights.
21707         * intl/plural.c: Regenerated.
21708         * locale/programs/charmap-kw.h: Likewise.
21709         * locale/programs/locfile-kw.h: Likewise.
21711 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
21713         * sysdeps/unix/sysv/linux/configure: Regenerated.
21714         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
21715         the linux/fanotify.h header.
21716         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
21717         HAVE_LINUX_FANOTIFY_H is defined.
21719 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21721         * benchtests/cos-inputs: New inputs.
21722         * benchtests/sin-inputs: Likewise.
21724         * benchtests/atan-inputs: New inputs. Fix name of multiple
21725         precision fallback inputs.
21727         * benchtests/atanh-inputs: New inputs.
21728         * benchtests/tanh-inputs: Likewise.
21730         * benchtests/acosh-inputs: New inputs.
21731         * benchtests/asinh-inputs: Likewise.
21733         * benchtests/cosh-inputs: New inputs.
21734         * benchtests/sinh-inputs: Likewise.
21736         * benchtests/acos-inputs: Add more inputs.
21737         * benchtests/asin-inputs: Likewise.
21739 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
21741         [BZ #16375]
21742         * manual/arith.texi: Fix spelling.
21743         * manual/charset.texi: Likewise.
21744         * manual/errno.texi: Likewise.
21745         * manual/filesys.texi: Likewise.
21746         * manual/lang.texi: Likewise.
21747         * manual/llio.texi: Likewise.
21748         * manual/locale.texi: Likewise.
21749         * manual/message.texi: Likewise.
21750         * manual/resource.texi: Likewise.
21751         * manual/search.texi: Likewise.
21752         * manual/setjmp.texi: Likewise.
21753         * manual/stdio.texi: Likewise.
21754         * manual/string.texi: Likewise.
21755         * manual/sysinfo.texi: Likewise.
21756         * manual/time.texi: Likewise.
21758 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
21760         * po/sl.po: New file.
21762 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
21764         * .gitignore: Add core/.gdbinit/.gdb_history.
21766 2013-12-27  Allan McRae  <allan@archlinux.org>
21768         [BZ #16369]
21769         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
21770         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
21772 2013-12-24  Brooks Moses  <bmoses@google.com>
21774         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
21775         all compilers that claim C++98 compliance, not just GCC.
21776         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
21777         Likewise.
21779 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
21781         * NEWS: Restore accidentally deleted bug-fix entries.
21783 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
21784             Ondřej Bílka  <neleai@seznam.cz>
21786         [BZ #15073]
21787         * malloc/malloc.c (_int_free): Perform sanity check only if we
21788         have_lock.
21790 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
21792         [BZ #12986]
21793         * manual/stdio.texi (String Input Conversions): Clarify that character
21794         classes are not supported.
21796 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21800 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
21802         [BZ #16337]
21803         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21804         Calculate results for small negative arguments directly rather
21805         than using reflection formula with special underflow handling.
21807         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
21808         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
21809         sysdeps/unix/bsd/bsd4.4/syscalls.list.
21810         (fchflags): Likewise.
21811         (revoke): Likewise.
21812         (setlogin): Likewise.
21813         (sigaltstack): Likewise.
21814         (wait4): Likewise.
21815         (sigblock): Remove.
21816         (sigsetmask): Likewise.
21817         (wait3): Likewise.
21818         (waitpid): Likewise.
21819         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
21820         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
21821         file.
21822         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
21823         * sysdeps/unix/bsd/Makefile: ... here.
21824         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
21825         * sysdeps/unix/bsd/Versions: ... here.
21826         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
21827         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
21828         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
21829         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
21830         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
21831         * sysdeps/unix/bsd/sigblock.c: ... here.
21832         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
21833         * sysdeps/unix/bsd/sigsetmask.c: ... here.
21834         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
21835         * sysdeps/unix/bsd/sigvec.c: ... here.
21836         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
21837         * sysdeps/unix/bsd/tcdrain.c: ... here.
21838         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
21839         * sysdeps/unix/bsd/tcgetattr.c: ... here.
21840         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
21841         * sysdeps/unix/bsd/tcsetattr.c: ... here.
21842         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
21843         * sysdeps/unix/bsd/wait.c: ... here.
21844         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
21845         * sysdeps/unix/bsd/wait3.c: ... here.
21846         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
21847         * sysdeps/unix/bsd/waitpid.c: ... here.
21849 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
21851         [BZ #16356]
21852         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
21853         round-to-nearest for [!USE_AS_EXPM1L].
21854         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
21855         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
21856         more tests of exp and exp10.  Expect some exp10 tests to miss
21857         exceptions or fail in directed rounding modes.
21858         * math/auto-libm-test-out: Regenerated.
21859         * math/libm-test.inc (exp10_tonearest_test_data): New array.
21860         (exp10_test_tonearest): New function.
21861         (exp10_towardzero_test_data): New array.
21862         (exp10_test_towardzero): New function.
21863         (exp10_downward_test_data): New array.
21864         (exp10_test_downward): New function.
21865         (exp10_upward_test_data): New array.
21866         (exp10_test_upward): New function.
21867         (main): Call the new functions.
21868         * sysdeps/i386/fpu/libm-test-ulps: Update.
21869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21871 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
21873         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21874         asinh, atan, atan2, atanh, cbrt, cos and cosh.
21875         * math/auto-libm-test-out: Regenerated.
21876         * math/libm-test.inc (acosh_test_data): Add more tests.
21877         (atanh_test_data): Likewise.
21878         (ceil_test_data): Likewise.
21879         (copysign_test_data): Likewise.
21880         * sysdeps/i386/fpu/libm-test-ulps: Update.
21881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21883         * timezone/checktab.awk: Update from tzcode 2013i.
21884         * timezone/private.h: Likewise.
21885         * timezone/scheck.c: Likewise.
21886         * timezone/tzfile.h: Likewise.
21887         * timezone/tzselect.ksh: Likewise.
21888         * timezone/zdump.c: Likewise.
21889         * timezone/zic.c: Likewise.
21891         * math/auto-libm-test-in: Add tests of cpow.
21892         * math/auto-libm-test-out: Regenerated.
21893         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
21894         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21895         mpc_cc_c.
21896         (func_calc_desc): Add mpc_cc_c union field.
21897         (test_functions): Add cpow.
21898         (special_fill_2pi): New function.
21899         (special_real_inputs): Add 2pi.
21900         (calc_generic_results): Handle mpc_cc_c.
21901         * sysdeps/i386/fpu/libm-test-ulps: Update.
21902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21904         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
21905         csqrt, ctan and ctanh.
21906         * math/auto-libm-test-out: Regenerated.
21907         * math/libm-test.inc (TEST_COND_x86_64): New macro.
21908         (TEST_COND_x86): Likewise.
21909         (ccos_test_data): Use AUTO_TESTS_c_c.
21910         (ccosh_test_data): Likewise.
21911         (cexp_test_data): Likewise.
21912         (clog_test_data): Likewise.
21913         (csqrt_test_data): Likewise.
21914         (ctan_test_data): Likewise.
21915         (ctan_tonearest_test_data): Likewise.
21916         (ctan_towardzero_test_data): Likewise.
21917         (ctan_downward_test_data): Likewise.
21918         (ctan_upward_test_data): Likewise.
21919         (ctanh_test_data): Likewise.
21920         (ctanh_tonearest_test_data): Likewise.
21921         (ctanh_towardzero_test_data): Likewise.
21922         (ctanh_downward_test_data): Likewise.
21923         (ctanh_upward_test_data): Likewise.
21924         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21925         mpc_c_c.
21926         (func_calc_desc): Add mpc_c_c union field.
21927         (FUNC_mpc_c_c): New macro.
21928         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
21929         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
21930         ctanh.
21931         (special_fill_min_subnorm_p120): New function.
21932         (special_real_inputs): Add min_subnorm_p120.
21933         (calc_generic_results): Handle mpc_c_c.
21934         * sysdeps/i386/fpu/libm-test-ulps: Update.
21935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21937 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21939         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
21940         (do_sin_slow): New functions.
21941         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
21942         (cslow2, csloww1, csloww2): Use the new functions.
21944         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
21945         Use M to change sign of result instead of X.  Assume X is
21946         positive.
21947         (csloww1): Likewise.
21948         (__sin): Adjust.
21949         (__cos): Adjust.
21951         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
21952         arguments A and DA.
21953         (__sin): Adjust.
21954         (__cos): Likewise.
21956         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
21957         (__cos): Likewise.
21958         (sloww1): Don't adjust sign of DX.
21959         (csloww1): Likewise.
21960         (sloww2): Use X directly and don't adjust sign of DX.
21961         (csloww2): Likewise.
21963 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
21965         * math/auto-libm-test-in: Add tests of cabs and carg.
21966         * math/auto-libm-test-out: Regenerated.
21967         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
21968         (carg_test_data): Likewise.
21969         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21970         mpc_c_f.
21971         (func_calc_desc): Add mpc_c_f union field.
21972         (test_functions): Add cabs and carg.
21973         (calc_generic_results): Handle mpc_c_f.
21975         * sysdeps/powerpc/powerpc32/libgcc-compat.S
21976         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
21977         as a macro and a compat symbol.
21978         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
21979         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
21980         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
21981         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
21982         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
21983         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
21984         not use .hidden.
21985         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
21986         Likewise.
21987         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
21988         Likewise.
21989         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
21990         Likewise.
21991         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
21992         Likewise.
21993         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
21994         Likewise.
21995         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
21996         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
21997         from GLIBC_2.3.2.
21999 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22003 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
22005         * manual/texinfo.tex: Update to version 2013-11-26.10 with
22006         trailing whitespace removed.
22007         * scripts/config.guess: Update to version 2013-11-29.
22008         * scripts/config.sub: Update to version 2013-10-01.
22010         * math/auto-libm-test-in: Add tests of sincos.
22011         * math/auto-libm-test-out: Regenerated.
22012         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
22013         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22014         mpfr_f_11.
22015         (func_calc_desc): Add mpfr_f_11 union field.
22016         (test_functions): Add sincos.
22017         (calc_generic_results): Handle mpfr_f_11.
22018         * sysdeps/i386/fpu/libm-test-ulps: Update.
22019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22021 2013-12-19  Andreas Schwab  <schwab@suse.de>
22023         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
22024         CALL_MCOUNT.
22025         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22026         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
22027         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
22029 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
22031         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
22032         * sysdeps/i386/fpu/libm-test-ulps: Update.
22033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22035         [BZ #16293]
22036         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
22037         round-to-nearest mode when using frndint.
22038         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
22039         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22040         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22041         Likewise.
22042         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
22043         sinh test to fail.
22044         * math/auto-libm-test-out: Regenerated.
22045         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
22046         (TEST_COND_x86): Likewise.
22047         (expm1_tonearest_test_data): New array.
22048         (expm1_test_tonearest): New function.
22049         (expm1_towardzero_test_data): New array.
22050         (expm1_test_towardzero): New function.
22051         (expm1_downward_test_data): New array.
22052         (expm1_test_downward): New function.
22053         (expm1_upward_test_data): New array.
22054         (expm1_test_upward): New function.
22055         (main): Run the new test functions.
22056         * sysdeps/i386/fpu/libm-test-ulps: Update.
22057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22059         * include/features.h: Update comment documenting feature test
22060         macros.  Mention _DEFAULT_SOURCE in comment.
22061         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
22062         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
22063         _BSD_SOURCE and _SVID_SOURCE.
22064         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
22065         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
22066         !_SVID_SOURCE]: Likewise.
22067         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22068         (__USE_POSIX_IMPLICITLY): Define.
22069         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22070         (_POSIX_SOURCE): Undefine and redefine.
22071         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22072         (_POSIX_C_SOURCE): Likewise.
22073         * manual/creature.texi (_DEFAULT_SOURCE): Document.
22074         (Feature Test Macros): Update documentation of default features.
22076 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22078         * benchtests/Makefile: Add bench-strtok.
22079         * benchtests/bench-strtok.c: New file: strtok benchtest.
22081 2013-12-19  Allan McRae  <allan@archlinux.org>
22083         * manual/install.texi: Suppress menu for plain text output.
22084         * INSTALL: Regenerated.
22086 2013-12-18  Brooks Moses  <bmoses@google.com>
22088         [BZ #15846]
22089         * misc/getauxval.c: Include errno.h.
22090         (__getauxval): Set errno to ENOENT if the requested type is not
22091         found.
22092         * misc/sys/auxv.h (getauxval): Document that it may set errno;
22093         don't declare with __attribute_const__.
22094         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
22095         * manual/startup.texi: Document that getauxval sets errno.
22097 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
22099         * math/auto-libm-test-in: Add tests of jn and yn.
22100         * math/auto-libm-test-out: Regenerated.
22101         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
22102         (yn_test_data): Likewise.
22103         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22104         mpfr_if_f.
22105         (func_calc_desc): Add mpfr_if_f union field.
22106         (FUNC_mpfr_if_f): New macro.
22107         (test_functions): Add jn and yn.
22108         (calc_generic_results): Assert type of second input for
22109         mpfr_ff_f.  Handle mpfr_if_f.
22110         (output_for_one_input_case): Disable all checking for arguments
22111         fitting floating-point types in case of an integer argument.
22112         * sysdeps/i386/fpu/libm-test-ulps: Update.
22113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22116         Don't expect fegetround reference in libm.so.
22118 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22120         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
22121         $(config-cflags-nofma).
22123 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
22125         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
22126         * math/auto-libm-test-out: Regenerated.
22128         [BZ #16338]
22129         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
22130         to determine exponent and adjust argument to have exponent of -1.
22131         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
22132         log2.
22133         * math/auto-libm-test-out: Regenerated.
22134         * sysdeps/i386/fpu/libm-test-ulps: Update.
22135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22137 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
22139         * manual/probes.texi: Remove cases when per-thread arenas are
22140         disabled.
22142 2013-12-18  Andreas Schwab  <schwab@suse.de>
22144         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
22145         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
22146         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
22147         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
22148         * sysdeps/i386/i686/multiarch/Makefile: Update.
22149         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
22151 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
22153         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
22154         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
22156 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
22158         [BZ #15968]
22159         Support TZ transition times < 00:00:00.
22160         This is needed for version-3 tz-format files; it supports time
22161         stamps past 2037 for America/Godthab (the only entry in the tz
22162         database for which this change is relevant).
22163         * manual/time.texi (TZ Variable): Document transition times
22164         from -167:59:59 through -00:00:01.
22165         * time/tzset.c (tz_rule): Time of day is now signed.
22166         (__tzset_parse_tz): Parse negative time of day.
22168         Document TZ transition times >= 25:00:00.
22169         * manual/time.texi (TZ Variable): Document transition times from
22170         25:00:00 through 167:59:59.  These are already supported, and this
22171         support will help with version-3 tz-format files.
22173         * manual/time.texi (TZ Variable): Modernize North America example
22174         to reflect current (i.e., 2007-and-later) daylight saving rules.
22176         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
22178 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
22180         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
22181         * sysdeps/unix/bsd/bits/stat.h: Likewise.
22182         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
22183         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22184         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
22185         * sysdeps/unix/bsd/bsdstat.h: Likewise.
22186         * sysdeps/unix/bsd/clock.c: Likewise.
22187         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
22188         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
22189         * sysdeps/unix/bsd/init-posix.c: Likewise.
22190         * sysdeps/unix/bsd/poll.c: Likewise.
22191         * sysdeps/unix/bsd/ptsname.c: Likewise.
22192         * sysdeps/unix/bsd/seekdir.c: Likewise.
22193         * sysdeps/unix/bsd/setegid.c: Likewise.
22194         * sysdeps/unix/bsd/seteuid.c: Likewise.
22195         * sysdeps/unix/bsd/setgid.c: Likewise.
22196         * sysdeps/unix/bsd/setrgid.c: Likewise.
22197         * sysdeps/unix/bsd/setruid.c: Likewise.
22198         * sysdeps/unix/bsd/setsid.c: Likewise.
22199         * sysdeps/unix/bsd/setuid.c: Likewise.
22200         * sysdeps/unix/bsd/sigaction.c: Likewise.
22201         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
22202         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
22203         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
22204         * sysdeps/unix/bsd/telldir.c: Likewise.
22205         * sysdeps/unix/bsd/times.c: Likewise.
22206         * sysdeps/unix/bsd/usleep.c: Likewise.
22208         * misc/Makefile (install-lib): Remove libbsd-compat.a.
22209         ($(objpfx)libbsd-compat.a): Remove rule.
22211         * include/features.h (__FAVOR_BSD): Do not define.
22212         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
22213         features conflicting with POSIX.
22214         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
22215         (_BSD_SOURCE): Remove description of not being a subset of other
22216         feature test macros.
22217         * manual/job.texi (getpgrp): Do not document BSD version.
22218         (getpgid): Do not document by reference to BSD getpgrp.
22219         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
22220         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
22221         * signal/signal.h [__FAVOR_BSD]: Likewise.
22222         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
22223         instead of making contents conditional on [__FAVOR_BSD].
22224         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
22226 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22230 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
22232         [BZ #16314]
22233         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
22234         values below 2**-450, not 2**-500.
22235         * math/auto-libm-test-in: Don't allow spurious underflow from
22236         hypot.
22237         * math/auto-libm-test-out: Regenerated.
22239         [BZ #16316]
22240         [BZ #16330]
22241         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
22242         values of ha and hb and sort them after adjusting subnormal
22243         arguments.
22244         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
22245         Likewise.
22246         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
22247         values of ea and eb and sort them after adjusting subnormal
22248         arguments.
22249         * math/auto-libm-test-in: Do not expect some hypot tests of
22250         subnormals to fail.  Add more hypot tests.
22251         * math/auto-libm-test-out: Regenerated.
22253 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22255         [BZ #13304]
22256         * sysdeps/sh/s_fma.c: New file.
22257         * sysdeps/sh/s_fmaf.c: New file.
22258         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
22259         version.
22260         * sysdeps/sh/Implies: Add sh/soft-fp.
22262 2013-12-16  Roland McGrath  <roland@hack.frob.com>
22264         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
22265         level of indirection to members `objname', `errstring', `malloced'.
22266         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
22267         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
22268         it as the __longjmp argument (just pass 1 instead).
22269         (_dl_catch_error): Initialize C with argument pointers and address of
22270         volatile local ERRCODE rather than copying values out of C at return.
22272 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
22274         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
22275         * math/auto-libm-test-out: Regenerated.
22276         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
22277         (hypot_test_data): Likewise.
22278         (pow_test_data): Likewise.
22279         (pow_tonearest_test_data): Likewise.
22280         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22281         mpfr_ff_f.
22282         (func_calc_desc): Add mpfr_ff_f union field.
22283         (FUNC_mpfr_ff_f): New macro.
22284         (test_functions): Add atan2, hypot and pow.
22285         (special_fill_min): New function.
22286         (special_fill_minus_min): Likewise.
22287         (special_fill_min_subnorm): Likewise.
22288         (special_fill_minus_min_subnorm): Likewise.
22289         (special_real_inputs): Add min, -min, min_subnorm and
22290         -min_subnorm.
22291         (calc_generic_results): Handle mpfr_ff_f.
22292         * sysdeps/i386/fpu/libm-test-ulps: Update.
22293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22295 2013-12-16  Will Newton  <will.newton@linaro.org>
22297         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
22298         (Aligned Memory Blocks): Add documentation for aligned_alloc
22299         and suggest it as an alternative to posix_memalign.
22300         (Hooks for Malloc): Document __memalign_hook is also called
22301         for aligned_alloc.  (Summary of Malloc): Add summary for
22302         aligned alloc.  Document __memalign_hook is also called
22303         for aligned_alloc.
22305 2013-12-16  Will Newton  <will.newton@linaro.org>
22307         * manual/memory.texi (Malloc Examples): Clarify default
22308         alignment documentation.  Suggest posix_memalign rather
22309         than memalign or valloc.
22310         (Aligned Memory Blocks): Remove suggestion to use memalign
22311         or valloc.  Remove obsolete comment about BSD.
22312         Document memalign errno values and mark the function obsolete.
22313         Document posix_memalign returned error codes.  Mark valloc
22314         as obsolete.  (Hooks for Malloc): __memalign_hook is also
22315         called for posix_memalign and valloc.
22316         (Summary of Malloc): Add posix_memalign to function summary.
22317         __memalign_hook is also called for posix_memalign and valloc.
22319 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22321         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
22322         TAYLOR_SIN.
22323         (__sin): Adjust.
22324         (__cos): Likewise.
22325         (sloww): Use mynumber union.  Expand ternary operator into
22326         if-else statements.
22327         (cslow): use mynumber union.
22329 2013-12-16  Allan McRae  <allan@archlinux.org>
22331         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
22332         * configure: Regenerated.
22334         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
22336         [BZ #14120]
22337         * configure.ac: Added --enable-maintainer-mode. Check for
22338         autoconf when enabled.
22339         * configure: Regenerated.
22341         * nscd/nscd.service: New file.
22342         * nscd/nscd.tmpfiles: New file.
22344 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
22346         [BZ #12100]
22347         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
22348         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
22349         * sysdeps/x86_64/multiarch/strstr.c: ... here.
22350         (strstr): Add __strstr_sse2_unaligned ifunc.
22351         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
22352         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
22353         (strcasestr): Remove __strcasestr_sse42 ifunc.
22354         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
22355         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22356         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22358 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22360         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
22361         * sysdeps/sh/bits/fenv.h: ... here.
22362         * sysdeps/sh/sh4/fpu/bits: Remove directory.
22364 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22366         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
22368         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
22369         hypotf multiarch implementations.
22370         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
22371         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
22372         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
22373         multiarch hypot for PPC64.
22374         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
22375         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
22376         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
22377         multiarch hypotf for PPC64.
22379         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
22380         modff multiarch implementations.
22381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
22382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
22383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
22384         multiarch modf for PPC64.
22385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
22386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
22387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
22388         multiarch modff for PPC64.
22390         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
22391         and logl multiarch implementations.
22392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
22393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
22394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
22395         multiarch logb for PPC64.
22396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
22397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
22398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
22399         multiarch logb for PPC64.
22400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
22401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
22402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
22403         multiarch logb for PPC64.
22405         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
22406         isinff multiarch implementation.
22407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
22408         file.
22409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
22410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
22411         multiarch isinf for PPC64.
22412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
22413         file.
22414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
22415         multiarch isinff for PPC64.
22417         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
22418         finitef multiarch implementation.
22419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
22420         file.
22421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
22422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
22423         multiarch finite for PPC64.
22424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
22425         file.
22426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
22427         multiarch finitef for PPC64.
22429         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
22430         lrint multiarch implementation.
22431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
22432         file.
22433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
22434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
22435         multiarch llrint for PPC64.
22436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
22437         multiarch lrint for PPC64.
22439         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
22440         copysignf multiarch implementation.
22441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
22442         file.
22443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
22444         file.
22445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
22446         multiarch copysign for PPC64.
22447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
22448         multiarch copysignf for PPC64.
22450         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
22451         multiarch implementation.
22452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
22453         file.
22454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
22455         file.
22456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
22457         file.
22458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
22459         file.
22460         multiarch llround for PPC64.
22461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
22462         multiarch trunc for PPC64.
22463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
22464         multiarch truncf for PPC64.
22466         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
22467         multiarch implementation.
22468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
22469         file.
22470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
22471         file.
22472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
22473         file.
22474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
22475         file.
22476         multiarch llround for PPC64.
22477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
22478         multiarch round for PPC64.
22479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
22480         multiarch roundf for PPC64.
22482         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
22483         multiarch implementation.
22484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
22485         file.
22486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
22487         file.
22488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
22489         file.
22490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
22491         file.
22492         multiarch llround for PPC64.
22493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
22494         multiarch floor for PPC64.
22495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
22496         multiarch floorf for PPC64.
22498         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
22499         multiarch implementation.
22500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
22501         file.
22502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
22503         file.
22504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
22505         file.
22506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
22507         file.
22508         multiarch llround for PPC64.
22509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
22510         multiarch ceil for PPC64.
22511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
22512         multiarch ceilf for PPC64.
22514         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22515         multiarch implementation.
22516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
22517         file.
22518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
22519         file.
22520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
22521         file.
22522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
22523         multiarch llround for PPC64.
22524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
22525         multiarch lround for PPC64.
22527         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22528         multiarch implementation.
22529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
22530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
22531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
22532         file.
22533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
22534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
22535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
22536         multiarch isnan for PPC64.
22537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
22538         multiarch isnanf for PPC64.
22540         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
22541         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
22542         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
22543         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
22544         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
22545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
22547         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
22548         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22549         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22550         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22552         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
22553         multiarch implementations.
22554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22555         (__libc_ifunc_impl_list): Likewise.
22556         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22557         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
22558         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
22559         multiarch stpcpy for PPC64.
22561         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
22562         multiarch implementations.
22563         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22564         (__libc_ifunc_impl_list): Likewise.
22565         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
22566         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
22567         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
22568         multiarch strcpy for PPC64.
22570         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
22571         redefine function name.
22572         (_wordcopy_fwd_dest_aligned): Likewise.
22573         (_wordcopy_bwd_aligned): Likewise.
22574         (_wordcopy_bwd_dest_aligned): Likewise.
22575         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
22576         multiarch implementations.
22577         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22578         (__libc_ifunc_impl_list): Likewise.
22579         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
22580         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
22581         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
22582         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
22583         multiarch wcscpy for PPC64.
22585         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
22586         multiarch implementations.
22587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22588         (__libc_ifunc_impl_list): Likewise.
22589         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
22590         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
22591         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
22592         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
22593         multiarch wcscpy for PPC64.
22595         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
22596         multiarch implementations.
22597         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22598         (__libc_ifunc_impl_list): Likewise.
22599         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
22600         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
22601         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
22602         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
22603         multiarch wcsrchr for PPC64.
22605         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
22606         multiarch implementations.
22607         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22608         (__libc_ifunc_impl_list): Likewise.
22609         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
22610         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
22611         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
22612         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
22613         multiarch wcschr for PPC64.
22615         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
22616         multiarch implementations.
22617         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22618         (__libc_ifunc_impl_list): Likewise.
22619         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
22620         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
22621         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
22622         multiarch strchrnul for PPC64.
22624         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
22625         implementations.
22626         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22627         (__libc_ifunc_impl_list): Likewise.
22628         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
22629         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
22630         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
22631         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
22632         strchr for PPC64.
22634         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
22635         implementations.
22636         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22637         (__libc_ifunc_impl_list): Likewise.
22638         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
22639         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
22640         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
22641         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
22642         strncmp for PPC64.
22644         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
22645         multiarch implementations.
22646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22647         (__libc_ifunc_impl_list): Likewise.
22648         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
22649         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
22650         strncasecmp for PPC64.
22651         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
22652         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
22653         multiarch strncasecmp_l for PPC64.
22655         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
22656         multiarch implementations.
22657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22658         (__libc_ifunc_impl_list): Likewise.
22659         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
22660         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
22661         multiarch strcasecmp for PPC64.
22662         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
22663         file.
22664         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
22665         multiarch strcasecmp_l for PPC64.
22667         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
22668         implementations.
22669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22670         (__libc_ifunc_impl_list): Likewise.
22671         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
22672         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
22673         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
22674         strnlen for PPC64.
22676         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
22677         implementations.
22678         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22679         (__libc_ifunc_impl_list): Likewise.
22680         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
22681         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
22682         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
22683         strlen for PPC64.
22685         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
22686         implementations.
22687         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22688         (__libc_ifunc_impl_list): Likewise.
22689         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
22690         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
22691         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
22692         rawmemrchr for PPC64.
22694         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
22695         implementation.
22696         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22697         (__libc_ifunc_impl_list): Likewise.
22698         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
22699         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
22700         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
22701         memrchr for PPC64.
22703         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
22704         implementation.
22705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22706         (__libc_ifunc_impl_list): Likewise.
22707         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
22708         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
22709         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
22710         memchr for PPC64.
22712         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
22713         implementation.
22714         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22715         (__libc_ifunc_impl_list): Likewise.
22716         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
22717         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
22718         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
22719         mempcpy for PPC64.
22721         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
22722         avoid cretion of __bzero symbol.
22723         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
22724         Likewise.
22725         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
22726         Likewise.
22727         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
22728         Likewise.
22729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
22730         multiarch implementations.
22731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22732         (__libc_ifunc_impl_list): Likewise.
22733         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
22734         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
22735         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
22736         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
22737         bzero for PPC32.
22738         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
22739         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
22740         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
22741         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
22742         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
22743         memset for PPC64.
22744         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
22746         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
22747         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
22748         implementations.
22749         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22750         (__libc_ifunc_impl_list): Likewise.
22751         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
22752         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
22753         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
22754         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
22755         memcmp for PPC64.
22757         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
22758         multiarch for POWER/PPC64.
22759         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
22760         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
22761         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
22762         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
22763         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
22764         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
22765         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
22766         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
22767         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
22768         memcpy for PPC64.
22770         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
22771         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
22772         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
22773         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
22774         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
22775         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
22776         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
22777         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
22778         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
22779         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
22780         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
22781         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
22782         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
22783         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
22784         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
22785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
22786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
22787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
22788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
22789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
22790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
22791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
22793 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22795         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
22797 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22799         * benchtests/Makefile (bench): Add exp2 and log2.
22800         (LDLIBS-bench-exp2): Add -lm.
22801         (LDLIBS-bench-log2): Likewise.
22802         * benchtests/exp2-inputs: New inputs file.
22803         * benchtests/log2-inputs: New inputs file.
22804         * benchtests/log-inputs: Add new inputs.
22805         * benchtests/tan-inputs: Likewise.
22807 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22809         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
22810         definition...
22811         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
22812         (csloww2): ... from here.
22814         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
22815         instead of structures.
22816         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
22817         (POLYNOMIAL): Likewise.
22818         (TAYLOR_SLOW): Likewise.
22819         (__sin): Likewise.
22820         (__cos): Likewise.
22821         (slow1): Likewise.
22822         (slow2): Likewise.
22823         (sloww): Likewise.
22824         (sloww1); Likewise.
22825         (sloww2): Likewise.
22826         (bsloww1): Likewise.
22827         (bsloww2): Likewise.
22828         (cslow2): Likewise.
22829         (csloww): Likewise.
22830         (csloww1): Likewise.
22831         (csloww2): Likewise.
22833 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
22835         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
22836         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
22837         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
22838         * malloc/hooks.c (realloc_check): Likewise.
22840         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
22841         * malloc/arena.c: Remove PER_THREAD conditional.
22842         [!PER_THREAD]: Remove code.
22843         (ptmalloc_unlock_all2): Likewise.
22844         (ptmalloc_init): Likewise.
22845         (_int_new_arena): Likewise.
22846         (arena_get2): Likewise.
22847         * malloc/hooks.c (__malloc_get_state): Likewise.
22848         (__malloc_set_state): Likewise.
22849         * malloc/malloc.c: Likewise.
22850         (struct malloc_state): Likewise.
22851         (struct malloc_par): Likewise.
22852         (__libc_realloc): Likewise.
22853         (__libc_mallopt): Likewise.
22855 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22857         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
22859 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
22861         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
22862         macro to a function.  Check for zero perturb_byte.
22863         (_int_malloc, _int_free): Remove zero perturb_byte checks.
22865         * malloc/malloc.c: (force_reg): Remove.
22866         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
22867         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
22868         force_reg by atomic_forced_read.
22869         * malloc/arena.c (ptmalloc_init): Likewise.
22870         * malloc/hooks.c (top_check): Likewise.
22872 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22876 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
22878         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22880 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
22882         * math/auto-libm-test-in: Add tests of lgamma.
22883         * math/auto-libm-test-out: Regenerated.
22884         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
22885         (M_LOG_2_SQRT_PIl): Likewise.
22886         (lgamma_test_data): Use AUTO_TESTS_f_f1.
22887         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22888         mpfr_f_f1.
22889         (func_calc_desc): Add mpfr_f_f1 union field.
22890         (ARGS1): New macro.
22891         (ARGS2): Likewise.
22892         (ARGS3): Likewise.
22893         (ARGS4): Likewise.
22894         (RET1): Likewise.
22895         (RET2): Likewise.
22896         (CALC): Likewise.
22897         (FUNC): Likewise.
22898         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
22899         (test_functions): Add lgamma.
22900         (calc_generic_results): Handle mpfr_f_f1.
22901         * sysdeps/i386/fpu/libm-test-ulps: Update.
22902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22904 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22906         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
22907         __mpn_add_n for PowerPC64/POWER7.
22908         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
22909         __mpn_sub_n for PowerPC64/POWER7.
22911         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
22912         __mpn_addmul_1 for PowerPC64.
22913         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
22914         __mpn_submul_1 for PowerPC64.
22915         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
22916         for PowerPC64.
22917         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
22918         for PowerPC64.
22920 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
22922         [BZ #15089]
22923         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
22925 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22927         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
22929         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
22930         add multiarch folders.
22931         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
22932         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
22933         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
22934         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
22935         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
22936         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
22937         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
22938         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
22939         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
22940         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
22941         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
22942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
22943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
22944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
22945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
22946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
22947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
22949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
22950         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
22951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
22952         New file.
22953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
22954         New file.
22955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
22956         multiarch __ieee754_hypot for PowerPC32.
22957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
22958         New file.
22959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
22960         New file.
22961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
22962         multiarch __ieee754_hypotf for PowerPC32.
22964         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
22965         long_double_symbol only if __logbl is defined.
22966         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
22967         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
22968         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
22969         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
22970         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
22971         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
22972         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
22973         path for implementation.
22974         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
22975         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
22976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
22977         logb, and logbl multiarch implementations for PowerPC32.
22978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
22979         file.
22980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
22981         file.
22982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
22983         multiarch logb for PowerPC32.
22984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
22985         file.
22986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
22987         file.
22988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
22989         multiarch logbf for PowerPC32.
22990         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
22991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
22992         file.
22993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
22994         multiarch logbl implementation for PowerPC32.
22996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
22997         and modff multiarch implementations.
22998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
22999         New file.
23000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
23001         New file.
23002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
23003         multiarch modf for PowerPC32.
23004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
23005         New file.
23006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
23007         New file.
23008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
23009         multiarch modff for PowerPC32.
23011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
23012         and lrintf multiarch implementations.
23013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
23014         New file.
23015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
23016         New file.
23017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
23018         multiarch lrint for PowerPC32.
23019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
23020         file: multiarch lrintf for PowerPC32.
23022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
23023         and lroundf multiarch implementations.
23024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
23025         New file.
23026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
23027         New file.
23028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
23029         New file.
23030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
23031         multiarch lround for PowerPC32.
23032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
23033         file: multiarch lroundf for PowerPC32.
23035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23036         copysign and copysignf multiarch implementations.
23037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
23038         New file.
23039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
23040         New file.
23041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
23042         file: multiarch copysign for PowerPC32.
23043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
23044         file: multiarch copysignf for PowerPC32.
23046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
23047         and truncf multiarch implementations.
23048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
23049         New file.
23050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
23051         file.
23052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
23053         multiarch trunc for PowerPC32.
23054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
23055         New file.
23056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
23057         New file.
23058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
23059         multiarch truncf for PowerPC32.
23061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
23062         and roundf multiarch implementations.
23063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
23064         New file.
23065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
23066         file.
23067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
23068         multiarch round for PowerPC32.
23069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
23070         New file.
23071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
23072         New file.
23073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
23074         multiarch roundf for PowerPC32.
23076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
23077         and floorf multiarch implementations.
23078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
23079         New file.
23080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
23081         file.
23082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
23083         multiarch floor for PowerPC32.
23084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
23085         New file.
23086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
23087         New file.
23088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
23089         multiarch floorf for PowerPC32.
23091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
23092         and ceilf multiarch implementations.
23093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
23094         New file.
23095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
23096         file.
23097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
23098         multiarch ceil for PowerPC32.
23099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
23100         New file.
23101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
23102         file.
23103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
23104         multiarch ceilf for PowerPC32.
23106         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
23107         is defined.
23108         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
23109         FINITEF is defined.
23110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
23111         and finitef multiarch implementations.
23112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
23113         New file.
23114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
23115         file.
23116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
23117         multiarch finite for PowerPC32.
23118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
23119         New file.
23120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
23121         file: multiarch finitef for PowerPC32.
23123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
23124         and isinff multiarch implementations.
23125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
23126         file.
23127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
23128         file.
23129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
23130         multiarch isinf for PowerPC32.
23131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
23132         New file.
23133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
23134         multiarch isinff for PowerPC32.
23136         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
23137         alias when __isnan is defined.
23138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
23139         and isnanf multiarch implementations.
23140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
23141         file.
23142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
23143         file.
23144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
23145         file.
23146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
23147         file.
23148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
23149         multiarch isnan for PowerPC32.
23150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
23151         New file.
23152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
23153         New file.
23154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
23155         multiarch isnanf for PowerPC32.
23157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
23158         and sqrtf multiarch implementations.
23159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
23160         file.
23161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
23162         file.
23163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
23164         multiarch sqrt for PowerPC32.
23165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
23166         file.
23167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
23168         file.
23169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
23170         multiarch sqrtf for PowerPC32.
23172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
23173         and llroundf multiarch implementations.
23174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
23175         New file.
23176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
23177         New file.
23178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
23179         New file.
23180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
23181         file: multiarch llround for PowerPC32.
23182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
23183         file: multiarch llroundf for PowerPC32.
23185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
23186         multiarch PowerPC32 fpu implementations.
23187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
23188         New file.
23189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
23190         New file.
23191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
23192         multiarch llrint for PowerPC32.
23193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
23194         New file.
23195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
23196         New file.
23197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
23198         file.
23200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
23202         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
23203         file.
23204         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
23205         file.
23206         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
23207         file.
23208         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
23209         multiarch wordcopy for PPC32.
23210         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23211         wordcopy objects.
23212         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23213         (__libc_ifunc_impl_list): Likewise.
23214         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
23215         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
23216         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
23217         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
23218         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
23219         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
23221         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
23222         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
23223         file.
23224         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
23225         file.
23226         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
23227         file.
23228         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
23229         multiarch wcscpy for PPC32.
23230         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23231         multiarch objects.
23232         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23233         (__libc_ifunc_impl_list): Likewise.
23234         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23235         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23236         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
23237         sysdeps/powerpc/power6/wcscpy.c.
23239         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
23240         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
23241         file.
23242         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
23243         file.
23244         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
23245         file.
23246         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
23247         multiarch wcsrchr for PPC32.
23248         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23249         multiarch objects.
23250         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23251         (__libc_ifunc_impl_list): Likewise.
23252         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23253         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23254         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
23255         sysdeps/powerpc/power6/wcsrchr.c.
23257         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
23258         file.
23259         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
23260         file.
23261         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
23262         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
23263         multiarch wcschr for PPc32.
23264         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23265         multiarch objects.
23266         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23267         (__libc_ifunc_impl_list): Likewise.
23268         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
23269         * sysdeps/powerpc/power6/wcschr.c: ... to here.
23270         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
23271         sysdeps/powerpc/power6/wcschr.c.
23273         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
23274         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
23275         file.
23276         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
23277         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
23278         file: multiarch strchr for PPC32.
23279         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
23280         multiarch objects.
23281         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23282         (__libc_ifunc_impl_list): Likewise.
23284         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
23285         name.
23286         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
23287         file.
23288         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
23289         file.
23290         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
23291         multiarch strchrnul for PPC32.
23292         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
23293         multiarch objects.
23294         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23295         (__libc_ifunc_impl_list): Likewise.
23297         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
23298         file.
23299         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
23300         multiarch strncasecmp for PPC32.
23301         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
23302         file.
23303         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
23304         multiarch strncasecmp_l for PPC32.
23305         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
23306         strncasecmp multiarch objects.
23307         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23308         (__libc_ifunc_impl_list): Likewise.
23310         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
23311         file.
23312         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
23313         multiarch strncasecmp for PPC32.
23314         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23315         New file.
23316         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
23317         multiarch strcasecmp_l for PPC32.
23318         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
23319         multiarch objects.
23320         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23321         (__libc_ifunc_impl_list): Likewise.
23323         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
23324         file.
23325         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
23326         file.
23327         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
23328         multiarch strncmp for PPC32.
23329         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
23330         multiarch objects.
23331         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23332         (__libc_ifunc_impl_list): Likewise.
23334         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
23335         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
23336         file.
23337         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
23338         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
23339         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
23340         multiarch objects.
23341         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23342         (__libc_ifunc_impl_list): Likewise.
23344         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
23345         file.
23346         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
23347         file.
23348         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
23349         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
23350         multiarch objects.
23351         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23352         (__libc_ifunc_impl_list): Likewise.
23354         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
23355         file.
23356         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
23357         file.
23358         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
23359         multiarch rawmemchr for PPC32.
23360         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
23361         multiarch objects.
23362         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23363         (__libc_ifunc_impl_list): Likewise.
23365         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
23366         file.
23367         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
23368         file.
23369         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
23370         file: memrchr multiarch for PPC32.
23371         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
23372         multiarch objects.
23373         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23374         (__libc_ifunc_impl_list): Likewise.
23376         * string/memchr.c (__memchr): Using macro to redefine symbol name.
23377         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
23378         file.
23379         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
23380         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
23381         multiarch memchr for PPC32.
23382         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
23383         multiarch objects.
23384         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23385         (__libc_ifunc_impl_list): Likewise.
23387         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
23388         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
23389         file.
23390         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
23391         file.
23392         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
23393         file: multiarch mempcpy for PPC32.
23394         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
23395         multiarch objects.
23396         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23397         (__libc_ifunc_impl_list): Likewise.
23399         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
23400         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
23401         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
23402         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
23403         multiarch bzero for PPC32.
23404         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
23405         file.
23406         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
23407         file.
23408         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
23409         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
23410         file: multiarch memset for PPC32.
23411         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
23412         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
23413         memset multiarch objects.
23414         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23415         (__libc_ifunc_impl_list): Likewise.
23417         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
23418         file.
23419         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
23420         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
23421         memcmp for PPC32.
23422         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
23423         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
23424         multiarch objects.
23425         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23426         (__libc_ifunc_impl_list): Likewise.
23428         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
23429         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
23430         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
23431         file.
23432         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
23433         file.
23434         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
23435         file.
23436         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
23437         multiarch memcpy for PPC32.
23438         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
23439         multiarch objects.
23440         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23441         (__libc_ifunc_impl_list): Likewise.
23443         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
23444         support multiarch for POWER/PPC32.
23445         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
23446         Likewise.
23447         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
23448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
23449         Implies file to make multiarch folder appers before the fpu and
23450         default folder for power4 configuration.
23452 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23454         * scripts/bench.pl: Append volatile keyword to type.
23456 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23458         * sysdeps/sh/sotruss-lib.c: New file.
23459         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
23461 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23465 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
23467         [BZ #6810]
23468         * math/w_tgamma.c: Include <errno.h>.
23469         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
23470         * math/w_tgammaf.c: Include <errno.h>.
23471         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
23472         * math/w_tgammal.c: Include <errno.h>.
23473         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
23474         * math/auto-libm-test-in: Do not allow missing errno on tgamma
23475         underflow.  Add more tgamma tests.
23476         * math/auto-libm-test-out: Regenerated.
23477         * sysdeps/i386/fpu/libm-test-ulps: Update.
23478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23480         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
23481         sin, sinh, tan, tanh, tgamma, y0 and y1.
23482         * math/auto-libm-test-out: Regenerated.
23483         * math/libm-test.inc (TEST_COND_x86_64): New macro.
23484         (TEST_COND_x86): Likewise.
23485         (M_E2l): Remove macro.
23486         (M_E3l): Likewise.
23487         (M_2_SQRT_PIl): Likewise.
23488         (M_SQRT_PIl): Likewise.
23489         (M_1_DIV_El): Likewise.
23490         (log_test_data): Use AUTO_TESTS_f_f.
23491         (log10_test_data): Likewise.
23492         (log1p_test_data): Likewise.
23493         (log2_test_data): Likewise.
23494         (sin_test_data): Likewise.
23495         (sin_tonearest_test_data): Likewise.
23496         (sin_towardzero_test_data): Likewise.
23497         (sin_downward_test_data): Likewise.
23498         (sin_upward_test_data): Likewise.
23499         (sinh_test_data): Likewise.
23500         (sinh_tonearest_test_data): Likewise.
23501         (sinh_towardzero_test_data): Likewise.
23502         (sinh_downward_test_data): Likewise.
23503         (sinh_upward_test_data): Likewise.
23504         (tan_test_data): Likewise.
23505         (tan_tonearest_test_data): Likewise.
23506         (tan_towardzero_test_data): Likewise.
23507         (tan_downward_test_data): Likewise.
23508         (tan_upward_test_data): Likewise.
23509         (tanh_test_data): Likewise.
23510         (tgamma_test_data): Likewise.
23511         (y0_test_data): Likewise.
23512         (y1_test_data): Likewise.
23513         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
23514         (special_real_inputs): Add pi/4.
23515         * sysdeps/i386/fpu/libm-test-ulps: Update.
23516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23518 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23520         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
23521         "longjmp_target" static probes.
23522         (__longjmp): Rename to __longjmp_symbol.
23523         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23524         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
23525         on which longjmp to generate.
23526         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23527         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
23528         probe.
23529         (__sigsetjmp): Rename to __sigsetjmp_symbol.
23530         (__sigjmp_save): Rename to __sigjmp_save_symbol.
23531         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23532         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
23533         and __sigjmp_save_symbol based on which sigsetjmp to generated.
23534         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
23535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
23536         __longjmp_symbol based on which __longjmp to generate.
23537         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
23538         probe.
23539         (setjmp): Rename to setjmp_symbol.
23540         (__sigsetjmp): Rename to __sigsetjmp_symbol.
23541         (_setjmp): Rename to _setjmp_symbol.
23542         (__sigsetjmp): Rename to __sigsetjmp_symbol.
23543         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
23544         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
23545         which setjmp to generate.
23546         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
23547         "longjmp_target" static probes.
23549 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23551         * benchtests/README: Add note about output arguments.
23552         * benchtests/bench-sincos.c: Remove file.
23553         * benchtests/sincos-inputs: New file.
23554         * scripts/bench.pl: Identify output arguments and define
23555         static variables for them.
23557         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
23559         [BZ #15941]
23560         * Makefile (INSTALL): Add install-plain.texi as the primary
23561         dependency.
23562         * manual/install-plain.texi: New file.
23563         * manual/install.texi: Include node directive only for
23564         non-plaintext output.
23566 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
23568         * stdlib/longlong.h: Update from GCC.
23570         [BZ #6807]
23571         [BZ #15901]
23572         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
23573         * math/w_j0f.c (y0f): Likewise.
23574         * math/w_j0l.c (__y0l): Likewise.
23575         * math/w_j1.c (y1): Likewise.
23576         * math/w_j1f.c (y1f): Likewise.
23577         * math/w_j1l.c (__y1l): Likewise
23578         * math/w_jn.c (yn): Likewise.
23579         * math/w_jnf.c (ynf): Likewise.
23580         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
23581         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
23582         value for Bessel function domain errors outside _SVID_ mode.
23583         Adjust sign of return value for yn (negative integer, 0).
23584         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
23585         by zero in return for negative x and set sign appropriately for
23586         negative n.
23587         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
23588         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23589         * math/libm-test.inc (y0_test_data): Add more tests and adjust
23590         expectations in error cases.
23591         (y1_test_data): Likewise.
23592         (yn_test_data): Likewise.
23593         * sysdeps/i386/fpu/libm-test-ulps: Update.
23594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23596 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23598         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
23599         "64" to "64-v1".  Add "64-v2".
23600         (abi-64-options): Rename to ...
23601         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
23602         (abi-64-condition): Rename to ...
23603         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
23604         (abi-64-ld-soname): Rename to ...
23605         (abi-64-v1-ld-soname): ... this.
23606         (abi-64-v2-options): Define.
23607         (abi-64-v2-condition): Likewise.
23608         (abi-64-v2-ld-soname): Likewise.
23609         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
23610         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
23611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
23612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
23613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
23615 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23616             Alan Modra  <amodra@gmail.com>
23618         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
23619         New versions for use with the ELFv2 ABI.
23620         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
23621         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
23622         declaration.
23623         (struct La_ppc64v2_retval): Likewise.
23624         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
23625         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
23626         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
23627         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
23628         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
23629         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23630         Do not save or restore CR.
23631         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
23632         (_dl_profile_resolve): Do no save or restore CR.  Support extended
23633         return values for ELFv2 ABI.  Fix location of FPR return registers.
23634         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
23635         updated values for _CALL_ELF == 2.
23636         (La_regs, La_retval, int_retval): Likewise.
23638 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23640         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
23641         (FRAME_MIN_SIZE_PARM): Likewise.
23642         (FRAME_BACKCHAIN): Likewise.
23643         (FRAME_CR_SAVE): Likewise.
23644         (FRAME_LR_SAVE): Likewise.
23645         (FRAME_TOC_SAVE): Likewise.
23646         (FRAME_PARM_SAVE): Likewise.
23647         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
23648         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
23649         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
23650         (call_mcount_parm_offset): New macro.
23651         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
23652         (PROF): Use symbolic stack frame offsets.
23653         (TAIL_CALL_SYSCALL_ERROR): Likewise.
23654         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
23655         Redefine in terms of FRAME_MIN_SIZE.
23656         (_dl_runtime_resolve): Use symbolic stack frame offsets.
23657         (_dl_profile_resolve): Likewise.  Update comment.
23658         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
23659         symbols stack frame offsets.
23660         (__sigsetjmp): Likewise.
23661         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
23662         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
23663         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
23664         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
23666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
23667         (FRAME_BACKCHAIN): Remove.
23668         (FRAME_CR_SAVE): Likewise.
23669         (FRAME_LR_SAVE): Likewise.
23670         (FRAME_COMPILER_DW): Likewise.
23671         (FRAME_LINKER_DW): Likewise.
23672         (FRAME_TOC_SAVE): Likewise.
23673         (FRAME_PARM_SAVE): Likewise.
23674         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
23675         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
23676         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
23677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
23678         (CHECK_SP): Use symbolic stack frame offsets.
23679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
23680         zone" instead of caller's parameter save area for temp storage.
23681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23682         Likewise.  Also, use symbolic stack frame offsets.
23683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
23684         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
23685         our own stack frame instead of the caller's.
23686         (__socket): Use symbolic stack frame offsets.
23688 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23689             Alan Modra  <amodra@gmail.com>
23691         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
23692         Define.
23693         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
23694         (PPC64_LOCAL_ENTRY_OFFSET): Define.
23695         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
23696         New function.
23697         (elf_machine_fixup_plt): Call it.
23698         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
23699         reloc arguments.
23700         (elf_machine_rela): Update call to elf_machine_plt_conflict.
23701         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
23702         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
23703         r2 before calling target.
23705 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23706             Alan Modra  <amodra@gmail.com>
23708         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
23709         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
23710         versions of macros to support ELFv2 ABI.
23711         (LOCALENTRY): New macro.
23712         (ENTRY, EALIGN): Use it.
23713         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
23714         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
23715         fall through into ENTRY entry point.
23716         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
23717         Only define if _CALL_ELF != 2.
23719         (elf_machine_matches_host): Verify ABI version matches.
23720         (RTLD_START): Use LOCALENTRY.
23721         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
23722         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
23723         (PLT_ENTRY_WORDS): New macro.
23724         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
23725         (elf_machine_runtime_setup): Support ELFv2 ABI.
23726         (elf_machine_fixup_plt): Likewise.
23727         (elf_machine_plt_conflict): Likewise.
23728         (resolve_ifunc): Likewise.
23729         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23730         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23731         Likewise.
23732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
23733         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
23734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23735         (makecontext): Support ELFv2 ABI.
23736         * elf/elf.h (EF_PPC64_ABI): Define.
23738 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23740         * sysdeps/powerpc/powerpc64/sysdep.h
23741         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
23742         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
23743         (ENTRY) [ASSEMBLER]: ... but instead here ...
23744         (EALIGN) [ASSEMBLER]: ... and here.
23745         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
23746         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
23747         (ENTRY_2) [!ASSEMBLER]: Use it.
23748         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
23749         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
23750         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
23751         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
23752         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
23753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
23754         Use PPC64_LOAD_FUNCPTR.
23756         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
23758 2013-12-04  Alan Modra  <amodra@gmail.com>
23760         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
23761         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
23762         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
23763         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
23765         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
23766         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
23767         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
23768         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
23769         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
23770         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
23772 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23775         (__makecontext): Fix incorrect CFI when backtracing out of
23776         context created via makecontext.
23777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
23778         (__setcontext): Fix incorrect CFI during switch to new context.
23779         (__novec_setcontext): Likewise.
23781 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
23783         [BZ #4772]
23784         * time/strptime_l.c (__strptime_internal): Allow modifiers
23785         in strptime.
23786         * time/tst-strptime.c (day_tests): Add testcase.
23788 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23790         * scripts/bench.pl: Skip over blank lines.
23792 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
23794         [BZ #926]
23795         * manual/time.texi (Calendar Time): Clarify what timezone functions
23796         use.
23798 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23802 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
23804         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
23805         implementation.
23806         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
23807         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
23808         * debug/memset_chk.c (__memset_chk): Likewise.
23809         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
23810         * debug/strncpy_chk.c: Likewise.
23812 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
23814         [BZ #15268]
23815         [BZ #15425]
23816         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
23817         (__ieee754_exp): For possibly underflowing results, check size of
23818         result and force underflow exception if required.
23819         * math/auto-libm-test-in: Add more tests of exp.
23820         * math/auto-libm-test-out: Regenerated.
23821         * sysdeps/i386/fpu/libm-test-ulps: Update.
23822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23824         [BZ #16283]
23825         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
23826         * math/w_exp2f.c (__exp2f): Likewise.
23827         * math/w_exp2l.c (__exp2l): Likewise.
23828         * math/auto-libm-test-in: Do not allow missing errno on exp2
23829         underflow.
23830         * math/auto-libm-test-out: Regenerated.
23832 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
23834         [BZ #16274]
23835         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
23836         handle filename validation.
23837         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
23838         (do_open): Delete.
23840 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
23842         [BZ #6786]
23843         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
23844         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
23845         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
23846         <float.h>.
23847         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
23848         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
23849         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23850         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
23851         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23852         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
23853         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23854         * math/auto-libm-test-in: Don't allow missing errno from erfc.
23855         Add more erfc tests.
23856         * math/auto-libm-test-out: Regenerated.
23857         * sysdeps/i386/fpu/libm-test-ulps: Update.
23858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23860         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
23861         exp2, expm1, j0 and j1.
23862         * math/auto-libm-test-out: Regenerated.
23863         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
23864         (erfc_test_data): Likewise.
23865         (exp_test_data): Likewise.
23866         (exp_tonearest_test_data): Likewise.
23867         (exp_towardzero_test_data): Likewise.
23868         (exp_downward_test_data): Likewise.
23869         (exp_upward_test_data): Likewise.
23870         (exp10_test_data): Likewise.
23871         (exp2_test_data): Likewise.
23872         (expm1_test_data): Likewise.
23873         (j0_test_data): Likewise.
23874         (j1_test_data): Likewise.
23875         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
23876         (input_flag_type): Add flag_xfail_rounding.
23877         (input_flags): Add xfail-rounding.
23878         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
23879         (output_for_one_input_case): Handle flag_xfail_rounding.
23880         * sysdeps/i386/fpu/libm-test-ulps: Update.
23881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23883 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
23885         [BZ #16289]
23886         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
23887         division by 0.
23889 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23891         [BZ #16195]
23892         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
23893         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
23894         (STAP_PROBE0): New macro.
23895         (STAP_PROBE1): Likewise.
23896         (STAP_PROBE2): Likewise.
23897         (STAP_PROBE3): Likewise.
23898         (STAP_PROBE4): Likewise.
23900 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
23902         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
23904 2013-12-02  Steve Ellcey  <sellcey@mips.com>
23906         * benchtests/Makefile (bench): Add sqrt.
23907         (LDLIBS-bench-sqrt): New.
23908         * benchtests/sqrt-input: New.
23910 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
23912         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
23913         (GAIH_EAI): Likewise.
23914         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
23915         (gaih_inet): Likewise.
23916         (getaddrinfo): Don't use GAIH_EAI.
23918         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
23919         (struct gaih): Remove definition.
23921 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23923         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
23924         Use HERRNOP directly.
23926 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23930 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
23932         * math/gen-auto-libm-tests.c (test_functions): Add more
23933         single-argument functions.
23934         (special_fill_pi_2): New function.
23935         (special_fill_minus_pi_2): Likewise.
23936         (special_fill_pi_6): Likewise.
23937         (special_fill_minus_pi_6): Likewise.
23938         (special_fill_pi_3): Likewise.
23939         (special_fill_2pi_3): Likewise.
23940         (special_fill_e): Likewise.
23941         (special_fill_1_e): Likewise.
23942         (special_fill_e_minus_1): Likewise.
23943         (special_real_inputs): Add more special inputs.
23944         (output_for_one_input_case): Do not require ERANGE on underflow to
23945         zero if round-to-nearest result does not underflow to zero, unless
23946         exact results required.
23947         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
23948         atan, atanh, cbrt, cos and cosh.
23949         * math/auto-libm-test-out: Regenerated.
23950         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
23951         (acos_tonearest_test_data): Likewise.
23952         (acos_towardzero_test_data): Likewise.
23953         (acos_downward_test_data): Likewise.
23954         (acos_upward_test_data): Likewise.
23955         (acosh_test_data): Likewise.
23956         (asin_test_data): Likewise.
23957         (asin_tonearest_test_data): Likewise.
23958         (asin_towardzero_test_data): Likewise.
23959         (asin_upward_test_data): Likewise.
23960         (asinh_test_data): Likewise.
23961         (atan_test_data): Likewise.
23962         (atanh_test_data): Likewise.
23963         (cbrt_test_data): Likewise.
23964         (cos_test_data): Likewise.
23965         (cos_tonearest_test_data): Likewise.
23966         (cos_towardzero_test_data): Likewise.
23967         (cos_downward_test_data): Likewise.
23968         (cos_upward_test_data): Likewise.
23969         (cosh_test_data): Likewise.
23970         (cosh_tonearest_test_data): Likewise.
23971         (cosh_towardzero_test_data): Likewise.
23972         (cosh_downward_test_data): Likewise.
23973         (cosh_upward_test_data): Likewise.
23974         * sysdeps/i386/fpu/libm-test-ulps: Update.
23975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23977 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
23979         [BZ #6787]
23980         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
23981         * math/w_exp10f.c (__exp10f): Likewise.
23982         * math/w_exp10l.c (__exp10l): Likewise.
23983         * math/libm-test.inc (exp10_test_data): Add more tests and expect
23984         errno settings in existing tests.
23986         [BZ #14032]
23987         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
23988         precision control set to double precision.
23989         * sysdeps/i386/fpu/w_sqrt.c: New file.
23990         * math/auto-libm-test-in: Add more tests.
23991         * math/auto-libm-test-out: Update.
23993         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
23994         (sqrt_test_tonearest): New function.
23995         (sqrt_towardzero_test_data): New variable.
23996         (sqrt_test_towardzero): New function.
23997         (sqrt_downward_test_data): New variable.
23998         (sqrt_test_downward): New function.
23999         (sqrt_upward_test_data): New variable.
24000         (sqrt_test_upward): New function.
24001         (main): Call the new functions.
24003         * math/gen-auto-libm-tests.c: New file.
24004         * math/auto-libm-test-in: Likewise.
24005         * math/auto-libm-test-out: New generated file.
24006         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
24007         variables.
24008         (%beautify): Add generated representations of zero.
24009         (top level): Set $auto_input and call parse_auto_input.
24010         (beautify): Remove trailing "f" from hex float constants.
24011         (parse_args): Handle XFAIL_TEST.
24012         (convert_condition): New function.
24013         (or_value): Likewise.
24014         (or_cond_value): Likewise.
24015         (generate_testfile): Handle AUTO_TESTS_* lines.
24016         (parse_auto_input): New function.
24017         * math/libm-test.inc (XFAIL_TEST): New macro.
24018         (ERRNO_UNCHANGED): Update value.
24019         (ERRNO_EDOM): Likewise.
24020         (ERRNO_ERANGE): Likewise.
24021         (IGNORE_RESULT): Likewise.
24022         (TEST_COND_flt_32): New macro.
24023         (TEST_COND_dbl_64): Likewise.
24024         (TEST_COND_ldbl_96_intel): Likewise.
24025         (TEST_COND_ldbl_96_m68k): Likewise.
24026         (TEST_COND_ldbl_128): Likewise.
24027         (TEST_COND_ldbl_128ibm): Likewise.
24028         (TEST_COND_long32): Likewise.
24029         (TEST_COND_long64): Likewise.
24030         (TEST_COND_before_rounding): Likewise.
24031         (TEST_COND_after_rounding): Likewise.
24032         (enable_test): Handle XFAIL_TEST flag.
24033         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
24034         with finite results.
24035         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
24036         auto-libm-test-out.
24038 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24039             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24041         [BZ #16214]
24042         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
24043         __tls_get_addr_internal instead of __tls_get_offset in order to
24044         avoid GOT pointer dependency.  Make rtld export
24045         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
24046         __tls_get_addr since we are a __tls_get_offset platform.
24047         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
24048         GOT pointer being set up before.
24049         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
24051 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
24053         * manual/math.texi (Errors in Math Functions): Document accuracy
24054         goals.
24056         [BZ #15004]
24057         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
24058         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
24059         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24060         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24061         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24062         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24063         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24064         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24065         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24066         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24067         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24068         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24069         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24070         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24071         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24072         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24074         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
24075         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
24076         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
24077         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
24078         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
24079         Likewise.
24080         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
24081         Likewise.
24082         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
24083         Likewise.
24084         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
24085         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
24086         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
24087         atomic-feupdateenv and flt-rounds.
24088         * sysdeps/powerpc/nofpu/Versions (libc): Add
24089         __atomic_feholdexcept, __atomic_feclearexcept,
24090         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
24091         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
24092         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
24093         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
24094         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
24095         here.
24096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24097         Update.
24099         * manual/arith.texi (FP Exceptions): Document that exceptions may
24100         not be raised when matherr is used.
24101         (Math Error Reporting): Document overflow in directed rounding
24102         modes.  Document that errno may not be set when finite values are
24103         returned on overflow.  Document intent to set errno on underflow
24104         only for underflow to zero.
24106         [BZ #16271]
24107         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
24108         round-to-nearest then adjust result for other rounding modes.
24109         * include/fenv.h (fegetround): Use libm_hidden_proto.
24110         * math/fegetround.c (fegetround): Use libm_hidden_def.
24111         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24112         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24113         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24114         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24115         Likewise.
24116         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
24117         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24118         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24119         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
24121 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24123         [BZ #16077]
24124         * nss/Versions (libnss_files): Add
24125         _nss_files_gethostbyname3_r.
24126         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
24127         New function.
24128         (HOST_DB_LOOKUP): Remove macro.
24129         (_nss_files_gethostbyname_r): Implement function without the
24130         HOST_DB_LOOKUP macro.
24131         (_nss_files_gethostbyname2_r): Likewise.
24133 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
24135         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
24137 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
24139         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
24140         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
24141         warning.
24143 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24145         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
24146         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
24147         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
24148         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24149         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
24150         __fe_nomask_env_priv and attribute_hidden.
24151         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
24152         (libc_feupdateenv_test_ppc): Likewise.
24153         (libc_feresetround_ppc): Likewise.
24154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24155         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
24156         compat_symbol macro.
24157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24158         (__fe_nomask_env): Likewise.
24159         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
24161 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24163         * string/Makefile: Remove ifunc tests.
24164         * string/test-string.h: Define TEST_IFUNC.
24165         * string/test-bcopy-ifunc.c: Remove.
24166         * string/test-bzero-ifunc.c: Likewise.
24167         * string/test-memccpy-ifunc.c: Likewise.
24168         * string/test-memchr-ifunc.c: Likewise.
24169         * string/test-memcmp-ifunc.c: Likewise.
24170         * string/test-memcpy-ifunc.c: Likewise.
24171         * string/test-memmem-ifunc.c: Likewise.
24172         * string/test-memmove-ifunc.c: Likewise.
24173         * string/test-mempcpy-ifunc.c: Likewise.
24174         * string/test-memrchr-ifunc.c: Likewise.
24175         * string/test-memset-ifunc.c: Likewise.
24176         * string/test-rawmemchr-ifunc.c: Likewise.
24177         * string/test-stpcpy-ifunc.c: Likewise.
24178         * string/test-stpncpy-ifunc.c: Likewise.
24179         * string/test-strcasecmp-ifunc.c: Likewise.
24180         * string/test-strcasestr-ifunc.c: Likewise.
24181         * string/test-strcat-ifunc.c: Likewise.
24182         * string/test-strchr-ifunc.c: Likewise.
24183         * string/test-strchrnul-ifunc.c: Likewise.
24184         * string/test-strcmp-ifunc.c: Likewise.
24185         * string/test-strcpy-ifunc.c: Likewise.
24186         * string/test-strcspn-ifunc.c: Likewise.
24187         * string/test-strlen-ifunc.c: Likewise.
24188         * string/test-strncasecmp-ifunc.c: Likewise.
24189         * string/test-strncat-ifunc.c: Likewise.
24190         * string/test-strncmp-ifunc.c: Likewise.
24191         * string/test-strncpy-ifunc.c: Likewise.
24192         * string/test-strnlen-ifunc.c: Likewise.
24193         * string/test-strpbrk-ifunc.c: Likewise.
24194         * string/test-strrchr-ifunc.c: Likewise.
24195         * string/test-strspn-ifunc.c: Likewise.
24196         * string/test-strstr-ifunc.c: Likewise.
24198 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24200         * benchtests/Makefile: Remove ifunc tests.
24201         * benchtests/bench-string.h: Define TEST_IFUNC.
24202         * benchtests/bench-bcopy-ifunc.c: Remove.
24203         * benchtests/bench-bzero-ifunc.c: Likewise.
24204         * benchtests/bench-memccpy-ifunc.c: Likewise.
24205         * benchtests/bench-memchr-ifunc.c: Likewise.
24206         * benchtests/bench-memcmp-ifunc.c: Likewise.
24207         * benchtests/bench-memcpy-ifunc.c: Likewise.
24208         * benchtests/bench-memmem-ifunc.c: Likewise.
24209         * benchtests/bench-memmove-ifunc.c: Likewise.
24210         * benchtests/bench-mempcpy-ifunc.c: Likewise.
24211         * benchtests/bench-memrchr-ifunc.c: Likewise.
24212         * benchtests/bench-memset-ifunc.c: Likewise.
24213         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
24214         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
24215         * benchtests/bench-stpcpy-ifunc.c: Likewise.
24216         * benchtests/bench-stpncpy-ifunc.c: Likewise.
24217         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
24218         * benchtests/bench-strcasestr-ifunc.c: Likewise.
24219         * benchtests/bench-strcat-ifunc.c: Likewise.
24220         * benchtests/bench-strchr-ifunc.c: Likewise.
24221         * benchtests/bench-strchrnul-ifunc.c: Likewise.
24222         * benchtests/bench-strcmp-ifunc.c: Likewise.
24223         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
24224         * benchtests/bench-strcpy-ifunc.c: Likewise.
24225         * benchtests/bench-strcspn-ifunc.c: Likewise.
24226         * benchtests/bench-strlen-ifunc.c: Likewise.
24227         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
24228         * benchtests/bench-strncat-ifunc.c: Likewise.
24229         * benchtests/bench-strncmp-ifunc.c: Likewise.
24230         * benchtests/bench-strncpy-ifunc.c: Likewise.
24231         * benchtests/bench-strnlen-ifunc.c: Likewise.
24232         * benchtests/bench-strpbrk-ifunc.c: Likewise.
24233         * benchtests/bench-strrchr-ifunc.c: Likewise.
24234         * benchtests/bench-strsep-ifunc.c: Likewise.
24235         * benchtests/bench-strspn-ifunc.c: Likewise.
24236         * benchtests/bench-strstr-ifunc.c: Likewise.
24238 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24240         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
24242 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
24244         * resolv/netdb.h: Use __glibc_reserved instead __unused.
24245         * rt/aio.h: Likewise.
24246         * sysdeps/gnu/bits/utmp.h: Likewise.
24247         * sysdeps/gnu/bits/utmpx.h: Likewise.
24248         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24249         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
24250         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
24251         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
24252         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
24253         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
24254         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
24255         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
24256         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
24257         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
24258         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
24259         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
24260         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
24261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
24262         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24263         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
24264         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
24265         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
24266         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
24267         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
24268         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
24269         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
24270         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
24271         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24272         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
24273         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24274         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
24275         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
24276         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
24277         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
24278         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
24279         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
24280         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
24281         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24282         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
24283         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
24284         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
24285         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
24286         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
24287         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
24288         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
24289         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24291 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
24293         [BZ #16245]
24294         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
24295         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
24297 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
24299         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
24300         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24301         Likewise.
24303 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24305         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
24306         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
24307         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
24308         (__fesetround): Remove define.
24309         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
24310         rounding and exceptions handling.
24311         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
24312         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
24313         (__fe_nomask_env): Likewise.
24314         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
24315         __fegetround instead of fegetround.
24316         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24317         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
24319 2013-11-21  Roland McGrath  <roland@hack.frob.com>
24321         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
24322         it's there.
24324         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
24326 2013-11-21  Meador Inge  <meadori@codesourcery.com>
24328         [BZ #11157]
24329         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
24330         (encrypt_r): Likewise.
24331         * malloc/obstack.h (obstack_free): Likewise.
24332         * posix/unistd.h (encrypt): Likewise.
24334 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
24336         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
24337         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
24338         DL_CALL_DT_FINI() that call the functions directly.
24339         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
24340         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
24341         * elf/dl-fini.c: Likewise.
24343 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
24345         * malloc/hooks.c (memalign_check): Add alignment rounding.
24346         * malloc/malloc.c (_mid_memalign): New function.
24347         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
24348         Implement by calling _mid_memalign.
24349         * manual/probes.texi (Memory Allocation Probes): Remove
24350         memory_valloc_retry and memory_pvalloc_retry.
24352 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24354         * locale/programs/locarchive.c (open_archive): Add const
24355         qualifier to ARCHIVEFNAME and copy default fname to
24356         DEFAULT_FNAME.
24358         [BZ #15601]
24359         * libio/tst-widetext.input: Rename Oriya to Odia.
24360         * locale/iso-639.def: Likewise.
24362         * manual/probes.texi (Mathematical Function Probes): Add
24363         documentation for sin, cos, asin and acos probes.
24364         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
24365         (__sin32): Add slowasin probe.
24366         (__cos32): Add slowacos probe.
24367         (__mpsin): Add slowsin probe.
24368         (__mpcos): Add slowcos probe.
24370 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
24372         [BZ #15483]
24373         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
24374         thread-local __sim_exceptions_thread and global
24375         __sim_exceptions_global.
24376         (__sim_disabled_exceptions): Change to thread-local
24377         __sim_disabled_exceptions_thread and global
24378         __sim_disabled_exceptions_global.
24379         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24380         and global __sim_round_mode_global.
24381         (__simulate_exceptions): Use thread-local floating-point state and
24382         set global state from it as needed.
24383         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
24384         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
24385         __sim_round_mode_thread.
24386         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
24387         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
24388         and global __sim_exceptions_global.
24389         (__sim_disabled_exceptions): Change to thread-local
24390         __sim_disabled_exceptions_thread and global
24391         __sim_disabled_exceptions_global.
24392         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24393         and global __sim_round_mode_global.
24394         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
24395         (SIM_SET_GLOBAL): Likewise.
24396         * sysdeps/powerpc/soft-fp/sfp-machine.h
24397         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
24398         __sim_round_mode_thread.
24399         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
24400         __sim_disabled_exceptions_thread.
24401         (__sim_exceptions): Change to __sim_exceptions_thread.
24402         (__sim_disabled_exceptions): Change to
24403         __sim_disabled_exceptions_thread.
24404         (__sim_round_mode): Change to __sim_round_mode_thread.
24405         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
24406         thread-local floating-point state and set global state from it as
24407         needed.
24408         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
24409         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
24410         (__sim_disabled_exceptions): Remove extern declaration.
24411         (feenableexcept): Use thread-local floating-point state and set
24412         global state from it as needed.
24413         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
24414         extern declaration.
24415         (__sim_disabled_exceptions): Likewise.
24416         (__sim_round_mode): Likewise.
24417         (__fegetenv): Use thread-local floating-point state.
24418         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
24419         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24420         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
24421         floating-point state and set global state from it as needed.
24422         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
24423         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24424         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
24425         Likewise.
24426         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
24427         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
24428         Likewise.
24429         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
24430         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
24431         Use __sim_round_mode_thread.
24432         * math/test-fenv-tls.c: New file.
24433         * math/Makefile (tests): Add test-fenv-tls.
24434         ($(objpfx)test-fenv-tls): Depend on
24435         $(common-objpfx)nptl/libpthread.so.
24437 2013-11-19  Andreas Schwab  <schwab@suse.de>
24439         * locale/programs/locale.c (show_info): Decode wordarray elements.
24440         * locale/categories.def (LC_MONETARY): Add element for
24441         _NL_MONETARY_CRNCYSTR.
24442         * locale/C-monetary.c (conversion_rate): New variable.
24443         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
24444         element.
24446 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
24448         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
24449         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
24451 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
24453         * elf/Makefile (tst-auxv): New test.
24454         * elf/tst-auxv.c: New
24455         * elf/rtld.c (dl_main): Adjust AT_EXECFN
24457 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
24459         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
24460         (hidden_proto): Caller changed.
24461         (hidden_tls_proto): New macro.
24462         (libc_hidden_tls_proto): Likewise.
24463         (rtld_hidden_tls_proto): Likewise.
24464         (libm_hidden_tls_proto): Likewise.
24465         (libresolv_hidden_tls_proto): Likewise.
24466         (librt_hidden_tls_proto): Likewise.
24467         (libdl_hidden_tls_proto): Likewise.
24468         (libnss_files_hidden_tls_proto): Likewise.
24469         (libnsl_hidden_tls_proto): Likewise.
24470         (libnss_nisplus_hidden_tls_proto): Likewise.
24471         (libutil_hidden_tls_proto): Likewise.
24473 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
24475         [BZ #10253]
24476         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
24477         (decompose_rpath): Defer expansion to fillin_rpath.
24478         (_dl_init_paths): Pass linkmap to fillin_rpath.
24480 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24482         * benchtests/Makefile: Add strsep.
24483         * benchtests/bench-strsep.c: New file: strsep benchtest.
24484         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
24486 2013-11-18  Andreas Schwab  <schwab@suse.de>
24488         * locale/programs/locale.c (show_info) [case byte]: Check for
24489         '\377' instead of '\177'.
24490         * locale/C-monetary.c (not_available): Always use "\377".
24491         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
24492         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
24493         detect unavailable sign_posn locale elements.
24494         * locale/localeconv.c (__localeconv): For grouping and
24495         mon_grouping handle "\177" and "\377" like no grouping.
24496         (INT_ELEM): New macro.  Use it to set all numeric members.
24497         * locale/programs/ld-monetary.c (monetary_read)
24498         <tok_mon_grouping>: Normalize single -1 to the empty string.
24499         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
24500         Likewise.
24502 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
24504         [BZ #16055]
24505         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
24506         when we match (nil).
24507         * stdio-common/tst-sscanf.c (struct test): Add testcase.
24509 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
24511         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
24512         (NO_TEST_INLINE): Update value.
24513         (ERRNO_UNCHANGED): Likewise.
24514         (ERRNO_EDOM): Likewise.
24515         (ERRNO_ERANGE): Likewise.
24516         (IGNORE_RESULT): Likewise.
24517         (check_float_internal): Check signs of NaN results if
24518         TEST_NAN_SIGN used.
24519         (check_complex): Pass TEST_NAN_SIGN flag through to second
24520         check_float_internal call.
24521         (copysign_test_data): Add tests with quiet NaNs as second
24522         argument.  Use TEST_NAN_SIGN.
24523         (fabs_test_data): Add test of negative quiet NaN argument.  Use
24524         TEST_NAN_SIGN.
24525         (signbit_test_data): Add tests of quiet NaN argument.
24526         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
24528         * math/gen-libm-test.pl (show_exceptions): Take extra argument
24529         $ignore_result.
24530         (parse_args): Handle function results specified as IGNORE.
24531         * math/libm-test.inc (IGNORE_RESULT): New macro.
24532         (check_float_internal): Do not check numerical result if flag
24533         IGNORE_RESULT set.
24534         (check_complex): Pass through IGNORE_RESULT to second
24535         check_float_internal call.
24536         (check_int): Do not check numerical result if flag IGNORE_RESULT
24537         set.
24538         (check_long): Likewise.
24539         (check_bool): Likewise.
24540         (check_longlong): Likewise.
24541         (lrint_test_data): Add tests of infinite and NaN arguments.
24542         (lrint_tonearest_test_data): Likewise.
24543         (lrint_towardzero_test_data): Likewise.
24544         (lrint_downward_test_data): Likewise.
24545         (lrint_upward_test_data): Likewise.
24546         (llrint_test_data): Likewise.
24547         (llrint_tonearest_test_data): Likewise.
24548         (llrint_towardzero_test_data): Likewise.
24549         (llrint_downward_test_data): Likewise.
24550         (llrint_upward_test_data): Likewise.
24551         (lround_test_data): Likewise.
24552         (llround_test_data): Likewise.
24554         * math/libm-test.inc (NO_TEST_INLINE): New macro.
24555         (ERRNO_UNCHANGED): Update value.
24556         (ERRNO_EDOM): Likewise.
24557         (ERRNO_ERANGE): Likewise.
24558         (NO_TEST_INLINE_FLOAT): New macro.
24559         (NO_TEST_INLINE_DOUBLE): Likewise.
24560         (enable_test): New function.
24561         (RUN_TEST_f_f): Check enable_test before running test.
24562         (RUN_TEST_2_f): Likewise.
24563         (RUN_TEST_fff_f): Likewise.
24564         (RUN_TEST_c_f): Likewise.
24565         (RUN_TEST_f_f1): Likewise.
24566         (RUN_TEST_fF_f1): Likewise.
24567         (RUN_TEST_fI_f1): Likewise.
24568         (RUN_TEST_ffI_f1): Likewise.
24569         (RUN_TEST_c_c): Likewise.
24570         (RUN_TEST_cc_c): Likewise.
24571         (RUN_TEST_f_i): Likewise.
24572         (RUN_TEST_f_i_tg): Likewise.
24573         (RUN_TEST_ff_i_tg): Likewise.
24574         (RUN_TEST_f_b): Likewise.
24575         (RUN_TEST_f_b_tg): Likewise.
24576         (RUN_TEST_f_l): Likewise.
24577         (RUN_TEST_f_L): Likewise.
24578         (RUN_TEST_fFF_11): Likewise.
24579         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
24580         conditionals.
24581         (cosh_test_data): Likewise.
24582         (exp_test_data): Likewise.
24583         (expm1_test_data): Likewise.
24584         (hypot_test_data): Likewise.
24585         (pow_test_data): Likewise.
24586         (sinh_test_data): Likewise.
24587         (tanh_test_data): Likewise.
24588         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
24589         flags argument.
24591         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
24592         tests with quiet NaN input and output.
24593         (acosh_test_data): Likewise.
24594         (asin_test_data): Likewise.
24595         (asinh_test_data): Likewise.
24596         (atan_test_data): Likewise.
24597         (atanh_test_data): Likewise.
24598         (atan2_test_data): Likewise.
24599         (cbrt_test_data): Likewise.
24600         (cos_test_data): Likewise.
24601         (cosh_test_data): Likewise.
24602         (erf_test_data): Likewise.
24603         (erfc_test_data): Likewise.
24604         (exp_test_data): Likewise.
24605         (exp10_test_data): Likewise.
24606         (exp2_test_data): Likewise.
24607         (expm1_test_data): Likewise.
24608         (hypot_test_data): Likewise.
24609         (j0_test_data): Likewise.
24610         (j1_test_data): Likewise.
24611         (jn_test_data): Likewise.
24612         (lgamma_test_data): Likewise.
24613         (log_test_data): Likewise.
24614         (log10_test_data): Likewise.
24615         (log1p_test_data): Likewise.
24616         (log2_test_data): Likewise.
24617         (pow_test_data): Likewise.
24618         (scalb_test_data): Likewise.
24619         (sin_test_data): Likewise.
24620         (sincos_test_data): Likewise.
24621         (sinh_test_data): Likewise.
24622         (tan_test_data): Likewise.
24623         (tanh_test_data): Likewise.
24624         (tgamma_test_data): Likewise.
24625         (y0_test_data): Likewise.
24626         (y1_test_data): Likewise.
24627         (yn_test_data): Likewise.
24629         [BZ #16167]
24630         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
24631         argument being NaN and avoid computations with second argument in
24632         that case.
24633         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24634         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
24635         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24637 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
24639         * locale/iso-639.def: Add Chitwani Tharu (the).
24641 2013-11-14  Andreas Schwab  <schwab@suse.de>
24643         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
24644         word instead of empty string.
24646 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24649         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
24650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24651         (__fe_nomask_env): Likewise.
24653 2013-11-13  Steve Ellcey  <sellcey@mips.com>
24655         * benchtests/bench-timing.h: Include time.h.
24657 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
24659         [BZ #15997]
24660         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
24661         to 3.4.0 for x32.
24662         * sysdeps/unix/sysv/linux/configure: Regenerated.
24664 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
24666         [BZ #16151]
24667         * stdlib/strtod_l.c (round_and_return): Do not consider
24668         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
24669         exponent one less than half the least subnormal exponent.
24670         * stdlib/test-strtod-round-data: Add more tests.
24671         * stdlib/tst-strtod-round.c (tests): Regenerated.
24673 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24675         [BZ #14143]
24676         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
24677         (__fe_mask_env): Likewise.
24678         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
24679         libm_hidden_proto and add function prototype.
24680         (__fe_mask_env): Add function prototype.
24681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24682         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
24683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24684         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
24685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24686         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
24688 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24690         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
24691         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
24693 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24695         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
24696         of htab_find_slot().
24698 2013-11-11  David S. Miller  <davem@davemloft.net>
24700         [BZ #16150]
24701         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
24702         symbol in the non-vis3 case in static builds.
24703         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
24704         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
24705         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
24706         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
24708 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
24710         [BZ #387]
24711         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
24712         it is empty.
24714 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24716         * benchtests/Makefile: Add bench-strtod.
24717         * benchtests/bench-strtod.c: New file: strtod benchtest
24719 2013-11-11  Andreas Schwab  <schwab@suse.de>
24721         [BZ #16153]
24722         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
24723         terminating NUL in key length.
24725 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24727         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24728         Add artificial ODP entry for vDSO symbol for PPC64.
24729         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
24730         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
24732 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
24734         [BZ #15374]
24735         * nss/getent.c (services_keys): Recognize services starting with digit.
24737 2013-11-06  David S. Miller  <davem@davemloft.net>
24739         [BZ #15985]
24740         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
24741         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
24743 2013-11-06  Will Newton  <will.newton@linaro.org>
24745         * manual/memory.texi (Malloc Examples): Remove register
24746         keyword from examples.
24748 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
24750         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
24752 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
24754         [BZ #6981]
24755         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
24756         depending on [__GCC_IEC_559 > 0].
24757         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
24758         depending on [__GCC_IEC_559_COMPLEX > 0].
24760 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
24762         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
24763         to iso-639.def.
24765 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
24767         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
24769 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
24771         [BZ #16112]
24772         * malloc/malloc (malloc_info): Do not handle first bin as
24773         special case.
24775 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
24777         * locale/iso-639.def: Add Central Nahuatl (nhn).
24779 2013-11-01  Bruno Haible  <bruno@clisp.org>
24781         [BZ #7003]
24782         * manual/math.texi (BSD Random): Specify range upper bound as
24783         in POSIX.
24785 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
24787         * locale/iso-639.def: Add Meadow Mari (mhr).
24789 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
24791         [BZ #14752], [BZ #15763]
24792         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
24793         Validate name.
24794         * rt/tst_shm.c: Add test for escaping directory.
24796 2013-10-31  Andreas Schwab  <schwab@suse.de>
24798         [BZ #15917]
24799         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
24800         followed by 'x' as part of digit sequence.
24801         * stdio-common/tst-sscanf.c (double_tests2): New tests.
24803 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
24805         [BZ #16037]
24806         * configure.ac: allow GNU Make 4.0 and greater.
24807         * configure: Regenerated.
24809 2013-10-30  Will Newton  <will.newton@linaro.org>
24811         [BZ #16038]
24812         * malloc/hooks.c (memalign_check): Limit alignment to the
24813         maximum representable power of two.
24814         * malloc/malloc.c (__libc_memalign): Likewise.
24815         * malloc/tst-memalign.c (do_test): Add test for very
24816         large alignment values.
24817         * malloc/tst-posix_memalign.c (do_test): Likewise.
24819 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
24821         [BZ #11087]
24822         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
24823         (munmap_chunk): Likewise.
24824         (mremap_chunk): Likewise.
24826 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
24828         [BZ #15799]
24829         * stdlib/div.c (div): Remove obsolete code.
24830         * stdlib/ldiv.c (ldiv): Likewise.
24831         * stdlib/lldiv.c (lldiv): Likewise.
24833 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24835         [BZ #16071]
24836         * nss/nss_files/files-XXX.c (get_contents_ret): New
24837         enumerator.
24838         (get_contents): New function.
24839         (internal_getent): Use it.  Expand size of LINEBUFLEN.
24841 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
24843         * configure.in: Moved to ...
24844         * configure.ac: ... here. Change reference to configure.in
24845         to configure.ac.
24846         * sysdeps/arm/preconfigure.ac: ... here.
24847         configure.in to configure.ac.
24848         * sysdeps/gnu/configure.in: Moved to ...
24849         * sysdeps/gnu/configure.ac: ... here.
24850         * sysdeps/i386/configure.in: Moved to ...
24851         * sysdeps/i386/configure.ac: ... here.
24852         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
24853         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
24854         * sysdeps/mach/configure.in: Moved to ...
24855         * sysdeps/mach/configure.ac: ... here.
24856         * sysdeps/mach/hurd/configure.in: Moved to ...
24857         * sysdeps/mach/hurd/configure.ac: ... here.
24858         * sysdeps/powerpc/configure.in: Moved to ...
24859         * sysdeps/powerpc/configure.ac: ... here.
24860         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
24861         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
24862         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
24863         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
24864         * sysdeps/s390/s390-32/configure.in: Moved to ...
24865         * sysdeps/s390/s390-32/configure.ac: ... here.
24866         * sysdeps/s390/s390-64/configure.in: Moved to ...
24867         * sysdeps/s390/s390-64/configure.ac: ... here.
24868         * sysdeps/sh/configure.in: Moved to ...
24869         * sysdeps/sh/configure.ac: ... here.
24870         * sysdeps/sparc/configure.in: Moved to ...
24871         * sysdeps/sparc/configure.ac: ... here.
24872         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
24873         * sysdeps/unix/sysv/linux/configure.ac: ... here.
24874         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
24875         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
24876         * sysdeps/x86_64/configure.in: Moved to ...
24877         * sysdeps/x86_64/configure.ac: ... here.
24878         * sysdeps/x86_64/preconfigure.in: Moved to ...
24879         * sysdeps/x86_64/preconfigure.ac: ... here.
24880         * aclocal.m4: Change reference to configure.in to configure.ac.
24881         * config.h.in: Likewise.
24882         * manual/install.texi: Likewise.
24883         * manual/maint.texi: Likewise.
24884         * Makefile: Likewise.
24885         * malloc/Makefile: Likewise.
24886         * nscd/Makefile: Likewise.
24887         * Makeconfig: Change reference to configure.in and
24888         preconfigure.in to configure.ac and preconfigure.ac
24889         respectively.
24890         * INSTALL: Regenerated.
24891         * configure: Likewise.
24892         * sysdeps/gnu/configure: Likewise.
24893         * sysdeps/i386/configure: Likewise.
24894         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
24895         * sysdeps/mach/configure: Likewise.
24896         * sysdeps/mach/hurd/configure: Likewise.
24897         * sysdeps/powerpc/configure: Likewise.
24898         * sysdeps/powerpc/powerpc32/configure: Likewise.
24899         * sysdeps/powerpc/powerpc64/configure: Likewise.
24900         * sysdeps/s390/s390-32/configure: Likewise.
24901         * sysdeps/s390/s390-64/configure: Likewise.
24902         * sysdeps/sh/configure: Likewise.
24903         * sysdeps/sparc/configure: Likewise.
24904         * sysdeps/unix/sysv/linux/configure: Likewise.
24905         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
24906         * sysdeps/x86_64/configure: Likewise.
24907         * sysdeps/x86_64/preconfigure: Likewise.
24909 2013-10-29  Andreas Schwab  <schwab@suse.de>
24911         * stdio-common/Makefile (tst-swscanf-ENV): Define.
24913 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24915         * benchtests/pow-inputs: Add new inputs.
24917         * benchtests/exp-inputs: Add new inputs.
24919         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
24920         conditional check for return value.
24921         (__cos32): Likewise.
24923 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24925         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
24926         to provide a boost for large inputs with word alignment.
24927         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
24928         implementation based on optimized PPC64 strcpy.
24929         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
24930         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
24931         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
24932         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
24934 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
24936         [BZ #2801]
24937         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
24939 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
24941         [BZ #14876]
24942         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
24943         * time/tst-strptime.c (day_tests): Add testcase.
24945 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
24947         [BZ #14029]
24948         * manual/pattern.texi: Acknowledge that fnmatch can fail.
24950 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
24952         [BZ #16074]
24953         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
24954         MAP_FAILED on error.
24956 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24958         [BZ #16072]
24959         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
24960         heap for large requests.
24962 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
24964         [BZ #9954]
24965         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
24966         result if the result has no associated interface.
24967         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
24968         interface for all 127.X.Y.Z addresses.
24970 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
24972         * locale/iso-639.def: Add Ligurian (lij)
24974 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
24976         [BZ #15825]
24977         * sunrpc/rpc_main.c: Document rpcgen -5.
24979 2013-10-19  Michael Stahl  <mstahl@redhat.com>
24981         * elf/rtld.c (do_preload): Print the reason why preloading failed.
24983 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
24985         [BZ #10278]
24986         * posix/glob.c: Match only directories when trailing slash is present.
24987         * posix/tst-gnuglob.c (my_opendir): Do not open files.
24988         (main): Add testcase.
24990 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
24992         [BZ #15670]
24993         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
24995 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
24997         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
24998         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
24999         AUTH_DES and cindex for FIPS 140-2.
25000         (DES Encryption): Add cindex FIPS 46-3.
25002         * locale/locarchive.h (struct locarhandle): Add fname.
25003         * locale/programs/localedef.c (main): Pass ARGV[remaining]
25004         if an optional argument was specified to --list-archive,
25005         otherwise NULL.
25006         * locale/programs/locarchive.c (show_archive_content): Take new
25007         argument fname and pass it via ah.fname to open_archive.
25008         * locale/programs/localedef.h: Update decl.
25009         (open_archive): If AH->fname is non-null, open that file
25010         rather than the default file name, and don't ignore ENOENT.
25011         (create_archive): Set AH.fname to NULL.
25012         (delete_locales_from_archive): Likewise.
25013         (add_locales_to_archive): Likewise.
25014         * locale/programs/locfile.c (write_all_categories): Likewise.
25016 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
25017             Aldy Hernandez  <aldyh@redhat.com>
25019         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
25020         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
25021         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
25022         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
25023         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
25024         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
25025         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
25026         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
25027         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
25028         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
25029         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
25030         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
25031         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
25032         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
25033         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
25034         Likewise.
25035         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
25036         Likewise.
25037         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
25038         Likewise.
25039         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
25040         Likewise.
25041         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
25042         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
25043         Likewise.
25044         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
25045         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
25046         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
25047         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
25048         Likewise.
25049         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
25050         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
25051         * sysdeps/powerpc/preconfigure: Likewise.
25052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
25053         Likewise.
25054         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
25055         Replace contents of file by #include of <fenv_libc.h>.
25056         * sysdeps/powerpc/soft-fp/sfp-machine.h
25057         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
25058         and <sys/prctl.h>.
25059         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
25060         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
25061         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
25062         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
25063         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
25064         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
25065         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
25066         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
25067         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
25068         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
25069         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
25070         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
25071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25072         Allow copysignl PLT reference to be missing.
25074 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
25075             Joseph Myers  <joseph@codesourcery.com
25077         [BZ #15948]
25078         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
25079         single character.
25080         (add_to_tablewc): Assert sequence of wide characters is nonempty.
25082 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25084         * elf/tst-tls-dlinfo.c: Don't include tls.h.
25085         * elf/tst-tls1.c: Likewise.
25086         * elf/tst-tls10.h: Likewise.
25087         * elf/tst-tls14.c: Likewise.
25088         * elf/tst-tls2.c: Likewise.
25089         * elf/tst-tls3.c: Likewise.
25090         * elf/tst-tls4.c: Likewise.
25091         * elf/tst-tls5.c: Likewise.
25092         * elf/tst-tls6.c: Likewise.
25093         * elf/tst-tls7.c: Likewise.
25094         * elf/tst-tls8.c: Likewise.
25095         * elf/tst-tls9.c: Likewise.
25096         * elf/tst-tlsmod1.c: Likewise.
25097         * elf/tst-tlsmod13.c: Likewise.
25098         * elf/tst-tlsmod13a.c: Likewise.
25099         * elf/tst-tlsmod14a.c: Likewise.
25100         * elf/tst-tlsmod16a.c: Likewise.
25101         * elf/tst-tlsmod16b.c: Likewise.
25102         * elf/tst-tlsmod2.c: Likewise.
25103         * elf/tst-tlsmod3.c: Likewise.
25104         * elf/tst-tlsmod4.c: Likewise.
25105         * elf/tst-tlsmod5.c: Likewise.
25106         * elf/tst-tlsmod6.c: Likewise.
25108 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
25110         [BZ #12486]
25111         * malloc/malloc.c: remove checks for statistics.
25113 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
25115         [BZ #15277]
25116         * inet/inet_net.c (inet_network): Detect additional invalid strings.
25117         * inet/tst-network.c: Add testcase.
25119 2013-10-17  Andreas Schwab  <schwab@suse.de>
25121         [BZ #15218]
25122         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
25123         to determine canonical name.
25125 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
25127         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
25128         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
25129         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25130         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25131         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25132         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25133         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25134         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25135         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25136         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25137         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25138         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25139         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25140         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25141         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25142         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25143         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25144         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25145         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25146         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25147         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25148         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25149         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25150         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
25151         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
25152         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25153         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25154         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
25155         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25156         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
25157         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25158         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25159         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25160         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25161         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25162         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25163         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25164         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25165         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25166         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25167         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25168         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25169         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25170         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25171         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25172         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25173         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25174         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25175         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25176         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25177         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25178         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25179         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25180         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25181         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25182         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25183         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25184         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25186 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
25188         [BZ #16041]
25189         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
25190         make result into a quiet NaN.
25192 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
25194         * soft-fp/adddf3.c: Fix horizontal whitespace.
25195         * soft-fp/addsf3.c: Likewise.
25196         * soft-fp/addtf3.c: Likewise.
25197         * soft-fp/divdf3.c: Likewise.
25198         * soft-fp/divsf3.c: Likewise.
25199         * soft-fp/divtf3.c: Likewise.
25200         * soft-fp/double.h: Likewise.
25201         * soft-fp/eqdf2.c: Likewise.
25202         * soft-fp/eqsf2.c: Likewise.
25203         * soft-fp/eqtf2.c: Likewise.
25204         * soft-fp/extenddftf2.c: Likewise.
25205         * soft-fp/extended.h: Likewise.
25206         * soft-fp/extendsfdf2.c: Likewise.
25207         * soft-fp/extendsftf2.c: Likewise.
25208         * soft-fp/extendxftf2.c: Likewise.
25209         * soft-fp/fixdfdi.c: Likewise.
25210         * soft-fp/fixdfsi.c: Likewise.
25211         * soft-fp/fixdfti.c: Likewise.
25212         * soft-fp/fixsfdi.c: Likewise.
25213         * soft-fp/fixsfsi.c: Likewise.
25214         * soft-fp/fixsfti.c: Likewise.
25215         * soft-fp/fixtfdi.c: Likewise.
25216         * soft-fp/fixtfsi.c: Likewise.
25217         * soft-fp/fixtfti.c: Likewise.
25218         * soft-fp/fixunsdfdi.c: Likewise.
25219         * soft-fp/fixunsdfsi.c: Likewise.
25220         * soft-fp/fixunsdfti.c: Likewise.
25221         * soft-fp/fixunssfdi.c: Likewise.
25222         * soft-fp/fixunssfsi.c: Likewise.
25223         * soft-fp/fixunssfti.c: Likewise.
25224         * soft-fp/fixunstfdi.c: Likewise.
25225         * soft-fp/fixunstfsi.c: Likewise.
25226         * soft-fp/fixunstfti.c: Likewise.
25227         * soft-fp/floatdidf.c: Likewise.
25228         * soft-fp/floatdisf.c: Likewise.
25229         * soft-fp/floatditf.c: Likewise.
25230         * soft-fp/floatsidf.c: Likewise.
25231         * soft-fp/floatsisf.c: Likewise.
25232         * soft-fp/floatsitf.c: Likewise.
25233         * soft-fp/floattidf.c: Likewise.
25234         * soft-fp/floattisf.c: Likewise.
25235         * soft-fp/floattitf.c: Likewise.
25236         * soft-fp/floatundidf.c: Likewise.
25237         * soft-fp/floatundisf.c: Likewise.
25238         * soft-fp/floatunditf.c: Likewise.
25239         * soft-fp/floatunsidf.c: Likewise.
25240         * soft-fp/floatunsisf.c: Likewise.
25241         * soft-fp/floatunsitf.c: Likewise.
25242         * soft-fp/floatuntidf.c: Likewise.
25243         * soft-fp/floatuntisf.c: Likewise.
25244         * soft-fp/floatuntitf.c: Likewise.
25245         * soft-fp/fmadf4.c: Likewise.
25246         * soft-fp/fmasf4.c: Likewise.
25247         * soft-fp/fmatf4.c: Likewise.
25248         * soft-fp/gedf2.c: Likewise.
25249         * soft-fp/gesf2.c: Likewise.
25250         * soft-fp/getf2.c: Likewise.
25251         * soft-fp/ledf2.c: Likewise.
25252         * soft-fp/lesf2.c: Likewise.
25253         * soft-fp/letf2.c: Likewise.
25254         * soft-fp/muldf3.c: Likewise.
25255         * soft-fp/mulsf3.c: Likewise.
25256         * soft-fp/multf3.c: Likewise.
25257         * soft-fp/negdf2.c: Likewise.
25258         * soft-fp/negsf2.c: Likewise.
25259         * soft-fp/negtf2.c: Likewise.
25260         * soft-fp/op-1.h: Likewise.
25261         * soft-fp/op-2.h: Likewise.
25262         * soft-fp/op-4.h: Likewise.
25263         * soft-fp/op-8.h: Likewise.
25264         * soft-fp/op-common.h: Likewise.
25265         * soft-fp/quad.h: Likewise.
25266         * soft-fp/single.h: Likewise.
25267         * soft-fp/soft-fp.h: Likewise.
25268         * soft-fp/sqrtdf2.c: Likewise.
25269         * soft-fp/sqrtsf2.c: Likewise.
25270         * soft-fp/sqrttf2.c: Likewise.
25271         * soft-fp/subdf3.c: Likewise.
25272         * soft-fp/subsf3.c: Likewise.
25273         * soft-fp/subtf3.c: Likewise.
25274         * soft-fp/truncdfsf2.c: Likewise.
25275         * soft-fp/trunctfdf2.c: Likewise.
25276         * soft-fp/trunctfsf2.c: Likewise.
25277         * soft-fp/trunctfxf2.c: Likewise.
25278         * soft-fp/unorddf2.c: Likewise.
25279         * soft-fp/unordsf2.c: Likewise.
25280         * soft-fp/unordtf2.c: Likewise.
25282 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
25284         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
25285         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
25287 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
25289         * elf/dl-libc.c: Clear initfini list after freeing.
25291 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
25293         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
25294         * soft-fp/addsf3.c: Likewise.
25295         * soft-fp/addtf3.c: Likewise.
25296         * soft-fp/divdf3.c: Likewise.
25297         * soft-fp/divsf3.c: Likewise.
25298         * soft-fp/divtf3.c: Likewise.
25299         * soft-fp/double.h: Likewise.
25300         * soft-fp/eqdf2.c: Likewise.
25301         * soft-fp/eqsf2.c: Likewise.
25302         * soft-fp/eqtf2.c: Likewise.
25303         * soft-fp/extenddftf2.c: Likewise.
25304         * soft-fp/extended.h: Likewise.
25305         * soft-fp/extendsfdf2.c: Likewise.
25306         * soft-fp/extendsftf2.c: Likewise.
25307         * soft-fp/extendxftf2.c: Likewise.
25308         * soft-fp/fixdfdi.c: Likewise.
25309         * soft-fp/fixdfsi.c: Likewise.
25310         * soft-fp/fixdfti.c: Likewise.
25311         * soft-fp/fixsfdi.c: Likewise.
25312         * soft-fp/fixsfsi.c: Likewise.
25313         * soft-fp/fixsfti.c: Likewise.
25314         * soft-fp/fixtfdi.c: Likewise.
25315         * soft-fp/fixtfsi.c: Likewise.
25316         * soft-fp/fixtfti.c: Likewise.
25317         * soft-fp/fixunsdfdi.c: Likewise.
25318         * soft-fp/fixunsdfsi.c: Likewise.
25319         * soft-fp/fixunsdfti.c: Likewise.
25320         * soft-fp/fixunssfdi.c: Likewise.
25321         * soft-fp/fixunssfsi.c: Likewise.
25322         * soft-fp/fixunssfti.c: Likewise.
25323         * soft-fp/fixunstfdi.c: Likewise.
25324         * soft-fp/fixunstfsi.c: Likewise.
25325         * soft-fp/fixunstfti.c: Likewise.
25326         * soft-fp/floatdidf.c: Likewise.
25327         * soft-fp/floatdisf.c: Likewise.
25328         * soft-fp/floatditf.c: Likewise.
25329         * soft-fp/floatsidf.c: Likewise.
25330         * soft-fp/floatsisf.c: Likewise.
25331         * soft-fp/floatsitf.c: Likewise.
25332         * soft-fp/floattidf.c: Likewise.
25333         * soft-fp/floattisf.c: Likewise.
25334         * soft-fp/floattitf.c: Likewise.
25335         * soft-fp/floatundidf.c: Likewise.
25336         * soft-fp/floatundisf.c: Likewise.
25337         * soft-fp/floatunsidf.c: Likewise.
25338         * soft-fp/floatunsisf.c: Likewise.
25339         * soft-fp/floatuntidf.c: Likewise.
25340         * soft-fp/floatuntisf.c: Likewise.
25341         * soft-fp/floatuntitf.c: Likewise.
25342         * soft-fp/fmadf4.c: Likewise.
25343         * soft-fp/fmasf4.c: Likewise.
25344         * soft-fp/fmatf4.c: Likewise.
25345         * soft-fp/gedf2.c: Likewise.
25346         * soft-fp/gesf2.c: Likewise.
25347         * soft-fp/getf2.c: Likewise.
25348         * soft-fp/ledf2.c: Likewise.
25349         * soft-fp/lesf2.c: Likewise.
25350         * soft-fp/letf2.c: Likewise.
25351         * soft-fp/muldf3.c: Likewise.
25352         * soft-fp/mulsf3.c: Likewise.
25353         * soft-fp/multf3.c: Likewise.
25354         * soft-fp/negdf2.c: Likewise.
25355         * soft-fp/negsf2.c: Likewise.
25356         * soft-fp/negtf2.c: Likewise.
25357         * soft-fp/op-1.h: Likewise.
25358         * soft-fp/op-2.h: Likewise.
25359         * soft-fp/op-4.h: Likewise.
25360         * soft-fp/op-8.h: Likewise.
25361         * soft-fp/op-common.h: Likewise.
25362         * soft-fp/quad.h: Likewise.
25363         * soft-fp/single.h: Likewise.
25364         * soft-fp/soft-fp.h: Likewise.
25365         * soft-fp/sqrtdf2.c: Likewise.
25366         * soft-fp/sqrtsf2.c: Likewise.
25367         * soft-fp/sqrttf2.c: Likewise.
25368         * soft-fp/subdf3.c: Likewise.
25369         * soft-fp/subsf3.c: Likewise.
25370         * soft-fp/subtf3.c: Likewise.
25371         * soft-fp/truncdfsf2.c: Likewise.
25372         * soft-fp/trunctfdf2.c: Likewise.
25373         * soft-fp/trunctfsf2.c: Likewise.
25374         * soft-fp/trunctfxf2.c: Likewise.
25375         * soft-fp/unorddf2.c: Likewise.
25376         * soft-fp/unordsf2.c: Likewise.
25377         * soft-fp/unordtf2.c: Likewise.
25379 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
25381         [BZ #15672]
25382         * misc/error.c (error_tail): Fix possible buffer overflow.
25384 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
25386         [BZ #13028]
25387         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
25388         address.
25390 2013-10-14  P. J. McDermott  <pj@pehjota.net>
25392         [BZ #832]
25393         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
25394         testing pipefail option.
25396 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
25398         * soft-fp/double.h: Indent preprocessor directives inside #if.
25399         * soft-fp/extended.h: Likewise.
25400         * soft-fp/op-2.h: Likewise.
25401         * soft-fp/op-4.h: Likewise.
25402         * soft-fp/op-common.h: Likewise.
25403         * soft-fp/quad.h: Likewise.
25404         * soft-fp/single.h: Likewise.
25405         * soft-fp/soft-fp.h: Likewise.
25407 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
25409         * iconv/iconv_prog.c: Fix typos.
25410         * stdio-common/psiginfo-data.h: Likewise.
25412 2013-10-12   Reuben Thomas <rrt@sc3d.org>
25414         [BZ #15764]
25415         * locale/setlocale.c: Fix typo.
25417 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
25419         [BZ #16036]
25420         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
25421         signaling NaN arguments.
25422         * soft-fp/unordsf2.c (__unordsf2): Likewise.
25423         * soft-fp/unordtf2.c (__unordtf2): Likewise.
25425         [BZ #14910]
25426         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
25427         unordered operands.
25428         * soft-fp/gesf2.c (__gesf2): Likewise.
25429         * soft-fp/getf2.c (__getf2): Likewise.
25430         * soft-fp/ledf2.c (__ledf2): Likewise.
25431         * soft-fp/lesf2.c (__lesf2): Likewise.
25432         * soft-fp/letf2.c (__letf2): Likewise.
25434         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
25435         * soft-fp/eqsf2.c (__eqsf2): Likewise.
25436         * soft-fp/eqtf2.c (__eqtf2): Likewise.
25437         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
25438         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
25439         * soft-fp/fixdfti.c (__fixdfti): Likewise.
25440         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
25441         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
25442         * soft-fp/fixsfti.c (__fixsfti): Likewise.
25443         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
25444         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
25445         * soft-fp/fixtfti.c (__fixtfti): Likewise.
25446         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
25447         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
25448         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
25449         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
25450         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
25451         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
25452         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
25453         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
25454         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
25455         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
25456         * soft-fp/floatdisf.c (__floatdisf): Likewise.
25457         * soft-fp/floatsisf.c (__floatsisf): Likewise.
25458         * soft-fp/floattidf.c (__floattidf): Likewise.
25459         * soft-fp/floattisf.c (__floattisf): Likewise.
25460         * soft-fp/floattitf.c (__floattitf): Likewise.
25461         * soft-fp/floatundidf.c (__floatundidf): Likewise.
25462         * soft-fp/floatundisf.c (__floatundisf): Likewise.
25463         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
25464         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
25465         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
25466         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
25467         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
25468         * soft-fp/gesf2.c (__gesf2): Likewise.
25469         * soft-fp/getf2.c (__getf2): Likewise.
25470         * soft-fp/ledf2.c (__ledf2): Likewise.
25471         * soft-fp/lesf2.c (__lesf2): Likewise.
25472         * soft-fp/letf2.c (__letf2): Likewise.
25474         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
25475         Undefine and redefine.
25476         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
25477         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
25478         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
25479         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
25480         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25481         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
25482         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25483         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
25484         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25485         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
25486         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25487         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
25488         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25489         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
25490         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25492         [BZ #16032]
25493         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
25494         without decrementing exponent if mantissa >= that for the
25495         denominator, not >.
25496         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
25497         denominator, not >.  Decrement exponent in < case instead of
25498         incrementing in >= case.
25499         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
25500         without decrementing exponent if mantissa >= that for the
25501         denominator, not >.
25503         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
25504         computing saturated result for unsigned overflow.
25506 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25507             Jeff Law  <law@redhat.com>
25509         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
25510         (atan2Mp): Add systemtap probe marker.
25511         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
25512         (__ieee754_log): Add systemtap probe marker.
25513         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
25514         (atanMp): Add systemtap probe marker.
25515         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
25516         (tanMp): Add systemtap probe marker.
25517         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
25518         (__slowexp): Add systemtap probe marker.
25519         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
25520         (__slowpow): Add systemtap probe marker.
25521         * manual/probes.texi: Document probes.
25523 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
25525         [BZ #15362]
25526         * libio/fileops.c (_IO_new_file_write): Return count of bytes
25527         written.
25528         (_IO_new_file_xsputn): Don't return EOF if nothing has been
25529         written.
25530         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
25531         written to buffer but not flushed.
25532         * libio/iofwrite_u.c:  Likewise.
25533         * libio/iopadn.c:  Return bytes returned even if EOF was
25534         encountered.
25535         * libio/iowpadn.c:  Likewise.
25536         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
25537         if _IO_padn does not write the whole buffer.
25538         [!COMPILE_WPRINTF] (PAD): Likewise.
25540 2013-10-10  David S. Miller  <davem@davemloft.net>
25542         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
25543         directory block.
25545 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
25547         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
25548         instead of FSF address.
25549         * soft-fp/fixdfti.c: Likewise.
25550         * soft-fp/fixsfti.c: Likewise.
25551         * soft-fp/fixtfti.c: Likewise.
25552         * soft-fp/fixunsdfti.c: Likewise.
25553         * soft-fp/fixunssfti.c: Likewise.
25554         * soft-fp/fixunstfti.c: Likewise.
25555         * soft-fp/floattidf.c: Likewise.
25556         * soft-fp/floattisf.c: Likewise.
25557         * soft-fp/floattitf.c: Likewise.
25558         * soft-fp/floatuntidf.c: Likewise.
25559         * soft-fp/floatuntisf.c: Likewise.
25560         * soft-fp/floatuntitf.c: Likewise.
25561         * soft-fp/trunctfxf2.c: Likewise.
25563         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
25564         * soft-fp/fixdfti.c: Likewise.
25565         * soft-fp/fixsfti.c: Likewise.
25566         * soft-fp/fixtfti.c: Likewise.
25567         * soft-fp/fixunsdfti.c: Likewise.
25568         * soft-fp/fixunssfti.c: Likewise.
25569         * soft-fp/fixunstfti.c: Likewise.
25570         * soft-fp/floattidf.c: Likewise.
25571         * soft-fp/floattisf.c: Likewise.
25572         * soft-fp/floattitf.c: Likewise.
25573         * soft-fp/floatuntidf.c: Likewise.
25574         * soft-fp/floatuntisf.c: Likewise.
25575         * soft-fp/floatuntitf.c: Likewise.
25576         * soft-fp/trunctfxf2.c: Likewise.
25578 2013-10-10  David S. Miller  <davem@davemloft.net>
25580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25582 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
25584         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25585         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
25586         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
25587         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
25588         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
25589         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
25590         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
25592         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
25593         for NaNs before doing comparisons on argument.
25594         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
25595         Likewise.
25597 2013-10-10  Will Newton  <will.newton@linaro.org>
25599         * malloc/hooks.c (memalign_check): Ensure the value of bytes
25600         passed to _int_memalign does not overflow.
25602 2013-10-10  Torvald Riegel  <triegel@redhat.com>
25604         * scripts/bench.pl: Add include-sources directive.
25605         * benchtests/README: Update documentation.
25607 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
25609         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
25610         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
25611         instead of FP_INIT_ROUNDMODE.
25612         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
25613         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
25615         [BZ #16034]
25616         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
25617         copy class of input value.
25618         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
25619         not handle exceptions.
25620         * soft-fp/negsf2.c (__negsf2): Likewise.
25621         * soft-fp/negtf2.c (__negtf2): Likewise.
25622         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
25624 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
25626         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
25627         semicolon.  From Linux kernel.
25629 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
25631         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
25633 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
25635         [BZ #156]
25636         * manual/socket.texi: Added statement about buffer
25637         for gethostbyname2_r.
25639 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
25641         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
25642         Use .p2align directive instead, throughout.
25643         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25644         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
25645         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
25646         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25647         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25648         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
25649         * sysdeps/x86_64/strchr.S: Likewise.
25650         * sysdeps/x86_64/strrchr.S: Likewise.
25652 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25654         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
25656         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
25658         * sysdeps/generic/math_private.h (__mpsin1): Remove
25659         declaration.
25660         (__mpcos1): Likewise.
25661         (__mpsin): New argument __range_reduce.
25662         (__mpcos): Likewise.
25663         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25664         (slow): Use __mpsin and __mpcos.
25665         (slow1): Likewise.
25666         (slow2): Likewise.
25667         (sloww): Likewise.
25668         (sloww1): Likewise.
25669         (sloww2): Likewise.
25670         (bsloww): Likewise.
25671         (bsloww1): Likewise.
25672         (bsloww2): Likewise.
25673         (cslow2): Likewise.
25674         (csloww): Likewise.
25675         (csloww1): Likewise.
25676         (csloww2): Likewise.
25677         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
25678         range_reduce.  Merge in __mpsin1.
25679         (__mpcos): Likewise.
25680         (__mpsin1): Remove.
25681         (__mpcos1): Likewise.
25683 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
25685         * locale/loadlocale.c (_nl_intern_locale_data): Use
25686         LOCFILE_ALIGNED_P.
25687         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
25688         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
25689         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
25690         obstack data is appropriately aligned.
25691         (obstack_int32_grow_fast): Likewise.
25692         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
25693         * locale/programs/locfile.c (add_locale_uint32): Likewise.
25694         (add_locale_uint32_array): Likewise.
25696 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
25698         * benchtests/Makefile: Remove ARGLIST and RET variables.
25699         ($(objpfx)bench-%.c): Pass only function name to the script.
25700         * benchtests/README: Update documentation.
25701         * benchtests/acos-inputs: Add new directives.
25702         * benchtests/acosh-inputs: Likewise.
25703         * benchtests/asin-inputs: Likewise.
25704         * benchtests/asinh-inputs: Likewise.
25705         * benchtests/atan-inputs: Likewise.
25706         * benchtests/atanh-inputs: Likewise.
25707         * benchtests/cos-inputs: Likewise.
25708         * benchtests/cosh-inputs: Likewise.
25709         * benchtests/exp-inputs: Likewise.
25710         * benchtests/log-inputs: Likewise.
25711         * benchtests/pow-inputs: Likewise.
25712         * benchtests/rint-inputs: Likewise.
25713         * benchtests/sin-inputs: Likewise.
25714         * benchtests/sinh-inputs: Likewise.
25715         * benchtests/tan-inputs: Likewise.
25716         * benchtests/tanh-inputs: Likewise.
25717         * scripts/bench.pl: Add support for new directives.
25719 2013-10-07  Alan Modra  <amodra@gmail.com>
25721         * README: Fix careless merge.
25723 2013-10-05  Alan Modra  <amodra@gmail.com>
25725         * NEWS: Mention powerpc64le support and bugs fixed.
25726         * README: Both big-endian and little-endian powerpc64 supported.
25728 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25730         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
25731         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
25732         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
25733         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
25735 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
25737         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
25738         match prototype.
25740 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
25742         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
25743         Move -mhard-float appending from
25744         ports/sysdeps/powerpc/powerpc32/Makefile.
25745         [$(with-fp) = yes] (ASFLAGS): Likewise.
25746         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
25747         * sysdeps/powerpc/nofpu: Move directory from
25748         ports/sysdeps/powerpc/nofpu.
25749         * sysdeps/powerpc/soft-fp: Move directory from
25750         ports/sysdeps/powerpc/soft-fp.
25751         * sysdeps/powerpc/powerpc32/405: Move directory from
25752         ports/sysdeps/powerpc/powerpc32/405.
25753         * sysdeps/powerpc/powerpc32/440: Move directory from
25754         ports/sysdeps/powerpc/powerpc32/440.
25755         * sysdeps/powerpc/powerpc32/464: Move directory from
25756         ports/sysdeps/powerpc/powerpc32/464.
25757         * sysdeps/powerpc/powerpc32/476: Move directory from
25758         ports/sysdeps/powerpc/powerpc32/476.
25759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
25760         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
25761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
25762         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
25763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
25764         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
25765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
25766         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
25767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
25768         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
25769         * README: Update for powerpc-*-linux-gnu software floating point
25770         support in libc.
25772         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
25773         case to powerpc/powerpc32*.
25774         * sysdeps/unix/sysv/linux/configure: Regenerated.
25776         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
25777         (_FPU_MASK_OM): Define as 0x04.
25778         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
25779         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
25780         0x00c10080.
25781         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
25782         0x0000003c.
25783         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
25785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
25786         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
25787         getcontext_e500.
25788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
25789         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
25790         setcontext_e500.
25791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
25792         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
25793         and setcontext_e500.
25795 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
25797         * locale/iso-3166.def: Update iso-1366.def and related occurrences
25799 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25801         * manual/threads.texi (Default Thread Attributes): Fix typo.
25803 2013-10-04  Will Newton  <will.newton@linaro.org>
25805         * malloc/Makefile: Add tst-memalign.
25806         * malloc/tst-memalign.c: New file.
25808         * malloc/tst-posix_memalign.c: Add comments.
25809         (do_test): Add comments and call free on all potentially
25810         allocated pointers. Add space after cast.
25812         * malloc/tst-pvalloc.c: Add comments.
25813         (do_test): Add comments and call free on all potentially
25814         allocated pointers. Remove duplicate check for NULL pointer.
25815         Add space after cast.
25817         * malloc/tst-valloc.c: Add comments.
25818         (do_test): Add comments and call free on all potentially
25819         allocated pointers. Remove duplicate check for NULL pointer.
25820         Add space after cast.
25822 2013-10-04  Alan Modra  <amodra@gmail.com>
25824         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25825         Use stdint types in rather than __attribute__((mode())).
25826         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25828 2013-10-04  Alan Modra  <amodra@gmail.com>
25830         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25831         Correct handling of unaligned relocs for little-endian.
25832         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25834 2013-10-04  Alan Modra  <amodra@gmail.com>
25836         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
25837         * configure: Regenerate.
25838         * nptl/shlib-versions: Powerpc*le starts at 2.18.
25839         * shlib-versions: Likewise.
25841 2013-10-04  Alan Modra  <amodra@gmail.com>
25843         * string/tester.c (test_memrchr): Increment reported test cycle.
25845 2013-10-04  Alan Modra  <amodra@gmail.com>
25847         * string/test-memcpy.c (do_one_test): When reporting errors, print
25848         string address and don't overrun end of string.
25850 2013-10-04  Alan Modra  <amodra@gmail.com>
25852         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
25853         insrdi.  Make better use of reg selection to speed exit slightly.
25854         Schedule entry path a little better.  Remove useless "are we done"
25855         checks on entry to main loop.  Handle wrapping around zero address.
25856         Correct main loop count.  Handle single left-over word from main
25857         loop inline rather than by using loop_small.  Remove extra word
25858         case in loop_small caused by wrong loop count.  Add little-endian
25859         support.
25860         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25861         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
25862         cache hint.
25863         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25864         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
25865         support.  Avoid rlwimi.
25866         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
25868 2013-10-04  Alan Modra  <amodra@gmail.com>
25870         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
25871         insrdi.  Formatting.
25872         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
25873         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25874         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
25875         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25876         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25877         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
25879 2013-10-04  Alan Modra  <amodra@gmail.com>
25881         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
25882         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25883         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
25884         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
25885         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25886         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25887         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25888         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
25889         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
25890         use of regs.  Use power7 mtocrf.  Tidy function tails.
25892 2013-10-04  Alan Modra  <amodra@gmail.com>
25894         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
25895         Formatting.  Consistently use rXXX register defines or rN defines.
25896         Use early exit labels that avoid restoring unused non-volatile regs.
25897         Make cr field use more consistent with rWORDn compares.  Rename
25898         regs used as shift registers for unaligned loop, using rN defines
25899         for short lifetime/multiple use regs.
25900         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25901         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
25902         addi 1,1,64 to pop stack frame.  Simplify return value code.
25903         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25905 2013-10-04  Alan Modra  <amodra@gmail.com>
25907         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
25908         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
25909         rather than rlwimi.
25910         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
25911         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
25912         little-endian support.  Correct typos.
25913         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
25914         rather than rlwimi.
25915         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
25916         in loop and entry code to keep "and." results.
25917         (strchr): Add little-endian support.  Comment.  Move cntlzd
25918         earlier in tail.
25919         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
25921 2013-10-04  Alan Modra  <amodra@gmail.com>
25923         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
25924         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
25925         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
25926         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
25928 2013-10-04  Alan Modra  <amodra@gmail.com>
25930         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
25931         (rTMP): Define as r11.
25932         (strcmp): Add little-endian support.  Optimise tail.
25933         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
25934         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25935         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25936         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25937         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25938         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25939         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25941 2013-10-04  Alan Modra  <amodra@gmail.com>
25943         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
25944         little-endian support.  Remove unnecessary "are we done" tests.
25945         Handle "s" wrapping around zero and extremely large "size".
25946         Correct main loop count.  Handle single left-over word from main
25947         loop inline rather than by using small_loop.  Correct comments.
25948         Delete "zero" tail, use "end_max" instead.
25949         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
25951 2013-10-04  Alan Modra  <amodra@gmail.com>
25953         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
25954         support.  Don't branch over align.
25955         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
25956         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
25957         support.  Rearrange tmp reg use to suit.  Comment.
25958         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
25960 2013-10-04  Alan Modra  <amodra@gmail.com>
25962         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
25964 2013-10-04  Alan Modra  <amodra@gmail.com>
25966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
25967         conditional form of branch and link when obtaining pc.
25968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25970 2013-10-04  Alan Modra  <amodra@gmail.com>
25972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
25973         HIWORD/LOWORD.
25974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
25975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
25977 2013-10-04  Alan Modra  <amodra@gmail.com>
25979         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
25980         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
25981         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
25982         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
25983         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25984         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25985         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
25986         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25987         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25988         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
25990 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
25991             Alistair Popple <alistair@ozlabs.au.ibm.com>
25992             Alan Modra <amodra@gmail.com>
25994         [BZ #15723]
25995         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
25996         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
25997         _dl_hwcap access for little-endian.
25998         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
25999         destroy vmx regs when saving unaligned.
26000         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
26001         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
26002         destroy vmx regs when saving unaligned.
26004 2013-10-04  Alan Modra  <amodra@gmail.com>
26006         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
26007         Don't use a union to pack hi/low value.
26009 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26011         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
26012         for little-endian.
26013         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26014         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
26015         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26016         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26017         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26019 2013-10-04  Alan Modra  <amodra@gmail.com>
26021         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
26022         constants to usual value for .cst8 section, and remove redundant
26023         high address load.
26024         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
26025         constant for 0x1p52.  Load little-endian words of double from
26026         correct stack offsets.
26028 2013-10-04  Alan Modra  <amodra@gmail.com>
26030         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
26031         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
26032         words of double from correct stack offsets.
26033         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26034         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
26035         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26036         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26037         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26038         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26039         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26040         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26041         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26042         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26043         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26044         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26045         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26046         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26047         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26048         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
26049         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26051 2013-10-04  Alan Modra  <amodra@gmail.com>
26053         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
26054         64-bit int/double union.
26055         (_FPU_SETCW): Likewise.
26056         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
26057         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
26059 2013-10-04  Alan Modra  <amodra@gmail.com>
26061         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
26062         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
26064 2013-10-04  Alan Modra  <amodra@gmail.com>
26066         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
26067         use vector int constants.
26068         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
26070 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26072         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
26073         array with long long.
26074         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
26075         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
26076         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
26077         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
26078         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
26079         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
26080         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
26081         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
26082         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
26083         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
26084         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
26085         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
26086         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
26088 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
26090         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
26091         (__signbit): Likewise.  Correct for little-endian.
26092         (__signbitl): Call __signbit.
26093         (lrint): Correct for little-endian.
26094         (lrintf): Call lrint.
26096 2013-10-04  Alan Modra  <amodra@gmail.com>
26098         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
26099         union 32-bit int array member with 64-bit int array.
26100         (t515, tm256): Double rather than long double.
26101         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
26103 2013-10-04  Alan Modra  <amodra@gmail.com>
26105         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
26106         Delete.
26107         (IEEE854_LONG_DOUBLE_BIAS): Delete.
26108         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
26109         version of math_ldbl.h.
26111 2013-10-04  Alan Modra  <amodra@gmail.com>
26113         [BZ #15734], [BZ #15735]
26114         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
26115         all uses of ieee875 long double macros and unions.  Simplify test
26116         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
26117         ldbl_extract_mantissa value for ix,iy exponents.  Properly
26118         normalize after ldbl_extract_mantissa, and don't add hidden bit
26119         already handled.  Don't treat low word of ieee854 mantissa like
26120         low word of IBM long double and mask off bit when testing for
26121         zero.
26122         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
26123         all uses of ieee875 long double macros and unions.  Simplify tests
26124         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
26125         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
26126         two1022, instead use their values.  Recognise that tests for large
26127         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
26128         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
26129         Rewrite all uses of ieee875 long double macros and unions.  Simplify
26130         test for 0.0L and nan.  Correct negation.
26131         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
26132         ieee875 long double macros and unions.  Correct output for large
26133         magnitude x.  Correct absolute value calculation.
26134         (__erfcl): Likewise.
26135         * math/libm-test.inc: Add tests for errors discovered in IBM long
26136         double versions of fmodl, remainderl, erfl and erfcl.
26138 2013-10-04  Alan Modra  <amodra@gmail.com>
26140         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
26141         all uses of ieee854 long double macros and unions.  Simplify tests
26142         for long doubles that are fully specified by the high double.
26143         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26144         Likewise.
26145         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
26146         Remove dead code too.
26147         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26148         (__ieee754_ynl): Likewise.
26149         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26150         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
26151         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
26152         Remove dead code too.
26153         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26154         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
26155         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
26156         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
26157         Simplify.
26158         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
26159         Simplify.
26160         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
26161         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
26162         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
26163         Comment on variable precision.
26164         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
26165         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26166         Likewise.
26167         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26168         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26169         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26170         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26171         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
26173 2013-10-04  Alan Modra  <amodra@gmail.com>
26175         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
26176         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
26177         all uses of ieee854 long double macros and unions.
26178         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
26179         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26180         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
26181         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
26182         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26183         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26184         Likewise.
26185         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
26186         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26187         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
26188         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26189         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26190         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26191         Simplify sign and nan test too.
26192         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
26193         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
26194         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
26195         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
26196         Likewise.
26197         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26198         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
26199         Likewise.
26200         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26201         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26202         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
26203         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
26204         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
26205         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
26207 2013-10-04  Alan Modra  <amodra@gmail.com>
26209         * stdio-common/printf_size.c (__printf_size): Don't use
26210         union ieee854_long_double in fpnum union.
26211         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
26212         signbit macro to retrieve sign from long double.
26213         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
26214         retrieve sign from long double.
26215         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
26216         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
26217         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
26218         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26219         * math/test-misc.c (main): Don't use union ieee854_long_double.
26221 2013-10-04  Alan Modra  <amodra@gmail.com>
26223         [BZ #15680]
26224         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
26225         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
26226         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
26227         calculation.  Remove unnecessary test for denormal exponent.
26228         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
26229         Correct handling of denormals.  Avoid undefined shift behaviour.
26230         Correct normalisation of low mantissa when low double is denormal.
26231         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
26232         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
26233         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
26234         Correct normalisation of low mantissa.  Test for overflow of high
26235         mantissa and normalise.
26236         (ldbl_nearbyint): Use more readable constant for two52.
26237         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
26238         (__mpn_construct_long_double): Fix test for overflow of high
26239         mantissa and correct normalisation.  Avoid undefined shift.
26241 2013-10-04  Alan Modra  <amodra@gmail.com>
26243         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26244         (union ibm_extended_long_double): Define as an array of ieee754_double.
26245         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
26246         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
26247         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
26248         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26249         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26250         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
26251         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26252         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26253         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26254         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
26255         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26257 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
26259         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
26260         page size instead of calling getpagesize.
26262         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
26263         (LOCFILE_ALIGN_MASK): Likewise.
26264         (LOCFILE_ALIGN_UP): Likewise.
26265         (LOCFILE_ALIGNED_P): Likewise.
26266         * locale/programs/ld-collate.c (collate_output): Use the new
26267         macros instead of __alignof__ (int32_t).
26268         * locale/weight.h (findidx): Likewise.
26270 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
26272         [BZ #431]
26273         * manual/string.texi: Fix strncat and wcsncat.
26275 2013-10-03  Brooks Moses  <bmoses@google.com>
26277         [BZ #15915]
26278         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
26279         * Makerules: ...here, and adjust associated comments.
26281 2013-10-02  Will Newton  <will.newton@linaro.org>
26283         * malloc/Makefile: Add tst-pvalloc.
26284         * malloc/tst-pvalloc.c: New file.
26286 2013-10-02  Will Newton  <will.newton@linaro.org>
26288         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
26289         improve test coverage.
26291 2013-10-02  Will Newton  <will.newton@linaro.org>
26293         * malloc/Makefile: Add tst-posix_memalign.
26294         * malloc/tst-posix_memalign.c: New file.
26296 2013-10-01  Eric Blake  <eblake@redhat.com>
26298         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
26299         Use __THROWNL rather than __THROW on static functions.
26301 2013-09-30  Petr Machata  <pmachata@redhat.com>
26303         * elf/elf.h (R_AARCH64_ABS16): New macro.
26304         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
26305         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
26306         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
26307         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
26308         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
26309         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
26310         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
26311         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
26312         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
26313         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
26314         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
26315         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
26316         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
26317         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
26318         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
26319         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
26320         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
26321         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
26322         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
26323         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
26324         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
26325         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
26326         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
26327         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
26328         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
26329         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
26330         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
26331         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
26332         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
26333         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
26334         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
26335         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
26336         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
26337         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
26338         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
26339         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
26340         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
26341         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
26342         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
26343         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
26344         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
26345         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
26346         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
26347         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
26348         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
26349         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
26350         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
26351         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
26352         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
26353         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
26354         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
26355         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
26356         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
26357         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
26358         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
26359         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
26360         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
26361         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
26362         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
26363         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
26364         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
26365         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
26366         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
26367         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
26368         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
26369         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
26370         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
26371         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
26372         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
26373         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
26374         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
26375         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
26376         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
26377         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
26378         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
26379         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
26380         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
26381         (R_AARCH64_TLSDESC_LDR): Likewise.
26382         (R_AARCH64_TLSDESC_ADD): Likewise.
26383         (R_AARCH64_TLSDESC_CALL): Likewise.
26385 2013-09-30  Andreas Schwab  <schwab@suse.de>
26387         [BZ #15048]
26388         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
26389         the nss database lookup.
26390         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26391         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26393 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
26395         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
26397 2013-09-28  P. J. McDermott  <pj@pehjota.net>
26399         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
26400         ${Bash-specific parameter/pattern/string} parameter expansion.
26401         * sysdeps/unix/make-syscalls.sh: Likewise.
26403 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26405         * sysdeps/sh/stackguard-macros.h: New file.
26407 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
26409         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26410         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
26411         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
26412         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
26413         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26414         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
26416 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26418         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
26419         Fix thread ID register.
26421 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
26423         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
26424         [POSIX || UNIX98]: Require rather than permitting all symbols from
26425         <time.h>.
26426         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
26427         element of struct sched_param.
26428         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
26429         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
26430         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
26431         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
26432         constant.
26434 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
26436         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
26437         argument calculation.
26439 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
26441         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
26442         Expect macro.
26443         [POSIX] (pthread_attr_t): Do not require type.
26444         [POSIX] (pthread_cond_t): Likewise.
26445         [POSIX] (pthread_condattr_t): Likewise.
26446         [POSIX] (pthread_key_t): Likewise.
26447         [POSIX] (pthread_mutex_t): Likewise.
26448         [POSIX] (pthread_mutexattr_t): Likewise.
26449         [POSIX] (pthread_once_t): Likewise.
26450         [POSIX] (pthread_t): Likewise.
26451         [POSIX-based standards] (pthread_atfork): Expect function.
26453 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
26454             Richard Sandiford  <richard@codesourcery.com>
26456         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
26457         (swap_endianness_p): New extern variable.
26458         (set_big_endian): New inline function.
26459         (maybe_swap_uint32): Likewise.
26460         (maybe_swap_uint32_array): Likewise.
26461         (maybe_swap_uint32_obstack): Likewise.
26462         * locale/programs/locfile.c: Include <stdbool.h>.
26463         (swap_endianness_p): New variable.
26464         (add_locale_uint32): Call maybe_swap_uint32.
26465         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
26466         (write_locale_data): Call maybe_swap_uint32_array.
26467         * locale/programs/ld-collate.c (obstack_int32_grow): Call
26468         maybe_swap_uint32.
26469         (obstack_int32_grow_fast): Likewise.
26470         (output_weightwc): Call maybe_swap_uint32_obstack.
26471         (collate_output): Likewise.
26472         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
26473         (OPT_LITTLE_ENDIAN): Likewise.
26474         (options): Add --little-endian and --big-endian options.
26475         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
26476         * locale/programs/locarchive.c: Include "locfile.h".
26477         (GET): New macro.
26478         (SET): Likewise.
26479         (INC): Likewise.
26480         (create_archive): Use the new macros to access fields of
26481         structures directly mapped from or written to locale archives.
26482         (oldlocrecentcmp): Likewise.
26483         (enlarge_archive): Likewise.
26484         (insert_name): Likewise.
26485         (add_alias): Likewise.
26486         (add_locale): Likewise.
26487         (delete_locales_from_archive): Likewise.
26488         (show_archive_content): Likewise.
26489         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
26490         locale data.
26492 2013-09-24  Roland McGrath  <roland@hack.frob.com>
26494         * manual/freemanuals.texi: Updated from (newly) canonical copy at
26495         http://www.gnu.org/doc/freemanuals.texi.
26496         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
26498 2013-09-24  Will Newton  <will.newton@linaro.org>
26500         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
26501         macro.
26503 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
26505         * locale/hashval.h (compute_hashval): Interpret bytes of key as
26506         unsigned char.
26508 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
26510         * manual/threads.texi (POSIX Threads): Fix a typo.
26512 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26514         [BZ #14547]
26515         * string/tst-strcoll-overflow.c: New test case.
26516         * string/Makefile (xtests): Add tst-strcoll-overflow.
26517         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
26518         cache if string sizes may cause integer overflow.
26520         [BZ #14547]
26521         * string/strcoll_l.c (coll_seq): New members rule, idx,
26522         save_idx and back_us.
26523         (get_next_seq_nocache): New function.
26524         (do_compare_nocache): New function.
26525         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
26526         when malloc fails.
26528 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
26530         [BZ #15754]
26531         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
26532         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
26533         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
26535         [BZ #15754]
26536         * elf/Makefile (tests): Add tst-ptrguard1.
26537         (tests-static): Add tst-ptrguard1-static.
26538         (tst-ptrguard1-ARGS): Define.
26539         (tst-ptrguard1-static-ARGS): Define.
26540         * elf/tst-ptrguard1.c: New file.
26541         * elf/tst-ptrguard1-static.c: New file.
26542         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
26543         * sysdeps/i386/stackguard-macros.h: Likewise.
26544         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26545         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26546         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26547         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26548         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26549         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26551 2013-09-23  Hector Marco  <hecmargi@upv.es>
26552             Ismael Ripoll  <iripoll@disca.upv.es>
26553             Carlos O'Donell  <carlos@redhat.com>
26555         [BZ #15754]
26556         * sysdeps/generic/stackguard-macros.h: Define
26557         __pointer_chk_guard_local and POINTER_CHK_GUARD.
26558         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
26559         Define __pointer_chk_guard_local.
26560         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
26561         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
26563 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
26565         [BZ #15859]
26566         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
26568 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
26570         * include/string.h (__ffs): Declare as hidden.
26571         * string/ffs.c (__ffs): Define as hidden.
26572         * sysdeps/i386/ffs.c (__ffs): Likewise.
26573         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
26574         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
26575         * sysdeps/s390/ffs.c (__ffs): Likewise.
26576         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
26578 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
26580         * NEWS: Mention malloc probes.
26582         * malloc/arena.c (new_heap): New memory_heap_new probe.
26583         (grow_heap): New memory_heap_more probe.
26584         (shrink_heap): New memory_heap_less probe.
26585         (heap_trim): New memory_heap_free probe.
26586         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
26587         (systrim): New memory_sbrk_less probe.
26588         * manual/probes.texi: Document them.
26590         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
26591         * manual/probes.texi: Document it.
26593         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
26594         (__libc_realloc): Add memory_realloc_retry probe.
26595         (__libc_memalign): Add memory_memalign_retry probe.
26596         (__libc_valloc): Add memory_valloc_retry probe.
26597         (__libc_pvalloc): Add memory_pvalloc_retry probe.
26598         (__libc_calloc): Add memory_calloc_retry probe.
26599         * manual/probes.texi: Document them.
26601         * malloc/arena.c (get_free_list): Add probe
26602         memory_arena_reuse_free_list.
26603         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
26604         and memory_arena_reuse.
26605         (arena_get2) [!PER_THREAD]: Likewise.
26606         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
26607         memory_arena_reuse_realloc.
26608         * manual/probes.texi: Document them.
26610         * malloc/malloc.c (__libc_free): Add
26611         memory_mallopt_free_dyn_thresholds probe.
26612         (__libc_mallopt): Add multiple memory_mallopt probes.
26613         * manual/probes.texi: Document them.
26615         * malloc/malloc.c: Include stap-probe.h.
26616         (__libc_mallopt): Add memory_mallopt probe.
26617         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
26618         * manual/probes.texi: New.
26619         * manual/Makefile (chapters): Add probes.
26620         * manual/threads.texi: Set next node.
26622 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
26624         [BZ #15963, #13985]
26625         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
26626         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
26627         Add `Chinese' to `nan' entry name.
26629 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26631         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
26632         (POLYNOMIAL): Likewise.
26633         (TAYLOR_SINCOS): Likewise.
26634         (TAYLOR_SLOW): Likewise.
26635         (__sin): Use TAYLOR_SINCOS.
26636         (__cos): Likewise.
26637         (slow): Use TAYLOR_SLOW.
26638         (sloww): Likewise.
26639         (bsloww): Likewise.
26640         (csloww): Likewise.
26642 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26644         * stdlib/strtod_l.c: Fix buffer overrun.
26646 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26648         * benchtests/Makefile (bench): Add sincos.
26649         * benchtests/bench-sincos.c: New file.
26651         * math/libm-test.inc (cos_test_data): New test inputs.
26652         (sin_test_data): Likewise.
26654         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
26655         macro.
26656         (__sin): Use it.
26657         (__cos): Likewise.
26658         (slow1): Likewise.
26659         (slow2): Likewise.
26660         (sloww1): Likewise.
26661         (sloww2): Likewise.
26662         (bsloww1): Likewise.
26663         (bsloww2): Likewise.
26664         (cslow2): Likewise.
26665         (csloww1): Likewise.
26666         (csloww2): Likewise.
26668         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
26669         function.
26670         (__sin): Use it.
26671         (__cos): Likewise.
26673         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
26674         gotos.
26675         (__cos): Likewise.
26677 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
26679         * config.h.in (HAVE_MIPS_NAN2008): New macro.
26680         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
26681         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
26682         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
26683         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
26684         * elf/cache.c (print_entry): Handle the new cache flags.
26686 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
26687             Aldy Hernandez  <aldyh@redhat.com>
26689         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
26690         Change condition to [_SOFT_FLOAT].
26691         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
26692         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
26693         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
26694         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
26695         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
26696         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
26697         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
26698         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
26699         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
26700         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
26701         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
26702         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
26703         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
26704         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
26705         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
26706         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
26707         declaration.
26709 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
26711         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
26712         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
26713         (__longjmp): Use LOAD_GP to load saved GPRs.
26714         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
26715         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
26716         (__sigsetjmp): Use SAVE_GP to save GPRs.
26718         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
26719         Do not append -msoft-float.
26720         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
26722 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26724         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
26726 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
26728         [BZ #15966]
26729         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
26730         (_FPU_GETCW): Use initial "__" on variable and field names but not
26731         on macro parameter name.
26732         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
26733         parentheses around reference to macro parameter.
26735 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
26737         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
26738         prototype.
26739         (ctype_startup): Use uint32_t in cast and sizeof for
26740         ctype->charnames.
26742 2013-09-11  Jia Liu  <proljc@gmail.com>
26744         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
26745         __daddr_t_defined.
26746         [__FreeBSD__]: Likewise.
26748 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
26750         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
26751         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
26752         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
26753         (strchr): Remove __strchr_sse42 ifunc selection.
26754         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
26755         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
26757 2013-09-11  Will Newton  <will.newton@linaro.org>
26759         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
26760         parameter to RES. Remove hardcoded 1000 value.
26761         * benchtests/bench-skeleton.c (main): Pass RES parameter
26762         to TIMING_INIT and multiply result by 1000.
26764 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26766         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26768 2013-09-11  Andreas Schwab  <schwab@suse.de>
26770         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
26771         if not defined.
26772         (O_TMPFILE) [__USE_GNU]: Define.
26773         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
26774         Define.
26776 2013-09-11  Will Newton  <will.newton@linaro.org>
26778         [BZ #15857]
26779         * malloc/malloc.c (__libc_memalign): Check the value of bytes
26780         does not overflow.
26782 2013-09-11  Will Newton  <will.newton@linaro.org>
26784         [BZ #15856]
26785         * malloc/malloc.c (__libc_valloc): Check the value of bytes
26786         does not overflow.
26788 2013-09-11  Will Newton  <will.newton@linaro.org>
26790         [BZ #15855]
26791         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
26792         does not overflow.
26794 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
26796         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
26797         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26798         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26799         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26800         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26802 2013-09-10  Allan McRae  <allan@archlinux.org>
26804         [BZ #15748]
26805         * manual/arith.texi (Parsing of Floats): Clarify
26806         cross-reference.
26808         [BZ #15849]
26809         * manual/install.texi (Running make install): Mention
26810         --enable-pt-chown.
26811         * INSTALL: Regenerated.
26813 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
26815         * csu/init-first.c (_init): Remove the !SHARED condition around
26816         FPU control word initialization.
26817         * elf/dl-support.c (_dl_fpu_control): New variable.
26818         (_dl_aux_init) <AT_FPUCW>: Initialize it.
26819         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
26820         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
26821         * math/test-fpucw-static.c: New file.
26822         * math/test-fpucw-ieee.c: New file.
26823         * math/test-fpucw-ieee-static.c: New file.
26824         * math/Makefile (tests): Add `test-fpucw-ieee' and
26825         `$(tests-static)'.
26826         (tests-static): New variable.
26827         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
26828         dependency to...
26829         [($(build-shared),yes)]
26830         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
26831         ... this.
26832         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
26833         New dependency.
26835 2013-09-09  Allan McRae  <allan@archlinux.org>
26837         [BZ #15939]
26838         * manual/string.texi (Collation Functions): Fix typo in
26839         strcoll example.
26840         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
26842         [BZ #15893]
26843         * stdlib/isomac.c (get_null_defines): Fix memory leak.
26845         [BZ #15892]
26846         * libio/memstream.c (open_memstream): Fix memory leak.
26847         * libio/wmemstream.c (open_wmemstream): Likewise.
26849         [BZ #15895]
26850         * nscd/netgroupcache.c: Fix nesting of ifdefs.
26852 2013-09-09  Will Newton  <will.newton@linaro.org>
26854         * malloc/Makefile: Add tst-realloc to tests.
26855         * malloc/tst-realloc.c: New file.
26857 2013-09-09  Allan McRae  <allan@archlinux.org>
26859         [BZ #15844]
26860         * COPYING: Update from GNU website to fix FSF address.
26861         * COPYING.LIB: Likewise.
26863 2013-09-06  David S. Miller  <davem@davemloft.net>
26865         * po/zh_TW.po: Update Chinese (traditional) translation from
26866         translation project.
26868 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
26869             Joseph Myers  <joseph@codesourcery.com>
26871         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
26872         "localeinfo.h".
26873         (obstack_chunk_alloc): New macro.
26874         (obstack_chunk_free): Likewise.
26875         (record_offset): New function.
26876         (init_locale_data): Likewise.
26877         (align_locale_data): Likewise.
26878         (add_locale_empty): Likewise.
26879         (add_locale_raw_data): Likewise.
26880         (add_locale_raw_obstack): Likewise.
26881         (add_locale_string): Likewise.
26882         (add_locale_wstring): Likewise.
26883         (add_locale_uint32): Likewise.
26884         (add_locale_uint32_array): Likewise.
26885         (add_locale_char): Likewise.
26886         (start_locale_structure): Likewise.
26887         (end_locale_structure): Likewise.
26888         (start_locale_prelude): Likewise.
26889         (end_locale_prelude): Likewise.
26890         (write_locale_data): Take locale_file structure rather than an
26891         iovec.
26892         * locale/programs/locfile.h: Include "obstack.h".
26893         (struct locale_file): Change to store locale file contents instead
26894         of header.
26895         (init_locale_data): New prototype.
26896         (align_locale_data): Likewise.
26897         (add_locale_empty): Likewise.
26898         (add_locale_raw_data): Likewise.
26899         (add_locale_raw_obstack): Likewise.
26900         (add_locale_string): Likewise.
26901         (add_locale_wstring): Likewise.
26902         (add_locale_uint32): Likewise.
26903         (add_locale_uint32_array): Likewise.
26904         (add_locale_char): Likewise.
26905         (start_locale_structure): Likewise.
26906         (end_locale_structure): Likewise.
26907         (start_locale_prelude): Likewise.
26908         (end_locale_prelude): Likewise.
26909         (write_locale_data): Update prototype.
26910         * locale/programs/3level.h (struct TABLE): Remove result field.
26911         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
26912         Use new locale_file interface.
26913         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
26914         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
26915         * locale/programs/ld-address.c (address_output): Use new
26916         locale_file interface.
26917         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
26918         NO_ADD_LOCALE.
26919         (collate_finish): Don't call collseq_table_finalize.
26920         (collate_output): Use new locale_file interface.
26921         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
26922         in file.
26923         (NO_FINALIZE): Change to NO_ADD_LOCALE.
26924         (TABLE): Move defines earlier in file.
26925         (ELEMENT): Likewise.
26926         (DEFAULT): Likewise.
26927         (wctrans_table_add): Move macro and inline function earlier in
26928         file.
26929         (struct wctype_table): Move type earlier in file.
26930         (add_locale_wctype_table): New static prototype.
26931         (struct locale_ctype_t): Use logical types instead of struct iovec
26932         pointers for members.
26933         (ctype_output): Use new locale_file interface.
26934         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
26935         new locale_file interface.
26936         (allocate_arrays): Update for use of new locale_file interface.
26937         * locale/programs/ld-identification.c (identification_output): Use
26938         new locale_file interface.
26939         * locale/programs/ld-measurement.c (measurement_output): Likewise.
26940         * locale/programs/ld-messages.c (messages_output): Likewise.
26941         * locale/programs/ld-monetary.c (monetary_output): Likewise.
26942         * locale/programs/ld-name.c (name_output): Likewise.
26943         * locale/programs/ld-numeric.c (numeric_output): Likewise.
26944         * locale/programs/ld-paper.c (paper_output): Likewise.
26945         * locale/programs/ld-telephone.c (telephone_output): Likewise.
26946         * locale/programs/ld-time.c (time_output): Likewise.
26948 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26950         * benchtests/Makefile: Add memrchr benchmark.
26951         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
26952         benchmark as memrchr.
26953         * benchtests/bench-memrchr-ifunc.c: New file.
26954         * benchtests/bench-memrchr.c: New file.
26956 2013-09-06   Will Newton  <will.newton@linaro.org>
26958         * benchtests/Makefile (string-bench): Add memcpy.
26960 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
26961             Cong Wang  <amwang@redhat.com>
26963         [BZ #15850]
26964         * sysdeps/unix/sysv/linux/bits/in.h
26965         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
26966         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
26967         before __USE_KERNEL_IPV6_DEFS uses.
26968         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
26969         IPPROTO_BEETPH.
26970         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
26971         sockaddr_in6, or ipv6_mreq.
26973 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26975         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
26976         memory access for final bytes in some large inputs.
26977         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
26979 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26981         * string/test-memrchr.c: New file.
26982         * string/test-memrchr-ifunc.c: New file.
26983         * string/Makefile: Add new memrchr testcase.
26985 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
26987         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
26988         fanotify_init returns EPERM.
26990 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
26992         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
26993         errors.
26994         (top level): Treat second token from macro or constant entries for
26995         allowed headers as allowed.
26996         * include/complex.h: Condition internal declarations on
26997         [!_ISOMAC].
26998         * include/fenv.h: Condition include of <stdbool.h> and internal
26999         declarations on [!_ISOMAC].
27001 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
27003         [BZ #15923]
27004         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
27006 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
27008         * configure.in (--enable-versioning): Remove configure option.
27009         (libc_cv_asm_symver_directive): Remove configure test.
27010         (libc_cv_ld_version_script_option): Likewise.
27011         (VERSIONING): Remove variable and AC_SUBST.
27012         (DO_VERSIONING): Remove AC_DEFINE.
27013         * configure: Regenerated.
27014         * config.h.in (DO_VERSIONING): Remove macro.
27015         * Makerules [$(versioning) = yes]: Change conditionals to
27016         [$(build-shared) = yes].
27017         * config.make.in (versioning): Remove variable.
27018         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
27019         [$(build-shared) = yes].
27020         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
27021         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
27022         * elf/Makefile [$(versioning) = yes]: Change conditionals to
27023         [$(build-shared) = yes].
27024         * extra-lib.mk [$(versioning) = yes]: Likewise.
27025         * hurd/Makefile [$(versioning) = yes]: Likewise.
27026         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
27027         [SHARED].
27028         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
27029         [SHARED].
27030         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27031         [SHARED && !NO_HIDDEN].
27032         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
27033         [SHARED].
27034         [SHARED && DO_VERSIONING]: Likewise..
27035         * libio/Makefile [$(versioning) = yes]: Change conditionals to
27036         [$(build-shared) = yes].
27037         * manual/install.texi (--disable-versioning): Remove
27038         documentation.
27039         * INSTALL: Regenerated.
27040         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
27041         to [SHARED].
27042         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
27043         [$(build-shared) = yes].
27044         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
27045         * sysdeps/i386/i686/multiarch/strstr-c.c
27046         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27047         [SHARED && !NO_HIDDEN].
27048         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
27049         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
27050         * sysdeps/powerpc/powerpc32/dl-machine.c
27051         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
27052         * sysdeps/powerpc/powerpc32/sysdep.h
27053         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
27054         to [SHARED && PIC && !NO_HIDDEN].
27055         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
27056         conditional to [SHARED].
27058 2013-09-04   Will Newton  <will.newton@linaro.org>
27060         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
27061         * benchtests/bench-string.h: Include bench-timing.h instead
27062         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
27063         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
27064         call to HP_TIMING_DIFF_INIT.
27065         * benchtests/bench-memccpy.c: Use bench-timing.h macros
27066         instead of hp-timing.h macros.
27067         * benchtests/bench-memchr.c: Likewise.
27068         * benchtests/bench-memcmp.c: Likewise.
27069         * benchtests/bench-memcpy.c: Likewise.
27070         * benchtests/bench-memmem.c: Likewise.
27071         * benchtests/bench-memmove.c: Likewise.
27072         * benchtests/bench-memset.c: Likewise.
27073         * benchtests/bench-rawmemchr.c: Likewise.
27074         * benchtests/bench-strcasecmp.c: Likewise.
27075         * benchtests/bench-strcasestr.c: Likewise.
27076         * benchtests/bench-strcat.c: Likewise.
27077         * benchtests/bench-strchr.c: Likewise.
27078         * benchtests/bench-strcmp.c: Likewise.
27079         * benchtests/bench-strcpy.c: Likewise.
27080         * benchtests/bench-strcpy_chk.c: Likewise.
27081         * benchtests/bench-strlen.c: Likewise.
27082         * benchtests/bench-strncasecmp.c: Likewise.
27083         * benchtests/bench-strncat.c: Likewise.
27084         * benchtests/bench-strncmp.c: Likewise.
27085         * benchtests/bench-strncpy.c: Likewise.
27086         * benchtests/bench-strnlen.c: Likewise.
27087         * benchtests/bench-strpbrk.c: Likewise.
27088         * benchtests/bench-strrchr.c: Likewise.
27089         * benchtests/bench-strspn.c: Likewise.
27090         * benchtests/bench-strstr.c: Likewise.
27092 2013-09-04  Will Newton  <will.newton@linaro.org>
27094         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
27096 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
27098         [BZ #15427]
27099         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27100         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
27101         * math/libm-test.inc (lgamma_test_data): Add more tests.
27102         * sysdeps/i386/fpu/libm-test-ulps: Update.
27103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27105 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
27107         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
27108         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27109         Add ifunc.
27110         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27111         Add strcmp-sse2-unaligned
27112         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
27114 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
27116         * Versions.def (libc): Add GLIBC_2.19.
27118 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
27120         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
27121         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
27123 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
27125         [BZ #14155]
27126         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
27127         intermediate calculations in recurrence.
27128         (__ieee754_ynf): Likewise.
27129         * math/libm-test.inc (jn_test_data): Do not allow spurious
27130         underflow exception.  Add more tests.
27131         (yn_test_data): Add more tests.
27132         * sysdeps/i386/fpu/libm-test-ulps: Update.
27133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27135 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
27137         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
27139 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
27141         * csu/init-first.c: Fix then/than typos.
27142         * locale/programs/ld-collate.c: Likewise.
27143         * locale/programs/linereader.h: Likewise.
27144         * manual/charset.texi: Likewise.
27145         * manual/filesys.texi: Likewise.
27146         * manual/stdio.texi: Likewise.
27147         * manual/string.texi: Likewise.
27148         * stdlib/fmtmsg.c: Likewise.
27149         * sysdeps/i386/stpncpy.S: Likewise.
27150         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27151         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27152         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27153         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27155 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
27157         * elf/dl-open.c: Fix typos.
27158         * iconvdata/gbbig5.c: Likewise.
27159         * iconvdata/iso-2022-jp.c: Likewise.
27160         * iconv/gconv_int.h: Likewise.
27161         * iconv/loop.c: Likewise.
27162         * nis/rpcsvc/nis.h: Likewise.
27163         * resolv/ns_name.c: Likewise.
27164         * stdio-common/vfscanf.c: Likewise.
27165         * streams/stropts.h: Likewise.
27166         * sunrpc/rpc_thread.c: Likewise.
27167         * sysdeps/i386/strpbrk.S: Likewise.
27168         * sysdeps/ieee754/k_standard.c: Likewise.
27169         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27170         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27171         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
27172         * sysdeps/mach/hurd/profil.c: Likewise.
27173         * sysdeps/s390/dl-procinfo.h: Likewise.
27174         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
27175         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27176         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
27177         * sysdeps/x86_64/dl-trampoline.S: Likewise.
27178         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27180 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
27182         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
27183         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
27185 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
27187         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
27188         aix specific files.
27189         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
27190         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
27191         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
27192         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
27193         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
27194         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
27195         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
27196         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
27198 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
27199             Roland McGrath  <roland@hack.frob.com>
27201         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
27202         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
27204 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27206         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
27207         __executable_start symbol instead of _start.
27209 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
27211         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
27212         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
27213         Move macros to...
27214         * sysdeps/gnu/ldsodefs.h: ... this new file.
27216         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
27217         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
27218         instead of ELFOSABI_LINUX.
27220         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
27221         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
27222         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
27223         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
27224         Likewise.
27225         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
27226         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
27227         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
27228         Likewise.
27229         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27230         (ibm_extended_long_double): Add ieee_nan member.
27231         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
27232         (do_test): New function.
27234         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
27235         TEST_TRUNC.
27236         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
27237         functions, renamed from truncdfsf_test, trunctfsf_test,
27238         trunctfdf_test.
27239         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
27240         functions.
27241         (do_test): Run all these.
27243 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
27245         * argp/argp-help.c: Fix typos.
27246         * argp/argp-parse.c: Likewise.
27247         * debug/backtracesyms.c: Likewise.
27248         * elf/elf.h: Likewise.
27249         * malloc/malloc.c: Likewise.
27250         * nis/nis_print.c: Likewise.
27251         * resolv/res_comp.c: Likewise.
27252         * stdlib/stdlib.h: Likewise.
27253         * sunrpc/clnt_tcp.c: Likewise.
27254         * sunrpc/clnt_udp.c: Likewise.
27255         * sunrpc/clnt_unix.c: Likewise.
27256         * sysdeps/unix/bsd/ptsname.c: Likewise.
27257         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27258         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
27259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
27260         Likewise.
27261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
27262         Likewise.
27263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27264         Likewise.
27265         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27267 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27269         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
27270         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27272 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
27274         [BZ #15897]
27275         * dlfcn/Makefile (tests): Add bug-dl-leaf.
27276         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
27277         ($(objpfx)bug-dl-leaf): New rule.
27278         ($(objpfx)bug-dl-leaf.so): Likewise.
27279         ($(objpfx)bug-dl-leaf.out): Likewise.
27280         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
27281         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
27282         * dlfcn/bug-dl-leaf.c: New test.
27283         * dlfcn/bug-dl-leaf-lib.c: Likewise.
27284         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
27285         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
27286         (dlclose): Likewise.
27287         (dlmopen): Likewise.
27289 2013-08-27  Roland McGrath  <roland@hack.frob.com>
27291         * include/netdb.h [!_ISOMAC]:
27292         Don't include <tls.h>.
27293         (h_errno, __libc_h_errno): Move declaration and macros out of
27294         [_LIBC_REENTRANT].
27296         * include/resolv.h [_RESOLV_H_]:
27297         Don't include <tls.h>.
27298         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
27299         * resolv/res_libc.c: Don't include <tls.h>.
27300         (_res): Use __attribute__ ((nocommon)) in place of
27301         __attribute__ ((section (".bss"))).
27303         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
27304         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
27306         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
27308         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
27309         only under [SIOCGIFCONF && SIOCGIFNETMASK].
27311         * resolv/res_mkquery.c: Include <sys/time.h>.
27313         * inet/ifreq.c: Moved to ...
27314         * sysdeps/unix/ifreq.c: ... here.
27315         * inet/ifreq.c: New file, true stub version.
27317         * socket/sa_len.c: New file.
27318         * socket/Makefile (aux): Add it.
27319         * sysdeps/unix/sysv/linux/Makefile
27320         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
27321         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
27322         and #include <socket/sa_len.c>.
27323         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
27324         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
27326         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
27327         * bits/socket.h: ... here.
27329         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
27330         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
27331         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
27333 2013-08-27  Andreas Schwab  <schwab@suse.de>
27335         [BZ #15736]
27336         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
27337         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
27338         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
27339         * string/test-strcasecmp.c (test_main): Run tests in several
27340         locales.
27341         * string/test-strncasecmp.c (test_main): Likewise.
27343         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
27344         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
27345         to __strcasecmp_nonascii and __strncasecmp_nonascii.
27346         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
27347         (__strncasecmp_ssse3) [PIC]: Likewise.
27349 2013-08-26  Roland McGrath  <roland@hack.frob.com>
27351         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
27353         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
27354         instead of explicitly declaring xdecrypt.
27355         * nis/nss_nis/nis-publickey.c: Likewise.
27357 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27359         [BZ #15890]
27360         * nscd/aicache.c: Include res_hconf.h.
27361         (addhstaiX): Initialize res_hconf.
27363 2013-08-26  Andreas Schwab  <schwab@suse.de>
27365         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
27366         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
27368 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27370         * nscd/aicache.c (addhstaiX): Fix indentation.
27372 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
27374         * configure.ac: Quote $build_pt_chown test.
27375         * configure: Regenerated.
27377 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
27379         [BZ #15532]
27380         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
27381         * math/s_cexpf.c (__cexpf): Likewise.
27382         * math/s_cexpl.c (__cexpl): Likewise.
27383         * math/libm-test.inc (cexp_test_data): Correct expected return
27384         value for NaN + i0.  Add another test.
27386 2013-08-22  David S. Miller  <davem@davemloft.net>
27388         * po/ca.po: Update Catalan translation from translation project.
27389         * po/uk.po: Add Ukrainian translations from translation project.
27391 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
27393         [BZ #15797]
27394         * math/s_fdim.c (__fdim): Check for infinite arguments if result
27395         is infinite, not alongside NaN test.
27396         * math/s_fdimf.c (__fdimf): Likewise.
27397         * math/s_fdiml.c (__fdiml): Likewise.
27398         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
27399         errno is unchanged.
27401 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
27403         * argp/argp-help.c: Fix typos.
27404         * crypt/speeds.c: Likewise.
27405         * csu/check_fds.c: Likewise.
27406         * elf/dl-load.c: Likewise.
27407         * elf/dl-open.c: Likewise.
27408         * elf/reldep3.c: Likewise.
27409         * elf/reldep.c: Likewise.
27410         * elf/sprof.c: Likewise.
27411         * iconv/iconv_charmap.c: Likewise.
27412         * iconv/skeleton.c: Likewise.
27413         * iconv/strtab.c: Likewise.
27414         * io/lockf64.c: Likewise.
27415         * libio/libioP.h: Likewise.
27416         * resolv/gai_notify.c: Likewise.
27417         * resolv/ns_name.c: Likewise.
27418         * resolv/ns_samedomain.c: Likewise.
27419         * resolv/res_send.c: Likewise.
27420         * stdlib/random.c: Likewise.
27421         * sunrpc/rpc/xdr.h: Likewise.
27422         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
27423         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27424         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27425         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27426         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27427         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27428         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27429         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27430         * sysdeps/mach/hurd/check_fds.c: Likewise.
27431         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27432         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27433         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27434         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27435         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27436         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27437         * sysdeps/pthread/aio_notify.c: Likewise.
27438         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
27439         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
27440         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
27441         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27442         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27444 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27446         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
27447         version if bit_Slow_SSE4_2 is set.
27448         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27449         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27451 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27453         [BZ #15867]
27454         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
27455         trampoline stack frame information.
27456         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
27457         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
27458         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
27459         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
27460         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
27461         * sysdeps/unix/sysv/linux/powerpc/init-first.c
27462         (_libc_vdso_platform_setup): Initialize the signal trampolines.
27463         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
27464         sa_flags value.
27465         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
27466         interrupting a syscall and set with option SA_SIGINFO.
27468 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
27470         [BZ #15531]
27471         * math/s_cproj.c (__cproj): Only return an infinity if one part of
27472         argument is infinite.
27473         * math/s_cprojf.c (__cprojf): Likewise.
27474         * math/s_cprojl.c (__cprojl): Likewise.
27475         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
27476         * math/libm-test.inc (cproj_test_data): Add more tests.
27478         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
27480         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
27481         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
27482         size.  Use __ffs to determine corresponding shift.
27484 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
27485             Roland McGrath  <roland@hack.frob.com>
27487         * Makefile (INSTALL): Remove trailing blank lines from output of
27488         makeinfo.
27490 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27492         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
27493         Align 32 bit compat elf_greg to 8 bytes.
27495 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
27497         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
27499 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27501         * string/strcoll_l.c (coll_seq): New structure.
27502         (get_next_seq_cached): New function.
27503         (get_next_seq): New function.
27504         (do_compare): New function.
27505         (STRCOLL): Use GNU style definition.  Simplify implementation
27506         by using get_next_seq, get_next_seq_cached and do_compare.
27508 2013-08-16  Florian Weimer  <fweimer@redhat.com>
27510         [BZ #14699]
27511         CVE-2013-4237
27512         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
27513         member.
27514         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
27515         member.
27516         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
27517         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
27518         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
27519         conditional.
27520         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
27521         GETDENTS_64BIT_ALIGNED.
27522         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27523         * manual/filesys.texi (Reading/Closing Directory): Document
27524         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
27525         strongly.
27526         * manual/conf.texi (Limits for Files): Add portability note to
27527         NAME_MAX, PATH_MAX.
27528         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
27530 2013-08-13  Andreas Schwab  <schwab@suse.de>
27532         [BZ #15749]
27533         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
27534         of fabs.
27535         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
27536         LDBL_MAX_EXP >= 16384]: Add tests for it.
27538 2013-08-12  David S. Miller  <davem@davemloft.net>
27540         * version.h (RELEASE): Set to "development".
27541         (VERSION): Set to "2.18.90".
27542         * NEWS: Add 2.19 section.
27544 2013-08-03  David S. Miller  <davem@davemloft.net>
27546         * po/ko.po: Update Korean translation from translation project.
27548 2013-08-01  David S. Miller  <davem@davemloft.net>
27550         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
27551         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
27552         Bilka.
27554 2013-07-30  David S. Miller  <davem@davemloft.net>
27556         * po/fr.po: Update French translation from translation project.
27558 2013-07-28  David S. Miller  <davem@davemloft.net>
27560         * po/cs.po: Update Czech translation from translation project.
27562         * po/sv.po: Update Swedish translation from translation project.
27564 2013-07-27  David S. Miller  <davem@davemloft.net>
27566         * po/eo.po: Update Esperanto translation from translation project.
27568         * po/vi.po: Update Vietnamese translation from translation project.
27570         * po/de.po: Update German translation from translation project.
27572 2013-07-26  David S. Miller  <davem@davemloft.net>
27574         * po/bg.po: Update Bulgarian translation from translation project.
27576         * po/nl.po: Update Dutch translation from translation project.
27577         * po/pl.po: Update Polish translation from translation project.
27578         * po/ru.po: Update Russian translation from translation project.
27580 2013-07-24  David S. Miller  <davem@davemloft.net>
27582         * po/libc.pot: Update.
27584 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27586         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
27587         variable page size.
27588         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
27589         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
27590         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
27592 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27594         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
27596 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27597             Andreas Schwab  <schwab@suse.de>
27598             Roland McGrath  <roland@hack.frob.com>
27599             Joseph Myers  <joseph@codesourcery.com>
27600             Carlos O'Donell  <carlos@redhat.com>
27602         [BZ #15755]
27603         * config.h.in: Define HAVE_PT_CHOWN.
27604         * config.make.in (build-pt-chown): New variable.
27605         * configure.in (--enable-pt_chown): New configure option.
27606         * configure: Regenerate.
27607         * login/Makefile: Include Makeconfig.  Build pt_chown only if
27608         build-pt-chown is enabled.
27609         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
27610         pt_chown to fix pty ownership.
27611         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
27612         CLOSE_ALL_FDS.
27613         * manual/install.texi (Configuring and compiling): Mention
27614         --enable-pt_chown. Add @findex for grantpt.
27615         * INSTALL: Regenerate.
27617 2013-07-20  David S. Miller  <davem@davemloft.net>
27619         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
27620         difference between 32-bit and 64-bit.
27622 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
27624         [BZ #15711]
27625         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
27626         Avoid system header dependency with -ffreestanding.
27627         ($(objpfx)bits/syscall%d): Likewise.
27629 2013-07-13  David S. Miller  <davem@davemloft.net>
27631         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
27632         underflows from atanl/atan2l due to bug 15319.
27633         (casinh_test_data): Likewise.
27635 2013-07-07  David S. Miller  <davem@davemloft.net>
27637         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27639 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
27641         * sysdeps/i386/fpu/libm-test-ulps: Update.
27642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27644 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27646         * configure.in (--enable-lock-elision): Fix message text.
27647         * INSTALL: Regenerate.
27648         * configure: Regenerate.
27650 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27652         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27654 2013-07-03  Andreas Jaeger  <aj@suse.de>
27656         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
27657         define.
27658         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
27659         (ptrace_peeksiginfo_args): Add.
27660         (__ptrace_peeksiginfo_flags): Add.
27661         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27662         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27663         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27665 2013-07-03  Allan McRae  <allan@archlinux.org>
27667         * sysdeps/i386/fpu/libm-test-ulps: Update.
27669 2013-07-02  David S. Miller  <davem@davemloft.net>
27671         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27673 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
27675         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27677 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
27679         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27682 2013-07-02  Andi Kleen <ak@linux.intel.com>
27684         * config.h.in (ENABLE_LOCK_ELISION): Add.
27685         * configure.in (--enable-lock-elision): Add option.
27686         * manual/install.texi: Document --enable lock elision.
27687         * configure: Regenerate
27688         * INSTALL: Regenerate.
27690 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
27692         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
27693         SSE4.2 strcasecmp for libc.a.
27694         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
27696 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
27698         [BZ #13304]
27699         * soft-fp/op-common.h (_FP_FMA): New macro.
27700         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
27701         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
27702         (_FP_MUL_MEAT_1_imm): ... here.
27703         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
27704         (_FP_MUL_MEAT_1_wide): ... here.
27705         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
27706         (_FP_MUL_MEAT_1_hard): ... here.
27707         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
27708         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
27709         (_FP_MUL_MEAT_2_wide): ... here.
27710         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
27711         (_FP_MUL_MEAT_2_wide_3mul): ... here.
27712         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
27713         (_FP_MUL_MEAT_2_gmp): ... here.
27714         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
27715         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
27716         (_FP_MUL_MEAT_4_wide): ... here.
27717         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
27718         (_FP_MUL_MEAT_4_gmp): ... here.
27719         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
27720         (_FP_WFRACBITS_DW_S): Likewise.
27721         (_FP_WFRACXBITS_DW_S): Likewise.
27722         (_FP_HIGHBIT_DW_S): Likewise.
27723         (FP_FMA_S): Likewise.
27724         (_FP_FRAC_HIGH_DW_S): Likewise.
27725         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
27726         (_FP_WFRACBITS_DW_D): Likewise.
27727         (_FP_WFRACXBITS_DW_D): Likewise.
27728         (_FP_HIGHBIT_DW_D): Likewise.
27729         (FP_FMA_D): Likewise.
27730         (_FP_FRAC_HIGH_DW_D): Likewise.
27731         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
27732         (_FP_WFRACBITS_DW_E): Likewise.
27733         (_FP_WFRACXBITS_DW_E): Likewise.
27734         (_FP_HIGHBIT_DW_E): Likewise.
27735         (FP_FMA_E): Likewise.
27736         (_FP_FRAC_HIGH_DW_E): Likewise.
27737         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
27738         (_FP_WFRACBITS_DW_Q): Likewise.
27739         (_FP_WFRACXBITS_DW_Q): Likewise.
27740         (_FP_HIGHBIT_DW_Q): Likewise.
27741         (FP_FMA_Q): Likewise.
27742         (_FP_FRAC_HIGH_DW_Q): Likewise.
27743         * soft-fp/fmasf4.c: New file.
27744         * soft-fp/fmadf4.c: Likewise.
27745         * soft-fp/fmatf4.c: Likewise.
27747 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27749         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27750         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
27751         Silvermont.
27752         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
27753         macro.
27754         (index_Slow_SSE4_2): Likewise.
27755         (index_Prefer_PMINUB_for_stringop): Likewise.
27756         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
27757         bit_Slow_SSE4_2 is set.
27758         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27759         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27761 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27763         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
27764         rtld_global._dl_hwcap2.
27765         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
27766         POWER8.
27767         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
27768         POWER8 feature descriptions defined in _dl_hwcap2.
27769         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
27770         string handling for POWER8 feature bits.
27771         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
27772         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
27773         _dl_powerpc_cap_flags.
27774         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
27775         * sysdeps/powerpc/rtld-global-offsets.sym
27776         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
27777         _dl_hwcap2 in the rtld_global_ro structure.
27779 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27781         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
27782         hardware capabilities in support of AT_HWCAP2.
27783         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
27784         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
27785         GLRO(dl_hwcap2).
27786         (_dl_show_auxv): Add support for calling _dl_procinfo to display
27787         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
27788         explicitly the unknown a_type display mechanism is used.
27789         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
27790         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
27791         struct member.
27792         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
27793         to macro prototype for AT_HWCAP2 support.
27794         * sysdeps/i386/dl-procinfo.h: Likewise.
27795         * sysdeps/s390/dl-procinfo.h: Likewise.
27796         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
27797         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
27798         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
27799         return -1 for unknown a_type display fallback.
27800         * sysdeps/sparc/dl-procinfo.h: Likewise.
27801         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
27802         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
27804 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
27806         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
27807         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
27809 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
27811         [BZ #12492]
27812         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
27813         mprotect making __stack_prot writable.
27815 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
27816             Joseph Myers  <joseph@codesourcery.com>
27818         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
27819         as being properly aligned.
27821 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
27823         * dlfcn/modstatic5.c: New file.
27824         * dlfcn/tststatic5.c: New file.
27825         * dlfcn/Makefile (tests): Add tststatic5.
27826         (tests-static): Likewise.
27827         (modules-names): Add modstatic5.
27828         (tststatic5-ENV): New variable.
27829         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
27831         [BZ #15022]
27832         * elf/dl-support.c (_dl_main_map): New variable.
27833         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
27834         (_dl_nns, _dl_load_adds): Set to 1.
27835         (_dl_initial_searchlist): Refer to _dl_main_map.
27836         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
27837         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
27838         call to _dl_get_origin.
27839         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
27840         around call_map.
27841         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
27842         * dlfcn/modstatic3.c: New file.
27843         * dlfcn/tststatic3.c: New file.
27844         * dlfcn/tststatic4.c: New file.
27845         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
27846         (tests-static): Likewise.
27847         (modules-names): Add modstatic3.
27848         (tststatic3-ENV, tststatic4-ENV): New variables.
27849         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
27850         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
27852 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
27854         * configure.in (CC): Require GCC version 4.4 or later.
27855         * configure: Regenerated.
27856         * manual/install.texi (Tools for Compilation): Update GCC version
27857         requirement.
27858         * INSTALL: Regenerated.
27860 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27862         [BZ #15674]
27863         * string/test-memcmp.c (check2): New.
27864         (main): Call check2.
27866         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
27868 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
27870         [BZ #15022]
27871         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
27872         over to...
27873         (dl_open_worker) [!SHARED]: ... here.
27875 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27877         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
27879 2013-06-25  Richard Henderson  <rth@redhat.com>
27881         * locale/programs/locarchive.c: Include <libc-internal.h>
27883 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
27885         * manual/texinfo.tex: Update to version 2013-06-21.17, with
27886         trailing whitespace removed.
27888 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
27890         [BZ #10283]
27891         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
27892         * locale/programs/locarchive.c: Include libc-mmap.h.
27893         (prepare_address_space): Take two new outputs (the mmap base and len).
27894         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
27895         values.
27896         (create_archive): Declare new mmap base and len values for
27897         prepare_address_space, and store the result in ah.
27898         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
27899         (enlarge_archive): If ah->mmap_base is not NULL, use that and
27900         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
27901         Declare new mmap base and len values for
27902         prepare_address_space, and store the result in new_ah.
27903         (open_archive): Declare new mmap base and len values for
27904         prepare_address_space, and store the result in ah.
27905         (close_archive): If ah->mmap_base is not NULL, use that and
27906         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
27907         * sysdeps/generic/libc-mmap.h: New file.
27909 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
27911         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
27912         (ALIGN_UP): Likewise.
27913         (PTR_ALIGN_DOWN): Likewise.
27914         (PTR_ALIGN_UP): Likewise.
27916 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27918         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
27919         entry mapped to PPC_PLATFORM_POWER8.
27920         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
27921         POWER8.
27922         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
27923         (_dl_string_platform): Add case for exporting platform position for
27924         POWER8.
27925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
27926         search path to sysdeps/powerpc/powerpc32/power8 directory.
27927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
27928         search path to sysdeps/powerpc/powerpc64/power8 directory.
27929         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
27930         power7 directories.
27931         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
27932         power7 directories.
27934 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27936         * INSTALL: Regenerate.
27938         * nscd/connections.c (nscd_init): Fix comment.
27940 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
27942         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
27944         [BZ #15667]
27945         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
27946         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
27948 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
27950         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
27951         DL_DST_REQ_STATIC.
27952         (DL_DST_REQ_STATIC): Remove macro.
27954 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
27956         [BZ #7006]
27957         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
27958         with a shift of 0 bits.
27960 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
27962         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
27963         $(tststatic-ENV).
27965 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27967         [BZ #15655]
27968         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
27970 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27972         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
27973         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
27974         accepts -fno-tree-loop-distribute-patterns.
27975         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
27976         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
27977         recursive call.
27978         * string/memset.c (memset): Likewise.
27979         * string/test-memmove.c (simple_memmove): Disable loop transformation
27980         to library calls.
27981         * string/test-memset.c (simple_memset): Likewise.
27982         * benchtests/bench-memmove.c (simple_memmove): Likewise.
27983         * benchtests/bench-memset.c (simple_memset): Likewise.
27984         * configure: Regenerated.
27986 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
27988         * math/test-misc.c (main): Ignore fesetround failure when failures
27989         of subsequent rounding tests would be ignored.
27991         [BZ #15654]
27992         * math/fedisblxcpt.c (fedisableexcept): Return 0.
27993         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
27994         * math/fegetenv.c (__fegetenv): Return 0.
27995         * math/fegetexcept.c (fegetexcept): Return 0.
27996         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
27997         FE_TONEAREST.
27998         * math/feholdexcpt.c (feholdexcept): Return 0.
27999         * math/fesetenv.c (__fesetenv): Return 0.
28000         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
28001         argument FE_TONEAREST.
28002         * math/feupdateenv.c (__feupdateenv): Return 0.
28003         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
28005 2013-06-18  Roland McGrath  <roland@hack.frob.com>
28007         * elf/rtld-Rules (rtld-compile-command.S): New variable.
28008         (rtld-compile-command.s, rtld-compile-command.c): New variables.
28009         ($(objpfx)rtld-%.os rules): Use them.
28011 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28013         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
28014         fields.
28016 2013-06-17  Roland McGrath  <roland@hack.frob.com>
28018         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
28019         length of target pattern, then descending length of dependency pattern.
28020         * configure.in (AWK): Require gawk 3.1.2 or newer.
28021         * manual/install.texi (Tools for Compilation): Say that we do.
28022         * configure: Regenerated.
28024         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
28025         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
28026         * scripts/sysd-rules.awk: ... this new script.
28027         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
28028         than a glob-style pattern.
28030 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
28032         * math/test-misc.c (main): Do not treat incorrectly rounded
28033         conversions as failure unless ROUNDING_TESTS passes.
28035 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
28037         [BZ #15631]
28038         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
28039         restore exception state around main square root computation, then
28040         check for inexactness explicitly.
28042         * math/libm-test.inc (fma_test_data): Add another test.
28044 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28046         * manual/threads.texi (Non-POSIX Extensions): New document
28047         node.  Document pthread_getattr_default_np and
28048         pthread_setattr_default_np.
28050         * Versions.def (libpthread): Add GLIBC_2.18.
28051         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
28052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28053         Likewise.
28054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28055         Likewise.
28056         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28057         Likewise.
28058         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28059         Likewise.
28060         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
28061         Likewise.
28062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28063         Likewise.
28064         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28065         Likewise.
28066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28067         Likewise.
28068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28069         Likewise.
28071 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28073         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28074         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
28076 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28077             H.J. Lu  <hjl.tools@gmail.com>
28079         [BZ #15627]
28080         * sysdeps/x86_64/rtld-memset.c: Remove file.
28081         * sysdeps/x86_64/rtld-memset.S: New file.
28083 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
28085         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
28086         (test_in_one_mode): Take arguments for whether the rounding mode
28087         is supported for each floating-point type.
28088         (do_test): Pass new arguments to test_in_one_mode using
28089         ROUNDING_TESTS.
28091 2013-06-13  Roland McGrath  <roland@hack.frob.com>
28093         * posix/tst-waitid.c (do_test): Distinguish different instances of
28094         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
28095         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
28096         before entering the kernel for waitpid.
28098 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28100         * NEWS: Fix note on clock function precision.  Text by Roland
28101         McGrath.
28103 2013-06-13  Roland McGrath  <roland@hack.frob.com>
28105         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
28106         it into place only when and if the sanity check passes.
28108 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
28110         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
28111         output for whether conversion result is exact.  Take argument
28112         indicating whether type is IBM long double.
28113         (round_for_all): Change need_exact field to ibm_ld.
28114         * stdlib/tst-strtod-round.c (struct exactness): New type.
28115         (struct test): Change bool ld_ok field to struct exactness exact.
28116         (TEST): Update all definitions for change to field.
28117         (tests): Regenerate array contents.
28118         (test_in_one_mode): Take pointer to new field instead of old ld_ok
28119         field value.  Check for IBM long double here.
28120         (do_test): Update calls to test_in_one_mode.
28122 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28124         [BZ #12515]
28125         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
28126         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
28128 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28130         [BZ #15605]
28131         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
28132         generated by the compiler on loop optimizations.
28133         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
28134         general definitions.
28136 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
28138         * math/bug-nextafter.c: Include <math-tests.h>.
28139         (main): Only test for exceptions if EXCEPTION_TESTS is true for
28140         the relevant type.
28141         * math/bug-nexttoward.c: Include <math-tests.h>.
28142         (main): Only test for exceptions if EXCEPTION_TESTS is true for
28143         the relevant type.
28144         * math/test-misc.c: Include <math-tests.h>.
28145         (main): Only test for exceptions if EXCEPTION_TESTS is true for
28146         the relevant type.
28148 2013-06-12  Andreas Jaeger  <aj@suse.de>
28150         * po/ia.po: Update Interlingua translation from translation
28151         project.
28153 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28155         * include/fenv.h: Include stdbool.h.
28156         (struct rm_ctx): New structure.
28157         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
28158         Define macro.
28159         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
28160         (SET_RESTORE_ROUNDF): Likewise.
28161         (SET_RESTORE_ROUNDL): Likewise.
28162         (SET_RESTORE_ROUND_NOEX): Likewise.
28163         (SET_RESTORE_ROUND_NOEXF): Likewise.
28164         (SET_RESTORE_ROUND_NOEXL): Likewise.
28165         (SET_RESTORE_ROUND_53BIT): Likewise.
28166         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
28167         (libc_feresetround_noexf_ctx): Likewise.
28168         (libc_feresetround_noexl_ctx): Likewise.
28169         (libc_feholdsetround_53bit_ctx): Likewise.
28170         (libc_feresetround_53bit_ctx): Likewise.
28171         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
28172         (libc_feholdexcept_setround_sse_ctx): New function.
28173         (libc_fesetenv_sse_ctx): Likewise.
28174         (libc_feupdateenv_sse_ctx): Likewise.
28175         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
28176         (libc_feholdexcept_setround_387_ctx): Likewise.
28177         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
28178         (libc_feholdsetround_387_prec_ctx): Likewise.
28179         (libc_feholdsetround_387_ctx): Likewise.
28180         (libc_feholdsetround_387_53bit_ctx): Likewise.
28181         (libc_feholdsetround_sse_ctx): Likewise.
28182         (libc_feresetround_sse_ctx): Likewise.
28183         (libc_feresetround_387_ctx): Likewise.
28184         (libc_feupdateenv_387_ctx): Likewise.
28185         (libc_feholdexcept_setroundf_ctx): Define macro.
28186         (libc_fesetenvf_ctx): Likewise.
28187         (libc_feupdateenvf_ctx): Likewise.
28188         (libc_feholdsetroundf_ctx): Likewise.
28189         (libc_feresetroundf_ctx): Likewise.
28190         (libc_feholdexcept_setround_ctx): Likewise.
28191         (libc_fesetenv_ctx): Likewise.
28192         (libc_feupdateenv_ctx): Likewise.
28193         (libc_feholdsetround_ctx): Likewise.
28194         (libc_feresetround_ctx): Likewise.
28195         (libc_feholdexcept_setroundl_ctx): Likewise.
28196         (libc_feupdateenvl_ctx): Likewise.
28197         (libc_feholdsetroundl_ctx): Likewise.
28198         (libc_feresetroundl_ctx): Likewise.
28199         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
28200         (libc_feresetround_53bit_ctx): Likewise.
28202 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28204         * locale/iso-639.def: Convert to UTF-8.
28206 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
28208         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
28209         (EXCEPTION_TESTS_double): Likewise.
28210         (EXCEPTION_TESTS_long_double): Likewise.
28211         (EXCEPTION_TESTS): Likewise.
28212         * math/libm-test.inc (test_exceptions): Only test exceptions if
28213         EXCEPTION_TESTS (FLOAT).
28215 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28217         * benchtests/Makefile (string-bench): Add strcpy_chk and
28218         stpcpy_chk.
28219         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
28220         * benchtests/bench-stpcpy_chk.c: New file.
28221         * benchtests/bench-strcpy_chk-ifunc.c: New file.
28222         * benchtests/bench-strcpy_chk.c: New file.
28223         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
28224         code.
28225         (do_test): Likewise.
28227 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28229         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
28230         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
28231         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
28232         with tabs where appropriate.
28233         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
28234         dl-procinfo.h.
28235         [PPC_PLATFORM_PPC440]: Likewise.
28236         [PPC_PLATFORM_PPC464]: Likewise.
28237         [PPC_PLATFORM_PPC476]: Likewise.
28238         (_dl_string_platform): Add support for detecting ppc405, ppc440,
28239         ppc464, and ppc476 platform strings merging from ports/
28240         dl-procinfo.h.
28242 2013-06-11  Andreas Schwab  <schwab@suse.de>
28244         [BZ #14991]
28245         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
28246         (from_ucs4_idx): Regenerate.
28247         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
28248         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
28249         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
28250         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
28251         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
28252         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
28253         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
28254         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
28255         from FROM_LOOP and TO_LOOP specific macros.
28256         (BODY): Handle combining characters.
28257         * iconvdata/BIG5HKSCS.irreversible: Update.
28258         * iconvdata/BIG5HKSCS.precomposed: New file.
28259         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
28260         characters.
28261         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
28263 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28265         * include/sys/time.h: Fix indentation and add copyright header.
28267         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
28268         (do_test): Likewise.
28269         * string/test-memchr.c (do_one_test): Likewise.
28270         (do_test): Likewise.
28271         * string/test-memcmp.c (do_one_test): Likewise.
28272         (do_test): Likewise.
28273         * string/test-memcpy.c (do_one_test): Likewise.
28274         (do_test): Likewise.
28275         * string/test-memmem.c (do_one_test): Likewise.
28276         (do_test): Likewise.
28277         (do_random_tests): Likewise.
28278         * string/test-memmove.c (do_one_test): Likewise.
28279         (do_test): Likewise.
28280         * string/test-memset.c (do_one_test): Likewise.
28281         (do_test): Likewise.
28282         * string/test-rawmemchr.c (do_one_test): Likewise.
28283         (do_test): Likewise.
28284         * string/test-strcasecmp.c (do_one_test): Likewise.
28285         (do_test): Likewise.
28286         * string/test-strcasestr.c (do_one_test): Likewise.
28287         (do_test): Likewise.
28288         * string/test-strcat.c (do_one_test): Likewise.
28289         (do_test): Likewise.
28290         * string/test-strchr.c (do_one_test): Likewise.
28291         (do_test): Likewise.
28292         * string/test-strcmp.c (do_one_test): Likewise.
28293         (do_test): Likewise.
28294         * string/test-strcpy.c (do_one_test): Likewise.
28295         (do_test): Likewise.
28296         * string/test-string.h: Likewise.
28297         (test_init): Likewise.
28298         * string/test-strlen.c (do_one_test): Likewise.
28299         (do_test): Likewise.
28300         * string/test-strncasecmp.c (do_one_test): Likewise.
28301         (do_test): Likewise.
28302         * string/test-strncat.c (do_one_test): Likewise.
28303         (do_test): Likewise.
28304         * string/test-strncmp.c (do_one_test): Likewise.
28305         (do_test_limit): Likewise.
28306         (do_test): Likewise.
28307         * string/test-strncpy.c (do_one_test): Likewise.
28308         (do_test): Likewise.
28309         * string/test-strnlen.c (do_one_test): Likewise.
28310         (do_test): Likewise.
28311         * string/test-strpbrk.c (do_one_test): Likewise.
28312         (do_test): Likewise.
28313         * string/test-strrchr.c (do_one_test): Likewise.
28314         (do_test): Likewise.
28315         * string/test-strspn.c (do_one_test): Likewise.
28316         (do_test): Likewise.
28317         * string/test-strstr.c (do_one_test): Likewise.
28318         (do_test): Likewise.
28320         * benchtests/Makefile (string-bench): Add string benchmarks.
28321         * benchtests/bench-bcopy-ifunc.c: New file.
28322         * benchtests/bench-bcopy.c: New file.
28323         * benchtests/bench-bzero-ifunc.c: New file.
28324         * benchtests/bench-bzero.c: New file.
28325         * benchtests/bench-memccpy-ifunc.c: New file.
28326         * benchtests/bench-memccpy.c: New file.
28327         * benchtests/bench-memchr-ifunc.c: New file.
28328         * benchtests/bench-memchr.c: New file.
28329         * benchtests/bench-memcmp-ifunc.c: New file.
28330         * benchtests/bench-memcmp.c: New file.
28331         * benchtests/bench-memmem-ifunc.c: New file.
28332         * benchtests/bench-memmem.c: New file.
28333         * benchtests/bench-memmove-ifunc.c: New file.
28334         * benchtests/bench-memmove.c: New file.
28335         * benchtests/bench-mempcpy-ifunc.c: New file.
28336         * benchtests/bench-mempcpy.c: New file.
28337         * benchtests/bench-memset-ifunc.c: New file.
28338         * benchtests/bench-memset.c: New file.
28339         * benchtests/bench-rawmemchr-ifunc.c: New file.
28340         * benchtests/bench-rawmemchr.c: New file.
28341         * benchtests/bench-stpcpy-ifunc.c: New file.
28342         * benchtests/bench-stpcpy.c: New file.
28343         * benchtests/bench-stpncpy-ifunc.c: New file.
28344         * benchtests/bench-stpncpy.c: New file.
28345         * benchtests/bench-strcasecmp-ifunc.c: New file.
28346         * benchtests/bench-strcasecmp.c: New file.
28347         * benchtests/bench-strcasestr-ifunc.c: New file.
28348         * benchtests/bench-strcasestr.c: New file.
28349         * benchtests/bench-strcat-ifunc.c: New file.
28350         * benchtests/bench-strcat.c: New file.
28351         * benchtests/bench-strchr-ifunc.c: New file.
28352         * benchtests/bench-strchr.c: New file.
28353         * benchtests/bench-strchrnul-ifunc.c: New file.
28354         * benchtests/bench-strchrnul.c: New file.
28355         * benchtests/bench-strcmp-ifunc.c: New file.
28356         * benchtests/bench-strcmp.c: New file.
28357         * benchtests/bench-strcpy-ifunc.c: New file.
28358         * benchtests/bench-strcpy.c: New file.
28359         * benchtests/bench-strcspn-ifunc.c: New file.
28360         * benchtests/bench-strcspn.c: New file.
28361         * benchtests/bench-strlen-ifunc.c: New file.
28362         * benchtests/bench-strlen.c: New file.
28363         * benchtests/bench-strncasecmp-ifunc.c: New file.
28364         * benchtests/bench-strncasecmp.c: New file.
28365         * benchtests/bench-strncat-ifunc.c: New file.
28366         * benchtests/bench-strncat.c: New file.
28367         * benchtests/bench-strncmp-ifunc.c: New file.
28368         * benchtests/bench-strncmp.c: New file.
28369         * benchtests/bench-strncpy-ifunc.c: New file.
28370         * benchtests/bench-strncpy.c: New file.
28371         * benchtests/bench-strnlen-ifunc.c: New file.
28372         * benchtests/bench-strnlen.c: New file.
28373         * benchtests/bench-strpbrk-ifunc.c: New file.
28374         * benchtests/bench-strpbrk.c: New file.
28375         * benchtests/bench-strrchr-ifunc.c: New file.
28376         * benchtests/bench-strrchr.c: New file.
28377         * benchtests/bench-strspn-ifunc.c: New file.
28378         * benchtests/bench-strspn.c: New file.
28379         * benchtests/bench-strstr-ifunc.c: New file.
28380         * benchtests/bench-strstr.c: New file.
28382         * benchtests/Makefile: Disable parallel execution of targets.
28383         (string-bench): Add memcpy.
28384         (benchset): New variable to store a list of benchmark sets.
28385         (bench-func): Renamed from bench.
28386         (bench-set): New target.
28387         (bench): Depend on bench-func and bench-set.
28388         * benchtests/README: Add section on benchmark sets.
28389         * benchtests/bench-memcpy-ifunc.c: New file.
28390         * benchtests/bench-memcpy.c: New file.
28391         * benchtests/bench-string.h: New file.
28393 2013-06-11  Andreas Schwab  <schwab@suse.de>
28395         [BZ #15577]
28396         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
28397         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
28398         values in the triple.
28399         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
28400         terminator in the group key.
28402 2013-06-11  Andreas Jaeger  <aj@suse.de>
28404         * po/zh_TW.po: Update Chinese (traditional) translation from
28405         translation project.
28407 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28409         * include/time.h (__clock_gettime): Add libc_hidden_proto.
28410         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
28411         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
28412         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28413         (clock_getcpuclockid): Likewise.
28414         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
28415         Add weak_alias and libc_hidden_def.
28416         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
28417         * rt/clock_gettime.c (clock_gettime): Rename to
28418         __clock_gettime.  Add weak_alias and libc_hidden_def.
28419         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
28420         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
28421         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
28422         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
28423         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
28424         Likewise.
28425         * rt/clock_settime.c (clock_settime): Rename to
28426         __clock_settime.  Add weak_alias and libc_hidden_def.
28427         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
28429 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
28431         * mach/err_boot.sub: Remove trailing whitespace.
28432         * mach/err_ipc.sub: Likewise.
28433         * mach/err_mach.sub: Likewise.
28435         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
28436         (ROUNDING_TESTS_double): Likewise.
28437         (ROUNDING_TESTS_long_double): Likewise.
28438         (ROUNDING_TESTS): Likewise.
28439         * math/libm-test.inc: Include <math-tests.h>.
28440         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
28441         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28442         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28443         (IF_ROUND_INIT_FE_UPWARD): Likewise.
28445 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28447         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
28448         of assigning.
28450 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
28452         * sysdeps/gnu/errlist.awk: Do not generate space at end of
28453         otherwise empty TRANS lines.
28454         * sysdeps/gnu/errlist.c: Regenerated.
28456         * catgets/gencat.c (error_print): Use (void) in function
28457         definition.
28458         * crypt/crypt_util.c (__init_des): Likewise.
28459         * crypt/speeds.c (Stop): Likewise.
28460         (main): Likewise.
28461         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
28462         * inet/ruserpass.c (token): Likewise.
28463         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
28464         * intl/localealias.c (extend_alias_table): Likewise.
28465         * intl/plural-exp.c (init_germanic_plural): Likewise.
28466         * libio/fcloseall.c (__fcloseall): Likewise.
28467         * libio/genops.c (_IO_flush_all): Likewise.
28468         (_IO_flush_all_linebuffered): Likewise.
28469         (_IO_cleanup): Likewise.
28470         (_IO_iter_begin): Likewise.
28471         (_IO_iter_end): Likewise.
28472         (_IO_list_lock): Likewise.
28473         (_IO_list_unlock): Likewise.
28474         (_IO_list_resetlock): Likewise.
28475         * libio/getchar.c (getchar): Likewise.
28476         * libio/getchar_u.c (getchar_unlocked): Likewise.
28477         * libio/getwchar.c (getwchar): Likewise.
28478         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
28479         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
28480         * login/getpt.c (__getpt): Likewise.
28481         * login/tst-utmp.c (main): Likewise.
28482         * malloc/hooks.c (__malloc_check_init): Likewise.
28483         * malloc/malloc.c (__malloc_stats): Likewise.
28484         * malloc/mtrace.c (tr_break): Likewise.
28485         (mtrace): Likewise.
28486         (muntrace): Likewise.
28487         * misc/fstab.c (endfsent): Likewise.
28488         * misc/getclktck.c (__getclktck): Likewise.
28489         * misc/getdtsz.c (__getdtablesize): Likewise.
28490         * misc/gethostid.c (gethostid): Likewise.
28491         * misc/getpagesize.c (__getpagesize): Likewise.
28492         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
28493         (__get_nprocs): Likewise.
28494         (__get_phys_pages): Likewise.
28495         (__get_avphys_pages): Likewise.
28496         * misc/getttyent.c (getttyent): Likewise.
28497         (setttyent): Likewise.
28498         (endttyent): Likewise.
28499         * misc/getusershell.c (getusershell): Likewise.
28500         (endusershell): Likewise.
28501         (setusershell): Likewise.
28502         (initshells): Likewise.
28503         * misc/hsearch.c (__hdestroy): Likewise.
28504         * misc/sync.c (sync): Likewise.
28505         * misc/syslog.c (closelog_internal): Likewise.
28506         (closelog): Likewise.
28507         * misc/ttyslot.c (ttyslot): Likewise.
28508         * misc/vhangup.c (vhangup): Likewise.
28509         * posix/fork.c (__fork): Likewise.
28510         * posix/getegid.c (__getegid): Likewise.
28511         * posix/geteuid.c (__geteuid): Likewise.
28512         * posix/getgid.c (__getgid): Likewise.
28513         * posix/getpid.c (__getpid): Likewise.
28514         * posix/getppid.c (__getppid): Likewise.
28515         * posix/getuid.c (__getuid): Likewise.
28516         * posix/pause.c (pause): Likewise.
28517         * posix/setpgrp.c (setpgrp): Likewise.
28518         * posix/setsid.c (__setsid): Likewise.
28519         * posix/test-vfork.c (noop): Likewise.
28520         * resolv/gethnamaddr.c (_endhtent): Likewise.
28521         (_gethtent): Likewise.
28522         (ht_endhostent): Likewise.
28523         (gethostent): Likewise.
28524         (dns_service): Likewise.
28525         * stdlib/drand48.c (drand48): Likewise.
28526         * stdlib/lrand48.c (lrand48): Likewise.
28527         * stdlib/mrand48.c (mrand48): Likewise.
28528         * stdlib/rand.c (rand): Likewise.
28529         * stdlib/random.c (__random): Likewise.
28530         * stdlib/setenv.c (clearenv): Likewise.
28531         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
28532         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
28533         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
28534         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
28535         (__get_nprocs): Likewise.
28536         (__get_phys_pages): Likewise.
28537         (__get_avphys_pages): Likewise.
28538         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
28539         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
28540         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
28541         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
28542         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
28543         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
28544         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
28545         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
28546         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
28547         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
28548         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
28549         * sysdeps/mach/hurd/sync.c (sync): Likewise.
28550         * sysdeps/posix/clock.c (clock): Likewise.
28551         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
28552         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
28553         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
28554         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
28555         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
28556         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
28557         (__get_nprocs_conf): Likewise.
28558         (__get_phys_pages): Likewise.
28559         (__get_avphys_pages): Likewise.
28560         * time/clock.c (clock): Likewise.
28561         * time/tzset.c (__tzname_max): Likewise.
28563 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
28565         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
28566         (__bswap_32): Do not use "register".
28567         * crypt/crypt.c (_ufc_doit_r): Likewise.
28568         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
28569         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
28570         * gmon/gmon.c (__monstartup): Likewise.
28571         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
28572         * hurd/hurdmalloc.c (more_memory): Likewise.
28573         (malloc): Likewise.
28574         (free): Likewise.
28575         (realloc): Likewise.
28576         (malloc_fork_prepare): Likewise.
28577         (malloc_fork_parent): Likewise.
28578         (malloc_fork_child): Likewise.
28579         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
28580         (_svcauth_des): Likewise.
28581         * inet/inet_lnaof.c (inet_lnaof): Likewise.
28582         * inet/inet_net.c (inet_network): Likewise.
28583         * inet/inet_netof.c (inet_netof): Likewise.
28584         * inet/rcmd.c (__validuser2_sa): Likewise.
28585         * io/fts.c (fts_open): Likewise.
28586         (fts_load): Likewise.
28587         (fts_close): Likewise.
28588         (fts_read): Likewise.
28589         (fts_children): Likewise.
28590         (fts_build): Likewise.
28591         (fts_stat): Likewise.
28592         (fts_sort): Likewise.
28593         (fts_alloc): Likewise.
28594         (fts_lfree): Likewise.
28595         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
28596         (_IO_file_xsgetn): Likewise.
28597         (_IO_file_xsgetn_mmap): Likewise.
28598         * libio/iofopncook.c (_IO_cookie_read): Likewise.
28599         (_IO_cookie_write): Likewise.
28600         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
28601         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
28602         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
28603         * malloc/obstack.c (_obstack_begin): Likewise.
28604         (_obstack_begin_1): Likewise.
28605         (_obstack_newchunk): Likewise.
28606         (_obstack_allocated_p): Likewise.
28607         (obstack_free): Likewise.
28608         (_obstack_memory_used): Likewise.
28609         * misc/getttyent.c (getttynam): Likewise.
28610         (getttyent): Likewise.
28611         (skip): Likewise.
28612         (value): Likewise.
28613         * misc/getusershell.c (initshells): Likewise.
28614         * misc/syslog.c (__vsyslog_chk): Likewise.
28615         * misc/ttyslot.c (ttyslot): Likewise.
28616         * nis/nis_hash.c (__nis_hash): Likewise.
28617         * posix/fnmatch_loop.c (FCT): Likewise.
28618         * posix/getconf.c (print_all): Likewise.
28619         (main): Likewise.
28620         * posix/getopt.c (exchange): Likewise.
28621         * posix/glob.c (globfree): Likewise.
28622         (prefix_array): Likewise.
28623         (__glob_pattern_type): Likewise.
28624         * resolv/arpa/nameser.h (NS_GET16): Likewise.
28625         (NS_GET32): Likewise.
28626         (NS_PUT16): Likewise.
28627         (NS_PUT32): Likewise.
28628         * resolv/gethnamaddr.c (getanswer): Likewise.
28629         (gethostbyname2): Likewise.
28630         (gethostbyaddr): Likewise.
28631         (_gethtent): Likewise.
28632         (_gethtbyname2): Likewise.
28633         (_gethtbyaddr): Likewise.
28634         * resolv/ns_print.c (dst_s_get_int16): Likewise.
28635         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28636         * resolv/res_init.c (__res_vinit): Likewise.
28637         (net_mask): Likewise.
28638         * resolv/res_mkquery.c (outchar): Likewise.
28639         (PRINT): Likewise.
28640         * stdio-common/printf_fp.c (outchar): Likewise.
28641         (PRINT): Likewise.
28642         * stdio-common/printf_fphex.c (outchar): Likewise.
28643         (PRINT): Likewise.
28644         * stdio-common/printf_size.c (outchar): Likewise.
28645         (PRINT): Likewise.
28646         * stdio-common/test_rdwr.c (main): Likewise.
28647         * stdio-common/tfformat.c (matches): Likewise.
28648         * stdio-common/vfprintf.c (outchar): Likewise.
28649         (printf_unknown): Likewise.
28650         (buffered_vfprintf): Likewise.
28651         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
28652         * stdio-common/xbug.c (AppendToBuffer): Likewise.
28653         (ReadFile): Likewise.
28654         * stdlib/qsort.c (SWAP): Likewise.
28655         (_quicksort): Likewise.
28656         * stdlib/setenv.c (__add_to_environ): Likewise.
28657         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
28658         * stdlib/strtol_l.c (__strtol_l): Likewise.
28659         * stdlib/tst-strtod.c (main): Likewise.
28660         * stdlib/tst-strtol.c (main): Likewise.
28661         * stdlib/tst-strtoll.c (main): Likewise.
28662         * string/bits/string2.h (__strcmp_cc): Likewise.
28663         (__strcmp_cg): Likewise.
28664         (__strcspn_c1): Likewise.
28665         (__strcspn_c2): Likewise.
28666         (__strcspn_c3): Likewise.
28667         (__strspn_c1): Likewise.
28668         (__strspn_c2): Likewise.
28669         (__strspn_c3): Likewise.
28670         (__strsep_1c): Likewise.
28671         (__strsep_2c): Likewise.
28672         (__strsep_3c): Likewise.
28673         * string/memccpy.c (__memccpy): Likewise.
28674         * string/stpcpy.c (__stpcpy): Likewise.
28675         * string/strcmp.c (strcmp): Likewise.
28676         * string/strrchr.c (strrchr): Likewise.
28677         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
28678         Likewise.
28679         * sysdeps/mach/hurd/getcwd.c
28680         (_hurd_canonicalize_directory_name_internal): Likewise.
28681         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
28682         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
28683         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
28684         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
28685         Likewise, in both definitions.
28686         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
28687         definitions.
28688         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
28689         64] (__bswap_64): Likewise.
28690         * time/test_time.c (main): Likewise.
28691         * time/tzfile.c (__tzfile_read): Likewise.
28692         (__tzfile_compute): Likewise.
28693         * time/tzset.c (__tzset_parse_tz): Likewise.
28694         (tzset_internal): Likewise.
28695         (compute_change): Likewise.
28696         * wcsmbs/wcscat.c (__wcscat): Likewise.
28697         * wcsmbs/wcschr.c (wcschr): Likewise.
28698         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
28699         * wcsmbs/wcscspn.c (wcscspn): Likewise.
28700         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
28701         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
28702         * wcsmbs/wcsspn.c (wcsspn): Likewise.
28703         * wcsmbs/wcsstr.c (wcsstr): Likewise.
28704         * wcsmbs/wmemchr.c (wmemchr): Likewise.
28705         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28706         * wcsmbs/wmemset.c (wmemset): Likewise.
28708 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
28710         * scripts/config.guess: Update to version 2013-05-16.
28711         * scripts/config.sub: Update to version 2013-04-24.
28712         * scripts/install-sh: Update to version 2011-11-20.07.
28713         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
28714         * scripts/move-if-change: Update to version 2012-01-06 07:23.
28716 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
28718         * debug/fgetws_u_chk.c: Fix leading whitespaces.
28719         * elf/sln.c: Likewise.
28720         * hurd/hurd/ioctl.h: Likewise.
28721         * hurd/hurdmalloc.c: Likewise.
28722         * hurd/xattr.c: Likewise.
28723         * include/shlib-compat.h: Likewise.
28724         * inet/ruserpass.c: Likewise.
28725         * libio/iofgets_u.c: Likewise.
28726         * libio/iofgetws_u.c: Likewise.
28727         * locale/programs/ld-identification.c: Likewise.
28728         * locale/programs/ld-time.c: Likewise.
28729         * mach/msg-destroy.c: Likewise.
28730         * nss/nss_files/files-netgrp.c: Likewise.
28731         * resolv/res_data.c: Likewise.
28732         * soft-fp/op-1.h: Likewise.
28733         * soft-fp/op-2.h: Likewise.
28734         * soft-fp/op-4.h: Likewise.
28735         * soft-fp/op-common.h: Likewise.
28736         * stdio-common/printf_fphex.c: Likewise.
28737         * stdlib/strtod_l.c: Likewise.
28738         * sunrpc/rpc/clnt.h: Likewise.
28739         * sysdeps/generic/framestate.c: Likewise.
28740         * sysdeps/i386/bsd-_setjmp.S: Likewise.
28741         * sysdeps/i386/bsd-setjmp.S: Likewise.
28742         * sysdeps/i386/__longjmp.S: Likewise.
28743         * sysdeps/i386/setjmp.S: Likewise.
28744         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28745         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28746         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28747         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28748         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28749         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28750         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28751         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28752         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28753         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28754         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28755         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28756         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28757         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28758         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28759         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28760         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28761         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
28762         * sysdeps/ieee754/support.c: Likewise.
28763         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28764         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
28765         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
28766         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
28767         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
28768         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
28769         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
28770         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
28771         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
28772         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
28773         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
28774         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
28775         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
28776         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
28777         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
28778         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
28779         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
28782 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
28784         * posix/transbug.c: Remove executable mode.
28786 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
28788         * crypt/speeds.c: Remove trailing whitespace.
28789         * dlfcn/default.c: Likewise.
28790         * elf/ifuncdep2.c: Likewise.
28791         * elf/ifuncmain1.c: Likewise.
28792         * elf/ifuncmain1vis.c: Likewise.
28793         * elf/testobj.h: Likewise.
28794         * elf/tst-stackguard1.c: Likewise.
28795         * gmon/sys/gmon.h: Likewise.
28796         * hurd/hurdmsg.c: Likewise.
28797         * hurd/new-fd.c: Likewise.
28798         * hurd/ports-get.c: Likewise.
28799         * iconvdata/ibm1008_420.c: Likewise.
28800         * inet/tst-getni1.c: Likewise.
28801         * inet/tst-getni2.c: Likewise.
28802         * libio/ioungetc.c: Likewise.
28803         * libio/wfiledoalloc.c: Likewise.
28804         * manual/libm-err-tab.pl: Likewise.
28805         * math/w_dremf.c: Likewise.
28806         * misc/ftruncate.c: Likewise.
28807         * posix/bug-glob2.c: Likewise.
28808         * posix/tst-pcre.c: Likewise.
28809         * posix/wait4.c: Likewise.
28810         * resolv/README: Likewise.
28811         * resolv/res_debug.h: Likewise.
28812         * resolv/tst-inet_ntop.c: Likewise.
28813         * setjmp/bug269-setjmp.c: Likewise.
28814         * soft-fp/extended.h: Likewise.
28815         * soft-fp/op-1.h: Likewise.
28816         * soft-fp/op-2.h: Likewise.
28817         * soft-fp/op-4.h: Likewise.
28818         * soft-fp/op-8.h: Likewise.
28819         * soft-fp/testit.c: Likewise.
28820         * stdio-common/bug16.c: Likewise.
28821         * stdlib/random.c: Likewise.
28822         * sunrpc/rpcsvc/rquota.x: Likewise.
28823         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
28824         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28825         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28826         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28827         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28828         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28829         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28830         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28831         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28832         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28833         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28834         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28835         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28836         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28837         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28838         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28839         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28840         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28841         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28842         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28843         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28844         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28845         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
28846         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28847         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28848         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28849         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28850         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28851         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28852         * sysdeps/ieee754/s_lib_version.c: Likewise.
28853         * sysdeps/mach/hurd/check_fds.c: Likewise.
28854         * sysdeps/mach/hurd/getsockname.c: Likewise.
28855         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
28856         * sysdeps/mach/hurd/recvfrom.c: Likewise.
28857         * sysdeps/powerpc/bits/link.h: Likewise.
28858         * sysdeps/powerpc/dl-procinfo.c: Likewise.
28859         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
28860         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
28861         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
28862         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28863         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28864         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
28865         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28866         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
28867         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28868         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28869         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28870         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
28871         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28872         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28873         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28874         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28875         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28876         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28877         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28878         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28879         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
28880         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28881         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28882         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
28883         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28884         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28885         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28886         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28887         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28888         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28889         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28890         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28891         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28892         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
28893         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28894         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
28895         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28896         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28897         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
28898         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
28899         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
28900         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
28901         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
28902         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28903         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
28904         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
28905         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28906         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
28907         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
28908         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28909         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28910         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28911         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28912         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
28913         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28914         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28915         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28916         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
28917         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28918         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
28919         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
28920         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
28921         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28922         * sysdeps/powerpc/sysdep.h: Likewise.
28923         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28924         * sysdeps/s390/s390-64/sub_n.S: Likewise.
28925         * sysdeps/sh/dl-trampoline.S: Likewise.
28926         * sysdeps/sh/memset.S: Likewise.
28927         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
28928         * sysdeps/sh/strlen.S: Likewise.
28929         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
28930         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
28931         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
28932         * sysdeps/sparc/sparc32/rem.S: Likewise.
28933         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
28934         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
28935         * sysdeps/sparc/sparc32/strchr.S: Likewise.
28936         * sysdeps/sparc/sparc32/udiv.S: Likewise.
28937         * sysdeps/sparc/sparc32/urem.S: Likewise.
28938         * sysdeps/sparc/sparc64/add_n.S: Likewise.
28939         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28940         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
28941         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
28942         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
28943         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
28944         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
28945         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
28946         * sysdeps/unix/bsd/times.c: Likewise.
28947         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
28948         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
28949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28952         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
28953         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28954         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
28955         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
28956         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
28957         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
28958         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28959         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
28960         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28961         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28962         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
28963         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28964         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
28965         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
28966         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
28967         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
28968         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
28969         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28970         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
28971         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
28972         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28973         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
28974         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28975         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
28976         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
28977         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
28978         * sysdeps/x86_64/strcspn.S: Likewise.
28980 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28982         * locale/C-translit.h: Revert #include <stdint.h> because this is a
28983         generated file.  Regenerate properly from gen-translit.pl.
28984         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
28985         locale/C-translit.h.
28987 2013-06-05  Andreas Schwab  <schwab@suse.de>
28989         [BZ #15100]
28990         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
28991         week as 6 instead of -1.
28992         * time/tst-strptime.c (day_tests): Add test case.
28994 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28996         * sysdeps/generic/math_private.h
28997         (libc_feholdexcept_setround_53bit): Replace with
28998         libc_feholdsetround_53bit.
28999         (libc_feupdateenv_53bit): Replace with
29000         libc_feresetround_53bit.
29001         (SET_RESTORE_ROUND_53BIT): Adjust.
29003 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
29005         * string/test-strchrnul.c: Add copyright header.
29007         * posix/tst-getaddrinfo4.c: Increase test timeout.
29009 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
29011         [BZ #15536]
29012         * math/libm-test.inc (MAX_EXP): Remove
29013         (MIN_EXP): Define.
29014         (ulp): Use MIN_EXP - MANT_DIG.
29015         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
29017 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
29019         * po/be.po: Revert last change.
29020         * po/zh_CN.po: Likewise.
29021         * po/header.pot: Likewise.
29023 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
29025         * Makefile ($(common-objpfx)linkobj/libc.so): Define
29026         link-libc-deps to empty as target-specific variable.
29027         * Makerules (link-libc-args): New variable.
29028         (libc-for-link): Likewise.
29029         (link-libc-deps): Likewise.
29030         (lib%.so): Depend on $(link-libc-deps).  Link with
29031         $(link-libc-args).
29032         (build-module): Link with $(link-libc-args).
29033         (build-module-asneeded): Likewise.
29034         (build-module-helper-objlist): Filter out $(link-libc-deps) from
29035         list of objects.
29036         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
29037         target-specific variable.
29038         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
29039         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
29040         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
29041         libc.
29042         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
29043         libc and ld.so.
29044         ($(objpfx)libpcprofile.so): Likewise.
29045         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
29046         libc_nonshared.a.
29047         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
29048         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
29049         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
29050         $(link-libc-deps).
29051         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
29052         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
29053         * login/Makefile ($(objpfx)libutil.so): Likewise.
29054         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
29055         * math/Makefile ($(objpfx)libm.so): Likewise.
29056         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
29057         $(objpfx)libnsl.so): Define libc-for-link as target-specific
29058         variable instead of depending directly on libc.
29059         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
29060         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
29061         $(link-libc-deps).
29062         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
29063         libc.
29064         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
29065         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
29066         ($(objpfx)libanl.so): Likewise.
29067         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
29068         ld.so.
29069         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
29070         $(link-libc-deps).
29071         * sysdeps/i386/fpu/Makefile: Remove file.
29072         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
29073         ($(objpfx)libm.so): Remove dependency on ld.so.
29075 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
29077         [BZ # 15553]
29078         * nis/yp_xdr.c (XDRMAXNAME): Define.
29079         (XDRMAXRECORD): Define.
29080         (xdr_domainname): Use XDRMAXNAME.
29081         (xdr_mapname): Likewise.
29082         (xdr_peername): Likewise.
29083         (xdr_keydat): Use XDRMAXRECORD.
29084         (xdr_valdat): Likewise.
29086 2013-05-30  Jeff Law  <law@redhat.com>
29088         [BZ #14256]
29089         * manual/errno.texi (ESTALE): Update to account for more than
29090         just NFS file systems.
29091         * sysdeps/gnu/errlist.c: Regenerated.
29093 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29095         [BZ #15465]
29096         * elf/Makefile (tests): Add tst-null-argv.
29097         (modules-names):  Add tst-null-argv-lib.
29098         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
29099         (tst-null-argv-ENV): Set environment for tst-null-argv.
29100         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
29101         (RTLD_PROGNAME): New macro.
29102         * elf/tst-null-argv.c: New test case.
29103         * elf/tst-null-argv-lib.c: Library for test case.
29104         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
29105         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
29106         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
29107         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
29108         * elf/dl-init.c (call_init): Likewise.
29109         (_dl_init): Likewise.
29110         * elf/dl-load.c (print_search_path): Likewise.
29111         (_dl_map_object): Likewise.
29112         * elf/dl-lookup.c (do_lookup_x): Likewise.
29113         (add_dependency): Likewise.
29114         (_dl_lookup_symbol_x): Likewise.
29115         (_dl_debug_bindings): Likewise.
29116         * elf/dl-open.c (_dl_show_scope): Likewise.
29117         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29118         * elf/dl-version.c (match_symbol): Likewise.
29119         (_dl_check_map_versions): Likewise.
29120         * elf/rtld.c (dl_main): Likewise.
29121         (print_unresolved): Use RTLD_PROGNAME.
29122         (print_missing_version): Likewise.
29123         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
29124         (elf_machine_rela): Likewise.
29125         * sysdeps/powerpc/powerpc32/dl-machine.c
29126         (__process_machine_rela): Likewise.
29127         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29128         Likewise.
29129         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29130         Likewise.
29131         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29132         Likewise.
29133         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29134         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
29135         Likewise.
29136         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
29137         Likewise.
29138         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29140 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
29142         * po/be.po: Add descriptive title.
29143         * po/zh_CN.po: Likewise.
29144         * po/header.pot: Likewise.
29146 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
29148         * locale/programs/locarchive.c (create_archive): Inlucde fname in
29149         error message.
29150         (enlarge_archive): Likewise.
29152 2013-05-28  Ben North  <ben@redfrontdoor.org>
29154         * manual/arith.texi (frexp): It is the magnitude of the return
29155         value which lies in [0.5, 1), not the return value itself.
29157 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29161 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
29163         * stdio-common/bug26.c (main): Correct fscanf template.
29165         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
29166         declare _dl_skip_args.
29168         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
29169         Don't declare.
29171         * manual/platform.texi: Add missing @end deftypefun.
29173 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
29175         [BZ #15529]
29176         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
29177         bit of mantissa of 2^16382.
29178         * math/libm-test.inc (hypot_test_data): Add more tests.
29180         * math/libm-test.inc: Add drem and pow10 to list of tested
29181         functions.
29182         (pow10_test): New function.
29183         (drem_test): Likewise.
29184         (drem_test_tonearest): Likewise.
29185         (drem_test_towardzero): Likewise.
29186         (drem_test_downward): Likewise.
29187         (drem_test_upward): Likewise.
29188         (main): Call the new functions.
29190         * math/libm-test.inc (finite_test_data): Remove.
29191         (finite_test): Run tests from isfinite_test_data.
29192         (gamma_test_data): Remove.
29193         (gamma_test): Run tests from lgamma_test_data.
29194         * sysdeps/i386/fpu/libm-test-ulps: Update.
29195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29197 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29199         * manual/platform.texi: Add PowerPC PPR function set documentation.
29200         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
29201         implementation.
29203 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
29205         * math/libm-test.inc (MAX_EXP): Define.
29206         (ULPDIFF): Define.
29207         (ulp): New function.
29208         (check_float_internal): Use ULPDIFF.
29209         (cpow_test): Disable failing test.
29210         (check_ulp): Test ulp() implemetnation.
29211         (main): Call check_ulp before starting tests.
29213 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
29215         * math/gen-libm-test.pl (generate_testfile): Do not handle
29216         START_DATA and END_DATA.
29217         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
29218         END_DATA.
29219         (acos_tonearest_test_data): Likewise.
29220         (acos_towardzero_test_data): Likewise.
29221         (acos_downward_test_data): Likewise.
29222         (acos_upward_test_data): Likewise.
29223         (acosh_test_data): Likewise.
29224         (asin_test_data): Likewise.
29225         (asin_tonearest_test_data): Likewise.
29226         (asin_towardzero_test_data): Likewise.
29227         (asin_downward_test_data): Likewise.
29228         (asin_upward_test_data): Likewise.
29229         (asinh_test_data): Likewise.
29230         (atan_test_data): Likewise.
29231         (atanh_test_data): Likewise.
29232         (atan2_test_data): Likewise.
29233         (cabs_test_data): Likewise.
29234         (cacos_test_data): Likewise.
29235         (cacosh_test_data): Likewise.
29236         (carg_test_data): Likewise.
29237         (casin_test_data): Likewise.
29238         (casinh_test_data): Likewise.
29239         (catan_test_data): Likewise.
29240         (catanh_test_data): Likewise.
29241         (cbrt_test_data): Likewise.
29242         (ccos_test_data): Likewise.
29243         (ccosh_test_data): Likewise.
29244         (ceil_test_data): Likewise.
29245         (cexp_test_data): Likewise.
29246         (cimag_test_data): Likewise.
29247         (clog_test_data): Likewise.
29248         (clog10_test_data): Likewise.
29249         (conj_test_data): Likewise.
29250         (copysign_test_data): Likewise.
29251         (cos_test_data): Likewise.
29252         (cos_tonearest_test_data): Likewise.
29253         (cos_towardzero_test_data): Likewise.
29254         (cos_downward_test_data): Likewise.
29255         (cos_upward_test_data): Likewise.
29256         (cosh_test_data): Likewise.
29257         (cosh_tonearest_test_data): Likewise.
29258         (cosh_towardzero_test_data): Likewise.
29259         (cosh_downward_test_data): Likewise.
29260         (cosh_upward_test_data): Likewise.
29261         (cpow_test_data): Likewise.
29262         (cproj_test_data): Likewise.
29263         (creal_test_data): Likewise.
29264         (csin_test_data): Likewise.
29265         (csinh_test_data): Likewise.
29266         (csqrt_test_data): Likewise.
29267         (ctan_test_data): Likewise.
29268         (ctan_tonearest_test_data): Likewise.
29269         (ctan_towardzero_test_data): Likewise.
29270         (ctan_downward_test_data): Likewise.
29271         (ctan_upward_test_data): Likewise.
29272         (ctanh_test_data): Likewise.
29273         (ctanh_tonearest_test_data): Likewise.
29274         (ctanh_towardzero_test_data): Likewise.
29275         (ctanh_downward_test_data): Likewise.
29276         (ctanh_upward_test_data): Likewise.
29277         (erf_test_data): Likewise.
29278         (erfc_test_data): Likewise.
29279         (exp_test_data): Likewise.
29280         (exp_tonearest_test_data): Likewise.
29281         (exp_towardzero_test_data): Likewise.
29282         (exp_downward_test_data): Likewise.
29283         (exp_upward_test_data): Likewise.
29284         (exp10_test_data): Likewise.
29285         (exp2_test_data): Likewise.
29286         (expm1_test_data): Likewise.
29287         (fabs_test_data): Likewise.
29288         (fdim_test_data): Likewise.
29289         (finite_test_data): Likewise.
29290         (floor_test_data): Likewise.
29291         (fma_test_data): Likewise.
29292         (fma_towardzero_test_data): Likewise.
29293         (fma_downward_test_data): Likewise.
29294         (fma_upward_test_data): Likewise.
29295         (fmax_test_data): Likewise.
29296         (fmin_test_data): Likewise.
29297         (fmod_test_data): Likewise.
29298         (fpclassify_test_data): Likewise.
29299         (frexp_test_data): Likewise.
29300         (gamma_test_data): Likewise.
29301         (hypot_test_data): Likewise.
29302         (ilogb_test_data): Likewise.
29303         (isfinite_test_data): Likewise.
29304         (isgreater_test_data): Likewise.
29305         (isgreaterequal_test_data): Likewise.
29306         (isinf_test_data): Likewise.
29307         (isless_test_data): Likewise.
29308         (islessequal_test_data): Likewise.
29309         (islessgreater_test_data): Likewise.
29310         (isnan_test_data): Likewise.
29311         (isnormal_test_data): Likewise.
29312         (issignaling_test_data): Likewise.
29313         (isunordered_test_data): Likewise.
29314         (j0_test_data): Likewise.
29315         (j1_test_data): Likewise.
29316         (jn_test_data): Likewise.
29317         (ldexp_test_data): Likewise.
29318         (lgamma_test_data): Likewise.
29319         (lrint_test_data): Likewise.
29320         (lrint_tonearest_test_data): Likewise.
29321         (lrint_towardzero_test_data): Likewise.
29322         (lrint_downward_test_data): Likewise.
29323         (lrint_upward_test_data): Likewise.
29324         (llrint_test_data): Likewise.
29325         (llrint_tonearest_test_data): Likewise.
29326         (llrint_towardzero_test_data): Likewise.
29327         (llrint_downward_test_data): Likewise.
29328         (llrint_upward_test_data): Likewise.
29329         (log_test_data): Likewise.
29330         (log10_test_data): Likewise.
29331         (log1p_test_data): Likewise.
29332         (log2_test_data): Likewise.
29333         (logb_test_data): Likewise.
29334         (logb_downward_test_data): Likewise.
29335         (lround_test_data): Likewise.
29336         (llround_test_data): Likewise.
29337         (modf_test_data): Likewise.
29338         (nearbyint_test_data): Likewise.
29339         (nextafter_test_data): Likewise.
29340         (nexttoward_test_data): Likewise.
29341         (pow_test_data): Likewise.
29342         (pow_tonearest_test_data): Likewise.
29343         (pow_towardzero_test_data): Likewise.
29344         (pow_downward_test_data): Likewise.
29345         (pow_upward_test_data): Likewise.
29346         (remainder_test_data): Likewise.
29347         (remainder_tonearest_test_data): Likewise.
29348         (remainder_towardzero_test_data): Likewise.
29349         (remainder_downward_test_data): Likewise.
29350         (remainder_upward_test_data): Likewise.
29351         (remquo_test_data): Likewise.
29352         (rint_test_data): Likewise.
29353         (rint_tonearest_test_data): Likewise.
29354         (rint_towardzero_test_data): Likewise.
29355         (rint_downward_test_data): Likewise.
29356         (rint_upward_test_data): Likewise.
29357         (round_test_data): Likewise.
29358         (scalb_test_data): Likewise.
29359         (scalbn_test_data): Likewise.
29360         (scalbln_test_data): Likewise.
29361         (signbit_test_data): Likewise.
29362         (sin_test_data): Likewise.
29363         (sin_tonearest_test_data): Likewise.
29364         (sin_towardzero_test_data): Likewise.
29365         (sin_downward_test_data): Likewise.
29366         (sin_upward_test_data): Likewise.
29367         (sincos_test_data): Likewise.
29368         (sinh_test_data): Likewise.
29369         (sinh_tonearest_test_data): Likewise.
29370         (sinh_towardzero_test_data): Likewise.
29371         (sinh_downward_test_data): Likewise.
29372         (sinh_upward_test_data): Likewise.
29373         (sqrt_test_data): Likewise.
29374         (tan_test_data): Likewise.
29375         (tan_tonearest_test_data): Likewise.
29376         (tan_towardzero_test_data): Likewise.
29377         (tan_downward_test_data): Likewise.
29378         (tan_upward_test_data): Likewise.
29379         (tanh_test_data): Likewise.
29380         (tgamma_test_data): Likewise.
29381         (trunc_test_data): Likewise.
29382         (y0_test_data): Likewise.
29383         (y1_test_data): Likewise.
29384         (yn_test_data): Likewise.
29385         (significand_test_data): Likewise.
29387         * math/gen-libm-test.pl (@functions): Remove variable.
29388         (generate_testfile): Don't handle START and END lines.
29389         * math/libm-test.inc (START): New macro.
29390         (END): Likewise.
29391         (END_COMPLEX): Likewise.
29392         (acos_test): Use END macro without arguments.
29393         (acos_test_tonearest): Likewise.
29394         (acos_test_towardzero): Likewise.
29395         (acos_test_downward): Likewise.
29396         (acos_test_upward): Likewise.
29397         (acosh_test): Likewise.
29398         (asin_test): Likewise.
29399         (asin_test_tonearest): Likewise.
29400         (asin_test_towardzero): Likewise.
29401         (asin_test_downward): Likewise.
29402         (asin_test_upward): Likewise.
29403         (asinh_test): Likewise.
29404         (atan_test): Likewise.
29405         (atanh_test): Likewise.
29406         (atan2_test): Likewise.
29407         (cabs_test): Likewise.
29408         (cacos_test): Use END_COMPLEX macro without arguments.
29409         (cacosh_test): Likewise.
29410         (carg_test): Use END macro without arguments.
29411         (casin_test): Use END_COMPLEX macro without arguments.
29412         (casinh_test): Likewise.
29413         (catan_test): Likewise.
29414         (catanh_test): Likewise.
29415         (cbrt_test): Use END macro without arguments.
29416         (ccos_test): Use END_COMPLEX macro without arguments.
29417         (ccosh_test): Likewise.
29418         (ceil_test): Use END macro without arguments.
29419         (cexp_test): Use END_COMPLEX macro without arguments.
29420         (cimag_test): Use END macro without arguments.
29421         (clog_test): Use END_COMPLEX macro without arguments.
29422         (clog10_test): Likewise.
29423         (conj_test): Likewise.
29424         (copysign_test): Use END macro without arguments.
29425         (cos_test): Likewise.
29426         (cos_test_tonearest): Likewise.
29427         (cos_test_towardzero): Likewise.
29428         (cos_test_downward): Likewise.
29429         (cos_test_upward): Likewise.
29430         (cosh_test): Likewise.
29431         (cosh_test_tonearest): Likewise.
29432         (cosh_test_towardzero): Likewise.
29433         (cosh_test_downward): Likewise.
29434         (cosh_test_upward): Likewise.
29435         (cpow_test): Use END_COMPLEX macro without arguments.
29436         (cproj_test): Likewise.
29437         (creal_test): Use END macro without arguments.
29438         (csin_test): Use END_COMPLEX macro without arguments.
29439         (csinh_test): Likewise.
29440         (csqrt_test): Likewise.
29441         (ctan_test): Likewise.
29442         (ctan_test_tonearest): Likewise.
29443         (ctan_test_towardzero): Likewise.
29444         (ctan_test_downward): Likewise.
29445         (ctan_test_upward): Likewise.
29446         (ctanh_test): Likewise.
29447         (ctanh_test_tonearest): Likewise.
29448         (ctanh_test_towardzero): Likewise.
29449         (ctanh_test_downward): Likewise.
29450         (ctanh_test_upward): Likewise.
29451         (erf_test): Use END macro without arguments.
29452         (erfc_test): Likewise.
29453         (exp_test): Likewise.
29454         (exp_test_tonearest): Likewise.
29455         (exp_test_towardzero): Likewise.
29456         (exp_test_downward): Likewise.
29457         (exp_test_upward): Likewise.
29458         (exp10_test): Likewise.
29459         (exp2_test): Likewise.
29460         (expm1_test): Likewise.
29461         (fabs_test): Likewise.
29462         (fdim_test): Likewise.
29463         (finite_test): Likewise.
29464         (floor_test): Likewise.
29465         (fma_test): Likewise.
29466         (fma_test_towardzero): Likewise.
29467         (fma_test_downward): Likewise.
29468         (fma_test_upward): Likewise.
29469         (fmax_test): Likewise.
29470         (fmin_test): Likewise.
29471         (fmod_test): Likewise.
29472         (fpclassify_test): Likewise.
29473         (frexp_test): Likewise.
29474         (gamma_test): Likewise.
29475         (hypot_test): Likewise.
29476         (ilogb_test): Likewise.
29477         (isfinite_test): Likewise.
29478         (isgreater_test): Likewise.
29479         (isgreaterequal_test): Likewise.
29480         (isinf_test): Likewise.
29481         (isless_test): Likewise.
29482         (islessequal_test): Likewise.
29483         (islessgreater_test): Likewise.
29484         (isnan_test): Likewise.
29485         (isnormal_test): Likewise.
29486         (issignaling_test): Likewise.
29487         (isunordered_test): Likewise.
29488         (j0_test): Likewise.
29489         (j1_test): Likewise.
29490         (jn_test): Likewise.
29491         (ldexp_test): Likewise.
29492         (lgamma_test): Likewise.
29493         (lrint_test): Likewise.
29494         (lrint_test_tonearest): Likewise.
29495         (lrint_test_towardzero): Likewise.
29496         (lrint_test_downward): Likewise.
29497         (lrint_test_upward): Likewise.
29498         (llrint_test): Likewise.
29499         (llrint_test_tonearest): Likewise.
29500         (llrint_test_towardzero): Likewise.
29501         (llrint_test_downward): Likewise.
29502         (llrint_test_upward): Likewise.
29503         (log_test): Likewise.
29504         (log10_test): Likewise.
29505         (log1p_test): Likewise.
29506         (log2_test): Likewise.
29507         (logb_test): Likewise.
29508         (logb_test_downward): Likewise.
29509         (lround_test): Likewise.
29510         (llround_test): Likewise.
29511         (modf_test): Likewise.
29512         (nearbyint_test): Likewise.
29513         (nextafter_test): Likewise.
29514         (nexttoward_test): Likewise.
29515         (pow_test): Likewise.
29516         (pow_test_tonearest): Likewise.
29517         (pow_test_towardzero): Likewise.
29518         (pow_test_downward): Likewise.
29519         (pow_test_upward): Likewise.
29520         (remainder_test): Likewise.
29521         (remainder_test_tonearest): Likewise.
29522         (remainder_test_towardzero): Likewise.
29523         (remainder_test_downward): Likewise.
29524         (remainder_test_upward): Likewise.
29525         (remquo_test): Likewise.
29526         (rint_test): Likewise.
29527         (rint_test_tonearest): Likewise.
29528         (rint_test_towardzero): Likewise.
29529         (rint_test_downward): Likewise.
29530         (rint_test_upward): Likewise.
29531         (round_test): Likewise.
29532         (scalb_test): Likewise.
29533         (scalbn_test): Likewise.
29534         (scalbln_test): Likewise.
29535         (signbit_test): Likewise.
29536         (sin_test): Likewise.
29537         (sin_test_tonearest): Likewise.
29538         (sin_test_towardzero): Likewise.
29539         (sin_test_downward): Likewise.
29540         (sin_test_upward): Likewise.
29541         (sincos_test): Likewise.
29542         (sinh_test): Likewise.
29543         (sinh_test_tonearest): Likewise.
29544         (sinh_test_towardzero): Likewise.
29545         (sinh_test_downward): Likewise.
29546         (sinh_test_upward): Likewise.
29547         (sqrt_test): Likewise.
29548         (tan_test): Likewise.
29549         (tan_test_tonearest): Likewise.
29550         (tan_test_towardzero): Likewise.
29551         (tan_test_downward): Likewise.
29552         (tan_test_upward): Likewise.
29553         (tanh_test): Likewise.
29554         (tgamma_test): Likewise.
29555         (trunc_test): Likewise.
29556         (y0_test): Likewise.
29557         (y1_test): Likewise.
29558         (yn_test): Likewise.
29559         (significand_test): Likewise.
29561 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
29563         [BZ #15381]
29564         * libio/genops.c (_IO_no_init): Initialize wide struct info.
29566 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
29568         [BZ #14894]
29569         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
29570         __ppc_mdoio and __ppc_mdoom.
29571         * manual/platform.texi: Document new functions __ppc_yield,
29572         __ppc_mdoio and __ppc_mdoom.
29574 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
29576         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
29577         (main): Mention "tls" pseudo-hwcap is legacy.
29578         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
29580 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
29582         * math/gen-libm-test.pl (parse_args): Output only string of
29583         arguments as text for test name, not full call or descriptions of
29584         tests for extra outputs.
29585         (generate_testfile): Do not pass function name to parse_args.
29586         Generate this_func variable from START.
29587         * math/libm-test.inc (struct test_f_f_data): Rename test_name
29588         field to arg_str.
29589         (struct test_ff_f_data): Likewise.
29590         (test_ff_f_data_nexttoward): Likewise.
29591         (struct test_fi_f_data): Likewise.
29592         (struct test_fl_f_data): Likewise.
29593         (struct test_if_f_data): Likewise.
29594         (struct test_fff_f_data): Likewise.
29595         (struct test_c_f_data): Likewise.
29596         (struct test_f_f1_data): Likewise.  Remove field extra_name.
29597         (struct test_fF_f1_data): Likewise.
29598         (struct test_ffI_f1_data): Likewise.
29599         (struct test_c_c_data): Rename test_name field to arg_str.
29600         (struct test_cc_c_data): Likewise.
29601         (struct test_f_i_data): Likewise.
29602         (struct test_ff_i_data): Likewise.
29603         (struct test_f_l_data): Likewise.
29604         (struct test_f_L_data): Likewise.
29605         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
29606         and extra2_name.
29607         (COMMON_TEST_SETUP): New macro.
29608         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
29609         (COMMON_TEST_CLEANUP): Likewise.
29610         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
29611         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
29612         macros.
29613         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
29614         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
29615         macros.
29616         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
29617         (RUN_TEST_fff_f): Take argument string.  Call new setup and
29618         cleanup macros.
29619         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
29620         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
29621         macros.
29622         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
29623         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
29624         macros.
29625         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
29626         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
29627         cleanup macros.
29628         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
29629         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
29630         cleanup macros.
29631         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
29632         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
29633         cleanup macros.
29634         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
29635         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
29636         macros.
29637         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
29638         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
29639         macros.
29640         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
29641         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
29642         macros.
29643         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
29644         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
29645         cleanup macros.
29646         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
29647         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
29648         cleanup macros.
29649         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
29650         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
29651         macros.
29652         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
29653         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
29654         cleanup macros.
29655         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
29656         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
29657         macros.
29658         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
29659         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
29660         macros.
29661         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
29662         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
29663         cleanup macros.
29664         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
29666 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
29668         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
29669         to _sifields.sigfault.
29670         (si_addr_lsb): Define new macro.
29671         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29672         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29673         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
29675 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
29677         [BZ #15441]
29678         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
29679         returns -1.
29680         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
29681         null return -1.
29682         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
29683         loading the domain.
29685 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
29687         * math/gen-libm-test.pl (parse_args): Do not include expected
29688         result in test name.
29689         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
29690         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29691         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29692         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29693         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29696 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29698         * benchtests/Makefile: Sort function entries.
29700         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
29701         tanh, asinh, acosh, atanh.
29702         * benchtests/acos-inputs: New file.
29703         * benchtests/acosh-inputs: New file.
29704         * benchtests/asin-inputs: New file.
29705         * benchtests/asinh-inputs: New file.
29706         * benchtests/atanh-inputs: New file.
29707         * benchtests/cosh-inputs: New file.
29708         * benchtests/log-inputs: New file.
29709         * benchtests/sinh-inputs: New file.
29710         * benchtests/tanh-inputs: New file.
29712 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
29714         [BZ #15339]
29715         * posix/tst-getaddrinfo4.c: New test.
29716         * posix/Makefile (tests): Add it.
29718 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29720         [BZ #15339]
29721         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
29722         when no services were used.
29723         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
29724         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
29726 2013-05-21  Andreas Schwab  <schwab@suse.de>
29728         [BZ #15014]
29729         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
29730         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
29731         successful.
29732         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
29733         redundant variable declarations and reallocation of buffer when
29734         parsing as IPv6 address.  Always set NSS status when called from
29735         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
29736         buffer too small.  Correct computation of needed size.
29737         * nss/Makefile (tests): Add test-digits-dots.
29738         * nss/test-digits-dots.c: New test.
29740 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29742         * benchtests/Makefile: Remove instructions for adding
29743         benchmark tests.
29744         * benchtests/README: New file to explain how to execute and
29745         enhance the benchmark tests.
29747 2013-05-21  Andreas Schwab  <schwab@suse.de>
29749         [BZ #15493]
29750         * setjmp/Makefile (tests): Add tst-sigsetjmp.
29751         * setjmp/tst-sigsetjmp.c: New test.
29753 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
29755         * sysdeps/x86_64/memset.S (memset): New implementation.
29756         (__bzero): Likewise.
29757         (__memset_tail): New function.
29759 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
29761         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
29762         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
29763         __memcpy_sse2_unaligned ifunc selection.
29764         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29765         Add memcpy-sse2-unaligned.S.
29766         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29767         Add: __memcpy_sse2_unaligned.
29769 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
29771         [BZ #15490]
29772         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29773         math_force_eval before restoring floating-point envrionment.
29774         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
29775         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29776         Likewise.
29777         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
29778         <math_private.h>.
29779         (__nearbyintl): Use math_force_eval before restoring
29780         floating-point environment.
29781         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
29783         * math/gen-libm-test.pl (special_functions): Remove.
29784         (parse_args): Don't handle TEST_extra.  Handle functions with no
29785         return value.
29786         * math/libm-test.inc (struct test_sincos_data): Replace with
29787         struct test_fFF_11_data.
29788         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
29789         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
29790         (sincos_test_data): Change element type to struct
29791         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
29792         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
29793         RUN_TEST_LOOP_sincos.
29794         * math/README.libm-test: Don't mention special handling of
29795         individual functions.
29796         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
29797         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29798         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29799         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29800         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29803         * math/gen-libm-test.pl (get_variable): Remove function.
29804         (parse_args): Don't show pointer parameters to call in test
29805         names.  Use "extra output N" in test names for extra outputs
29806         rather than naming variables.
29808 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
29810         [BZ #15488]
29811         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
29812         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
29813         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
29814         double tests.
29815         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
29816         disable.
29817         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
29818         check_long_double.
29820         * math/gen-libm-test.pl (@tests): Remove variable.
29821         ($count): Likewise.
29822         (new_test): Remove function.
29823         (show_exceptions): New function.
29824         (special_functions): Use show_exceptions instead of new_test.
29825         (parse_args): Likewise.
29826         (generate_testfile): Pass only function name in generated call to
29827         print_max_error or print_complex_max_error.
29828         (get_ulps): Do not handle complex tests specially.
29829         (output_test): Rename to ...
29830         (get_all_ulps_for_test): ... this.  Return a string rather than
29831         printing to a file.  Require ulps to be present.
29832         (output_ulps): Generate arrays rather than #defines.
29833         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
29834         (struct ulp_data): New type.
29835         (BUILD_COMPLEX_ULP): Remove macro.
29836         (compare_ulp_data): New function.
29837         (find_ulps): Likewise.
29838         (find_test_ulps): Likewise.
29839         (find_function_ulps): Likewise.
29840         (find_complex_function_ulps): Likewise.
29841         (print_max_error): Determine allowed ulps using
29842         find_function_ulps.
29843         (print_complex_max_error): Determine allowed ulps using
29844         find_complex_function_ulps.
29845         (check_float_internal): Determine max ulps using find_test_ulps.
29846         (check_float): Do not take max_ulp parameter.  Update call to
29847         check_float_internal.
29848         (check_complex): Likewise.
29849         (check_int): Do not take max_ulp parameter.
29850         (check_long): Likewise.
29851         (check_bool): Likewise.
29852         (check_longlong): Likewise.
29853         (struct test_f_f_data): Remove max_ulp field.
29854         (struct test_ff_f_data): Likewise.
29855         (struct test_ff_f_data_nexttoward): Likewise.
29856         (struct test_fi_f_data): Likewise.
29857         (struct test_fl_f_data): Likewise.
29858         (struct test_if_f_data): Likewise.
29859         (struct test_fff_f_data): Likewise.
29860         (struct test_c_f_data): Likewise.
29861         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
29862         (struct test_fF_f1_data): Likewise.
29863         (struct test_ffI_f1_data): Likewise.
29864         (struct test_c_c_data): Remove max_ulp field.
29865         (struct test_cc_c_data): Likewise.
29866         (struct test_f_i_data): Likewise.
29867         (struct test_ff_i_data): Likewise.
29868         (struct test_f_l_data): Likewise.
29869         (struct test_f_L_data): Likewise.
29870         (struct test_sincos_data): Likewise.
29871         (RUN_TEST_f_f): Do not handle ulps.
29872         (RUN_TEST_LOOP_f_f): Likewise.
29873         (RUN_TEST_2_f): Likewise.
29874         (RUN_TEST_LOOP_2_f): Likewise.
29875         (RUN_TEST_fff_f): Likewise.
29876         (RUN_TEST_LOOP_fff_f): Likewise.
29877         (RUN_TEST_c_f): Likewise.
29878         (RUN_TEST_LOOP_c_f): Likewise.
29879         (RUN_TEST_f_f1): Likewise.
29880         (RUN_TEST_LOOP_f_f1): Likewise.
29881         (RUN_TEST_fF_f1): Likewise.
29882         (RUN_TEST_LOOP_fF_f1): Likewise.
29883         (RUN_TEST_fI_f1): Likewise.
29884         (RUN_TEST_LOOP_fI_f1): Likewise.
29885         (RUN_TEST_ffI_f1): Likewise.
29886         (RUN_TEST_LOOP_ffI_f1): Likewise.
29887         (RUN_TEST_c_c): Likewise.
29888         (RUN_TEST_LOOP_c_c): Likewise.
29889         (RUN_TEST_cc_c): Likewise.
29890         (RUN_TEST_LOOP_cc_c): Likewise.
29891         (RUN_TEST_f_i): Likewise.
29892         (RUN_TEST_LOOP_f_i): Likewise.
29893         (RUN_TEST_f_i_tg): Likewise.
29894         (RUN_TEST_LOOP_f_i_tg): Likewise.
29895         (RUN_TEST_ff_i_tg): Likewise.
29896         (RUN_TEST_LOOP_ff_i_tg): Likewise.
29897         (RUN_TEST_f_b): Likewise.
29898         (RUN_TEST_LOOP_f_b): Likewise.
29899         (RUN_TEST_f_b_tg): Likewise.
29900         (RUN_TEST_LOOP_f_b_tg): Likewise.
29901         (RUN_TEST_f_l): Likewise.
29902         (RUN_TEST_LOOP_f_l): Likewise.
29903         (RUN_TEST_f_L): Likewise.
29904         (RUN_TEST_LOOP_f_L): Likewise.
29905         (RUN_TEST_sincos): Likewise.
29906         (RUN_TEST_LOOP_sincos): Likewise.
29908 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
29910         [BZ #15480]
29911         [BZ #15485]
29912         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
29913         main case of finite arguments, set rounding mode to FE_TONEAREST
29914         and discard exceptions.
29915         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
29916         exceptions.
29917         (remainder_tonearest_test_data): New variable.
29918         (remainder_test_tonearest): New function.
29919         (remainder_towardzero_test_data): New variable.
29920         (remainder_test_towardzero): New function.
29921         (remainder_downward_test_data): New variable.
29922         (remainder_test_downward): New function.
29923         (remainder_upward_test_data): New variable.
29924         (remainder_test_upward): New function.
29925         (main): Call the new test functions.
29927         * math/libm-test.inc (struct test_f_f1_data): Remove field
29928         extra_init.
29929         (struct test_fF_f1_data): Likewise.
29930         (struct test_ffI_f1_data): Likewise.
29931         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
29932         based on value of EXTRA_EXPECTED.
29933         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
29934         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
29935         EXTRA_VAR based on value of EXTRA_EXPECTED.
29936         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
29937         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
29938         EXTRA_VAR based on value of EXTRA_EXPECTED.
29939         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
29940         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
29941         EXTRA_VAR based on value of EXTRA_EXPECTED.
29942         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
29943         * math/gen-libm-test.pl (parse_args): Don't output initializers
29944         for extra output values.
29946         * math/libm-test.inc (check_int): Expect result to be exactly
29947         equal to expected value and do not handle ulps.
29948         (check_long): Likewise.
29949         (check_longlong): Likewise.
29951         * math/libm-test.inc (ceil_test_data): Test for "inexact"
29952         exceptions.
29953         (cimag_test_data): Likewise.
29954         (conj_test_data): Likewise.
29955         (copysign_test_data): Likewise.
29956         (cproj_test_data): Likewise.
29957         (creal_test_data): Likewise.
29958         (fabs_test_data): Likewise.
29959         (fdim_test_data): Likewise.
29960         (finite_test_data): Likewise.
29961         (floor_test_data): Likewise.
29962         (fmax_test_data): Likewise.
29963         (fmin_test_data): Likewise.
29964         (fmod_test_data): Likewise.
29965         (fpclassify_test_data): Likewise.
29966         (frexp_test_data): Likewise.
29967         (ilogb_test_data): Likewise.
29968         (isfinite_test_data): Likewise.
29969         (isgreater_test_data): Likewise.
29970         (isgreaterequal_test_data): Likewise.
29971         (isinf_test_data): Likewise.
29972         (isless_test_data): Likewise.
29973         (islessequal_test_data): Likewise.
29974         (islessgreater_test_data): Likewise.
29975         (isnan_test_data): Likewise.
29976         (isnormal_test_data): Likewise.
29977         (issignaling_test_data): Likewise.
29978         (isunordered_test_data): Likewise.
29979         (ldexp_test_data): Likewise.
29980         (lrint_test_data): Likewise.
29981         (lrint_test_data) [TEST_FLOAT]: Disable one test.
29982         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
29983         (lrint_tonearest_test_data): Test for "inexact" exceptions.
29984         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
29985         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
29986         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29987         test input.
29988         (lrint_towardzero_test_data): Test for "inexact" exceptions.
29989         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29990         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
29991         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
29992         that test input.
29993         (lrint_downward_test_data): Test for "inexact" exceptions.
29994         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29995         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
29996         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29997         test input.
29998         (lrint_upward_test_data): Test for "inexact" exceptions.
29999         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
30000         test input.
30001         (llrint_test_data): Test for "inexact" exceptions.
30002         (llrint_test_data) [TEST_FLOAT]: Disable one test.
30003         (llrint_tonearest_test_data): Test for "inexact" exceptions.
30004         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30005         (llrint_towardzero_test_data): Test for "inexact" exceptions.
30006         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30007         (llrint_downward_test_data): Test for "inexact" exceptions.
30008         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30009         (llrint_upward_test_data): Test for "inexact" exceptions.
30010         (logb_test_data): Likewise.
30011         (logb_downward_test_data): Likewise.
30012         (nextafter_test_data): Likewise.
30013         (nexttoward_test_data): Likewise.
30014         (remainder_test_data): Likewise.
30015         (remquo_test_data): Likewise.
30016         (scalbn_test_data): Likewise.
30017         (scalbln_test_data): Likewise.
30018         (signbit_test_data): Likewise.
30019         (sqrt_test_data): Likewise.
30020         (significand_test_data): Likewise.
30022 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30024         [BZ #15424]
30025         * benchtests/bench-modf.c (struct args): Mark arg0 as
30026         volatile.
30027         * scripts/bench.pl: Mark members of struct args as volatile.
30029 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30031         [BZ # 15497]
30032         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
30033         negative infinity on POWER6 or lower.
30034         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
30036 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
30038         [BZ #15442]
30039         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
30040         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
30041         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
30042         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
30043         (_FP_SETQNAN): New macro.
30044         (_FP_SETQNAN_SEMIRAW): Likewise.
30045         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
30046         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
30047         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
30048         (FP_EXTEND): Use _FP_FRAC_SNANP.
30049         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
30050         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
30051         into account.
30052         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30053         New macro.
30054         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30055         Likewise.
30057 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
30059         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
30060         with DIVIDE_BY_ZERO_EXCEPTION.
30061         (gamma_test_data): Likewise.
30062         (lgamma_test_data): Likewise.
30063         (log_test_data): Likewise.
30064         (log10_test_data): Likewise.
30065         (log2_test_data): Likewise.
30066         (tgamma_test_data): Likewise.
30068         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
30069         (acos_test_tonearest): Likewise.
30070         (acos_test_towardzero): Likewise.
30071         (acos_test_downward): Likewise.
30072         (acos_test_upward): Likewise.
30073         (acosh_test): Likewise.
30074         (asin_test): Likewise.
30075         (asin_test_tonearest): Likewise.
30076         (asin_test_towardzero): Likewise.
30077         (asin_test_downward): Likewise.
30078         (asin_test_upward): Likewise.
30079         (asinh_test): Likewise.
30080         (atan_test): Likewise.
30081         (atanh_test): Likewise.
30082         (atan2_test): Likewise.
30083         (cabs_test): Likewise.
30084         (cacos_test): Likewise.
30085         (cacosh_test): Likewise.
30086         (casin_test): Likewise.
30087         (casinh_test): Likewise.
30088         (catan_test): Likewise.
30089         (catanh_test): Likewise.
30090         (cbrt_test): Likewise.
30091         (ccos_test): Likewise.
30092         (ccosh_test): Likewise.
30093         (cexp_test): Likewise.
30094         (clog_test): Likewise.
30095         (clog10_test): Likewise.
30096         (cos_test): Likewise.
30097         (cos_test_tonearest): Likewise.
30098         (cos_test_towardzero): Likewise.
30099         (cos_test_downward): Likewise.
30100         (cos_test_upward): Likewise.
30101         (cosh_test): Likewise.
30102         (cosh_test_tonearest): Likewise.
30103         (cosh_test_towardzero): Likewise.
30104         (cosh_test_downward): Likewise.
30105         (cosh_test_upward): Likewise.
30106         (cpow_test): Likewise.
30107         (csin_test): Likewise.
30108         (csinh_test): Likewise.
30109         (csqrt_test): Likewise.
30110         (ctan_test): Likewise.
30111         (ctan_test_tonearest): Likewise.
30112         (ctan_test_towardzero): Likewise.
30113         (ctan_test_downward): Likewise.
30114         (ctan_test_upward): Likewise.
30115         (ctanh_test): Likewise.
30116         (ctanh_test_tonearest): Likewise.
30117         (ctanh_test_towardzero): Likewise.
30118         (ctanh_test_downward): Likewise.
30119         (ctanh_test_upward): Likewise.
30120         (erf_test): Likewise.
30121         (erfc_test): Likewise.
30122         (exp_test): Likewise.
30123         (exp_test_tonearest): Likewise.
30124         (exp_test_towardzero): Likewise.
30125         (exp_test_downward): Likewise.
30126         (exp_test_upward): Likewise.
30127         (exp10_test): Likewise.
30128         (exp2_test): Likewise.
30129         (expm1_test): Likewise.
30130         (fmod_test): Likewise.
30131         (gamma_test): Likewise.
30132         (hypot_test): Likewise.
30133         (j0_test): Likewise.
30134         (j1_test): Likewise.
30135         (jn_test): Likewise.
30136         (lgamma_test): Likewise.
30137         (log_test): Likewise.
30138         (log10_test): Likewise.
30139         (log1p_test): Likewise.
30140         (log2_test): Likewise.
30141         (logb_test_downward): Likewise.
30142         (pow_test): Likewise.
30143         (pow_test_tonearest): Likewise.
30144         (pow_test_towardzero): Likewise.
30145         (pow_test_downward): Likewise.
30146         (pow_test_upward): Likewise.
30147         (remainder_test): Likewise.
30148         (remquo_test): Likewise.
30149         (sin_test): Likewise.
30150         (sin_test_tonearest): Likewise.
30151         (sin_test_towardzero): Likewise.
30152         (sin_test_downward): Likewise.
30153         (sin_test_upward): Likewise.
30154         (sincos_test): Likewise.
30155         (sinh_test): Likewise.
30156         (sinh_test_tonearest): Likewise.
30157         (sinh_test_towardzero): Likewise.
30158         (sinh_test_downward): Likewise.
30159         (sinh_test_upward): Likewise.
30160         (sqrt_test): Likewise.
30161         (tan_test): Likewise.
30162         (tan_test_tonearest): Likewise.
30163         (tan_test_towardzero): Likewise.
30164         (tan_test_downward): Likewise.
30165         (tan_test_upward): Likewise.
30166         (tanh_test): Likewise.
30167         (tgamma_test): Likewise.
30168         (y0_test): Likewise.
30169         (y1_test): Likewise.
30170         (yn_test): Likewise.
30172         * math/gen-libm-test.pl (adjust_arg): Remove function.
30173         (special_function): Remove argument $in_func.  Only handle
30174         generating output for tables of tests, not inside functions.
30175         (parse_args): Likewise.
30176         (generate_testfile): Remove variable $in_func.  Update call to
30177         parse_args.
30178         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
30179         (MINUS_ZERO_INIT): Rename macro to minus_zero.
30180         (PLUS_INFTY_INIT): Rename macro to plus_infty.
30181         (MINUS_INFTY_INIT): Rename macro to minus_infty.
30182         (QNAN_VALUE_INIT): Rename macro to qnan_value.
30183         (MAX_VALUE_INIT): Rename macro to max_value.
30184         (MIN_VALUE_INIT): Rename macro to min_value.
30185         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
30186         (plus_zero): Remove variable.
30187         (minus_zero): Likewise.
30188         (plus_infty): Likewise.
30189         (minus_infty): Likewise.
30190         (qnan_value): Likewise.
30191         (max_value): Likewise.
30192         (min_value): Likewise.
30193         (min_subnorm_value): Likewise.
30195 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30197         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
30198         uint64_t or uint32_t usage.
30199         * crypt/sha256-block.c: Likewise.
30200         * crypt/sha256-crypt.c: Likewise.
30201         * crypt/sha256.c: Likewise.
30202         * crypt/sha512-block.c: Likewise.
30203         * crypt/sha512-crypt.c: Likewise.
30204         * crypt/sha512.c: Likewise.
30205         * debug/backtrace-tst.c: Likewise.
30206         * debug/pcprofiledump.c: Likewise.
30207         * elf/cache.c: Likewise.
30208         * elf/dl-cache.c: Likewise.
30209         * elf/dl-misc.c: Likewise.
30210         * elf/dl-profile.c: Likewise.
30211         * elf/dl-support.c: Likewise.
30212         * elf/ldconfig.c: Likewise.
30213         * elf/sprof.c: Likewise.
30214         * iconv/dummy-repertoire.c: Likewise.
30215         * iconv/iconv_charmap.c: Likewise.
30216         * iconv/skeleton.c: Likewise.
30217         * iconvdata/8bit-generic.c: Likewise.
30218         * iconvdata/cp737.h: Likewise.
30219         * iconvdata/cp775.h: Likewise.
30220         * iconvdata/ibm1008.h: Likewise.
30221         * iconvdata/ibm1025.h: Likewise.
30222         * iconvdata/ibm1046.h: Likewise.
30223         * iconvdata/ibm1097.h: Likewise.
30224         * iconvdata/ibm1112.h: Likewise.
30225         * iconvdata/ibm1122.h: Likewise.
30226         * iconvdata/ibm1123.h: Likewise.
30227         * iconvdata/ibm1124.h: Likewise.
30228         * iconvdata/ibm1129.h: Likewise.
30229         * iconvdata/ibm1130.h: Likewise.
30230         * iconvdata/ibm1132.h: Likewise.
30231         * iconvdata/ibm1133.h: Likewise.
30232         * iconvdata/ibm1137.h: Likewise.
30233         * iconvdata/ibm1140.h: Likewise.
30234         * iconvdata/ibm1141.h: Likewise.
30235         * iconvdata/ibm1142.h: Likewise.
30236         * iconvdata/ibm1143.h: Likewise.
30237         * iconvdata/ibm1144.h: Likewise.
30238         * iconvdata/ibm1145.h: Likewise.
30239         * iconvdata/ibm1146.h: Likewise.
30240         * iconvdata/ibm1147.h: Likewise.
30241         * iconvdata/ibm1148.h: Likewise.
30242         * iconvdata/ibm1149.h: Likewise.
30243         * iconvdata/ibm1153.h: Likewise.
30244         * iconvdata/ibm1154.h: Likewise.
30245         * iconvdata/ibm1155.h: Likewise.
30246         * iconvdata/ibm1156.h: Likewise.
30247         * iconvdata/ibm1157.h: Likewise.
30248         * iconvdata/ibm1158.h: Likewise.
30249         * iconvdata/ibm1160.h: Likewise.
30250         * iconvdata/ibm1161.h: Likewise.
30251         * iconvdata/ibm1162.h: Likewise.
30252         * iconvdata/ibm1163.h: Likewise.
30253         * iconvdata/ibm1164.h: Likewise.
30254         * iconvdata/ibm1166.h: Likewise.
30255         * iconvdata/ibm1167.h: Likewise.
30256         * iconvdata/ibm12712.h: Likewise.
30257         * iconvdata/ibm1390.h: Likewise.
30258         * iconvdata/ibm1399.h: Likewise.
30259         * iconvdata/ibm16804.h: Likewise.
30260         * iconvdata/ibm4517.h: Likewise.
30261         * iconvdata/ibm4899.h: Likewise.
30262         * iconvdata/ibm4909.h: Likewise.
30263         * iconvdata/ibm4971.h: Likewise.
30264         * iconvdata/ibm5347.h: Likewise.
30265         * iconvdata/ibm803.h: Likewise.
30266         * iconvdata/ibm856.h: Likewise.
30267         * iconvdata/ibm901.h: Likewise.
30268         * iconvdata/ibm902.h: Likewise.
30269         * iconvdata/ibm9030.h: Likewise.
30270         * iconvdata/ibm9066.h: Likewise.
30271         * iconvdata/ibm921.h: Likewise.
30272         * iconvdata/ibm922.h: Likewise.
30273         * iconvdata/ibm9448.h: Likewise.
30274         * iconvdata/isiri-3342.h: Likewise.
30275         * iconvdata/jis0201.h: Likewise.
30276         * include/link.h: Likewise.
30277         * include/netdb.h: Likewise.
30278         * inet/check_native.c: Likewise.
30279         * inet/check_pf.c: Likewise.
30280         * inet/getipv4sourcefilter.c: Likewise.
30281         * inet/getnameinfo.c: Likewise.
30282         * inet/getsourcefilter.c: Likewise.
30283         * inet/htonl.c: Likewise.
30284         * inet/setipv4sourcefilter.c: Likewise.
30285         * inet/setsourcefilter.c: Likewise.
30286         * inet/test-inet6_opt.c: Likewise.
30287         * inet/tst-network.c: Likewise.
30288         * locale/C-collate.c: Likewise.
30289         * locale/C-ctype.c: Likewise.
30290         * locale/C-time.c: Likewise.
30291         * locale/C-translit.h: Likewise.
30292         * locale/loadarchive.c: Likewise.
30293         * locale/programs/3level.h: Likewise.
30294         * locale/programs/charmap.c: Likewise.
30295         * locale/programs/charmap.h: Likewise.
30296         * locale/programs/ld-address.c: Likewise.
30297         * locale/programs/ld-collate.c: Likewise.
30298         * locale/programs/ld-ctype.c: Likewise.
30299         * locale/programs/ld-identification.c: Likewise.
30300         * locale/programs/ld-measurement.c: Likewise.
30301         * locale/programs/ld-messages.c: Likewise.
30302         * locale/programs/ld-monetary.c: Likewise.
30303         * locale/programs/ld-name.c: Likewise.
30304         * locale/programs/ld-numeric.c: Likewise.
30305         * locale/programs/ld-paper.c: Likewise.
30306         * locale/programs/ld-telephone.c: Likewise.
30307         * locale/programs/ld-time.c: Likewise.
30308         * locale/programs/linereader.c: Likewise.
30309         * locale/programs/locale.c: Likewise.
30310         * locale/programs/locarchive.c: Likewise.
30311         * locale/programs/locfile.h: Likewise.
30312         * locale/programs/repertoire.c: Likewise.
30313         * locale/programs/simple-hash.c: Likewise.
30314         * locale/programs/simple-hash.h: Likewise.
30315         * malloc/memusage.c: Likewise.
30316         * malloc/memusagestat.c: Likewise.
30317         * nis/nis_defaults.c: Likewise.
30318         * nis/nis_hash.c: Likewise.
30319         * nis/nis_print.c: Likewise.
30320         * nis/nis_xdr.c: Likewise.
30321         * nscd/connections.c: Likewise.
30322         * nscd/hstcache.c: Likewise.
30323         * nscd/nscd_gethst_r.c: Likewise.
30324         * nscd/nscd_getserv_r.c: Likewise.
30325         * nscd/nscd_helper.c: Likewise.
30326         * nscd/servicescache.c: Likewise.
30327         * nss/makedb.c: Likewise.
30328         * nss/nss_db/db-XXX.c: Likewise.
30329         * nss/nss_db/db-initgroups.c: Likewise.
30330         * nss/nss_db/db-netgrp.c: Likewise.
30331         * nss/nss_files/files-network.c: Likewise.
30332         * nss/nss_files/files-parse.c: Likewise.
30333         * posix/bug-regex5.c: Likewise.
30334         * posix/fnmatch_loop.c: Likewise.
30335         * posix/regcomp.c: Likewise.
30336         * posix/regexec.c: Likewise.
30337         * posix/tst-rfc3484-2.c: Likewise.
30338         * posix/tst-rfc3484-3.c: Likewise.
30339         * posix/tst-rfc3484.c: Likewise.
30340         * resolv/nss_dns/dns-canon.c: Likewise.
30341         * resolv/nss_dns/dns-network.c: Likewise.
30342         * resolv/res_init.c: Likewise.
30343         * resolv/res_mkquery.c: Likewise.
30344         * resolv/tst-aton.c: Likewise.
30345         * stdlib/cxa_atexit.c: Likewise.
30346         * stdlib/cxa_finalize.c: Likewise.
30347         * stdlib/gen-fpioconst.c: Likewise.
30348         * stdlib/strtol_l.c: Likewise.
30349         * string/tst-endian.c: Likewise.
30350         * sunrpc/auth_des.c: Likewise.
30351         * sunrpc/clnt_udp.c: Likewise.
30352         * sunrpc/rtime.c: Likewise.
30353         * sunrpc/svcauth_des.c: Likewise.
30354         * sunrpc/xdr.c: Likewise.
30355         * sunrpc/xdr_intXX_t.c: Likewise.
30356         * sunrpc/xdr_rec.c: Likewise.
30357         * sysdeps/generic/ldconfig.h: Likewise.
30358         * sysdeps/generic/ldsodefs.h: Likewise.
30359         * sysdeps/generic/memusage.h: Likewise.
30360         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30361         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
30362         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
30363         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30364         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30365         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30366         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30367         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30368         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30369         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30370         * sysdeps/posix/getaddrinfo.c: Likewise.
30371         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30372         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30373         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30374         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30375         * sysdeps/powerpc/test-gettimebase.c: Likewise.
30376         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30377         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
30378         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
30379         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30380         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
30381         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30382         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30383         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
30384         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
30385         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
30386         * sysdeps/x86_64/dl-tls.h: Likewise.
30387         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
30388         * time/alt_digit.c: Likewise.
30389         * time/era.c: Likewise.
30390         * wcsmbs/tst-c16c32-1.c: Likewise.
30392 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
30394         * math/libm-test.inc (struct test_sincos_data): New type.
30395         (RUN_TEST_LOOP_sincos): New macro.
30396         (sincos_test_data): New variable.
30397         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
30399 2013-05-16  Richard Henderson  <rth@redhat.com>
30401         * math/atest-exp2.c (LIMB64): New macro.
30402         (CONSTSZ): New macro.
30403         (mp_exp1, mp_exp_m1, mp_log2): New variables.
30404         (hexdig): Move ...
30405         (print_mpn_fp): ... to function scope.
30406         (read_mpn_hex): Remove.
30407         (get_log2): Remove.
30408         (exp2_mpn): Use mp_log2.
30409         (main): Use mp_exp1.
30411 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
30413         * math/libm-test.inc: Remove comment about not testing "inexact"
30414         exceptions.
30415         (INEXACT_EXCEPTION): New macro.
30416         (NO_INEXACT_EXCEPTION): Likewise.
30417         (INVALID_EXCEPTION_OK): Update value.
30418         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30419         (OVERFLOW_EXCEPTION_OK): Likewise.
30420         (UNDERFLOW_EXCEPTION_OK): Likewise.
30421         (IGNORE_ZERO_INF_SIGN): Likewise.
30422         (ERRNO_UNCHANGED): Likewise.
30423         (ERRNO_EDOM): Likewise.
30424         (ERRNO_ERANGE): Likewise.
30425         (test_exceptions): Handle testing "inexact" exceptions.
30426         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
30427         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
30428         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
30429         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
30430         INEXACT_EXCEPTION.
30431         (rint_towardzero_test_data): Likewise.
30432         (rint_downward_test_data): Likewise.
30433         (rint_upward_test_data): Likewise.
30435         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
30436         with OVERFLOW_EXCEPTION.
30437         (exp10_test_data): Likewise.
30438         (exp2_test_data): Likewise.
30439         (expm1_test_data): Likewise.
30440         (lgamma_test_data): Likewise.
30441         (pow_test_data): Likewise.
30442         (tgamma_test_data): Likewise.
30443         (yn_test_data): Remove duplicate test of overflow.
30445         * math/libm-test.inc (struct test_cc_c_data): New type.
30446         (RUN_TEST_LOOP_cc_c): New macro.
30447         (cpow_test_data): New variable.
30448         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
30450         * math/libm-test.inc (struct test_f_L_data): New type.
30451         (RUN_TEST_LOOP_f_L): New macro.
30452         (llrint_test_data): New variable.
30453         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
30454         (llrint_tonearest_test_data): New variable.
30455         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
30456         (llrint_towardzero_test_data): New variable.
30457         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
30458         (llrint_downward_test_data): New variable.
30459         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
30460         (llrint_upward_test_data): New variable.
30461         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
30462         (llround_test_data): New variable.
30463         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
30465 2013-05-13  Peter Collingbourne  <pcc@google.com>
30467         * math/atest-exp2.c (get_log2): Remove const attribute.
30469 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
30471         * math/libm-test.inc (struct test_f_l_data): New type.
30472         (RUN_TEST_LOOP_f_l): New macro.
30473         (lrint_test_data): New variable.
30474         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
30475         (lrint_tonearest_test_data): New variable.
30476         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
30477         (lrint_towardzero_test_data): New variable.
30478         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
30479         (lrint_downward_test_data): New variable.
30480         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
30481         (lrint_upward_test_data): New variable.
30482         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
30483         (lround_test_data): New variable.
30484         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
30486 2013-05-15  Peter Collingbourne  <pcc@google.com>
30488         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
30489         (EXTRACT_WORDS64) Use where appropriate.
30490         (INSERT_WORDS64) Likewise.
30492         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
30493         constraints with x constraints.
30494         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
30496         * malloc/obstack.c (_obstack_compat): Add initializer.
30498 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
30500         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
30501         si_trapno and add si_addr_lsb to _sifields.sigfault.
30502         (si_trapno): Remove macro.
30503         (si_addr_lsb): Define new macro.
30504         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30506 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
30508         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
30509         instead of TEST_f_l.
30510         (llrint_test_tonearest): Likewise.
30511         (llrint_test_towardzero): Likewise.
30512         (llrint_test_downward): Likewise.
30513         (llrint_test_upward): Likewise.
30514         (llround_test): Likewise.
30516         * math/libm-test.inc (struct test_f_i_data): Add comment.
30517         (RUN_TEST_LOOP_f_b): New macro.
30518         (RUN_TEST_LOOP_f_b_tg): Likewise.
30519         (finite_test_data): New variable.
30520         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
30521         (isfinite_test_data): New variable.
30522         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30523         (isinf_test_data): New variable.
30524         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30525         (isnan_test_data): New variable.
30526         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30527         (isnormal_test_data): New variable.
30528         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30529         (issignaling_test_data): New variable.
30530         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30531         (signbit_test_data): New variable.
30532         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30534         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
30535         with INVALID_EXCEPTION.
30536         (acosh_test_data): Likewise.
30537         (asin_test_data): Likewise.
30538         (atanh_test_data): Likewise.
30539         (fmod_test_data): Likewise.
30540         (log_test_data): Likewise.
30541         (log10_test_data): Likewise.
30542         (log2_test_data): Likewise.
30543         (pow_test_data): Likewise.
30544         (sqrt_test_data): Likewise.
30545         (y0_test_data): Likewise.
30546         (y1_test_data): Likewise.
30547         (yn_test_data): Likewise.
30549         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
30550         function contents.
30552         * math/libm-test.inc (struct test_ff_i_data): New type.
30553         (RUN_TEST_LOOP_ff_i_tg): New macro.
30554         (isgreater_test_data): New variable.
30555         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30556         (isgreaterequal_test_data): New variable.
30557         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30558         (isless_test_data): New variable.
30559         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30560         (islessequal_test_data): New variable.
30561         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30562         (islessgreater_test_data): New variable.
30563         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30564         (isunordered_test_data): New variable.
30565         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30567 2013-05-14  David S. Miller  <davem@davemloft.net>
30569         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30571 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
30573         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
30575         * math/libm-test.inc (struct test_fF_f1_data): Change type of
30576         extra_test to int.
30577         (struct test_f_i_data): Change type of max_ulp to int.
30579         * math/libm-test.inc (test_ffI_f1_data): New type.
30580         (RUN_TEST_LOOP_ffI_f1): New macro.
30581         (remquo_test_data): New variable.
30582         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
30584         * setjmp/tst-setjmp-fp.c: New file.
30585         * setjmp/Makefile (tests): Add tst-setjmp-fp.
30586         (link-libm): New variable.
30587         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
30589         * math/libm-test.inc (struct test_f_i_data): New type.
30590         (RUN_TEST_LOOP_f_i): New macro.
30591         (RUN_TEST_LOOP_f_i_tg): Likewise.
30592         (fpclassify_test_data): New variable.
30593         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
30594         (ilogb_test_data): New variable.
30595         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
30597         * math/libm-test.inc (scalbln_test): Correct function name in END
30598         call.
30600         * math/libm-test.inc (struct test_f_f1_data): Add comment.
30601         (RUN_TEST_LOOP_fI_f1): New macro.
30602         (frexp_test_data): New variable.
30603         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
30605         * math/libm-test.inc (struct test_fF_f1_data): New type.
30606         (RUN_TEST_LOOP_fF_f1): New macro.
30607         (modf_test_data): New variable.
30608         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
30610         * math/libm-test.inc (struct test_f_f1_data): New type.
30611         (RUN_TEST_LOOP_f_f1): New macro.
30612         (gamma_test_data): New variable.
30613         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
30614         (lgamma_test_data): New variable.
30615         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
30617 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
30619         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
30620         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
30621         (main): Comment "tls" pseudo-hwcap.
30623 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
30625         * math/libm-test.inc (struct test_fl_f_data): New type.
30626         (RUN_TEST_LOOP_fl_f): New variable.
30627         (scalbln_test_data): New variable.
30628         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
30630         * math/libm-test.inc (struct test_fi_f_data): New type.
30631         (RUN_TEST_LOOP_fi_f): New macro.
30632         (ldexp_test_data): New variable.
30633         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
30634         (scalbn_test_data): New variable.
30635         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
30637         * math/libm-test.inc (struct test_c_f_data): New type.
30638         (RUN_TEST_LOOP_c_f): New macro.
30639         (cabs_test_data): New variable.
30640         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
30641         (carg_test_data): New variable.
30642         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
30643         (cimag_test_data): New variable.
30644         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
30645         (creal_test_data): New variable.
30646         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
30648         * math/libm-test.inc (struct test_if_f_data): New type.
30649         (RUN_TEST_LOOP_if_f): New macro.
30650         (jn_test_data): New variable.
30651         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
30652         (yn_test_data): New variable.
30653         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
30655         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
30657 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30659         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
30660         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
30662 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30664         * benchtests/Makefile (CPPFLAGS-nonlib): Add
30665         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
30666         (bench-deps): Add bench-timing.h.
30667         * benchtests-bench-skeleton.c: Include bench-timing.h.
30668         (main): Use TIMING_* macros instead of clock_gettime.
30669         * benchtests/bench-timing.h: New file.
30671         [BZ #14582]
30672         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
30673         Renamed from _LIB_VERSION.
30674         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
30676 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
30678         * math/libm-test.inc (struct test_fff_f_data): New type.
30679         (RUN_TEST_LOOP_fff_f): New macro.
30680         (fma_test_data): New variable.
30681         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
30682         (fma_towardzero_test_data): New variable.
30683         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
30684         (fma_downward_test_data): New variable.
30685         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
30686         (fma_upward_test_data): New variable.
30687         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
30689         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
30690         (struct test_c_c_data): New type.
30691         (RUN_TEST_LOOP_c_c): New macro.
30692         (cacos_test_data): New variable.
30693         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
30694         (cacosh_test_data): New variable.
30695         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
30696         (casin_test_data): New variable.
30697         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
30698         (casinh_test_data): New variable.
30699         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
30700         (catan_test_data): New variable.
30701         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
30702         (catanh_test_data): New variable.
30703         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
30704         (ccos_test_data): New variable.
30705         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
30706         (ccosh_test_data): New variable.
30707         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
30708         (cexp_test_data): New variable.
30709         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
30710         (clog_test_data): New variable.
30711         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
30712         (clog10_test_data): New variable.
30713         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
30714         (conj_test_data): New variable.
30715         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
30716         (cproj_test_data): New variable.
30717         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
30718         (csin_test_data): New variable.
30719         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
30720         (csinh_test_data): New variable.
30721         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
30722         (csqrt_test_data): New variable.
30723         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
30724         (ctan_test_data): New variable.
30725         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
30726         (ctan_tonearest_test_data): New variable.
30727         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
30728         (ctan_towardzero_test_data): New variable.
30729         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
30730         (ctan_downward_test_data): New variable.
30731         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
30732         (ctan_upward_test_data): New variable.
30733         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
30734         (ctanh_test_data): New variable.
30735         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
30736         (ctanh_tonearest_test_data): New variable.
30737         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
30738         (ctanh_towardzero_test_data): New variable.
30739         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
30740         (ctanh_downward_test_data): New variable.
30741         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
30742         (ctanh_upward_test_data): New variable.
30743         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
30744         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
30745         of BUILD_COMPLEX.
30747         * math/libm-test.inc (struct test_ff_f_data): New type.
30748         (struct test_ff_f_data_nexttoward): Likewise.
30749         (RUN_TEST_LOOP_2_f): New macro.
30750         (RUN_TEST_LOOP_ff_f): Likewise.
30751         (atan2_test_data): New variable.
30752         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
30753         (copysign_test_data): New variable.
30754         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
30755         (fdim_test_data): New variable.
30756         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
30757         (fmax_test_data): New variable.
30758         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
30759         (fmin_test_data): New variable.
30760         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
30761         (fmod_test_data): New variable.
30762         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
30763         (hypot_test_data): New variable.
30764         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
30765         (nextafter_test_data): New variable.
30766         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
30767         (nexttoward_test_data): New variable.
30768         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
30769         (pow_test_data): New variable.
30770         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
30771         (pow_tonearest_test_data): New variable.
30772         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
30773         (pow_towardzero_test_data): New variable.
30774         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
30775         (pow_downward_test_data): New variable.
30776         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
30777         (pow_upward_test_data): New variable.
30778         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
30779         (remainder_test_data): New variable.
30780         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
30781         (scalb_test_data): New variable.
30782         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
30783         * sysdeps/i386/fpu/libm-test-ulps: Update.
30785 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
30787         * math/libm-test.inc (fma_test): Use max_value instead of local
30788         variable fltmax.
30789         (nextafter_test): Likewise.
30791         * math/libm-test.inc (acos_towardzero_test_data): New variable.
30792         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30793         (acos_downward_test_data): New variable.
30794         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30795         (acos_upward_test_data): New variable.
30796         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30797         (acosh_test_data): New variable.
30798         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
30799         (asin_test_data): New variable.
30800         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
30801         (asin_tonearest_test_data): New variable.
30802         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30803         (asin_towardzero_test_data): New variable.
30804         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30805         (asin_downward_test_data): New variable.
30806         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30807         (asin_upward_test_data): New variable.
30808         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30809         (asinh_test_data): New variable.
30810         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
30811         (atan_test_data): New variable.
30812         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
30813         (atanh_test_data): New variable.
30814         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
30815         (cbrt_test_data): New variable.
30816         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
30817         (ceil_test_data): New variable.
30818         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
30819         (cos_test_data): New variable.
30820         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
30821         (cos_tonearest_test_data): New variable.
30822         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30823         (cos_towardzero_test_data): New variable.
30824         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30825         (cos_downward_test_data): New variable.
30826         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30827         (cos_upward_test_data): New variable.
30828         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30829         (cosh_test_data): New variable.
30830         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
30831         (cosh_tonearest_test_data): New variable.
30832         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30833         (cosh_towardzero_test_data): New variable.
30834         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30835         (cosh_downward_test_data): New variable.
30836         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30837         (cosh_upward_test_data): New variable.
30838         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30839         (erf_test_data): New variable.
30840         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
30841         (erfc_test_data): New variable.
30842         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
30843         (exp_test_data): New variable.
30844         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
30845         (exp_tonearest_test_data): New variable.
30846         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30847         (exp_towardzero_test_data): New variable.
30848         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30849         (exp_downward_test_data): New variable.
30850         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30851         (exp_upward_test_data): New variable.
30852         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30853         (exp10_test_data): New variable.
30854         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
30855         (exp2_test_data): New variable.
30856         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
30857         (expm1_test_data): New variable.
30858         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
30859         (fabs_test_data): New variable.
30860         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
30861         (floor_test_data): New variable.
30862         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
30863         (j0_test_data): New variable.
30864         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
30865         (j1_test_data): New variable.
30866         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
30867         (log_test_data): New variable.
30868         (log_test): Run tests with RUN_TEST_LOOP_f_f.
30869         (log10_test_data): New variable.
30870         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
30871         (log1p_test_data): New variable.
30872         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
30873         (log2_test_data): New variable.
30874         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
30875         (logb_test_data): New variable.
30876         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
30877         (logb_downward_test_data): New variable.
30878         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30879         (nearbyint_test_data): New variable.
30880         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
30881         (rint_test_data): New variable.
30882         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
30883         (rint_tonearest_test_data): New variable.
30884         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30885         (rint_towardzero_test_data): New variable.
30886         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30887         (rint_downward_test_data): New variable.
30888         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30889         (rint_upward_test_data): New variable.
30890         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30891         (round_test_data): New variable.
30892         (round_test): Run tests with RUN_TEST_LOOP_f_f.
30893         (sin_test_data): New variable.
30894         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
30895         (sin_tonearest_test_data): New variable.
30896         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30897         (sin_towardzero_test_data): New variable.
30898         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30899         (sin_downward_test_data): New variable.
30900         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30901         (sin_upward_test_data): New variable.
30902         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30903         (sinh_test_data): New variable.
30904         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
30905         (sinh_tonearest_test_data): New variable.
30906         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30907         (sinh_towardzero_test_data): New variable.
30908         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30909         (sinh_downward_test_data): New variable.
30910         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30911         (sinh_upward_test_data): New variable.
30912         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30913         (sqrt_test_data): New variable.
30914         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
30915         (tan_test_data): New variable.
30916         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
30917         (tan_tonearest_test_data): New variable.
30918         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30919         (tan_towardzero_test_data): New variable.
30920         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30921         (tan_downward_test_data): New variable.
30922         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30923         (tan_upward_test_data): New variable.
30924         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30925         (tanh_test_data): New variable.
30926         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
30927         (tgamma_test_data): New variable.
30928         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
30929         (trunc_test_data): New variable.
30930         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
30931         (y0_test_data): New variable.
30932         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
30933         (y1_test_data): New variable.
30934         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
30935         (significand_test_data): New variable.
30936         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
30938 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
30940         [BZ #12387]
30941         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
30943 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30945         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
30947 2013-05-10  Andreas Jaeger  <aj@suse.de>
30949         [BZ #15448]
30950         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
30951         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
30953 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
30955         * math/gen-libm-test.pl (adjust_arg): New function.
30956         (special_functions): Handle generating output in both functions
30957         and arrays.
30958         (parse_args): Likewise.
30959         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
30960         $in_func argument to parse_args.
30961         * math/libm-test.inc (struct test_f_f_data): New type.
30962         (IF_ROUND_INIT_): New macro.
30963         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
30964         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30965         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30966         (IF_ROUND_INIT_FE_UPWARD): Likewise.
30967         (ROUND_RESTORE_): Likewise.
30968         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
30969         (ROUND_RESTORE_FE_TONEAREST): Likewise.
30970         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
30971         (ROUND_RESTORE_FE_UPWARD): Likewise.
30972         (RUN_TEST_LOOP_f_f): New macro.
30973         (acos_test_data): New variable.
30974         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
30975         (acos_tonearest_test_data): New variable.
30976         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30978 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30980         * benchtests/bench-skeleton.c (startup): Fix coding style.
30982 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
30984         [BZ #6809]
30985         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
30986         negative infinity argument.
30987         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
30988         negative infinity argument.
30989         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
30990         negative infinity argument.
30991         * math/libm-test.inc (tgamma_test): Expect errno to be set for
30992         domain errors.
30994 2013-05-10  Florian Weimer  <fweimer@redhat.com>
30996         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
30997         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
30998         * iconv/iconv_prog.c (main): Likewise.
30999         * locale/programs/charmap-dir.c (charmap_readdir)
31000         (fopen_uncompressed): Likewise.
31001         * locale/programs/locfile.c (siblings_uncached)
31002         (write_locale_data): Use lstat64 instead of lstat.
31003         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
31004         stat.
31006 2013-05-10  Andreas Jaeger  <aj@suse.de>
31008         [BZ #15395]
31009         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
31010         localization.
31011         Include <locale.h>.
31013 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
31015         * elf/dl-close.c (_dl_close_worker): Add comments.
31017 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
31019         [BZ #15359]
31020         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
31021         high part of pi/2.
31022         (__ieee754_rem_pio2l): Update comments.
31024         [BZ #15429]
31025         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
31026         high part of pi/2.
31027         (__ieee754_rem_pio2l): Update comments.
31029         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
31030         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
31032         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
31033         M_PI_4l.
31035         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
31036         (M_PI_34_LOG10El): Likewise.
31037         (M_PI2_LOG10El): Likewise.
31038         (M_PI4_LOG10El): Likewise.
31039         (M_PI_LOG10El): Likewise.
31041 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31045 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
31047         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
31048         (MINUS_ZERO_INIT): Likewise.
31049         (PLUS_INFTY_INIT): Likewise.
31050         (MINUS_INFTY_INIT): Likewise.
31051         (QNAN_VALUE_INIT): Likewise.
31052         (MAX_VALUE_INIT): Likewise.
31053         (MIN_VALUE_INIT): Likewise.
31054         (MIN_SUBNORM_VALUE_INIT): Likewise.
31055         (plus_zero): Initialize with PLUS_ZERO_INIT.
31056         (minus_zero): Initialize with MINUS_ZERO_INIT.
31057         (plus_infty): Initialize with PLUS_INFTY_INIT.
31058         (minus_infty): Initialize with MINUS_INFTY_INIT.
31059         (qnan_value): Initialize with QNAN_VALUE_INIT.
31060         (max_value): Initialize with MAX_VALUE_INIT.
31061         (min_value): Initialize with MIN_VALUE_INIT.
31062         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
31064         * math/libm-test.inc (RUN_TEST_if_f): New macro.
31065         (jn_test): Use TEST_if_f instead of TEST_ff_f.
31066         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
31067         (yn_test): Use TEST_if_f instead of TEST_ff_f.
31069         * math/libm-test.inc (RUN_TEST_f_f): New macro.
31070         (RUN_TEST_2_f): Likewise.
31071         (RUN_TEST_ff_f): Likewise.
31072         (RUN_TEST_fi_f): Likewise.
31073         (RUN_TEST_fl_f): Likewise.
31074         (RUN_TEST_fff_f): Likewise.
31075         (RUN_TEST_c_f): Likewise.
31076         (RUN_TEST_f_f1): Likewise.
31077         (RUN_TEST_fF_f1): Likewise.
31078         (RUN_TEST_fI_f1): Likewise.
31079         (RUN_TEST_ffI_f1): Likewise.
31080         (RUN_TEST_c_c): Likewise.
31081         (RUN_TEST_cc_c): Likewise.
31082         (RUN_TEST_f_i): Likewise.
31083         (RUN_TEST_f_i_tg): Likewise.
31084         (RUN_TEST_ff_i_tg): Likewise.
31085         (RUN_TEST_f_b): Likewise.
31086         (RUN_TEST_f_b_tg): Likewise.
31087         (RUN_TEST_f_l): Likewise.
31088         (RUN_TEST_f_L): Likewise.
31089         (RUN_TEST_sincos): Likewise.
31090         * math/gen-libm-test.pl (new_test): Take new argument to indicate
31091         whether to show exceptions.  Do not include ");\n" in return
31092         value.
31093         (special_functions): Output call to RUN_TEST_sincos instead of
31094         check_float calls.  Update calls to new_test.
31095         (parse_args): Output call to single RUN_TEST_* macro instead of
31096         check_* calls and other assignments.  Update calls to new_test.
31098         [BZ #2546]
31099         [BZ #2560]
31100         [BZ #5159]
31101         [BZ #15426]
31102         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
31103         input to result for tgamma overflow.
31104         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
31105         (gamma_coeff): New variable.
31106         (NCOEFF): New macro.
31107         (gamma_positive): New function.
31108         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
31109         underflow here.  Use gamma_positive instead of exp (lgamma) for
31110         other arguments.
31111         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
31112         (gamma_coeff): New variable.
31113         (NCOEFF): New macro.
31114         (gammaf_positive): New function.
31115         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
31116         underflow here.  Use gamma_positive instead of exp (lgamma) for
31117         other arguments.
31118         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
31119         (gamma_coeff): New variable.
31120         (NCOEFF): New macro.
31121         (gammal_positive): New function.
31122         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
31123         underflow here.  Use gamma_positive instead of exp (lgamma) for
31124         other arguments.
31125         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
31126         (gamma_coeff): New variable.
31127         (NCOEFF): New macro.
31128         (gammal_positive): New function.
31129         (__ieee754_gammal_r): Handle positive infinity, overflow and
31130         underflow here.  Handle NaN the same as positive infinity.  Remove
31131         check x < 0xffffffff for negative integers.  Use gamma_positive
31132         instead of exp (lgamma) for other arguments.
31133         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
31134         (gamma_coeff): New variable.
31135         (NCOEFF): New macro.
31136         (gammal_positive): New function.
31137         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
31138         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
31139         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
31140         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
31141         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
31142         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
31143         * sysdeps/generic/math_private.h (__gamma_productf): New
31144         prototype.
31145         (__gamma_product): Likewise.
31146         (__gamma_productl): Likewise.
31147         * math/Makefile (libm-calls): Add gamma_product.
31148         * math/libm-test.inc (tgamma_test): Add more tests.
31149         * sysdeps/i386/fpu/libm-test-ulps: Update.
31150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31152 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
31154         * benchtests/bench-skeleton.c (main): Preheat CPU.
31156 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
31158         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
31160 2013-05-07  Roland McGrath  <roland@hack.frob.com>
31162         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
31163         and _dl_skip_args_internal.
31165 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
31167         * manual/message.texi (Message Translation): Talk about users.
31168         Message to key mapping impacts design.
31170 2013-05-06  Roland McGrath  <roland@hack.frob.com>
31172         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
31174         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
31176         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
31177         * sysdeps/wordsize-64/glob64.c: ... here.
31179         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
31180         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
31181         New macros.
31183         * debug/getlogin_r_chk.c: Moved to ...
31184         * login/getlogin_r_chk.c: ... here.
31185         * debug/Makefile (routines): Move getlogin_r_chk to ...
31186         * login/Makefile (routines): ... here.
31187         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
31188         * login/Versions (libc: GLIBC_2.4): ... here.
31190         * io/poll.c (__poll): Renamed from poll.
31191         Add libc_hidden_def.
31192         (poll): Define as weak alias.
31194         * debug/ptsname_r_chk.c: Moved to ...
31195         * login/ptsname_r_chk.c: ... here.
31196         * debug/Makefile (routines): Move ptsname_r_chk to ...
31197         * login/Makefile (routines): ... here.
31198         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
31199         * login/Versions (libc: GLIBC_2.4): ... here.
31201         * posix/getlogin.c: Moved to ...
31202         * login/getlogin.c: ... here.
31203         * posix/getlogin_r.c: Moved to ...
31204         * login/getlogin_r.c: ... here.
31205         * posix/getlogin_r.c: Moved to ...
31206         * login/getlogin_r.c: ... here.
31207         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
31208         * login/Makefile (routines): ... here.
31209         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
31210         * login/Versions (libc: GLIBC_2.0): ... here.
31212         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
31213         (setrlimit): Define as weak alias.
31215         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
31216         Call __ names for open, ftruncate, and close.
31217         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
31218         (truncate): Define as weak alias.
31220 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
31222         * math/gen-libm-test.pl (parse_args): Initialize x before each
31223         test of frexp, modf and remquo.
31225         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
31226         test signgam value.
31228 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31230         [BZ #15418]
31231         [BZ #15419]
31232         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
31233         internal tests.
31234         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31236 2013-05-06  Roland McGrath  <roland@hack.frob.com>
31238         * elf/dl-writev.h: New file.
31239         * elf/dl-misc.c: Include it.
31240         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
31241         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
31243 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
31245         * math/libm-test.inc (noXFails): Remove variable.
31246         (noXPasses): Likewise.
31247         (BUILD_COMPLEX_INT): Remove macro.
31248         (print_screen): Remove xfail argument.
31249         (print_screen_max_error): Likewise.
31250         (update_stats): Likewise.
31251         (print_max_error): Likewise.  Update calls to other affected
31252         functions.
31253         (print_complex_max_error): Likewise.
31254         (test_single_exception): Update calls to print_screen.
31255         (test_single_errno): Likewise.
31256         (check_float_internal): Remove xfail argument.  Update calls to
31257         other affected functions.
31258         (check_float): Likewise.
31259         (check_complex): Likewise.
31260         (check_int): Likewise.
31261         (check_long): Likewise.
31262         (check_bool): Likewise.
31263         (check_longlong): Likewise.
31264         (main): Don't print noXFails and noXPasses.
31265         * math/gen-libm-test.pl (top level): Don't mention expected
31266         failure handling in comment.
31267         (new_test): Don't handle expected failures.
31268         (parse_args): Don't mention expected failure handling in comment.
31269         (generate_testfile): Don't handle expected failures.
31270         (parse_ulps): Likewise.
31271         (print_ulps_file): Likewise.
31272         (get_failure): Remove function.
31273         (output_test): Don't handle expected failures.
31274         * make/README.libm-test: Don't mention expected failure handling.
31276         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
31277         (minus_zero): Likewise.
31278         (plus_infty): Likewise.
31279         (minus_infty): Likewise.
31280         (qnan_value): Likewise.
31281         (max_value): Likewise.
31282         (min_value): Likewise.
31283         (min_subnorm_value): Likewise.
31284         (initialize): Do not initialize those variables dynamically.
31286 2013-05-03  Roland McGrath  <roland@hack.frob.com>
31288         * io/open.c (__open_2): Moved to ...
31289         * io/open_2.c: ... this new file.
31290         * io/open64.c (__open64_2): Moved to ...
31291         * io/open64_2.c: ... this new file.
31292         * io/openat.c (__openat_2): Moved to ...
31293         * io/openat_2.c: ... this new file.
31294         * io/openat64.c (__openat64_2): Moved to ...
31295         * io/openat64_2.c: ... this new file.
31296         * io/Makefile (routines): Add them.
31297         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
31298         * sysdeps/unix/sysv/linux/open_2.c: File removed.
31299         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
31300         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
31301         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
31302         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
31303         (__openat64): Add hidden_ver.
31304         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
31305         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
31307         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
31308         Separately conditionalize setting of GLRO(dl_sysinfo) so
31309         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
31310         as well, but the actual setting is only under [NEED_DL_SYSINFO].
31312 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31314         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
31315         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
31316         definition.
31317         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
31318         * sysdeps/unix/sysv/linux/powerpc/init-first.c
31319         (_libc_vdso_platform_setup): Add __vdso_time initialization.
31320         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
31321         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
31323 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
31325         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
31326         test signgam value.
31328         * math/libm-test.inc (hypot_test): Do not use
31329         IGNORE_ZERO_INF_SIGN.
31331 2013-05-03  Andreas Jaeger  <aj@suse.de>
31333         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
31334         Linux 3.9.
31335         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
31336         (PF_MAX): Adjust for VSOCK change.
31338 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31342 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
31344         [BZ #15264]
31345         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
31346         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
31347         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
31349 2013-05-02  David S. Miller  <davem@davemloft.net>
31351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31353 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
31355         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
31357 2013-05-01  Roland McGrath  <roland@hack.frob.com>
31359         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
31361 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
31363         [BZ #14952]
31364         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
31365         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31366         Use __attribute__ ((__gnu_inline__)).
31367         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31368         Don't use __attribute__ ((__gnu_inline__)).
31370 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
31372         [BZ #15423]
31373         * math/s_catan.c (__catan): Handle small real or imaginary part of
31374         input specially to avoid spurious underflow.
31375         * math/s_catanf.c (__catanf): Likewise.
31376         * math/s_catanh.c (__catanh): Likewise.
31377         * math/s_catanhf.c (__catanhf): Likewise.
31378         * math/s_catanhl.c (__catanhl): Likewise.
31379         * math/s_catanl.c (__catanl): Likewise.
31380         * math/libm-test.inc (catan_test): Add more tests.
31381         (catanh_test): Likewise.
31382         * sysdeps/i386/fpu/libm-test-ulps: Update.
31383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31385 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31389 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
31391         [BZ #15416]
31392         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
31393         accurately for denominator in atan2.
31394         * math/s_catanf.c (__catanf): Likewise.
31395         * math/s_catanh.c (__catanh): Likewise.
31396         * math/s_catanhf.c (__catanhf): Likewise.
31397         * math/s_catanhl.c (__catanhl): Likewise.
31398         * math/s_catanl.c (__catanl): Likewise.
31399         * math/libm-test.inc (catan_test): Add more tests.
31400         (catanh_test): Likewise.
31401         * sysdeps/i386/fpu/libm-test-ulps: Update.
31402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31404 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31406         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
31408         * benchtests/Makefile (bench): Remove slow benchmarks.
31409         * benchtests/atan-inputs: Add slow benchmark inputs.
31410         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
31411         (BENCH_FUNC): Accept variant offset.
31412         (VARIANT): Define.
31413         * benchtests/bench-skeleton.c (main): Run benchmark for each
31414         variant.
31415         * benchtests/cos-inputs: Add slow benchmark inputs.
31416         * benchtests/exp-inputs: Likewise.
31417         * benchtests/pow-inputs: Likewise.
31418         * benchtests/sin-inputs: Likewise.
31419         * benchtests/slowatan-inputs: Remove.
31420         * benchtests/slowatan.c: Remove.
31421         * benchtests/slowcos-inputs: Remove.
31422         * benchtests/slowcos.c: Remove.
31423         * benchtests/slowexp-inputs: Remove.
31424         * benchtests/slowexp.c: Remove.
31425         * benchtests/slowpow-inputs: Remove.
31426         * benchtests/slowpow.c: Remove.
31427         * benchtests/slowsin-inputs: Remove.
31428         * benchtests/slowsin.c: Remove.
31429         * benchtests/slowtan-inputs: Remove.
31430         * benchtests/slowtan.c: Remove.
31431         * benchtests/tan-inputs: Add slow benchmark inputs.
31432         * scripts/bench.pl: Parse comments and directives.
31434         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
31435         in CPPFLAGS.
31436         ($(objpfx)bench-%.c): Remove *-ITER.
31437         * benchtests/bench-modf.c: Remove definition of ITER.
31438         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
31439         (main): Loop for DURATION seconds instead of fixed number of
31440         iterations.
31441         * scripts/bench.pl: Don't expect iterations in parameters.
31443 2013-04-29  Roland McGrath  <roland@hack.frob.com>
31445         * io/fchdir.c (__fchdir): Renamed from fchdir.
31446         (fchdir): Define as weak alias.
31448 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
31450         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
31451         (ERRNO_EDOM): Likewise.
31452         (ERRNO_ERANGE): Likewise.
31453         (noErrnoTests): New variable.
31454         (init_max_error): Set errno to 0.
31455         (test_single_errno): New function.
31456         (test_errno): Likewise.
31457         (check_float_internal): Call test_errno.  Set errno to 0.
31458         (check_complex): Refer to errno tests in comment.
31459         (check_int): Call test_errno.  Set errno to 0.
31460         (check_long): Likewise.
31461         (check_bool): Likewise.
31462         (check_longlong): Likewise.
31463         (cos_test): Use ERRNO_* flags for errno tests instead of
31464         check_int.
31465         (expm1_test): Likewise.
31466         (fmod_test): Likewise.
31467         (ilogb_test): Likewise.
31468         (lgamma_test): Likewise.
31469         (pow_test): Likewise.
31470         (remainder_test): Likewise.
31471         (sin_test): Likewise.
31472         (tan_test): Likewise.
31473         (yn_test): Likewise.
31474         (initialize): Set errno to 0.
31475         (main): Print number of errno tests.
31476         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
31478 2013-04-29  Andreas Jaeger  <aj@suse.de>
31480         [BZ #15084]
31481         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
31482         and RES_USEVC.
31484         [BZ #15085]
31485         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
31486         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
31487         unimplemented.
31489         [BZ #15380]
31490         * stdlib/random.c (__initstate): Return NULL if
31491         __initstate fails.
31493         [BZ #15086]
31494         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
31495         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
31496         RES_SNGLKUPREOP.
31498 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31502 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
31504         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
31505         of individual tests.
31506         (casin_test): Likewise.
31507         (casinh_test): Likewise.
31509 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
31511         [BZ #15409]
31512         * math/s_catan.c (__catan): Handle arguments with large real or
31513         imaginary part separately without squaring.
31514         * math/s_catanf.c (__catanf): Likewise.
31515         * math/s_catanh.c (__catanh): Likewise.
31516         * math/s_catanhf.c (__catanhf): Likewise.
31517         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31518         and redefine.
31519         (__catanhl): Handle arguments with large real or imaginary part
31520         separately without squaring.
31521         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31522         and redefine.
31523         (__catanl): Handle arguments with large real or imaginary part
31524         separately without squaring.
31525         * math/libm-test.inc (catan_test): Add more tests.
31526         (catanh_test): Likewise.
31527         * sysdeps/i386/fpu/libm-test-ulps: Update.
31528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31530 2013-04-27  Andreas Jaeger  <aj@suse.de>
31532         [BZ #15007]
31533         * stdlib/stdlib.h: Update guards for qecvt.
31534         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
31535         <stdlib.h>.
31537 2013-04-27  Allan McRae  <allan@archlinux.org>
31539         * sysdeps/i386/fpu/libm-test-ulps: Update.
31541 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
31543         [BZ #15406]
31544         * math/s_catan.c: Include <float.h>.
31545         (__catan): Ensure underflow exception occurs for underflowed
31546         result.
31547         * math/s_catanf.c: Include <float.h>.
31548         (__catanf): Ensure underflow exception occurs for underflowed
31549         result.
31550         * math/s_catanh.c: Include <float.h>.
31551         (__catanh): Ensure underflow exception occurs for underflowed
31552         result.
31553         * math/s_catanhf.c: Include <float.h>.
31554         (__catanhf): Ensure underflow exception occurs for underflowed
31555         result.
31556         * math/s_catanhl.c: Include <float.h>.
31557         (__catanhl): Ensure underflow exception occurs for underflowed
31558         result.
31559         * math/s_catanl.c: Include <float.h>.
31560         (__catanl): Ensure underflow exception occurs for underflowed
31561         result.
31562         * math/libm-test.inc (catan_test): Add more tests.
31563         (catanh_test): Likewise.
31565         [BZ #15405]
31566         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
31567         underflowed result.
31568         * math/s_ccoshf.c (__ccoshf): Likewise.
31569         * math/s_ccoshl.c (__ccoshl): Likewise.
31570         * math/s_csin.c (__csin): Likewise.
31571         * math/s_csinf.c (__csinf): Likewise.
31572         * math/s_csinh.c (__csinh): Likewise.
31573         * math/s_csinhf.c (__csinhf): Likewise.
31574         * math/s_csinhl.c (__csinhl): Likewise.
31575         * math/s_csinl.c (__csinl): Likewise.
31576         * math/libm-test.inc (ccos_test): Add more tests.
31577         (ccosh_test): Likewise.
31578         (csin_test): Likewise.
31579         (csinh_test): Likewise.
31581 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31583         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
31584         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
31585         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
31586         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
31587         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
31588         powerpc/power5+/fpu folders.
31589         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
31592 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
31594         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31596 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
31598         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
31599         additions to variable.
31600         [$(config-machine) = x86_64] (modules-names): Likewise.
31601         ($(objpfx)tst-audit3): Remove dependency.
31602         ($(objpfx)tst-audit3.out): Likewise.
31603         ($(objpfx)tst-audit4): Likewise.
31604         ($(objpfx)tst-audit4.out): Likewise.
31605         ($(objpfx)tst-audit5): Likewise.
31606         ($(objpfx)tst-audit5.out): Likewise.
31607         ($(objpfx)tst-audit6): Likewise.
31608         ($(objpfx)tst-audit6.out): Likewise.
31609         ($(objpfx)tst-audit7): Likewise.
31610         ($(objpfx)tst-audit7.out): Likewise.
31611         (tst-audit3-ENV): Remove variable.
31612         (tst-audit4-ENV): Likewise.
31613         (tst-audit5-ENV): Likewise.
31614         (tst-audit6-ENV): Likewise.
31615         (tst-audit7-ENV): Likewise.
31616         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
31617         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
31618         addition to variable.
31619         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
31620         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
31621         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
31622         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
31623         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
31624         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
31625         tst-audit3, tst-audit4 and tst-audit5.
31626         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
31627         tst-audit6 and tst-audit7.
31628         [$(subdir) = elf] (modules-names): Add audit modules for those
31629         tests.
31630         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
31631         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
31632         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
31633         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
31634         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
31635         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
31636         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
31637         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
31638         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
31639         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
31640         [$(subdir) = elf] (tst-audit3-ENV): New variable.
31641         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
31642         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
31643         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
31644         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
31645         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
31646         Likewise.
31647         [$(subdir) = elf && $(config-cflags-avx) = yes]
31648         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
31649         [$(subdir) = elf && $(config-cflags-avx) = yes]
31650         (CFLAGS-tst-auditmod4a.c): Likewise.
31651         [$(subdir) = elf && $(config-cflags-avx) = yes]
31652         (CFLAGS-tst-auditmod4b.c): Likewise.
31653         [$(subdir) = elf && $(config-cflags-avx) = yes]
31654         (CFLAGS-tst-auditmod6b.c): Likewise.
31655         [$(subdir) = elf && $(config-cflags-avx) = yes]
31656         (CFLAGS-tst-auditmod6c.c): Likewise.
31657         [$(subdir) = elf && $(config-cflags-avx) = yes]
31658         (CFLAGS-tst-auditmod7b.c): Likewise.
31659         * elf/tst-audit3.c: Move to ...
31660         * sysdeps/x86_64/tst-audit3.c: ... here.
31661         * elf/tst-audit4.c: Move to ...
31662         * sysdeps/x86_64/tst-audit4.c: ... here.
31663         * elf/tst-audit5.c: Move to ...
31664         * sysdeps/x86_64/tst-audit5.c: ... here.
31665         * elf/tst-audit6.c: Move to ...
31666         * sysdeps/x86_64/tst-audit6.c: ... here.
31667         * elf/tst-audit7.c: Move to ...
31668         * sysdeps/x86_64/tst-audit7.c: ... here.
31669         * elf/tst-auditmod3a.c: Move to ...
31670         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
31671         * elf/tst-auditmod3b.c: Move to ...
31672         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
31673         * elf/tst-auditmod4a.c: Move to ...
31674         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
31675         * elf/tst-auditmod4b.c: Move to ...
31676         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
31677         * elf/tst-auditmod5a.c: Move to ...
31678         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
31679         * elf/tst-auditmod5b.c: Move to ...
31680         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
31681         * elf/tst-auditmod6a.c: Move to ...
31682         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
31683         * elf/tst-auditmod6b.c: Move to ...
31684         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
31685         * elf/tst-auditmod6c.c: Move to ...
31686         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
31687         * elf/tst-auditmod7a.c: Move to ...
31688         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
31689         * elf/tst-auditmod7b.c: Move to ...
31690         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
31692 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
31694         [BZ #15366]
31695         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
31696         define unconditionally.
31697         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
31698         define unconditionally.
31699         (INT8_C, INT16_C, etc.): Likewise.
31701 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
31703         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
31704         __ehdr_start with hidden visibility.
31706         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
31708 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
31710         * math/libm-test.inc (cos_test): Use accurate hex constants.
31711         (sincost_test): Likewise.
31713 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
31715         * math/libm-test.inc (catan_test): Add more tests.
31716         (catanh_test): Likewise.
31718         * math/s_catanf.c (__catanf): Use suffixed floating-point
31719         constants.
31720         * math/s_catanhf.c (__catanhf): Likewise.
31721         * math/s_catanhl.c (__catanhl): Likewise.
31722         * math/s_catanl.c (__catanl): Likewise.
31724         [BZ #15394]
31725         * math/s_catan.c (__catan): Calculate imaginary part of result
31726         with log1p not log unless computing log of number close to 0.
31727         * math/s_catanf.c (__catanf): Likewise.
31728         * math/s_catanl.c (__catanl): Likewise.
31729         * math/s_catanh.c (__catanh): Calculate real part of result with
31730         log1p not log unless computing log of number close to 0.
31731         * math/s_catanhf.c (__catanhf): Likewise.
31732         * math/s_catanhl.c (__catanhl): Likewise.
31733         * math/libm-test.inc (catan_test): Add more tests.
31734         (catanh_test): Likewise.
31735         * sysdeps/i386/fpu/libm-test-ulps: Update.
31736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31738 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31740         * benchtests/Makefile: Mention files in which fast and slow
31741         paths of math functions are implemented.
31743 2013-04-23  Roland McGrath  <roland@hack.frob.com>
31745         * sysdeps/posix/timespec_get.c: New file.
31747 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31749         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
31750         POWER.
31751         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
31752         for POWER.
31753         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
31754         powerpc/power5/fpu folders.
31755         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
31756         * benchtests/Makefile: Add modf testcase.
31757         * benchtests/bench-modf.c: New file: Benchmark test for mo
31759 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31761         [BZ #14888]
31762         * time/Makefile (tests): Add tst-strptime-whitespace.
31763         * time/strptime_l.c (get_number): Use ISSPACE.
31764         (__strptime_internal): Likewise.
31765         * time/tst-strptime-whitespace.c: New test case.
31767 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
31769         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
31770         member.
31771         (_nss_files_init): Set it here.
31773 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
31775         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
31776         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
31777         unsigned.
31779 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
31781         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
31783 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31785         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
31786         size just once.
31788 2013-04-21  David S. Miller  <davem@davemloft.net>
31790         * po/ru.po: Update Russion translation from translation project.
31792 2013-04-17  Adam Conrad  <adconrad@0c3.net>
31794         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
31795         and setfsgid.
31797 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
31799         * configure.in: Remove i386 configure warning. Remove i386 case.
31800         * configure: Regenerate.
31801         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
31802         Add example to error message.
31803         * sysdeps/i386/configure: Regenerate.
31805 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31807         * benchtests/Makefile (bench): Add cos, tan, slowcos and
31808         slowtan.
31809         * benchtests/cos-inputs: New file.
31810         * benchtests/slowcos-inputs: New file.
31811         * benchtests/slowcos.c: New file.
31812         * benchtests/slowtan-inputs: New file.
31813         * benchtests/slowtan.c: New file.
31814         * benchtests/tan-inputs: New file.
31816 2013-04-16  Roland McGrath  <roland@hack.frob.com>
31818         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
31819         considered kosher.
31821 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31823         * benchtests/Makefile: Include cppflags-iterator.mk to add
31824         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
31826         * Makefile.in (bench-clean): New target.
31827         * benchtests/Makefile (bench-clean): Likewise.
31829 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
31831         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
31833 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
31835         * stdio-common/tstdiomisc.c: Fix coding-style violation.
31837 2013-04-15  Andreas Schwab  <schwab@suse.de>
31839         * nscd/grpcache.c (cache_addgr): Properly check for short write.
31840         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31841         * nscd/pwdcache.c (cache_addpw): Likewise.
31842         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
31843         more than recsize.
31845 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31847         * benchtests/Makefile (bench): Write all output to
31848         bench-out.tmp together.
31850 2013-04-15  Andreas Schwab  <schwab@suse.de>
31852         * nscd/nscd.c (main): Don't fork again after closing files.
31854 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31856         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
31858         * benchtests/Rules (bench-deps): Collect dependencies into a
31859         single variable.  Add Makefile to dependencies.
31860         ($(objpfx)bench-%.c): Depend on bench-deps.
31862 2013-04-12  Roland McGrath  <roland@hack.frob.com>
31863             Xavier Roche  <roche+kml2@exalead.com>
31865         [BZ #15361]
31866         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
31867         just that it's a file descriptor.
31868         * manual/llio.texi (Synchronizing AIO Operations): Update description
31869         for EBADF error from aio_fsync.
31871 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31873         * Rules (bench): Move target definition...
31874         * benchtests/Makefile: ... here.
31876 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
31878         * math/libm-test.inc (cos_test): Fix PI/2 test.
31879         (sincos_test): Likewise.
31880         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
31881         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
31883 2013-04-11  Andreas Schwab  <schwab@suse.de>
31885         [BZ #13988]
31886         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
31887         accept exponent character only when digits were seen.
31888         * stdio-common/Makefile (tests): Add bug26.
31889         * stdio-common/bug26.c: New file.
31891         [BZ #14293]
31892         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
31893         non-freeable.
31895 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31897         * Makeconfig (rtld-prefix): Define built linker prefix.
31898         * Rules (run-bench): Use it.
31899         * math/Makefile (run-regen-ulps): Likewise.
31901         * Rules (bench): Remove eval.
31903 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31904             Roland McGrath  <roland@hack.frob.com>
31905             Ondrej Bilka  <neleai@seznam.cz>
31907         [BZ #15346]
31908         * time/getdate.c: Include ctype.h and alloca.h.
31909         (__getdate_r): Trim leading and trailing spaces of input.
31910         * time/tst-getdate.c (tests): Add tests with leading and
31911         trailing spaces.
31913 2013-04-08  Roland McGrath  <roland@hack.frob.com>
31915         [BZ #14280]
31916         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
31917         when computing value.
31919 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31921         * math/README.libm-test (How can I generate "libm-test-ulps"?):
31922         Use testrun.sh to run libm tests.
31924         [BZ #15309]
31925         * elf/dl-open.c (dl_open_worker): memset all of seen array.
31927 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
31929         [BZ #15264]
31930         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
31932 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31934         * Makefile.in (regen-ulps): New target.
31935         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
31936         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
31937         [ifneq (no,$(PERL)] (regen-ulps): New target.
31938         [ifeq (no,$(PERL)] (regen-ulps): New target.
31939         * math/libm-test.inc (ulps_file_name): Define.
31940         (output_dir): New variable.
31941         (options): Add "output-dir" option.
31942         (parse_opt): Handle 'o' case.
31943         (main): If output_dir is non-NULL use it as a prefix
31944         otherwise use "".
31945         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
31947 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31949         [BZ #10060, #10062]
31950         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
31951         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
31952         fail configure if __sync_val_compare_and_swap is not inlined.
31953         * sysdeps/i386/configure: Regenerate.
31954         * configure.in: Build for i686 when configured for i386.
31955         * configure: Regenerate.
31956         * README: Remove i386 reference.
31958 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31960         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
31961         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31963 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
31965         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
31966         (lmsnanval): New variables.
31967         (F): Add conversion tests.
31968         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
31969         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
31971         * stdio-common/tstdiomisc.c (F): Properly collect individual
31972         tests' results.
31974         [BZ #14686, #15336]
31975         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
31976         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
31977         Instead, use input NaN values or generate a qNaN by arithmetic
31978         operation.  Also fix bugs to comply with the standard.
31979         * math/libm-test.inc (remainder_test): Add more tests.
31981         [BZ #15335, #15342]
31982         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
31983         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
31984         input NaN values or generate a qNaN by arithmetic operation.
31986         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
31987         unreachable code.
31989         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
31990         definitions.
31992 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
31994         [BZ #14478]
31995         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
31996         underflowed result.
31997         * math/s_cexpf.c (__cexpf): Likewise.
31998         * math/s_cexpl.c (__cexpl): Likewise.
31999         * math/libm-test.inc (cexp_test): Add more tests.
32001 2013-04-03  Andreas Schwab  <schwab@suse.de>
32003         [BZ #15330]
32004         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
32005         order arrays from heap if bigger than alloca cutoff.
32007 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
32009         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
32010         (SNAN_TESTS_double): Refer to GCC PR56831.
32011         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
32012         GCC PR56828.
32014 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32016         * Rules (bench): Move bench.out after the run is complete.
32018         * Rules (bench): Echo currently running benchmark.
32020         * benchtests/Makefile (bench): Add atan and slowatan.
32021         * benchtests/atan-inputs: New file.
32022         * benchtests/slowatan-inputs: New file.
32023         * benchtests/slowatan.c: New file.
32025         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
32026         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
32027         its value.
32029         [BZ #15305]
32030         * sysdeps/unix/sysv/linux/kernel-features.h
32031         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
32032         __ASSUME_XFS_RESTRICTED_CHOWN.
32033         * sysdeps/unix/sysv/linux/pathconf.c
32034         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32035         Save and restore errno.
32037 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
32039         [BZ #15327]
32040         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
32041         arguments using __kernel_casinh.
32042         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
32043         arguments using __kernel_casinhf.
32044         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
32045         arguments using __kernel_casinhl.
32046         * math/libm-test.inc (cacosh_test): Add more tests.
32047         * sysdeps/i386/fpu/libm-test-ulps: Update.
32048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32050 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32052         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
32053         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
32055         * bench/Makefile (bench): Add sin and slowsin.
32056         * benchtests/sin-inputs: New file.
32057         * benchtests/slowsin-inputs: New file.
32058         * benchtests/slowsin.c: New file.
32060         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
32061         (bench): Add slowexp and slowpow.
32062         (exp-ITER): Increase iterations.
32063         (pow-ITER): Likewise.
32064         * benchtests/exp-inputs: Change input.
32065         * benchtests/pow-inputs: Likewise.
32066         * benchtests/slowexp-inputs: New file.
32067         * benchtests/slowexp.c: New file.
32068         * benchtests/slowpow-inputs: New file.
32069         * benchtests/slowpow.c: New file.
32071 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32073         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
32074         instructions.
32075         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32076         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
32077         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32078         * benchtests/Makefile: Add rint benchtest.
32079         * benchtests/rint-inputs: Input for rint benchtest.
32081 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
32083         * Versions.def (libm): Add GLIBC_2.18.
32084         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
32085         hidden libm prototypes.
32086         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
32087         * math/Makefile (libm-calls): Add s_issignaling.
32088         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
32089         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
32090         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
32091         declaration.
32092         * math/math.h [__USE_GNU] (issignaling): New macro.
32093         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
32094         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
32095         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
32096         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
32097         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
32098         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
32099         * manual/arith.texi (issignaling): New section.
32100         * manual/libm-err-tab.pl (@all_functions): Update comment.
32101         * math/gen-libm-test.pl (parse_args): Apply special handling for
32102         issignaling.
32103         * math/libm-test.inc (print_float, issignaling_test): New
32104         functions.
32105         (check_float_internal): Add issignaling checks.
32106         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
32107         default definition.
32108         * sysdeps/powerpc/math-tests.h: New file.
32109         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
32110         tests.
32111         * math/test-snan.c (TEST_FUNC): Likewise.
32113 2013-03-30  David S. Miller  <davem@davemloft.net>
32115         * po/de.po: Update from translation team.
32117 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
32119         [BZ #10357]
32120         * math/k_casinh.c (__kernel_casinh): Handle arguments with
32121         imaginary part less than 1.0 and real part less than 0.5
32122         specially.
32123         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32124         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32125         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
32126         (cacos_test): Add more tests.
32127         (casin_test): Likewise.
32128         (casinh_test): Likewise.
32129         * sysdeps/i386/fpu/libm-test-ulps: Update.
32130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32132 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32134         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
32135         ONE with its value.
32137         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
32138         (__pow_mp): Replace ONE and MONE with their values.
32139         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32140         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
32141         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32142         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
32143         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32144         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32146         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
32148         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
32149         (__pow_mp): Replace ZERO and MZERO with their values.
32150         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32151         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32152         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32153         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32154         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32155         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
32156         (__sqr): Likewise.
32158         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
32160         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
32162 2013-03-28  Roland McGrath  <roland@hack.frob.com>
32164         * include/stdlib.h [!SHARED] (__call_tls_dtors):
32165         Declare with __attribute__ ((weak)).
32166         * stdlib/exit.c (__libc_atexit) [!SHARED]:
32167         Call __call_tls_dtors only if it's not NULL.
32169 2013-03-28  Roland McGrath  <roland@hack.frob.com>
32171         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
32172         didn't do it already, then set _dl_phdr and _dl_phnum based on the
32173         magic __ehdr_start linker symbol if it's defined.
32174         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
32175         them up here if it was already done.
32177         * elf/dl-support.c (_dl_phdr): Make pointer to const.
32178         (_dl_aux_init): Use const in cast when setting it.
32179         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
32180         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
32181         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
32183         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
32184         Declare them here.
32185         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
32186         * csu/libc-tls.c: Nor here.
32187         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
32189         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
32190         (__libc_message): Never call vsyslog.
32192 2013-03-28  Alan Modra  <amodra@gmail.com>
32194         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
32195         Define as empty.
32196         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
32197         Likewise.
32199 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32201         [BZ #15214]
32202         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
32203         underflow.
32204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32206 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32208         [BZ #15304]
32209         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32210         Don't add gid passed as argument.
32212         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
32214 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
32216         [BZ #15307]
32217         * math/k_casinh.c (__kernel_casinh): Handle arguments with
32218         imaginary part between 1.0 and 1.5 and real part less than 0.5
32219         specially.
32220         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32221         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32222         * math/libm-test.inc (cacos_test): Add more tests.
32223         (casin_test): Likewise.
32224         (casinh_test): Likewise.
32225         * sysdeps/i386/fpu/libm-test-ulps: Update.
32226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32228 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32230         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
32231         constants.
32232         (norm): Likewise.
32233         (denorm): Likewise.
32234         (__dbl_mp): Likewise.
32235         (add_magnitudes): Likewise.
32236         (sub_magnitudes): Likewise.
32237         (__add): Likewise.
32238         (__sub): Likewise.
32239         (__mul): Likewise.
32240         (__sqr): Likewise.
32241         (__inv): Likewise.
32242         (__dvd): Likewise.
32244         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
32245         commented code.
32246         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
32247         (__dubcos): Likewise.
32248         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
32249         (__ieee754_acos): Likewise.
32250         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32251         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
32252         (__exp1): Likewise.
32253         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32254         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32255         (log1): Likewise.
32256         (my_log2): Likewise.
32257         (checkint): Likewise.
32258         * sysdeps/ieee754/dbl-64/e_remainder.c
32259         (__ieee754_remainder): Likewise.
32260         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32261         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
32262         (bsloww): Likewise.
32263         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32265         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32266         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
32267         MANTISSA_STORE_T to store computations on mantissa.  Use
32268         macros for rounding and division.
32269         (denorm): Likewise.
32270         (__dbl_mp): Likewise.
32271         (add_magnitudes): Likewise.
32272         (sub_magnitudes): Likewise.
32273         (__mul): Likewise.
32274         (__sqr): Likewise.
32275         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
32276         powers of two in terms of TWOPOW macro.
32277         (mp_no): Make type of mantissa as MANTISSA_T.
32278         [!RADIXI]: Define RADIXI.
32279         [!TWO52]: Define TWO52.
32280         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32282 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32284         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
32285         llroundl symbol when building for PPC32.
32287 2013-03-24  Mark H Weaver  <mhw@netris.org>
32289         * manual/arith.texi (Normalization Functions): Fix prototypes for
32290         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
32292 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32294         [BZ #13889]
32295         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
32296         high value to check if expl overflow.
32297         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
32298         to check for underflow and overflow.
32299         * math/libm-test.inc: Add exp test.
32301 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
32303         [BZ #11120]
32304         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
32305         with NOT_IN_libc.
32307 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32309         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
32310         symbol.
32312 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
32314         * math/gen-libm-test.pl (parse_args, special_functions): Properly
32315         wrap blocks consisting of several statements.
32317         * sysdeps/generic/math-tests.h: New file.
32318         * sysdeps/i386/fpu/math-tests.h: Likewise.
32319         * math/test-snan.c: Include it.
32320         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
32322 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
32324         [BZ #15285]
32325         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
32326         (__ieee754_j0l): Do not improve calculations using cos of twice
32327         input for inputs above LDBL_MAX / 2.0L.
32328         (__ieee754_y0l): Likewise.
32329         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
32330         (__ieee754_j1l): Do not improve calculations using cos of twice
32331         input for inputs above LDBL_MAX / 2.0L.
32332         (__ieee754_y1l): Likewise.
32333         * math/libm-test.inc (j0_test): Add another test.
32334         (j1_test): Likewise.
32335         (y0_test): Likewise.
32336         (y1_test): Likewise.
32337         * sysdeps/i386/fpu/libm-test-ulps: Update.
32339 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32341         * Rules ($(objpfx)bench-%.c): Include code from a C source
32342         file.
32344 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
32346         [BZ #15287]
32347         * math/k_casinh.c (__kernel_casinh): Handle arguments with
32348         imaginary part 1.0 and real part less than 0.5 specially.
32349         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32350         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32351         * math/libm-test.inc (cacos_test): Add more tests.
32352         (casin_test): Likewise.
32353         (casinh_test): Likewise.
32354         * sysdeps/i386/fpu/libm-test-ulps: Update.
32355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32357 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32359         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
32360         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
32362 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
32364         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
32365         * config.make.in (config-cflags-sse4): Remove variable.
32366         (config-cflags-avx): Likewise.
32367         (config-cflags-sse2avx): Likewise.
32368         (config-cflags-novzeroupper): Likewise.
32369         (config-asflags-i686): Likewise.
32370         (have-mfma4): Likewise.
32371         (have-as-vis3): Likewise.
32372         (MIG): Likewise.
32373         * configure.in (MIG): Do not AC_SUBST.
32374         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
32375         (libc_cv_cc_sse4): Do not AC_SUBST.
32376         (libc_cv_cc_avx): Likewise.
32377         (libc_cv_cc_sse2avx): Likewise.
32378         (libc_cv_cc_novzeroupper): Likewise.
32379         (libc_cv_cc_fma4): Likewise.
32380         (libc_cv_as_i686): Likewise.
32381         (libc_cv_sparc_as_vis3): Likewise.
32382         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
32383         LIBC_CONFIG_VAR.
32384         (config-asflags-i686): Likewise.
32385         (config-cflags-avx): Likewise.
32386         (config-cflags-sse2avx): Likewise.
32387         (have-mfma4): Likewise.
32388         (config-cflags-novzeroupper): Likewise.
32389         * sysdeps/mach/configure.in (MIG): Likewise.
32390         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
32391         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
32392         LIBC_CONFIG_VAR.
32393         (config-cflags-avx): Likewise.
32394         (config-cflags-sse2avx): Likewise.
32395         (have-mfma4): Likewise.
32396         (config-cflags-novzeroupper): Likewise.
32397         * configure: Regenerated.
32398         * sysdeps/i386/configure: Likewise.
32399         * sysdeps/mach/configure: Likewise.
32400         * sysdeps/sparc/configure: Likewise.
32401         * sysdeps/x86_64/configure: Likewise.
32403 2013-03-20  Roland McGrath  <roland@hack.frob.com>
32405         [BZ #14812]
32406         * locale/programs/localedef.c (options): Put N_ translation marker
32407         on argument names, not just descriptions.
32409 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32411         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
32413 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
32415         [BZ #14176]
32416         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
32418 2013-03-19  Roland McGrath  <roland@hack.frob.com>
32420         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
32421         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
32422         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
32423         [!BEFORE_ABORT] (before_abort): New function.
32424         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
32425         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
32426         (writev_for_fatal): New function.
32427         (WRITEV_FOR_FATAL): New macro; call that.
32428         (backtrace_and_maps): New function.
32429         (BEFORE_ABORT): New macro; call that.
32430         (struct str_list): Type removed.
32431         (__libc_message, __libc_fatal): Functions removed.
32432         Include <sysdeps/posix/libc_fatal.c> instead.
32434 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
32436         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
32437         constants.
32438         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
32439         double constants.
32441 2013-03-19  Andreas Schwab  <schwab@suse.de>
32443         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
32444         * sysdeps/gnu/configure: Regenerate.
32446         * configure.in: Substitute libc_cv_rtlddir.
32447         * configure: Regenerate.
32448         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
32449         * Makeconfig (rtlddir, inst_rtlddir): New variables.
32450         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
32451         * elf/Makefile (install-others, CFLAGS-interp.c)
32452         (ldso_install, common-ldd-rewrite): Likewise.
32453         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
32454         $(inst_slibdir)/$(rtld-installed-name).
32455         * scripts/rellns-sh: Add -p option.
32456         * Makerules (make-shlib-link): Use rellns-sh to get relative name
32457         for source.
32459 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32461         * manual/nptl.texi: Renamed to ...
32462         * manual/threads.texi: ... this.
32463         * manual/Makefile (chapters): Update.
32465 2013-03-18  Roland McGrath  <roland@hack.frob.com>
32467         [BZ #14812]
32468         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
32469         on argument names, not just descriptions.
32470         * malloc/memusagestat.c (options): Likewise.
32471         * nss/getent.c (options): Likewise.
32473 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
32475         [BZ #14812]
32476         * iconv/iconv_prog.c (options): Put N_ translation marker
32477         on argument names, not just descriptions.
32478         * iconv/iconvconfig.c (options): Likewise.
32480 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
32482         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
32483         implementation which is faster on all x86_64 architectures.
32484         Tested on AMD, Intel Nehalem, SNB, IVB.
32485         * sysdeps/x86_64/strnlen.S: Likewise.
32487         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32488         Remove all multiarch strlen and strnlen versions.
32489         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
32490         Remove strlen and strnlen related parts.
32492         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
32493         Inline strlen part.
32494         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32496         * sysdeps/x86_64/multiarch/strlen.S: Remove.
32497         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
32498         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
32499         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
32500         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32501         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
32503 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
32505         * manual/memory.texi (Malloc Tunable Parameters):
32506         Sort parameters alphabetically. Add comments for missing entries.
32508 2013-03-17  David S. Miller  <davem@davemloft.net>
32510         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32512 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
32514         [BZ #15283]
32515         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
32516         for arguments at most half maximum finite value.
32517         * math/libm-test.inc (j0_test): Add more tests.
32518         (j1_test): Likewise.
32519         (y0_test): Likewise.
32520         (y1_test): Likewise.
32521         * sysdeps/i386/fpu/libm-test-ulps: Update.
32522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32524         [BZ #14155]
32525         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
32526         1 / x and functions P and Q for arguments above 0x1p256L.
32527         (__ieee754_y0l): Likewise.
32528         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
32529         (__ieee754_y1l): Likewise.
32530         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
32531         (j1_test): Likewise.
32532         (y0_test): Likewise.
32533         (y1_test): Likewise.
32535 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
32537         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
32538         variable.
32540 2013-03-15  Roland McGrath  <roland@hack.frob.com>
32542         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
32543         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
32544         zero since it's initialized to EXEC_PAGESIZE.
32546         * sysdeps/unix/sysv/linux/ldsodefs.h
32547         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
32548         * sysdeps/generic/ldsodefs.h: ... here.
32550 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
32552         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
32554         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
32555         math/test-snan.c.
32556         * math/test-snan.c: Renamed from
32557         sysdeps/powerpc/fpu/test-powerpc-snan.c.
32558         * math/Makefile (tests): Add test-snan.
32559         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
32560         test-powerpc-snan.
32562         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
32563         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
32564         functions.
32565         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
32566         __builtin_nan family of functions.
32567         * math/libm-test.inc (initialize): Initialize qnan_value with
32568         __builtin_nan family of functions.
32569         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
32570         Remove variables.
32571         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
32572         Remove functions.
32573         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
32574         storage class.  Initialize qNaN_var and sNaN_var with
32575         __builtin_nan and __builtin_nans families of functions,
32576         respectively.
32578         * math/libm-test.inc (acosh_test): Also test with qNaN input.
32579         (sqrt_test): Remove duplicate test with qNaN input.
32580         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
32581         (round_test, signbit_test, significand_test): Note missing +/-Inf
32582         as well as qNaN tests.
32584         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
32585         qNaN_var.  Fix a few strings, too.
32586         * math/libm-test.inc (nan_value): Rename to qnan_value.
32587         * math/gen-libm-test.pl (%beautify): Adjust to that.
32588         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
32589         * math/test-misc.c (main): Likewise.
32590         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
32591         to __qnan_bytes, and __qnan_union, respectively.
32592         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
32593         Likewise.
32594         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
32595         and lqnanval, respectively.
32596         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
32597         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
32598         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
32599         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
32601         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
32602         * math/test-misc.c (main) [__x86_64__]: Enable test for long
32603         doubles.
32605         * math/test-misc.c (main): Fix copy'n'pastos.
32606         * misc/tst-efgcvt.c (special): Likewise.
32608         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
32609         Remove declarations.
32611 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32613         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
32614         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
32615         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
32616         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
32618 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32620         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
32621         macro to return vdso values correctly in IFUNC implementations.
32622         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
32623         Optimization by using IFUNC.
32625 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32626             Richard Henderson  <rth@redhat.com>
32627             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32629         * Makefile.in (bench): New target.
32630         * NEWS: Mention the benchmark framework.
32631         * Rules (bench): Likewise.
32632         (binaries-bench): Generate binaries for functions to
32633         benchmark.
32634         * benchtests/Makefile: New makefile for benchmark tests.
32635         * benchtests/bench-skeleton.c: New skeleton file for benchmark
32636         programs.
32637         * benchtests/exp-inputs: New input file for EXP function.
32638         * benchtests/pow-inputs: New input file for POW function.
32639         * scripts/bench.pl: New script to generate source files for
32640         benchmark programs.
32642 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32644         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32645         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
32646         computations on mantissa.  Use macros for rounding and
32647         division.
32648         (denorm): Likewise.
32649         (__dbl_mp): Likewise.
32650         (add_magnitudes): Likewise.
32651         (sub_magnitudes): Likewise.
32652         (__mul): Likewise.
32653         (__sqr): Likewise.
32654         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
32655         powers of two in terms of TWOPOW macro.
32656         (mp_no): Make type of mantissa as MANTISSA_T.
32657         [!RADIXI]: Define RADIXI.
32658         [!TWO52]: Define TWO52.
32659         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32661         * manual/nptl.texi (cindex): Modify threads to pthreads.
32663 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
32665         * sysdeps/x86_64/preconfigure: Regenerated.
32667 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
32669         [BZ #14155]
32670         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
32671         0x1p28 and above.
32672         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
32673         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
32674         0x1p28 and above.
32675         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
32676         * math/libm-test.inc (j0_test): Do not allow one spurious
32677         underflow exception.
32678         (y1_test): Likewise.
32680 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32682         * manual/Makefile (chapters): Add nptl.
32683         * manual/debug.texi (Debugging Support): Add link to Threads
32684         chapter.
32685         * manual/nptl.texi: New file.
32687         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
32689 2013-03-14  Petr Baudis  <pasky@ucw.cz>
32691         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
32692         for non-NULL pointer before the memory validity test. Pointed
32693         out by Holger Brunck <holger.brunck@keymile.com>.
32695 2013-03-13  Andreas Schwab  <schwab@suse.de>
32697         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
32698         instead of .os.
32700 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
32702         * timezone/zic.c: Update from tzcode 2013b.
32704 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
32706         * manual/install.texi (Configuring and compiling):
32707         Mention i686 and i586.
32708         * INSTALL: Regenerate.
32710 2013-03-12  Roland McGrath  <roland@hack.frob.com>
32712         * sysdeps/init_array/elf-init.c: New file.
32713         * csu/elf-init.c
32714         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
32715         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
32717         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
32718         __gmon_start__ as global, but as static with a .preinit_array pointer.
32719         * sysdeps/init_array/gmon-start.c: New file.  Use that.
32720         * sysdeps/init_array/crti.S: New file, empty except for comments.
32721         * sysdeps/init_array/crtn.S: Likewise.
32723 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
32725         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
32726         definining bcopy.
32727         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32728         Remove Prefer_SSE_for_memop.
32729         * sysdeps/x86_64/multiarch/init-arch.h: Remove
32730         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
32731         HAS_PREFER_SSE_FOR_MEMOP.
32732         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
32733         memset-x86-64.
32734         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32735         Remove bzero, memset ifunc support.
32736         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
32737         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
32738         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32739         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32741 2013-03-11  Andreas Schwab  <schwab@suse.de>
32743         [BZ #15234]
32744         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
32745         by SHLIB_COMPAT.
32746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
32747         (GLIBC_2.16): Remove pthread_atfork.
32749 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32751         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
32752         (ptestcases.h): Likewise.
32754 2013-03-08  Roland McGrath  <roland@hack.frob.com>
32756         * Makeconfig ($(common-objpfx)config.status): Depend on
32757         sysdeps/*/preconfigure{,.in} too.
32759 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
32761         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
32762         (__free_hook): Use void * instead of __malloc_ptr_t.
32763         (__malloc_hook): Likewise.
32764         (__realloc_hook): Likewise.
32765         (__memalign_hook): Likewise.
32766         (__after_morecore_hook): Likewise.
32767         * malloc/arena.c (save_malloc_hook): Likewise.
32768         (save_free_hook): Likewise.
32769         * malloc/hooks.c (malloc_hook_ini): Likewise.
32770         (realloc_hook_ini): Likewise.
32771         (memalign_hook_ini): Likewise.
32772         * malloc/malloc.c (malloc_hook_ini): Likewise.
32773         (realloc_hook_ini): Likewise.
32774         (memalign_hook_ini): Likewise.
32775         (__free_hook): Likewise.
32776         (__malloc_hook): Likewise.
32777         (__realloc_hook): Likewise.
32778         (__memalign_hook): Likewise.
32779         (__libc_malloc): Likewise.
32780         (__libc_free): Likewise.
32781         (__libc_realloc): Likewise.
32782         (__libc_memalign): Likewise.
32783         (__libc_valloc): Likewise.
32784         (__libc_pvalloc): Likewise.
32785         (__libc_calloc): Likewise.
32786         (__posix_memalign): Likewise.
32787         * malloc/morecore.c (__sbrk): Likewise.
32788         (__default_morecore): Likewise.
32790         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
32792         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
32793         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
32794         __malloc_ptrdiff_t.
32796         * malloc/malloc.h (__malloc_size_t): Remove macro.
32797         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
32798         __malloc_size_t.
32799         (old_memalign_hook): Likewise.
32800         (old_realloc_hook): Likewise.
32801         (struct hdr): Likewise.
32802         (flood): Likewise.
32803         (mallochook): Likewise.
32804         (memalignhook): Likewise.
32805         (reallochook): Likewise.
32806         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
32807         (tr_old_realloc_hook): Likewise.
32808         (tr_old_memalign_hook): Likewise.
32809         (tr_mallochook): Likewise.
32810         (tr_reallochook): Likewise.
32811         (tr_memalignhook): Likewise.
32813 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32815         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
32816         default_ldbl_pack and using as default implementation.
32817         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
32818         implementation.
32819         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
32820         redundant definition.
32821         (ldbl_insert_mantissa): Likewise.
32822         (ldbl_canonicalize): Likewise.
32823         (ldbl_nearbyint): Likewise.
32824         (ldbl_pack): Rename to ldbl_pack_ppc.
32825         (ldbl_unpack): Rename to ldbl_unpack_ppc.
32826         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
32827         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
32829 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32831         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
32832         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
32833         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
32834         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
32835         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
32836         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
32837         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
32838         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
32840 2013-03-07  Andreas Jaeger  <aj@suse.de>
32842         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32843         bits/mman-linux.h.
32845 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
32847         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
32848         Include mpa.h and declare __MPEXP.
32849         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
32850         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
32851         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
32852         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
32853         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
32854         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
32855         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
32857         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
32858         (__slowpow): Use long double EXPL and LOGL functions to
32859         compute POW.
32860         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
32861         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
32862         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
32863         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
32864         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
32865         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
32867         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
32868         intermediate variable to calculate exponent.
32869         (__sqr): Likewise.
32870         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32871         Likewise.
32872         (__sqr): Likewise.
32874         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
32875         [!NO__SQR]: Define __sqr.
32876         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
32877         and NO__SQR.  Remove all code except __mul and __sqr.  Include
32878         sysdeps/ieee754/dbl-64/mpa.c.
32879         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32881         [BZ #12723]
32882         * posix/Makefile (tests): Add tst-pathconf.
32883         * posix/tst-pathconf.c: New test case.
32884         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
32885         _PC_PIPE_BUF.
32886         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
32888 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
32890         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
32892 2013-03-06  Andreas Jaeger  <aj@suse.de>
32894         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
32895         definition via __MAP_ANONYMOUS.
32897         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
32898         it's not part of Linux headers.
32900         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
32901         (MAP_HUGE_MASK): Define.
32903         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32904         Define.
32905         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32906         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32907         Define.
32908         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32909         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32910         Define.
32911         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32912         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
32913         Define.
32914         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32916         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
32917         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
32918         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
32919         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
32920         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
32921         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
32923         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32924         Handle f2fs.
32926         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32927         Handle f2fs and efivarfs.
32929         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
32930         f2fs.
32932         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
32933         (EFIVARFS_MAGIC): Add.
32934         (F2FS_LINK_MAX): Add.
32936 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32938         * stdio-common/vfprintf.c: Replace __builtin_expect with
32939         __glibc_unlikely.
32941 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
32943         [BZ #13550]
32944         * sysdeps/generic/bp-sym.h: Remove file.
32945         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
32946         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
32947         <bp-sym.h> and <bp-asm.h>.
32948         (__longjmp): Don't use BP_SYM.
32949         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
32950         and <bp-asm.h>.
32951         (memcpy): Don't use BP_SYM.
32952         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
32953         <bp-sym.h> and <bp-asm.h>.
32954         (memcpy): Don't use BP_SYM.
32955         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
32956         <bp-asm.h>.
32957         (memcpy): Don't use BP_SYM.
32958         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
32959         <bp-asm.h>.
32960         (memset): Don't use BP_SYM.
32961         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32962         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32963         (__bzero): Don't use BP_SYM.
32964         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32965         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32966         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
32967         <bp-sym.h> and <bp-asm.h>.
32968         (memcmp): Don't use BP_SYM.  Remove comment about bounded
32969         pointers.
32970         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
32971         <bp-sym.h> and <bp-asm.h>.
32972         (memcpy): Don't use BP_SYM.
32973         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
32974         <bp-sym.h> and <bp-asm.h>.
32975         (memset): Don't use BP_SYM.
32976         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32977         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32978         (__bzero): Don't use BP_SYM.
32979         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32980         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32981         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
32982         <bp-sym.h> and <bp-asm.h>.
32983         (strncmp): Don't use BP_SYM.  Remove comment about bounded
32984         pointers.
32985         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
32986         <bp-sym.h> and <bp-asm.h>.
32987         (memcpy): Don't use BP_SYM.
32988         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
32989         <bp-sym.h> and <bp-asm.h>.
32990         (memset): Don't use BP_SYM.
32991         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32992         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32993         (__bzero): Don't use BP_SYM.
32994         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32995         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32996         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
32997         <bp-sym.h> and <bp-asm.h>.
32998         (__memchr): Don't use BP_SYM.
32999         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
33000         <bp-sym.h> and <bp-asm.h>.
33001         (memcmp): Don't use BP_SYM.  Remove comment about bounded
33002         pointers.
33003         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
33004         <bp-sym.h> and <bp-asm.h>.
33005         (memcpy): Don't use BP_SYM.
33006         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
33007         <bp-sym.h> and <bp-asm.h>.
33008         (__mempcpy): Don't use BP_SYM.
33009         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
33010         <bp-sym.h> and <bp-asm.h>.
33011         (__memrchr): Don't use BP_SYM.
33012         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
33013         <bp-sym.h> and <bp-asm.h>.
33014         (memset): Don't use BP_SYM.
33015         (__bzero): Likewise.
33016         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
33017         <bp-sym.h> and <bp-asm.h>.
33018         (__rawmemchr): Don't use BP_SYM.
33019         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
33020         <bp-sym.h> and <bp-asm.h>.
33021         (__STRCMP): Don't use BP_SYM.
33022         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
33023         <bp-sym.h> and <bp-asm.h>.
33024         (strchr): Don't use BP_SYM.
33025         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
33026         <bp-sym.h> and <bp-asm.h>.
33027         (__strchrnul): Don't use BP_SYM.
33028         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
33029         <bp-sym.h> and <bp-asm.h>.
33030         (strlen): Don't use BP_SYM.
33031         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
33032         <bp-sym.h> and <bp-asm.h>.
33033         (strncmp): Don't use BP_SYM.  Remove comment about bounded
33034         pointers.
33035         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
33036         <bp-sym.h> and <bp-asm.h>.
33037         (__strnlen): Don't use BP_SYM.
33038         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
33039         <bp-sym.h> and <bp-asm.h>.
33040         (__GI__setjmp): Don't use BP_SYM.
33041         (_setjmp): Likewise.
33042         (__sigsetjmp): Likewise.
33043         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
33044         (L(start_addresses)): Don't use BP_SYM.
33045         (_start): Likewise.
33046         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
33047         <bp-asm.h>.
33048         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
33049         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
33050         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33051         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33052         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
33053         <bp-asm.h>.
33054         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
33055         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
33056         about bounded pointers.
33057         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33058         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33059         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
33060         <bp-asm.h>.
33061         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
33062         about bounded pointers.  Remove GKM FIXME comments.
33063         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33064         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
33065         <bp-asm.h>.
33066         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
33067         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
33068         Remove GKM FIXME comments.
33069         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33070         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33071         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
33072         <bp-asm.h>.
33073         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
33074         about bounded pointers.  Remove GKM FIXME comment.
33075         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
33076         and <bp-asm.h>.
33077         (strncmp): Don't use BP_SYM.  Remove comment about bounded
33078         pointers.
33079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
33080         <bp-sym.h> and <bp-asm.h>.
33081         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
33083         <bp-sym.h> and <bp-asm.h>.
33084         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
33085         comment.
33087 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33089         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
33090         call free(NULL).
33092 2013-03-05  David S. Miller  <davem@davemloft.net>
33094         * po/es.po: Update from translation team.
33096 2013-03-05  Andreas Jaeger  <aj@suse.de>
33098         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
33099         <bits/mman-linux.h>.
33100         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33101         is fine.
33102         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
33103         <bits/mman-linux.h> to end of file.
33104         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33105         is fine.
33106         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
33107         <bits/mman-linux.h> to end of file.
33108         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33109         is fine.
33110         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
33111         <bits/mman-linux.h> to end of file.
33113         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
33114         (MCL_CURRENT, MCL_FUTURE): Define here.
33116 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33118         [BZ #15232]
33119         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
33120         attribute_hidden.
33121         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33123 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33125         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
33126         fourth parameter needed for rt_sigprocmask syscall.
33127         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33128         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33129         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
33130         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33131         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33132         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
33134 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
33136         [BZ #13550]
33137         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
33138         comment about bounded pointers.
33139         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
33140         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
33142 2013-03-04  Andreas Jaeger  <aj@suse.de>
33144         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
33145         common definitions.
33147         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
33148         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
33149         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
33150         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33151         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33152         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33154 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33156         [BZ #15055]
33157         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33158         __ieee754_sqrl instead of __sqrl.
33160 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
33162         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
33163         * sysdeps/powerpc/fpu_control.h: ... here.
33164         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
33165         * sysdeps/powerpc/bits/fenvinline.h: ... here.
33166         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
33167         * sysdeps/powerpc/bits/mathinline.h: ... here.
33169 2013-03-01  Roland McGrath  <roland@hack.frob.com>
33171         * elf/dl-hwcaps.c (_dl_important_hwcaps):
33172         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
33173         to just [NEED_DL_SYSINFO_DSO].
33174         * elf/dl-support.c: Likewise.
33175         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33176         * elf/rtld.c (dl_main): Likewise.
33177         * elf/setup-vdso.h (setup_vdso): Likewise.
33178         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
33179         * sysdeps/unix/sysv/linux/dl-sysdep.c
33180         (_dl_discover_osversion): Likewise.
33182 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
33184         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
33185         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33187 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33189         * NEWS: Mention libm performance improvements and non-x86 PI
33190         futex support.
33192         * csu/libc-start.c (__pthread_initialize_minimal): Change
33193         function arguments.
33194         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33196 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
33198         [BZ #13550]
33199         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
33200         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
33201         <bp-sym.h> and <bp-asm.h>.
33202         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33203         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
33204         and <bp-asm.h>.
33205         (memcpy): Don't use BP_SYM.
33206         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
33207         <bp-asm.h>.
33208         (__mpn_add_n): Don't use BP_SYM.
33209         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
33210         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
33211         and <bp-asm.h>.
33212         (__mpn_addmul_1): Don't use BP_SYM.
33213         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33214         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
33215         <bp-sym.h>.
33216         (_setjmp): Don't use BP_SYM.
33217         (__novmx_setjmp): Likewise.
33218         (__GI__setjmp): Likewise.
33219         (__vmx_setjmp): Likewise.
33220         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
33221         <bp-sym.h>.
33222         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
33223         (__bzero): Don't use BP_SYM.
33224         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33225         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33226         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
33227         <bp-sym.h> and <bp-asm.h>.
33228         (memcpy): Don't use BP_SYM.
33229         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
33230         <bp-sym.h> and <bp-asm.h>.
33231         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33232         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
33233         <bp-sym.h> and <bp-asm.h>.
33234         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33235         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
33236         <bp-asm.h>.
33237         (__mpn_lshift): Don't use BP_SYM.
33238         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33239         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
33240         <bp-asm.h>.
33241         (memset): Don't use BP_SYM.
33242         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33243         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33244         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
33245         <bp-asm.h>.
33246         (__mpn_mul_1): Don't use BP_SYM.
33247         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33248         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
33249         <bp-sym.h> and <bp-asm.h>.
33250         (memcmp): Don't use BP_SYM.
33251         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
33252         <bp-sym.h> and <bp-asm.h>.
33253         (memcpy): Don't use BP_SYM.
33254         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
33255         <bp-sym.h> and <bp-asm.h>.
33256         (memset): Don't use BP_SYM.
33257         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
33258         <bp-sym.h> and <bp-asm.h>.
33259         (strncmp): Don't use BP_SYM.
33260         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
33261         <bp-sym.h> and <bp-asm.h>.
33262         (memcpy): Don't use BP_SYM.
33263         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
33264         <bp-sym.h> and <bp-asm.h>.
33265         (memset): Don't use BP_SYM.
33266         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
33267         <bp-sym.h> and <bp-asm.h>.
33268         (__memchr): Don't use BP_SYM.
33269         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
33270         <bp-sym.h> and <bp-asm.h>.
33271         (memcmp): Don't use BP_SYM.
33272         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
33273         <bp-sym.h> and <bp-asm.h>.
33274         (memcpy): Don't use BP_SYM.
33275         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
33276         <bp-sym.h> and <bp-asm.h>.
33277         (__mempcpy): Don't use BP_SYM.
33278         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
33279         <bp-sym.h> and <bp-asm.h>.
33280         (__memrchr): Don't use BP_SYM.
33281         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
33282         <bp-sym.h> and <bp-asm.h>.
33283         (memset): Don't use BP_SYM.
33284         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
33285         <bp-sym.h> and <bp-asm.h>.
33286         (__rawmemchr): Don't use BP_SYM.
33287         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
33288         <bp-sym.h> and <bp-asm.h>.
33289         (__STRCMP): Don't use BP_SYM.
33290         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
33291         <bp-sym.h> and <bp-asm.h>.
33292         (strchr): Don't use BP_SYM.
33293         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
33294         <bp-sym.h> and <bp-asm.h>.
33295         (__strchrnul): Don't use BP_SYM.
33296         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
33297         <bp-sym.h> and <bp-asm.h>.
33298         (strlen): Don't use BP_SYM.
33299         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
33300         <bp-sym.h> and <bp-asm.h>.
33301         (strncmp): Don't use BP_SYM.
33302         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
33303         <bp-sym.h> and <bp-asm.h>.
33304         (__strnlen): Don't use BP_SYM.
33305         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
33306         <bp-asm.h>.
33307         (__mpn_rshift): Don't use BP_SYM.
33308         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33309         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
33310         <bp-sym.h> and <bp-asm.h>.
33311         (__sigsetjmp): Don't use BP_SYM.
33312         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
33313         (L(start_addresses)): Don't use BP_SYM.
33314         (_start): Likewise.
33315         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
33316         <bp-asm.h>.
33317         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
33318         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33319         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33320         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
33321         <bp-asm.h>.
33322         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
33323         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33324         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33325         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
33326         <bp-asm.h>.
33327         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
33328         comments.
33329         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33330         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
33331         <bp-asm.h>.
33332         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
33333         FIXME comments.
33334         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33335         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33336         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
33337         <bp-asm.h>.
33338         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
33339         comment.
33340         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
33341         and <bp-asm.h>.
33342         (strncmp): Don't use BP_SYM,
33343         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
33344         <bp-asm.h>.
33345         (__mpn_sub_n): Don't use BP_SYM.
33346         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33347         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
33348         and <bp-asm.h>.
33349         (__mpn_submul_1): Don't use BP_SYM.
33350         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
33352         <bp-sym.h> and <bp-asm.h>.
33353         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
33355         <bp-sym.h> and <bp-asm.h>.
33356         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
33357         comment.
33359 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33361         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
33362         Use ZK to minimize writes to Z.
33363         (sub_magnitudes): Simplify code a bit.
33364         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
33365         Use ZK to minimize writes to Z.
33366         (sub_magnitudes): Simplify code a bit.
33368 2013-02-27  Roland McGrath  <roland@hack.frob.com>
33370         * csu/gmon-start.c: Add special exception to license text.
33372 2013-02-27  Richard Henderson  <rth@redhat.com>
33374         * scripts/config.guess: Update from config.git.
33375         * scripts/config.sub: Likewise.
33377 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33379         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
33381         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
33383         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
33385         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
33387         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
33389 2013-02-26  Roland McGrath  <roland@hack.frob.com>
33391         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
33392         [$(build-shared = yes].
33394 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33396         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
33397         (__mul): Reduce iterations for calculating mantissa.
33399         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
33400         MPTWO.
33401         (__mpranred): Likewise.
33403         [BZ #15160]
33404         * malloc/memusagestat.c (main): Draw graphs for heap and stack
33405         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
33407 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
33409         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
33410         Define __attribute__.
33412 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33414         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
33415         unused.
33416         * posix/regex_internal.h (__attribute): Remove.
33417         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
33418         (re_string_context_at): Likewise.
33419         (bitset_not): Use __attribute__ and mark function as possibly
33420         unused.
33421         (bitset_merge): Likewise.
33422         (bitset_mask): Likewise.
33423         (re_string_char_size_at): Likewise.
33424         (re_string_wchar_at): Likewise.
33425         (re_string_elem_size_at): Likewise.
33427 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33429         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
33430         code.
33431         (cc32): Likewise.
33433         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
33434         (__acr): Likewise.
33435         (__cpy): Likewise.
33436         (norm): Likewise.
33437         (denorm): Likewise.
33438         (__dbl_mp): Likewise.
33439         (add_magnitudes): Likewise.
33440         (sub_magnitudes): Likewise.
33441         (__mul): Likewise.
33442         (__inv): Likewise.
33444         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
33445         style.
33447         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
33448         style.
33450         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
33451         code.
33453         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
33454         up changes with default code.
33455         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
33456         Likewise.
33458 2013-02-24  Allan McRae  <allan@archlinux.org>
33460         * manual/socket.texi (The Internet Namespace): Order menu items
33461         to match that in the file.
33463         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
33464         node listing of the info page menu.
33466 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
33468         [BZ #13550]
33469         * sysdeps/i386/bp-asm.h: Remove file.
33470         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
33471         (PARMS): Do not use macros from bp-asm.h.
33472         (S1): Likewise.
33473         (S2): Likewise.
33474         (SIZE): Likewise.
33475         (__mpn_add_n): Do not use BP_SYM
33476         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
33477         "bp-asm.h".
33478         (PARMS): Do not use macros from bp-asm.h.
33479         (S1): Likewise.
33480         (SIZE): Likewise.
33481         (__mpn_addmul_1): Do not use BP_SYM
33482         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
33483         "bp-asm.h".
33484         (PARMS): Do not use macros from bp-asm.h.
33485         (SIGMSK): Likewise.
33486         (_setjmp): Likewise.  Do not use BP_SYM.
33487         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
33488         "bp-asm.h".
33489         (PARMS): Do not use macros from bp-asm.h.
33490         (SIGMSK): Likewise.
33491         (setjmp): Likewise.  Do not use BP_SYM.
33492         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
33493         "bp-asm.h".
33494         (PARMS): Do not use macros from bp-asm.h.
33495         (__frexp): Do not use BP_SYM.
33496         (frexp): Likewise.
33497         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
33498         "bp-asm.h".
33499         (PARMS): Do not use macros from bp-asm.h.
33500         (__frexpf): Do not use BP_SYM.
33501         (frexpf): Likewise.
33502         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
33503         "bp-asm.h".
33504         (PARMS): Do not use macros from bp-asm.h.
33505         (__frexpl): Do not use BP_SYM.
33506         (frexpl): Likewise.
33507         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
33508         "bp-asm.h".
33509         (PARMS): Do not use macros from bp-asm.h.
33510         (__remquo): Do not use BP_SYM.
33511         (remquo): Likewise.
33512         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
33513         "bp-asm.h".
33514         (PARMS): Do not use macros from bp-asm.h.
33515         (__remquof): Do not use BP_SYM.
33516         (remquof): Likewise.
33517         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
33518         "bp-asm.h".
33519         (PARMS): Do not use macros from bp-asm.h.
33520         (__remquol): Do not use BP_SYM.
33521         (remquol): Likewise.
33522         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
33523         "bp-asm.h".
33524         (PARMS): Do not use macros from bp-asm.h.
33525         (DEST): Likewise.
33526         (SRC): Likewise.
33527         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
33528         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
33529         "bp-asm.h".
33530         (PARMS): Do not use macros from bp-asm.h.
33531         (strlen): Do not use BP_SYM.
33532         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
33533         "bp-asm.h".
33534         (PARMS): Do not use macros from bp-asm.h.
33535         (S1): Likewise.
33536         (S2): Likewise.
33537         (SIZE): Likewise.
33538         (__mpn_add_n): Do not use BP_SYM.
33539         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
33540         "bp-asm.h".
33541         (PARMS): Do not use macros from bp-asm.h.
33542         (S1): Likewise.
33543         (SIZE): Likewise.
33544         (__mpn_addmul_1): Do not use BP_SYM.
33545         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
33546         weak_alias.
33547         (bzero): Likewise.
33548         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
33549         "bp-asm.h".
33550         (PARMS): Do not use macros from bp-asm.h.
33551         (S): Likewise.
33552         (SIZE): Likewise.
33553         (__mpn_lshift): Do not use BP_SYM.
33554         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
33555         "bp-asm.h".
33556         (PARMS): Do not use macros from bp-asm.h.
33557         (DEST): Likewise.
33558         (SRC): Likewise.
33559         (LEN): Likewise.
33560         (memcpy): Likewise.  Do not use BP_SYM.
33561         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
33562         libc_hidden_def and weak_alias.
33563         (mempcpy): Do not use BP_SYM in weak_alias.
33564         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
33565         "bp-asm.h".
33566         (PARMS): Do not use macros from bp-asm.h.
33567         (DEST): Likewise.
33568         (LEN): Likewise.
33569         [!BZERO_P] (CHR): Likewise.
33570         (memset): Likewise.  Do not use BP_SYM.
33571         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
33572         "bp-asm.h".
33573         (PARMS): Do not use macros from bp-asm.h.
33574         (S1): Likewise.
33575         (SIZE): Likewise.
33576         (__mpn_mul_1): Do not use BP_SYM.
33577         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
33578         "bp-asm.h".
33579         (PARMS): Do not use macros from bp-asm.h.
33580         (S): Likewise.
33581         (SIZE): Likewise.
33582         (__mpn_rshift): Do not use BP_SYM.
33583         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
33584         "bp-asm.h".
33585         (PARMS): Do not use macros from bp-asm.h.
33586         (STR): Likewise.
33587         (CHR): Likewise.
33588         (strchr): Likewise.  Do not use BP_SYM.
33589         (index): Do not use BP_SYM in weak_alias.
33590         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
33591         "bp-asm.h".
33592         (PARMS): Do not use macros from bp-asm.h.
33593         (DEST): Likewise.
33594         (SRC): Likewise.
33595         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
33596         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
33597         "bp-asm.h".
33598         (PARMS): Do not use macros from bp-asm.h.
33599         (strlen): Do not use BP_SYM.
33600         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
33601         "bp-asm.h".
33602         (PARMS): Do not use macros from bp-asm.h.
33603         (S1): Likewise.
33604         (S2): Likewise.
33605         (SIZE): Likewise.
33606         (__mpn_sub_n): Do not use BP_SYM.
33607         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
33608         "bp-asm.h".
33609         (PARMS): Do not use macros from bp-asm.h.
33610         (S1): Likewise.
33611         (SIZE): Likewise.
33612         (__mpn_submul_1): Do not use BP_SYM.
33613         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
33614         "bp-asm.h".
33615         (PARMS): Do not use macros from bp-asm.h.
33616         (S1): Likewise.
33617         (S2): Likewise.
33618         (SIZE): Likewise.
33619         (__mpn_add_n): Do not use BP_SYM.
33620         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
33621         weak_alias.
33622         (bzero): Likewise.
33623         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
33624         "bp-asm.h".
33625         (PARMS): Do not use macros from bp-asm.h.
33626         (BLK2): Likewise.
33627         (LEN): Likewise.
33628         (memcmp): Do not use BP_SYM.
33629         (bcmp): Do not use BP_SYM in weak_alias.
33630         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
33631         "bp-asm.h".
33632         (PARMS): Do not use macros from bp-asm.h.
33633         (DEST): Likewise.
33634         (SRC): Likewise.
33635         (LEN): Likewise.
33636         (memcpy): Likewise.  Do not use BP_SYM.
33637         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
33638         "bp-asm.h".
33639         (PARMS): Do not use macros from bp-asm.h.
33640         (DEST): Likewise.
33641         (SRC): Likewise.
33642         (LEN): Likewise.
33643         (memmove): Likewise.  Do not use BP_SYM.
33644         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
33645         "bp-asm.h".
33646         (PARMS): Do not use macros from bp-asm.h.
33647         (DEST): Likewise.
33648         (SRC): Likewise.
33649         (LEN): Likewise.
33650         (__mempcpy): Likewise.  Do not use BP_SYM.
33651         (mempcpy): Do not use BP_SYM in weak_alias.
33652         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
33653         "bp-asm.h".
33654         (PARMS): Do not use macros from bp-asm.h.
33655         (DEST): Likewise.
33656         (LEN): Likewise.
33657         [!BZERO_P] (CHR): Likewise.
33658         (memset): Likewise.  Do not use BP_SYM.
33659         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
33660         "bp-asm.h".
33661         (PARMS): Do not use macros from bp-asm.h.
33662         (STR2): Likewise.
33663         (strcmp): Do not use BP_SYM.
33664         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
33665         "bp-asm.h".
33666         (PARMS): Do not use macros from bp-asm.h.
33667         (STR): Likewise.
33668         (DELIM): Likewise.
33669         [USE_AS_STRTOK_R] (SAVE): Likewise.
33670         (FUNCTION): Likewise.  Do not use BP_SYM.
33671         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
33672         aliases.
33673         (strtok_r): Likewise.
33674         (__GI___strtok_r): Likewise.
33675         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
33676         (PARMS): Do not use macros from bp-asm.h.
33677         (S): Likewise.
33678         (SIZE): Likewise.
33679         (__mpn_lshift): Do not use BP_SYM.
33680         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
33681         (PARMS): Do not use macros from bp-asm.h.
33682         (STR): Likewise.
33683         (CHR): Likewise.
33684         (__memchr): Do not use BP_SYM.
33685         (memchr): Do not use BP_SYM in weak_alias.
33686         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
33687         (PARMS): Do not use macros from bp-asm.h.
33688         (BLK2): Likewise.
33689         (LEN): Likewise.
33690         (memcmp): Do not use BP_SYM.
33691         (bcmp): Do not use BP_SYM in weak_alias.
33692         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
33693         (PARMS): Do not use macros from bp-asm.h.
33694         (S1): Likewise.
33695         (SIZE): Likewise.
33696         (__mpn_mul_1): Do not use BP_SYM.
33697         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
33698         "bp-asm.h".
33699         (PARMS): Do not use macros from bp-asm.h.
33700         (STR): Likewise.
33701         (CHR): Likewise.
33702         (__rawmemchr): Do not use BP_SYM.
33703         (rawmemchr): Do not use BP_SYM in weak_alias.
33704         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
33705         (PARMS): Do not use macros from bp-asm.h.
33706         (S): Likewise.
33707         (SIZE): Likewise.
33708         (__mpn_rshift): Do not use BP_SYM.
33709         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
33710         (PARMS): Do not use macros from bp-asm.h.
33711         (SIGMSK): Likewise.
33712         (__sigsetjmp): Likewise.  Do not use BP_SYM.
33713         * sysdeps/i386/start.S: Do not include "bp-sym.h".
33714         (_start): Do not use BP_SYM.
33715         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
33716         (PARMS): Do not use macros from bp-asm.h.
33717         (DEST): Likewise.
33718         (SRC): Likewise.
33719         (__stpcpy): Likewise.  Do not use BP_SYM.
33720         (stpcpy): Do not use BP_SYM in weak_alias.
33721         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
33722         "bp-asm.h".
33723         (PARMS): Do not use macros from bp-asm.h.
33724         (DEST): Likewise.
33725         (SRC): Likewise.
33726         (LEN): Likewise.
33727         (__stpncpy): Likewise.  Do not use BP_SYM.
33728         (stpncpy): Do not use BP_SYM in weak_alias.
33729         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
33730         (PARMS): Do not use macros from bp-asm.h.
33731         (STR): Likewise.
33732         (CHR): Likewise.
33733         (strchr): Likewise.  Do not use BP_SYM.
33734         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
33735         "bp-asm.h".
33736         (PARMS): Do not use macros from bp-asm.h.
33737         (STR): Likewise.
33738         (CHR): Likewise.
33739         (__strchrnul): Likewise.  Do not use BP_SYM.
33740         (strchrnul): Do not use BP_SYM in weak_alias.
33741         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
33742         "bp-asm.h".
33743         (PARMS): Do not use macros from bp-asm.h.
33744         (STOP): Likewise.
33745         (strcspn): Do not use BP_SYM.
33746         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
33747         "bp-asm.h".
33748         (PARMS): Do not use macros from bp-asm.h.
33749         (STR): Likewise.
33750         (STOP): Likewise.
33751         (strpbrk): Likewise.  Do not use BP_SYM.
33752         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
33753         "bp-asm.h".
33754         (PARMS): Do not use macros from bp-asm.h.
33755         (STR): Likewise.
33756         (CHR): Likewise.
33757         (strrchr): Likewise.  Do not use BP_SYM.
33758         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
33759         (PARMS): Do not use macros from bp-asm.h.
33760         (SKIP): Likewise.
33761         (strspn): Do not use BP_SYM.
33762         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
33763         (PARMS): Do not use macros from bp-asm.h.
33764         (STR): Likewise.
33765         (DELIM): Likewise.
33766         (SAVE): Likewise.
33767         (FUNCTION): Likewise.  Do not use BP_SYM.
33768         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
33769         aliases.
33770         (strtok_r): Likewise.
33771         (__GI___strtok_r): Likewise.
33772         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
33773         (PARMS): Do not use macros from bp-asm.h.
33774         (S1): Likewise.
33775         (S2): Likewise.
33776         (SIZE): Likewise.
33777         (__mpn_sub_n): Do not use BP_SYM.
33778         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
33779         "bp-asm.h".
33780         (PARMS): Do not use macros from bp-asm.h.
33781         (S1): Likewise.
33782         (SIZE): Likewise.
33783         (__mpn_submul_1): Do not use BP_SYM.
33784         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
33785         <bp-sym.h>.
33786         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
33787         and <bp-asm.h>.
33788         (PARMS): Do not use macros from bp-asm.h.
33789         (FLAGS): Likewise.
33790         (PTID): Likewise.
33791         (TLS): Likewise.
33792         (CTID): Likewise.
33793         (__clone): Do not use BP_SYM.
33794         (clone): Do not use BP_SYM in weak_alias.
33795         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
33796         and <bp-asm.h>.
33797         (PARMS): Do not use macros from bp-asm.h.
33798         (LEN): Likewise.
33799         (__mmap64): Do not use BP_SYM.
33800         (mmap64): Do not use BP_SYM in weak_alias.
33801         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33802         <bp-sym.h> and <bp-asm.h>.
33803         (PARMS): Do not use macros from bp-asm.h.
33804         (__posix_fadvise64_l64): Do not use BP_SYM.
33805         * sysdeps/unix/sysv/linux/i386/semtimedop.S
33806         (PARMS): Do not use macros from bp-asm.h.
33807         (NSOPS): Likewise.
33808         (semtimedop): Do not use BP_SYM.
33809         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
33810         and <bp-asm.h>.
33812 2013-02-21  Allan McRae  <allan@archlinux.org>
33814         * manual/message.texi (Charset conversion in gettext):
33815         Move @end statement to beginning of line.
33817 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33819         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
33820         static.
33821         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33822         Likewise.
33824         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
33825         (denorm): Likewise.
33826         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
33827         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
33829 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33831         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
33832         tail-call to the resolved function if pltexit isn't needed.
33834 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33836         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
33837         or Y being zero as being unlikely.
33838         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33839         Likewise.
33841 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
33843         * manual/nss.texi (System Databases and Name Service Switch):
33844         Remove frobnicate @pxref.
33846 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
33848         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
33849         __attribute__ ((unused)) to __attribute__ ((__unused__)).
33851 2013-02-20  Petr Machata  <pmachata@redhat.com>
33853         * elf/elf.h (R_ARM_TARGET1): New macro.
33854         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
33855         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
33856         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
33857         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
33858         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
33859         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
33860         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
33861         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
33862         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
33863         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
33864         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
33865         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
33866         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
33867         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
33868         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
33869         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
33870         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
33871         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
33872         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
33873         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
33874         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
33875         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
33876         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
33877         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
33878         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
33879         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
33880         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
33881         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
33882         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
33883         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
33884         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
33885         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
33886         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
33887         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
33888         (R_ARM_THM_GOT_BREL12): Likewise.
33889         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
33890         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
33891         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
33892         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
33893         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
33894         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
33895         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
33896         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
33897         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
33899 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
33901         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
33902         __attribute_used__ to __attribute__ ((unused)).
33904 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33906         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
33907         powerpc mpa.c.
33908         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
33909         comment formatting.
33910         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
33912 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
33914         [BZ #13550]
33915         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
33916         Remove macro.
33917         (ENTER): Remove both macro definitions.
33918         (LEAVE): Likewise.
33919         (CHECK_BOUNDS_LOW): Likewise.
33920         (CHECK_BOUNDS_HIGH): Likewise.
33921         (CHECK_BOUNDS_BOTH): Likewise.
33922         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
33923         (RETURN_BOUNDED_POINTER): Likewise.
33924         (RETURN_NULL_BOUNDED_POINTER): Likewise.
33925         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
33926         (POP_ERRNO_LOCATION_RETURN): Likewise.
33927         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
33928         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33929         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
33930         macros.
33931         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33932         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
33933         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
33934         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
33935         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
33936         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
33937         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
33938         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
33939         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
33940         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
33941         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
33942         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
33943         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33944         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
33945         removed macros.
33946         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33947         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
33948         macros.
33949         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33950         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
33951         * sysdeps/i386/i586/memset.S (memset): Likewise.
33952         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
33953         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33954         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
33955         macros.
33956         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33957         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
33958         Change uses of L(2) to L(out).
33959         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
33960         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
33961         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
33962         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33963         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
33964         removed macros.
33965         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33966         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
33967         macros.
33968         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33969         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
33970         (RETURN): Do not use macro LEAVE.
33971         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
33972         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
33973         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
33974         * sysdeps/i386/i686/memset.S (memset): Likewise.
33975         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
33976         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
33977         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33978         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
33979         Likewise.
33980         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33981         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
33982         L(1_2) and L(1_3) into L(1).
33983         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
33984         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
33985         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33986         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
33987         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33988         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
33989         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
33990         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33991         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
33992         macros.
33993         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
33994         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33995         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
33996         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
33997         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
33998         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33999         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
34000         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
34001         * sysdeps/i386/strcspn.S (strcspn): Likewise.
34002         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
34003         * sysdeps/i386/strrchr.S (strrchr): Likewise.
34004         * sysdeps/i386/strspn.S (strspn): Likewise.
34005         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
34006         conditional code.
34007         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34008         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
34009         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34010         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
34011         L(1_3) into L(1_1).
34012         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
34013         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34014         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
34015         macros.
34016         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34018 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
34020         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
34021         macro.
34023 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34025         * math/atest-exp.c (exp_mpn): Remove ROUND.
34026         * math/atest-exp2.c (exp_mpn): Likewise.
34027         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
34029         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
34030         * stdlib/tst-tls-atexit-lib.c: Likewise.
34031         * stdlib/tst-tls-atexit.c: Likewise.
34033 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
34035         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
34036         and __attribute_alloc_size__.
34038 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
34040         * include/programs/xmalloc.h: Change __attribute_alloc_size to
34041         __attribute_alloc_size__.
34042         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
34043         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
34045 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
34047         * include/programs/xmalloc.h: New file.
34048         * catgets/gencat.c: Include it.
34049         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
34050         * elf/pldd.c: Likewise.
34051         * iconv/iconv_charmap.c: Likewise.
34052         * iconv/iconvconfig.c: Likewise.
34053         * iconv/strtab.c: Likewise.
34054         * locale/programs/locale.c: Likewise.
34055         * locale/programs/localedef.h: Likewise.
34056         * locale/programs/simple-hash.c: Likewise.
34057         * nscd/nscd.h: Likewise.
34058         * nss/makedb.c: Likewise.
34059         * sysdeps/generic/ldconfig.h: Likewise.
34061 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34063         * Versions.def: Add GLIBC_2.18.
34064         * include/link.h (struct link_map): New member l_tls_dtor_count.
34065         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
34066         (__call_tls_dtors): Likewise.
34067         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
34068         __cxa_thread_atexit_impl.
34069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34070         Likewise.
34071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34072         Likewise.
34073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34074         Likewise.
34075         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34076         Likewise.
34077         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34078         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
34079         Likewise.
34080         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
34081         Likewise.
34082         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34084         Likewise.
34085         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
34086         (tests): Add test case tst-tls-atexit.
34087         (modules-names): Add shared library for tst-tls-atexit.
34088         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
34089         (GLIBC_PRIVATE): Add __call_tls_dtors.
34090         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
34091         for libstdc++.
34092         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
34093         * stdlib/tst-tls-atexit.c: New test case.
34094         * stdlib/tst-tls-atexit-lib.c: New test case.
34096         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
34098         * elf/Versions (ld): Add _dl_find_dso_for_object.
34099         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
34100         * elf/dl-open.c (_dl_find_dso_for_object): New function.
34101         (dl_open_worker): Use _dl_find_dso_for_object.
34102         * elf/dl-sym.c (do_sym): Likewise.
34103         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
34105 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34107         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
34108         Syntactic changes only.
34109         (_dl_runtime_profile): Do a tail-call to the resolved function.
34111 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
34113         [BZ #13550]
34114         * sysdeps/x86_64/bp-asm.h: Remove file.
34115         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
34116         <bp-sym.h> and <bp-asm.h>.
34117         (__clone): Do not use BP_SYM.
34118         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
34119         <bp-sym.h> and <bp-asm.h>.
34120         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34121         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
34122         "bp-asm.h".
34123         (_setjmp): Do not use BP_SYM.
34124         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
34125         "bp-asm.h".
34126         (setjmp): Do not use BP_SYM.
34127         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
34128         libc_hidden_def.
34129         (mempcpy): Do not use BP_SYM in weak_alias.
34130         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
34131         "bp-asm.h".
34132         (strchr): Do not use BP_SYM.
34133         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
34134         "bp-asm.h".
34135         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
34136         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
34137         (_start): Do not use BP_SYM.
34138         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
34139         "bp-asm.h".
34140         (strcat): Do not use BP_SYM.
34141         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
34142         "bp-asm.h".
34143         (STRCMP): Do not use BP_SYM.
34144         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
34145         "bp-asm.h".
34146         (STRCPY): Do not use BP_SYM.
34147         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
34148         "bp-asm.h".
34149         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
34150         "bp-asm.h".
34151         (FUNCTION): Do not use BP_SYM.
34152         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
34153         weak_alias.
34154         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
34156 2013-02-17  Andreas Jaeger  <aj@suse.de>
34158         * time/Versions: Sort entries.
34159         * string/Versions: Likewise.
34160         * resolv/Versions: Likewise.
34161         * posix/Versions: Likewise.
34162         * iconv/Versions: Likewise.
34163         * elf/Versions: Likewise.
34164         * wcsmbs/Versions: Likewise.
34166 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34168         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
34169         loop termination condition.
34171         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
34172         variable to calculate EZ.
34173         (__sqr): Likewise.
34175         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
34176         the lower precision input.
34178 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
34180         [BZ #13550]
34181         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
34182         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
34183         (run-via-rtld-prefix): Do not handle %-bp tests.
34184         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
34185         (all-object-suffixes): Remove .ob.
34186         (bppfx): Remove variable.
34187         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
34188         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
34189         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
34190         [$(build-bounded) = yes] (libtype.ob): Likewise.
34191         * Makerules (elide-routines.ob): Remove variable.
34192         (do-tests-clean): Do not handle *-bp.out.
34193         (common-mostlyclean): Do not handle *-bp and *-bp.out.
34194         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
34195         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
34196         (tests): Do not include $(tests-bp.out).
34197         (xtests): Do not include $(xtests-bp.out).
34198         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
34199         [$(build-bounded) = yes] ($(addprefix
34200         $(objpfx),$(binaries-bounded))): Remove rule.
34201         ($(objpfx)%-bp.out): Remove rule.
34202         * config.make.in (build-bounded): Remove variable.
34203         * crypt/Makefile [$(build-bounded) = yes]
34204         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
34205         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
34206         append to variable.
34207         [$(build-bounded) = yes] (install-lib): Likewise.
34208         [$(build-bounded) = yes] (generated): Likewise.
34209         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
34210         Remove rule.
34211         * intl/Makefile [$(build-bounded) = yes]
34212         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
34213         * math/Makefile [$(build-bounded) = yes]
34214         ($(tests:%=$(objpfx)%-bp): Likewise.
34215         * misc/Makefile [$(build-bounded) = yes]
34216         ($(objpfx)tst-tsearch-bp): Likewise.
34217         * nptl/Makeconfig (bounded-thread-library): Remove variable.
34218         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
34219         Remove dependency.
34220         * string/Makefile (o-objects.ob): Remove variable.
34221         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
34222         (CFLAGS-.ob): Remove variable.
34223         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
34224         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
34225         both definitions of variable.
34226         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
34227         (ASFLAGS-.ob): Remove variable.
34229 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
34231         [BZ #13550]
34232         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
34233         Remove __BOUNDED_POINTERS__ from condition.
34234         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
34235         * string/bits/string2.h [!__NO_STRING_INLINES &&
34236         !__BOUNDED_POINTERS__]: Likewise.
34237         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
34238         Likewise.
34239         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
34240         Remove conditional code.
34241         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
34242         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
34243         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
34244         condition.
34246         [BZ #13550]
34247         * csu/libc-start.c: Do not include <bp-sym.h>.
34248         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
34249         * elf/dl-open.c: Do not include <bp-sym.h>.
34250         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
34251         * math/fegetenv.c: Do not include <bp-sym.h>.
34252         (fegetenv): Do not use BP_SYM in versioned symbols.
34253         * nptl/sysdeps/pthread/bits/libc-lockP.h
34254         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
34255         <bp-sym.h>.
34256         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34257         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
34258         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34259         (__pthread_mutex_destroy): Likewise.
34260         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34261         (__pthread_mutex_lock): Likewise.
34262         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34263         (__pthread_mutex_trylock): Likewise.
34264         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34265         (__pthread_mutex_unlock): Likewise.
34266         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34267         (__pthread_mutexattr_init): Likewise.
34268         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34269         (__pthread_mutexattr_destroy): Likewise.
34270         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34271         (__pthread_mutexattr_settype): Likewise.
34272         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34273         (__pthread_rwlock_init): Likewise.
34274         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34275         (__pthread_rwlock_destroy): Likewise.
34276         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34277         (__pthread_rwlock_rdlock): Likewise.
34278         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34279         (__pthread_rwlock_tryrdlock): Likewise.
34280         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34281         (__pthread_rwlock_wrlock): Likewise.
34282         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34283         (__pthread_rwlock_trywrlock): Likewise.
34284         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34285         (__pthread_rwlock_unlock): Likewise.
34286         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34287         (__pthread_key_create): Likewise.
34288         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34289         (__pthread_setspecific): Likewise.
34290         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34291         (__pthread_getspecific): Likewise.
34292         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
34293         Likewise.
34294         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34295         (_pthread_cleanup_push_defer): Likewise.
34296         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34297         (_pthread_cleanup_pop_restore): Likewise.
34298         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34299         (pthread_setcancelstate): Likewise.
34300         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
34301         <bp-sym.h>.
34302         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
34303         (memchr): Do not use BP_SYM in weak_alias.
34304         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
34305         (fegetenv): Do not use BP_SYM in versioned symbols.
34306         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
34307         (fesetenv): Do not use BP_SYM in versioned symbols.
34308         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34309         (feupdateenv): Do not use BP_SYM in versioned symbols.
34310         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34311         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34312         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
34313         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
34314         (open64): Do not use BP_SYM in weak_alias.
34315         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
34316         (fegetenv): Do not use BP_SYM in versioned symbols.
34317         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
34318         (fesetenv): Do not use BP_SYM in versioned symbols.
34319         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34320         (feupdateenv): Do not use BP_SYM in versioned symbols.
34321         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
34322         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
34323         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
34324         (feraiseexcept): Do not use BP_SYM in versioned symbols.
34325         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34326         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34327         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
34328         <bp-sym.h>.
34329         (__libc_start_main): Do not use BP_SYM.
34331 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34333         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
34334         redundant return line.
34335         (norm): Likewise.
34336         (denorm): Likewise.
34337         (dbl_mp): Likewise.
34338         (sub_magnitudes): Likewise.
34339         (__add): Likewise.
34340         (__sub): Likewise.
34341         (__mul): Likewise.
34342         (__inv): Likewise.
34343         (__dvd): Likewise.
34344         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
34345         (norm): Likewise.
34346         (denorm): Likewise.
34347         (dbl_mp): Likewise.
34348         (sub_magnitudes): Likewise.
34349         (__add): Likewise.
34350         (__sub): Likewise.
34351         (__mul): Likewise.
34352         (__inv): Likewise.
34353         (__dvd): Likewise.
34355         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
34356         instead of __mul.
34357         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34358         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
34359         (cc32): Likewise.
34361         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
34362         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
34363         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
34364         of __mul for squares.
34365         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
34366         function
34367         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
34368         Likewise.
34369         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
34370         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34372 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
34374         [BZ #13550]
34375         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
34376         code.
34377         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
34378         prototype or function definition.  Rename ubp_* variables and
34379         parameters.  Remove argv definitions conditional on
34380         [__BOUNDED_POINTERS__].
34381         * debug/backtrace.c (__backtrace): Do not use __unbounded.
34382         * elf/dl-runtime.c (_dl_fixup): Likewise.
34383         * include/set-hooks.h (RUN_HOOK): Likewise.
34384         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
34385         definition.
34386         * string/strcpy.c (strcpy): Do not use __unbounded.
34387         * sysdeps/generic/frame.h (struct layout): Likewise.
34388         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
34389         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
34390         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
34391         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
34392         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
34393         (__backtrace): Likewise.
34394         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
34395         use __ptrvalue.
34396         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
34397         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34398         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
34399         Likewise.
34400         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
34401         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
34402         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
34403         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
34404         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
34405         Do not use __unbounded.
34406         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
34407         Rename __unboundedrlimits parameter to rlimits in prototype.
34408         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
34409         Do not use __unbounded.
34410         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
34411         not use __ptrvalue.
34412         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
34413         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
34414         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
34415         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
34416         __ptrvalue or __unbounded.
34417         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
34418         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
34419         use __unbounded.
34420         (__new_msgctl): Do not use __ptrvalue.
34421         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
34422         __unbounded.
34423         (__libc_msgrcv): Do not use __ptrvalue.
34424         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
34425         startup_info): Do not use __unbounded.
34426         (__libc_start_main): Likewise.  Rename ubp_* variables and
34427         parameters.  Remove argv definitions conditional on
34428         [__BOUNDED_POINTERS__].
34429         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
34430         __ptrvalue.
34431         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
34432         use __unbounded.
34433         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
34434         or __ptrvalue.
34435         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
34436         use __unbounded.
34437         (__new_shmctl): Do not use __ptrvalue.
34438         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
34439         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
34440         Likewise.
34441         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
34442         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
34443         (__libc_sigaction): Likewise.
34444         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
34445         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
34446         Likewise.
34447         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
34449 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
34451         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
34453         * string/mempcpy.c: Implement by calling memcpy.
34455 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34457         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
34459         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
34460         evaluation.
34462         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
34463         values in the mantissa.
34465         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
34466         minimize writes to Z.
34467         (sub_magnitudes): Simplify code a bit.
34469 2013-02-12  Roland McGrath  <roland@hack.frob.com>
34471         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
34472         from the message.  The linker prefixes all warnings with that already.
34474 2013-02-12  Andreas Schwab  <schwab@suse.de>
34476         [BZ #15078]
34477         * posix/regexec.c (extend_buffers): Add parameter min_len.
34478         (check_matching): Pass minimum needed length.
34479         (clean_state_log_if_needed): Likewise.
34480         (get_subexp): Likewise.
34481         * posix/Makefile (tests): Add bug-regex34.
34482         (bug-regex34-ENV): Define.
34483         * posix/bug-regex34.c: New file.
34485         [BZ #11561]
34486         * posix/regcomp.c (parse_bracket_exp): When looking up collating
34487         elements compare against the byte sequence of it, not its name.
34488         * posix/Makefile (tests): Add bug-regex35.
34489         (bug-regex35-ENV): Define.
34490         * posix/bug-regex35.c: New file.
34492 2013-02-11  Tom de Vries  <tom@codesourcery.com>
34494         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
34495         comment.
34496         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
34497         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
34498         (CHECK_EOL): Add undef.
34500 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
34502         * bits/stdlib-bsearch.h: New file.
34503         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
34504         * stdlib/stdlib.h: Likewise.
34506 2013-02-11  Roland McGrath  <roland@hack.frob.com>
34508         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
34509         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
34510         declaration.
34511         * manual/search.texi (Array Search Function): Add missing const in
34512         lfind prototype.
34513         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
34514         declaration to use rlim_t.
34515         (Basic Scheduling Functions): Remove erroneous const from
34516         sched_getparam prototype.  Remove erroneous * from
34517         sched_get_priority_max and sched_get_priority_min prototypes.
34518         (Resource Usage): Fix summary @comment on vtimes to refer to
34519         sys/vtimes.h rather than vtimes.h.
34520         Add missing *s in vtimes prototype.
34521         (Limits on Resources): Fix ulimit prototype to return long int.
34522         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
34523         prototypes to use long int rather than double.
34524         (BSD Random): Fix initstate and setstate to use char *, not void *.
34525         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
34526         prototype to make second argument 'struct aiocb64 *const[]'.
34527         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
34528         (Status of AIO Operations): Remove erroneous const in aio_return and
34529         aio_return64 prototypes.
34530         (Synchronizing I/O): Fix sync prototype to return void.
34531         * manual/startup.texi (Suboptions): Remove an erroneous const in
34532         getsubopt prototype.
34533         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
34534         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
34535         use size_t rather than int.
34536         (Scanning All Users): Likewise for getpwent_r.
34537         (Setting Groups): Add missing const to setgroups prototype.
34538         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
34539         * manual/socket.texi (Host Names): Fix gethostbyaddr and
34540         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
34541         'const void *' rather than 'const char *'.
34542         (Host Address Functions): Likewise for inet_ntop.
34543         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
34544         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
34545         ssize_t for return value.
34546         (Sending Data): Likewise for send, sendto, sendmsg.
34547         (Socket Option Functions): Add a missing const in setsockopt prototype.
34548         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
34549         use wchar_t for the argument.
34550         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
34551         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
34552         take no arguments.
34553         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
34554         double/float/long double for second argument.
34555         Fix return types of significand, significandf, significandl.
34556         * manual/filesys.texi (Setting Permissions): Use mode_t for second
34557         argument in fchmod prototype.
34558         (File Owner): Use uid_t and gid_t in fchown prototype.
34559         (File Times): Add const to utimes, futimes, and lutimes prototypes.
34560         (Making Special Files): Use mode_t and dev_t in mknod prototype.
34561         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
34562         use 'const struct dirent **' as argument types to CMP function pointer
34563         argument.
34564         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
34565         (File Times): Fix summary magic @comment for struct utimbuf and utime
34566         to refer to utime.h, not time.h.
34567         * manual/string.texi (Argz Functions): Add missing const in
34568         argz_extract and argz_next prototypes.
34569         (Finding Tokens in a String): Likewise for basename.
34570         (String/Array Comparison): Fix typo in wcscasecmp prototype.
34571         (Copying and Concatenation): Fix typo in wmemmove prototype.
34572         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
34573         (Signal Stack): Remove erroneous const in sigstack prototype.
34574         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
34575         prototype.
34576         (Simple Calendar Time): Likewise for stime.
34577         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
34578         prototype.
34579         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
34580         say sys/sysctl.h instead.
34581         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
34582         and vsyslog prototypes.
34584 2013-02-11  Tom de Vries  <tom@codesourcery.com>
34586         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
34587         Remove.
34589 2013-02-11  Roland McGrath  <roland@hack.frob.com>
34591         * misc/sys/mman.h: Fix typo in mremap comment.
34593 2013-02-08  Roland McGrath  <roland@hack.frob.com>
34595         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
34596         the '\0' terminator.
34598 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
34600         [BZ #13550]
34601         * debug/segfault.c: Don't include <bp-checks.h>.
34602         * sysdeps/generic/bp-checks.h: Remove file.
34603         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
34604         (__GETDENTS): Don't use CHECK_N.
34605         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
34606         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
34607         (__getgroups): Don't use CHECK_N.
34608         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
34609         (setgroups): Don't use CHECK_N.
34610         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
34611         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
34612         (__libc_msgrcv): Don't use CHECK_N.
34613         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
34614         (__libc_msgsnd): Don't use CHECK_N.
34615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
34616         <bp-checks.h>.
34617         (__libc_pread): Don't use CHECK_N.
34618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
34619         include <bp-checks.h>.
34620         (__libc_pread64): Don't use CHECK_N.
34621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
34622         include <bp-checks.h>.
34623         (__libc_pwrite): Don't use CHECK_N.
34624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
34625         include <bp-checks.h>.
34626         (__libc_pwrite64): Don't use CHECK_N.
34627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
34628         <bp-checks.h>.
34629         (__libc_pread): Don't use CHECK_N.
34630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
34631         include <bp-checks.h>.
34632         (__libc_pread64): Don't use CHECK_N.
34633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
34634         include <bp-checks.h>.
34635         (__libc_pwrite): Don't use CHECK_N.
34636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
34637         include <bp-checks.h>.
34638         (__libc_pwrite64): Don't use CHECK_N.
34639         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
34640         (do_pread): Don't use CHECK_N.
34641         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
34642         (do_pread64): Don't use CHECK_N.
34643         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
34644         (do_pwrite): Don't use CHECK_N.
34645         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
34646         (do_pwrite64): Don't use CHECK_N.
34647         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
34648         (__libc_readv): Don't use CHECK_N.
34649         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
34650         (semop): Don't use CHECK_N.
34651         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
34652         <bp-checks.h>.
34653         (semtimedop): Don't use CHECK_N.
34654         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
34655         (__libc_pread): Don't use CHECK_N.
34656         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
34657         <bp-checks.h>.
34658         (__libc_pread64): Don't use CHECK_N.
34659         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
34660         <bp-checks.h>.
34661         (__libc_pwrite): Don't use CHECK_N.
34662         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
34663         <bp-checks.h>.
34664         (__libc_pwrite64): Don't use CHECK_N.
34665         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
34666         <bp-checks.h>.
34667         (__libc_msgrcv): Don't use CHECK_N.
34668         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
34669         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
34670         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
34671         (__libc_writev): Don't use CHECK_N.
34673 2013-02-08  Roland McGrath  <roland@hack.frob.com>
34675         * string/strcpy.c: Removed unused variable.
34677         * Makeconfig (+sysdep-includes): Define with := rather than =.
34678         Use an existing include/ subdir of each sysdeps dir before it.
34680 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
34682         * nscd/connection.c (register_traced_file): Comment function.
34683         [HAVE_INOTIFY] (union __inev): Define.
34684         [HAVE_INOTIFY] (inotify_check_files): New function.
34685         [HAVE_INOTIFY] (clear_db_cache): Likewise.
34686         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
34687         clear_db_cache.
34688         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
34690 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
34692         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
34693         loaded if not already and that a failure is permanent.
34695 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
34697         [BZ #15006]
34698         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
34699         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
34701 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
34703         [BZ #13550]
34704         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
34705         (CHECK_1_NULL_OK): Likewise.
34706         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
34707         (__fxstat): Do not use CHECK_1.
34708         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
34709         <bp-checks.h>.
34710         (___fxstat64): Do not use CHECK_1.
34711         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34712         <bp-checks.h>.
34713         (__fxstatat): Do not use CHECK_1.
34714         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34715         <bp-checks.h>.
34716         (__fxstatat64): Do not use CHECK_1.
34717         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
34718         <bp-checks.h>.
34719         (__fxstat): Do not use CHECK_1.
34720         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34721         <bp-checks.h>.
34722         (__fxstatat): Do not use CHECK_1.
34723         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34724         <bp-checks.h>.
34725         (__getresgid): Do not use CHECK_1.
34726         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34727         <bp-checks.h>.
34728         (__getresuid): Do not use CHECK_1.
34729         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
34730         <bp-checks.h>.
34731         (__lxstat): Do not use CHECK_1.
34732         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34733         <bp-checks.h>.
34734         (__old_msgctl): Do not use CHECK_1.
34735         (__new_msgctl): Likewise.
34736         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
34737         <bp-checks.h>.
34738         (__new_setrlimit): Do not use CHECK_1.
34739         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34740         <bp-checks.h>.
34741         (__old_shmctl): Do not use CHECK_1.
34742         (__new_shmctl): Likewise.
34743         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
34744         <bp-checks.h>.
34745         (__xstat): Do not use CHECK_1.
34746         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
34747         (__lxstat): Do not use CHECK_1.
34748         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
34749         <bp-checks.h>.
34750         (___lxstat64): Do not use CHECK_1.
34751         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
34752         (__old_msgctl): Do not use CHECK_1.
34753         (__new_msgctl): Likewise.
34754         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
34755         <bp-checks.h>.
34756         (__gettimeofday): Do not use CHECK_1.
34757         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
34758         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
34759         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
34760         <bp-checks.h>.
34761         (__gettimeofday): Do not use CHECK_1.
34762         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
34763         (__old_shmctl): Do not use CHECK_1_NULL_OK.
34764         (__new_shmctl): Do not use CHECK_1.
34765         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
34766         <bp-checks.h>.
34767         (do_sigtimedwait): Do not use CHECK_1.
34768         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
34769         <bp-checks.h>.
34770         (do_sigwaitinfo): Do not use CHECK_1.
34771         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
34772         <bp-checks.h>.
34773         (msgctl): Do not use CHECK_1.
34774         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
34775         <bp-checks.h>.
34776         (shmctl): Do not use CHECK_1.
34777         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
34778         (ustat): Do not use CHECK_1.
34779         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
34780         <bp-checks.h>.
34781         (__fxstat): Do not use CHECK_1.
34782         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34783         <bp-checks.h>.
34784         (__fxstatat): Do not use CHECK_1.
34785         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
34786         <bp-checks.h>.
34787         (__lxstat): Do not use CHECK_1.
34788         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
34789         <bp-checks.h>.
34790         (__xstat): Do not use CHECK_1.
34791         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
34792         (__xstat): Do not use CHECK_1.
34793         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
34794         (___xstat64): Do not use CHECK_1.
34796         [BZ #13550]
34797         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
34798         definitions.
34799         (CHECK_BOUNDS_HIGH): Likewise.
34800         * string/strcpy.c: Do not include <bp-checks.h>.
34801         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
34803 2013-02-07  Roland McGrath  <roland@hack.frob.com>
34805         * nscd/nscd-client.h (__nscd_drop_map_ref):
34806         Add __attribute__ ((unused)).
34807         * nis/nss-nisplus.h (niserr2nss): Likewise.
34809         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
34810         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
34812         * csu/libc-tls.c (init_static_tls, init_slotinfo):
34813         Remove inline keyword.
34814         * include/rounding-mode.h (round_away): Likewise.
34815         * libio/wfileops.c (adjust_wide_data): Likewise.
34816         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
34817         (__m128i_strloadu_tolower): Likewise.
34818         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
34819         (__m128i_strloadu_tolower): Likewise.
34820         * time/mktime.c (ydhms_diff): Likewise.
34821         * locale/elem-hash.h (elem_hash): Likewise.
34822         * locale/setlocale.c (setdata): Likewise.
34823         * posix/regex_internal.h (re_string_char_size_at): Likewise.
34824         (re_string_wchar_at): Likewise.
34825         (bitset_not, bitset_merge, bitset_mask): Likewise.
34826         [!(__GNUC__ > 3)] (inline): Remove macro.
34827         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
34828         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
34829         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
34830         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
34831         * string/memcmp.c (memcmp_bytes): Likewise.
34832         * locale/programs/locarchive.c (compute_hashval): Likewise.
34833         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
34834         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
34835         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
34836         * nss/getent.c (print_rpc, print_protocols): Likewise.
34837         (print_passwd, print_group, print_aliases): Likewise.
34838         * nis/nss-nisplus.h (niserr2nss): Likewise.
34839         * nscd/connections.c (restart_p): Likewise.
34840         Change return type to bool.
34842 2013-02-05  Roland McGrath  <roland@hack.frob.com>
34844         * Makeconfig (all-Depend-files): Add existing
34845         $(sorted-subdirs:=/Depend) files.
34846         (all-subdirs): Remove nss.
34847         * sysdeps/unix/inet/Subdirs: Add it here instead.
34848         * hesiod/Depend: New file.
34850         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
34851         instead of calling alloca.
34853         * io/lseek.c (__lseek): Rename to __libc_lseek.
34854         Define __lseek as an alias.
34856         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
34858 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
34860         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
34861         else clause and remove check for non-standard endianness.
34863 2013-02-04  David S. Miller  <davem@davemloft.net>
34865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34867 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
34869         [BZ #13550]
34870         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
34871         (__ubp_memchr): Remove prototype.
34872         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
34873         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
34874         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
34875         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
34876         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
34877         Remove alias.
34878         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
34879         (__ubp_memchr): Likewise.
34880         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
34881         (__ubp_memchr): Likewise.
34882         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
34883         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
34884         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
34885         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
34886         CHECK_STRING.
34887         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
34888         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
34889         (__getcwd): Do not use CHECK_STRING.
34890         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34891         <bp-checks.h>.
34892         (__real_chown): Do not use CHECK_STRING.
34893         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
34894         <bp-checks.h>.
34895         (fchownat): Do not use CHECK_STRING.
34896         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
34897         CHECK_STRING.
34898         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34899         <bp-checks.h>.
34900         (__lchown): Do not use CHECK_STRING.
34901         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
34902         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
34903         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
34904         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
34905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34906         include <bp-checks.h>.
34907         (truncate64): Do not use CHECK_STRING.
34908         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34909         <bp-checks.h>.
34910         (__real_chown): Do not use CHECK_STRING.
34911         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34912         <bp-checks.h>.
34913         (__lchown): Do not use CHECK_STRING.
34914         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34915         <bp-checks.h>.
34916         (__chown): Do not use CHECK_STRING.
34917         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
34918         <bp-checks.h>.
34919         (truncate64): Do not use CHECK_STRING.
34920         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
34921         Likewise.
34922         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
34923         (__xmknod): Do not use CHECK_STRING.
34924         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34925         <bp-checks.h>.
34926         (__xmknodat): Do not use CHECK_STRING.
34927         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
34928         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
34930 2013-02-04  Andreas Schwab  <schwab@suse.de>
34932         [BZ #14142]
34933         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
34934         * include/netdb.h: Likewise for h_errno.
34935         * elf/tst-stackguard1.c: Include <tls.h>.
34937 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
34939         * elf/link.h (struct link_map): Extend the l_addr comment.
34940         * include/link.h (struct link_map): Likewise.
34942 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
34944         [BZ #13550]
34945         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
34946         (BOUNDED_1): Remove macro.
34947         * debug/backtrace.c: Don't include <bp-checks.h>.
34948         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
34949         (__backtrace): Likewise.
34950         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
34951         <bp-checks.h>.
34952         (__backtrace): Don't use BOUNDED_1.
34953         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
34954         <bp-checks.h>.
34955         (__backtrace): Don't use BOUNDED_1.
34956         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
34957         (__backtrace): Don't use BOUNDED_1.
34958         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
34959         (shmat): Don't use BOUNDED_N.
34961 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
34963         [BZ #13550]
34964         * sysdeps/generic/bp-start.h: Remove file.
34965         * csu/libc-start.c: Don't include <bp-start.h>.
34966         (LIBC_START_MAIN): Set up __environ directly instead of using
34967         INIT_ARGV_and_ENVIRON.
34968         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
34969         <bp-start.h>.
34971         [BZ #13550]
34972         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
34973         definitions.
34974         (CHECK_FCNTL): Likewise.
34975         (CHECK_N_PAGES): Likewise.
34977         [BZ #13550]
34978         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
34979         definitions.
34980         (CHECK_SIGSET_NULL_OK): Likewise.
34981         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
34982         <bp-checks.h>.
34983         (sigpending): Don't use CHECK_SIGSET.
34984         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
34985         <bp-checks.h>.
34986         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34987         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
34988         <bp-checks.h>.
34989         (do_sigsuspend): Don't use CHECK_SIGSET.
34990         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
34991         use CHECK_SIGSET.
34992         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
34993         (do_sigwait): Don't use CHECK_SIGSET.
34994         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
34995         use CHECK_SIGSET.
34996         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
34997         include <bp-checks.h>.
34998         (sigpending): Don't use CHECK_SIGSET.
34999         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
35000         include <bp-checks.h>.
35001         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35002         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
35003         <bp-checks.h>.
35004         (sigpending): Don't use CHECK_SIGSET.
35005         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
35006         <bp-checks.h>.
35007         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35009         [BZ #13550]
35010         * sysdeps/generic/bp-semctl.h: Remove file.
35011         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
35012         <bp-checks.h> and <bp-semctl.h>.
35013         (__old_semctl): Don't use CHECK_SEMCTL.
35014         (__new_semctl): Likewise.
35015         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
35016         and <bp-semctl.h>.
35017         (__old_semctl): Don't use CHECK_SEMCTL.
35018         (__new_semctl): Likewise.
35019         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
35020         <bp-checks.h> and <bp-semctl.h>.
35021         (__old_semctl): Don't use CHECK_SEMCTL.
35022         (__new_semctl): Likewise.
35023         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
35024         <bp-checks.h> and <bp-semctl.h>.
35025         (semctl): Don't use CHECK_SEMCTL.
35027         [BZ #13550]
35028         * Makerules (elide-bp-thunks): Remove variable.
35029         (elide-routines.oS): Don't use $(elide-bp-thunks).
35030         (elide-routines.os): Likewise.
35031         (elide-routines.o): Likewise.
35032         (elide-routines.op): Likewise.
35033         (elide-routines.og): Likewise.
35034         (objects): Don't use $(bp-thunks).
35035         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
35036         include.
35037         (common-generated): Do not add s-proto-bp.d.
35038         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
35039         (int): Likewise.
35040         (typ): Likewise.
35041         Do not generate makefile rules for bounded-pointer thunks.
35042         * sysdeps/generic/bp-thunks.h: Remove file.
35043         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
35044         * sysdeps/unix/s-proto-bp.S: Likewise.
35046         [BZ #15062]
35047         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
35048         parts of result separately when argument is not close to line from
35049         -i to i and one part of argument is small.
35050         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35051         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35052         * math/libm-test.inc (cacos_test): Add more tests.
35053         (casin_test): Likewise.
35054         (casinh_test): Likewise.
35055         * sysdeps/i386/fpu/libm-test-ulps: Update.
35056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35058 2013-01-31  David S. Miller  <davem@davemloft.net>
35060         * po/de.po: Update from translation team.
35062 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
35064         * time/tzfile.c: Include stdint.h for SIZE_MAX.
35066 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
35068         * configure.in (_AC_PROG_CC_C89): New definition.
35069         * configure: Regenerate.
35071         * configure.in (AC_PROG_CPP): New definition.
35072         * configure: Regenerate.
35074 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
35076         * debug/tst-backtrace.h: New file.
35077         * debug/tst-backtrace2.c: Include tst-backtrace.h.
35078         (ret): Remove variable.
35079         (x): Likewise.
35080         (FAIL): Remove macro.
35081         (NO_INLINE): Likewise.
35082         (fn1): Use match function instead of strstr.
35083         * debug/tst-backtrace3.c: Include tst-backtrace.h.
35084         (ret): Remove variable.
35085         (x): Likewise.
35086         (FAIL): Remove macro.
35087         (NO_INLINE): Likewise.
35088         (fn): Use match function instead of strstr.
35089         * debug/tst-backtrace4.c: Include tst-backtrace.h.
35090         (ret): Remove variable.
35091         (x): Likewise.
35092         (FAIL): Remove macro.
35093         (NO_INLINE): Likewise.
35094         (handle_signal): Use match function instead of strstr.
35095         * debug/tst-backtrace5.c: Include tst-backtrace.h.
35096         (ret): Remove variable.
35097         (x): Likewise.
35098         (FAIL): Remove macro.
35099         (NO_INLINE): Likewise.
35100         (handle_signal): Use match function instead of strstr.
35102 2013-01-23  Roland McGrath  <roland@hack.frob.com>
35104         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
35106 2013-01-23  David S. Miller  <davem@davemloft.net>
35108         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
35109         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
35110         argument of CAS if possible.
35111         * sysdeps/sparc/sparc64/bits/atomic.h
35112         (__arch_compare_and_exchange_val_32_acq): Likewise.
35113         (__arch_compare_and_exchange_val_64_acq): Likewise.
35115 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
35117         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
35118         * sysdeps/posix/ulimit.c: ... this.
35119         Include <limits.h>.
35120         * sysdeps/unix/bsd/ulimit.c: Remove file.
35122 2013-01-23  Adam Conrad  <adconrad@0c3.net>
35124         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
35125         (LDFLAGS-tst-array5): Likewise.
35127 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
35129         [BZ #15036]
35130         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
35131         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
35132         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
35133         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
35135 2013-01-21  David S. Miller  <davem@davemloft.net>
35137         * sysdeps/sparc/backtrace.c: New file.
35138         * sysdeps/sparc/sparc32/backtrace.h: New file.
35139         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
35140         * sysdeps/sparc/sparc64/backtrace.h: New file.
35141         * sysdeps/sparc/sparc64/backtrace.c: Delete.
35142         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
35143         -funwind-tables.
35145 2013-01-21  Andreas Schwab  <schwab@suse.de>
35147         [BZ #15020]
35148         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
35149         closed its stdout.
35151 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
35153         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
35154         "mpa2.h".
35155         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35157 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
35158             Mark Mitchell  <mark@codesourcery.com>
35159             Tom de Vries  <tom@codesourcery.com>
35160             Paul Pluzhnikov  <ppluzhnikov@google.com>
35162         * debug/tst-backtrace2.c: New file.
35163         * debug/tst-backtrace3.c: Likewise.
35164         * debug/tst-backtrace4.c: Likewise.
35165         * debug/tst-backtrace5.c: Likewise.
35166         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
35167         (CFLAGS-tst-backtrace3.c): Likewise.
35168         (CFLAGS-tst-backtrace4.c): Likewise.
35169         (CFLAGS-tst-backtrace5.c): Likewise.
35170         (LDFLAGS-tst-backtrace2): Likewise.
35171         (LDFLAGS-tst-backtrace3): Likewise.
35172         (LDFLAGS-tst-backtrace4): Likewise.
35173         (LDFLAGS-tst-backtrace5): Likewise.
35174         (tests): Add new tests tst-backtrace2, tst-backtrace3,
35175         tst-backtrace4 and tst-backtrace5.
35177 2013-01-18  Anton Blanchard  <anton@samba.org>
35178             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35180         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
35181         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
35182         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
35183         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
35184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35185         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
35186         "+r" and remove output regs list as redundant.  Add explicit inline
35187         asm to specify register of return val to work around compiler codegen
35188         bug.  Remove (int) cast on return value.  Add return type parameter to
35189         use in macro so that this macro does not truncate return value for
35190         64-bit values.
35191         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
35192         pass to INTERNAL_VSYSCALL_NCS.
35193         (INLINE_VSYSCALL): Add 'long int' as return type to
35194         INTERNAL_VSYSCALL_NCS macro invocation.
35195         (INTERNAL_VSYSCALL): Add 'long int' as return type to
35196         INTERNAL_VSYSCALL_NCS macro invocation.
35197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35199 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35201         [BZ #14496]
35202         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
35203         Fix application of SIMD FP exception mask.
35205         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
35206         mp_no from a power of two.
35207         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
35208         __mpexp_twomm1.  Use __pow_mp.
35210         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
35211         multiplication.
35213 2013-01-17  David S. Miller  <davem@davemloft.net>
35215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35217 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
35219         [BZ #15023]
35220         * include/complex.h: Condition contents on [!_COMPLEX_H].
35221         (__kernel_casinhf): New prototype.
35222         (__kernel_casinh): Likewise.
35223         (__kernel_casinhl): Likewise.
35224         * math/Makefile (libm_calls): Add k_casinh.
35225         * math/k_casinh.c: New file.
35226         * math/k_casinhf.c: Likewise.
35227         * math/k_casinhl.c: Likewise.
35228         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
35229         finite nonzero arguments.
35230         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
35231         finite nonzero arguments.
35232         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
35233         finite nonzero arguments.
35234         * math/s_casinh.c: Do not include <float.h>.
35235         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
35236         * math/s_casinhf.c: Do not include <float.h>.
35237         (__casinhf): Move code for finite nonzero arguments to
35238         k_casinhf.c.
35239         * math/s_casinhl.c: Do not include <float.h>.
35240         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
35241         redefine.
35242         (__casinhl): Move code for finite nonzero arguments to
35243         k_casinhl.c.
35244         * math/libm-test.inc (cacos_test): Add more tests.
35245         * sysdeps/i386/fpu/libm-test-ulps: Update.
35246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35248 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
35250         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
35251         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
35252         [!HAVE_MREMAP]: Remove [defined linux] case.
35253         * malloc/arena.c: Do not include <malloc-sysdep.h>.
35255 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35257         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
35259 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
35261         * elf/elf.h (R_386_SIZE32): New relocation.
35262         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
35263         R_386_SIZE32.
35264         (elf_machine_rela): Likewise.
35265         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35266         R_X86_64_SIZE64 and R_X86_64_SIZE32.
35268 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
35270         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
35271         (FP_FAST_FMA): Do not define.
35272         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
35273         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
35274         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
35275         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
35276         !_SOFT_FLOAT]: Likewise.
35277         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
35278         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
35279         value.
35280         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
35281         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
35282         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
35283         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
35284         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
35285         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
35286         file.
35288 2013-01-16  Andreas Schwab  <schwab@suse.de>
35290         [BZ #14327]
35291         * include/stdlib.h (__mktemp): Add declaration.
35292         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
35293         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
35295 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35297         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
35298         definitions.
35299         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35300         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
35301         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
35302         definitions here.
35303         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
35304         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
35305         definitions.
35306         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
35307         and ONE.
35308         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
35309         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
35310         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
35311         definitions.
35312         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
35313         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
35314         definitions.
35315         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35317         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
35319 2013-01-15  David S. Miller  <davem@davemloft.net>
35321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35322         trunc{,f} to libm-sysdep_routes.
35323         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
35325         file.
35326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
35327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
35328         file.
35329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
35330         file.
35331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
35332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
35333         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
35334         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
35335         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
35336         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
35337         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
35338         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
35340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35341         nearbyint{,f} to libm-sysdep_routes.
35342         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
35344         New file.
35345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
35346         file.
35347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
35348         New file.
35349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
35350         file.
35351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
35352         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
35353         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
35354         file.
35355         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
35356         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
35357         file.
35358         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
35359         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
35360         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
35362         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35363         libc_feholdexcept and libc_fesetenv.
35365 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
35367         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
35369 2013-01-14  David S. Miller  <davem@davemloft.net>
35371         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
35372         (SPARC_ASM_VIS2_IFUNC): Likewise.
35373         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
35374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
35375         use of 'siam' instruction.
35376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
35377         Likewise.
35378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
35379         Likewise.
35380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
35381         Likewise.
35382         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
35383         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
35384         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
35385         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
35386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
35387         file.
35388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
35389         file.
35390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
35391         file.
35392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
35393         file.
35394         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
35395         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
35396         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
35397         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
35398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
35399         new VIS2 routines.
35400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35403         Likewise.
35404         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35405         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35406         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35407         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
35409         routines to libm-sysdep_routines.
35410         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35413         fdim/fdimf to libm-sysdep_routines.
35414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
35415         file.
35416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
35417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
35418         file.
35419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
35420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
35421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
35422         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
35423         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
35424         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
35425         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
35427 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35429         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
35430         to optimize copies.
35432         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
35433         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35434         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35436         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
35437         local variable MPTWO.
35438         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35439         Likewise.
35441 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
35443         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
35444         GLOB_NOESCAPE.
35446 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
35448         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
35450 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
35452         * manual/pattern.texi (glob_t): Document gl_flags.
35453         (glob64_t): Likewise.
35455 2013-01-11  David S. Miller  <davem@davemloft.net>
35457         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
35458         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
35459         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
35460         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
35461         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
35462         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
35463         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
35464         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
35465         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
35466         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
35467         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
35468         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
35469         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
35471         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
35472         sparc V9 rather than using V8 code.
35473         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35474         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35476         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35477         Move to...
35478         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
35479         Here.
35481 2013-01-11  Roland McGrath  <roland@hack.frob.com>
35483         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
35484         not in the main loop.
35485         * configure: Regenerated.
35487 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
35489         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
35490         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
35491         to just #else.
35492         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
35493         [!__GLIBC_HAVE_LONG_LONG] case.
35494         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
35495         condition to just #else.
35496         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
35497         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
35498         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
35499         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
35500         unconditional.
35501         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
35502         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35503         #elif condition to just #else.
35504         * sysdeps/unix/sysv/linux/sys/sysmacros.h
35505         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
35506         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35507         #elif condition to just #else.
35509 2013-01-11  Steve Ellcey  <sellcey@mips.com>
35511         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
35512         (EF_MIPS_ARCH_64): Fix value.
35513         (EF_MIPS_ARCH_32R2): New.
35514         (EF_MIPS_ARCH_64R2): New.
35516 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
35518         * Makeconfig (+link-pie-before-libc): New.
35519         (+link-pie-after-libc): Likewise.
35520         (+link-pie-tests): Likewise.
35521         (+link-pie): Rewritten.
35522         (link-before-libc): Remove $(config-LDFLAGS).
35523         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
35524         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
35525         (config-LDFLAGS): Renamed to ...
35526         (rtld-LDFLAGS): This.
35527         (rtld-tests-LDFLAGS): New macro.
35528         (link-libc-rpath-link): Likewise.
35529         (link-libc-tests-rpath-link): Likewise.
35530         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
35531         (link-libc): Prepand $(link-libc-rpath-link).
35532         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
35533         (test-program-prefix): New macro.
35534         (test-via-rtld-prefix): Likewise.
35535         (test-program-cmd): Likewise.
35536         (host-test-program-cmd): Likewise.
35537         * Makefile ($(common-objpfx)testrun.sh): Replace
35538         $(run-program-prefix) with $(test-program-prefix).
35539         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
35540         $(rtld-LDFLAGS).
35541         ($(common-objpfx)shlib.lds): Likewise.
35542         (build-module-helper): Likewise.
35543         ($(common-objpfx)format.lds): Likewise.
35544         * Rules (binaries-pie-tests): New.
35545         (binaries-pie-notests): Likewise.
35546         (binaries-pie): Rewritten.
35547         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
35548         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
35549         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
35550         (make-test-out): Replace $(host-built-program-cmd) with
35551         $(host-test-program-cmd).
35552         * config.make.in (build-hardcoded-path-in-tests): New variable.
35553         * configure.in (--enable-hardcoded-path-in-tests): New configure
35554         option.
35555         (hardcoded_path_in_tests): New AC_SUBST.
35556         * configure: Regenerated.
35557         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
35558         $(built-program-cmd) with $(test-program-cmd).
35559         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
35560         (test_program_cmd): This.
35561         * elf/Makefile ($(objpfx)order.out): Run test with
35562         $(test-program-prefix).
35563         ($(objpfx)order2.out): Likewise.
35564         ($(objpfx)tst-initorder.out): Likewise.
35565         ($(objpfx)tst-initorder2.out): Likewise.
35566         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
35567         $(test-program-cmd).
35568         ($(objpfx)tst-array1-static.out): Likewise.
35569         ($(objpfx)tst-array2.out): Likewise.
35570         ($(objpfx)tst-array3.out): Likewise.
35571         ($(objpfx)tst-array4.out): Likewise.
35572         ($(objpfx)tst-array5.out): Likewise.
35573         ($(objpfx)tst-array5-static.out): Likewise.
35574         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
35575         $(test-program-cmd).
35576         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
35577         $(run-program-prefix) with $(test-program-prefix).
35578         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
35579         (test_program_prefix): This.
35580         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
35581         $(run-program-prefix) with $(test-program-prefix).
35582         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
35583         (test_program_prefix): This.
35584         * iconvdata/tst-tables.sh: Likewise.
35585         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
35586         $(run-program-prefix) with $(test-program-prefix).
35587         ($(objpfx)tst-translit.out): Likewise.
35588         ($(objpfx)tst-gettext2.out): Likewise.
35589         ($(objpfx)tst-gettext4.out): Likewise.
35590         ($(objpfx)tst-gettext6.out): Likewise.
35591         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
35592         (test_program_prefix): This.
35593         * intl/tst-gettext2.sh: Likewise.
35594         * intl/tst-gettext4.sh  Likewise.
35595         * intl/tst-gettext6.sh: Likewise.
35596         * intl/tst-translit.sh: Likewise.
35597         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
35598         with $(test-program-cmd).
35599         * libio/Makefile ($(objpfx)test-freopen.out): Replace
35600         $(run-program-prefix) with $(test-program-prefix).
35601         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
35602         (test_program_prefix): This.
35603         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
35604         $(run-program-prefix) with $(test-program-prefix).
35605         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
35606         (test_program_prefix): This.
35607         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
35608         * posix/Makefile ($(objpfx)globtest.out): Replace
35609         $(run-via-rtld-prefix) and $(test-wrapper) with
35610         $(test-program-prefix) and $(test-via-rtld-prefix).
35611         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
35612         $(test-program-prefix).
35613         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
35614         $(host-test-program-cmd).
35615         (tst-spawn-ARGS): Likewise.
35616         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
35617         $(test-program-prefix).
35618         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
35619         (test_via_rtld_prefix): This.
35620         (test_wrapper): Renamed to ...
35621         (test_program_prefix): This.
35622         (run_program_prefix): Replaced by test_program_prefix.
35623         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
35624         (test_program_prefix): This.
35625         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
35626         with $(host-test-program-cmd).
35627         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
35628         $(run-program-prefix) with $(test-program-prefix).
35629         ($(objpfx)tst-printf.out): Likewise.
35630         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
35631         $(test-program-cmd).
35632         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
35633         (test_program_prefix): This.
35634         * stdio-common/tst-unbputc.sh: Likewise.
35635         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
35636         $(run-program-prefix) with $(test-program-prefix).
35637         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
35638         (test_program_prefix): This.
35639         * string/Makefile ($(objpfx)tst-svc.out):  Replace
35640         $(built-program-cmd) with $(test-program-cmd).
35642 2013-01-11  Andreas Jaeger  <aj@suse.de>
35644         [BZ #15003]
35645         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
35646         value. Sync with Linux 3.7.
35648 2013-01-10  David S. Miller  <davem@davemloft.net>
35650         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
35651         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35652         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35654 2013-01-10  Roland McGrath  <roland@hack.frob.com>
35656         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
35657         never set.
35658         * configure: Regenerated.
35660 2013-01-10  David S. Miller  <davem@davemloft.net>
35662         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
35663         sparc V9 rather than using V8 code.
35664         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35665         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35667 2013-01-10  Roland McGrath  <roland@hack.frob.com>
35669         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
35670         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
35671         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
35672         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
35673         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
35674         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
35675         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
35676         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
35677         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
35678         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
35679         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
35680         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
35681         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
35682         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
35683         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
35684         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
35685         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
35686         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
35687         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
35688         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
35689         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
35690         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
35691         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
35692         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
35693         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
35694         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
35695         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
35697 2013-01-10  David S. Miller  <davem@davemloft.net>
35699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35701 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
35703         * posix/Makefile (tests-static): New variable.
35704         (tests): Add $(tests-static).
35705         (tst-exec-static-ARGS): New variable.
35706         (tst-spawn-static-ARGS): Likewise.
35707         * posix/tst-exec-static.c: New file.
35708         * posix/tst-spawn-static.c: Likewise.
35709         * posix/tst-exec.c: Support run directly.
35710         * posix/tst-spawn.c: Likewise.
35712 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
35714         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
35715         long.
35716         * math/bits/mathcalls.h (llrint): Likewise.
35717         (llround): Likewise.
35718         * stdlib/stdlib.h (struct drand48_data): Likewise.
35719         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
35720         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
35721         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
35722         Likewise.
35723         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
35724         Likewise.
35725         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
35726         (elf_greg_t): Likewise.
35727         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
35728         (__jmp_buf): Likewise.
35729         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
35730         definitions.
35731         (llrint): Likewise, for all definitions.
35732         (llrintl): Likewise.
35734         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
35735         Remove [__GNUC__] condition.
35736         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
35737         condition to just [__USE_ISOC99].
35738         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
35740 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
35742         [BZ #14200]
35743         * sysdeps/unix/sysv/linux/x86/bits/environments.h
35744         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
35745         defined.
35746         (_POSIX_V6_ILP32_OFF32): Likewise.
35747         (_XBS5_ILP32_OFF32): Likewise.
35748         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
35749         (__ILP32_OFFBIG_LDFLAGS): Likewise.
35751 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35753         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
35755         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
35756         doubles __mpexp_twomm1.  Adjust usage.
35757         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
35758         Remove.
35760 2013-01-10  Andreas Schwab  <schwab@suse.de>
35762         [BZ #14964]
35763         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
35764         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
35766 2013-01-09  David S. Miller  <davem@davemloft.net>
35768         [BZ #15003]
35769         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
35770         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
35771         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
35772         (TCP_FASTOPEN): Define.
35773         (tcp_repair_opt): New structure.
35774         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
35775         enum values.
35776         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
35777         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
35778         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
35779         (tcp_cookie_transactions): New structure.
35781 2013-01-09  Anton Blanchard  <anton@samba.org>
35783         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
35784         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
35785         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
35786         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
35788 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
35790         * include/features.h (__USE_ANSI): Remove.
35792 2013-01-09  Roland McGrath  <roland@hack.frob.com>
35794         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
35796         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
35798 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
35800         * sysdeps/s390/fpu/libm-test-ulps: Update.
35802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35804         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
35805         (__acr): Likewise.
35806         (__cpy): Likewise.
35807         (norm): Likewise.
35808         (denorm): Likewise.
35809         (__mp_dbl): Likewise.
35810         (__dbl_mp): Likewise.
35811         (add_magnitudes): Likewise.
35812         (sub_magnitudes): Likewise.
35813         (__add): Likewise.
35814         (__sub): Likewise.
35815         (__mul): Likewise.
35816         (__inv): Likewise.
35817         (__dvd): Likewise.
35818         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
35819         (__acr): Likewise.
35820         (__cpy): Likewise.
35821         (norm): Likewise.
35822         (denorm): Likewise.
35823         (__mp_dbl): Likewise.
35824         (__dbl_mp): Likewise.
35825         (add_magnitudes): Likewise.
35826         (sub_magnitudes): Likewise.
35827         (__add): Likewise.
35828         (__sub): Likewise.
35829         (__mul): Likewise.
35830         (__inv): Likewise.
35831         (__dvd): Likewise.
35832         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
35833         (__acr): Likewise.
35834         (__cpy): Likewise.
35835         (norm): Likewise.
35836         (denorm): Likewise.
35837         (__mp_dbl): Likewise.
35838         (__dbl_mp): Likewise.
35839         (add_magnitudes): Likewise.
35840         (sub_magnitudes): Likewise.
35841         (__add): Likewise.
35842         (__sub): Likewise.
35843         (__mul): Likewise.
35844         (__inv): Likewise.
35845         (__dvd): Likewise.
35847 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
35849         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
35850         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
35851         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
35852         2 && __USE_EXTERN_INLINES]: Likewise.
35854 2013-01-08  Andreas Jaeger  <aj@suse.de>
35856         [BZ# 14985]
35857         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
35858         Remove.
35859         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
35860         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
35862 2013-01-07  Anton Blanchard  <anton@samba.org>
35864         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
35865         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35866         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
35867         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35868         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
35869         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35870         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
35871         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
35872         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35873         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35874         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35875         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35876         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35877         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35878         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
35879         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35880         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35881         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35882         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
35883         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
35884         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
35885         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
35886         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35887         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
35888         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
35889         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
35890         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35891         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35892         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
35893         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35894         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
35895         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35896         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35897         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35898         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35899         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35900         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35901         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35902         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
35903         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35904         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
35905         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35906         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35908 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
35910         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
35911         (__MALLOC_PMT): Likewise.
35912         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
35913         [__GNUC__], only on [_LIBC].
35914         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
35915         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
35916         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
35917         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
35918         forward declaration.
35919         (realloc_hook_ini): Likewise.
35920         (memalign_hook_ini): Likewise.
35921         (__libc_memalign): Do not use __MALLOC_PMT in variable
35922         declaration.
35923         (__libc_valloc): Likewise.
35924         (__libc_pvalloc): Likewise.
35925         (__libc_calloc): Likewise.
35926         (__posix_memalign): Likewise.
35928         [BZ #14996]
35929         * math/s_casinh.c: Include <float.h>.
35930         (__casinh): Do not do computation with squaring and square root
35931         for large arguments.
35932         * math/s_casinhf.c: Include <float.h>.
35933         (__casinhf): Do not do computation with squaring and square root
35934         for large arguments.
35935         * math/s_casinhl.c: Include <float.h>.
35936         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
35937         (__casinhl): Do not do computation with squaring and square root
35938         for large arguments.
35939         * math/libm-test.inc (casin_test): Add more tests.
35940         (casinh_test): Likewise.
35941         * sysdeps/i386/fpu/libm-test-ulps: Update.
35942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35944 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
35946         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
35947         (__x86_64_raw_data_cache_size): Likewise.
35948         (__x86_64_data_cache_size_half): Likewise.
35949         (__x86_64_raw_data_cache_size_half): Likewise.
35950         (__x86_64_shared_cache_size): Likewise.
35951         (__x86_64_raw_shared_cache_size): Likewise.
35952         (__x86_64_shared_cache_size_half): Likewise.
35953         (__x86_64_raw_shared_cache_size_half): Likewise.
35954         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
35955         to ...
35956         (__x86_data_cache_size): This.
35957         (__x86_64_raw_data_cache_size): Renamed to ...
35958         (__x86_raw_data_cache_size): This.
35959         (__x86_64_data_cache_size_half): Renamed to ...
35960         (__x86_data_cache_size_half): This.
35961         (__x86_64_raw_data_cache_size_half): Renamed to ...
35962         (__x86_raw_data_cache_size_half): This.
35963         (__x86_64_shared_cache_size): Renamed to ...
35964         (__x86_shared_cache_size): This.
35965         (__x86_64_raw_shared_cache_size): Renamed to ...
35966         (__x86_raw_shared_cache_size): This.
35967         (__x86_64_shared_cache_size_half): Renamed to ...
35968         (__x86_shared_cache_size_half): This.
35969         (__x86_64_raw_shared_cache_size_half): Renamed to ...
35970         (__x86_raw_shared_cache_size_half): This.
35971         * sysdeps/x86_64/memcpy.S: Updated.
35972         * sysdeps/x86_64/memset.S: Likewise.
35973         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
35974         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35975         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35977 2013-01-04  David S. Miller  <davem@davemloft.net>
35979         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35981 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
35983         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
35984         1 to avoid redefinition warning.
35985         (__USE_GNU): Don't define.
35986         (init_signaling_nan): Protoize.
35988         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35990 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35992         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
35993         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
35994         (__cpymn): Likewise.
35995         (norm): Remove commented code.
35996         (denorm): Likewise.
35997         (__mp_dbl): Likewise.
35998         (__inv): Likewise.
35999         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
36000         (__cpymn): Likewise.
36001         (norm): Remove commented code.
36002         (denorm): Likewise.
36003         (__mp_dbl): Likewise.
36004         (__inv): Likewise.
36006         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
36007         mp_no value for 1.0 and 2.0.
36008         (norm): Use RADIXI instead of radixi.d.
36009         (denorm): Likewise.
36010         (__mul): Use 0.0 instead of zero.d.
36011         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
36012         mp_no value for 1.0 and 2.0.
36013         (norm): Use RADIXI instead of radixi.d.
36014         (denorm): Likewise.
36015         (__mul): Use 0.0 instead of zero.d.
36017 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
36019         [BZ #14994]
36020         * math/s_casinh.c (__casinh): Reduce finite argument to first
36021         quadrant then set signs of results at the end.
36022         * math/s_casinhf.c (__casinhf): Likewise.
36023         * math/s_casinhl.c (__casinhl): Likewise.
36024         * math/libm-test.inc (casin_test): Add more tests.
36025         (casinh_test): Likewise.
36026         * sysdeps/i386/fpu/libm-test-ulps: Update.
36027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36029 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36031         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
36033         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
36035         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
36036         declarations.
36037         (denorm): Likewise.
36038         (__mp_dbl): Likewise.
36039         (__inv): Likewise.
36041         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
36042         and adjust the header comment.
36044         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
36045         variable name from declaration.
36047 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
36049         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36050         Initialize COMMON_CPUID_INDEX_7 element.
36051         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
36052         (CPUID_RTM): Likewise.
36053         (HAS_RTM): Likewise.
36054         (COMMON_CPUID_INDEX_7): New enum.
36056 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
36058         [BZ #14981]
36059         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
36060         size is zero, record memory as freed.
36062 2013-01-03  Andreas Jaeger  <aj@suse.de>
36064         * po/ia.po: Add new Interlingua translation.
36066 2012-01-03  Allan McRae  <allan@archlinux.org>
36068         * locale/programs/localedef.c: Fix description of '--posix' flag.
36070 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
36072         * NEWS: Update dates in second copyright notice.
36073         * README: Update copyright dates in example.
36074         * manual/libc.texinfo: Update copyright dates.
36075         * scripts/test-installation.pl: Update copyright date in --version
36076         output.
36078         * hurd/ctty-input.c: Fix copyright notice formatting.
36079         * hurd/ctty-output.c: Likewise.
36080         * hurd/dtable.c: Likewise.
36081         * hurd/hurd-raise.c: Likewise.
36082         * hurd/hurdprio.c: Likewise.
36083         * hurd/msgportdemux.c: Likewise.
36084         * misc/sys/file.h: Likewise.
36085         * misc/sys/ioctl.h: Likewise.
36086         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36087         * sysdeps/mach/hurd/chdir.c: Likewise.
36088         * sysdeps/mach/hurd/fchdir.c: Likewise.
36089         * sysdeps/mach/hurd/rename.c: Likewise.
36090         * sysdeps/mach/hurd/rmdir.c: Likewise.
36091         * sysdeps/mach/hurd/seekdir.c: Likewise.
36092         * sysdeps/mach/hurd/setsid.c: Likewise.
36093         * sysdeps/posix/wait3.c: Likewise.
36095         * All files with FSF copyright notices: Update copyright dates
36096         using scripts/update-copyrights.
36097         * intl/plural.c: Regenerated.
36098         * locale/programs/charmap-kw.h: Likewise.
36099         * locale/programs/locfile-kw.h: Likewise.
36101 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36103         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
36104         four values.
36106         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
36107         calculation loop and add branch prediction.
36109         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
36110         check access beyond bounds of m1np.
36112         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36113         MPTWO.
36114         (__inv): Remove local variable MPTWO to use the global
36115         constant.
36116         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
36117         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36118         variable MPTWO.
36119         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
36120         MP3HALFS static const.
36122 2013-01-01  David S. Miller  <davem@davemloft.net>
36124         * po/ca.po: Update from translation team.
36126 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
36128         * scripts/update-copyrights: New file.
36129         * Makeconfig: Reformat copyright notice.
36130         * ctype/ctype.h: Likewise.
36131         * debug/swprintf_chk.c: Likewise.
36132         * elf/dl-cache.c: Likewise.
36133         * elf/dl-debug.c: Likewise.
36134         * elf/dl-object.c: Likewise.
36135         * grp/initgroups.c: Likewise.
36136         * hurd/Makefile: Likewise.
36137         * hurd/hurd/signal.h: Likewise.
36138         * hurd/hurdfault.c: Likewise.
36139         * hurd/hurdioctl.c: Likewise.
36140         * hurd/hurdlookup.c: Likewise.
36141         * hurd/intr-msg.c: Likewise.
36142         * iconv/gconv_open.c: Likewise.
36143         * libio/swprintf.c: Likewise.
36144         * locale/lc-ctype.c: Likewise.
36145         * locale/nl_langinfo.c: Likewise.
36146         * mach/Machrules: Likewise.
36147         * mach/Makefile: Likewise.
36148         * malloc/obstack.h: Likewise.
36149         * manual/Makefile: Likewise.
36150         * manual/tsort.awk: Likewise.
36151         * misc/bits/stab.def: Likewise.
36152         * nis/nis_print_group_entry.c: Likewise.
36153         * nis/nis_table.c: Likewise.
36154         * nis/nss_compat/compat-pwd.c: Likewise.
36155         * nis/nss_compat/compat-spwd.c: Likewise.
36156         * po/Makefile: Likewise.
36157         * posix/fnmatch.c: Likewise.
36158         * posix/regex.h: Likewise.
36159         * resolv/Makefile: Likewise.
36160         * resolv/nss_dns/dns-network.c: Likewise.
36161         * resolv/res_hconf.c: Likewise.
36162         * scripts/gen-sorted.awk: Likewise.
36163         * soft-fp/soft-fp.h: Likewise.
36164         * stdio-common/printf.h: Likewise.
36165         * stdlib/monetary.h: Likewise.
36166         * stdlib/random.c: Likewise.
36167         * stdlib/random_r.c: Likewise.
36168         * sysdeps/generic/Makefile: Likewise.
36169         * sysdeps/gnu/Makefile: Likewise.
36170         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36171         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36172         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36173         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36174         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36175         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36176         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36177         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36178         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36179         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36180         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36181         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36182         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36183         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36184         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
36185         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36186         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36187         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36188         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36189         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36190         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36191         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36192         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36193         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
36194         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
36195         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36196         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
36197         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
36198         * sysdeps/mach/hurd/errnos.awk: Likewise.
36199         * sysdeps/mach/hurd/fork.c: Likewise.
36200         * sysdeps/mach/hurd/getcwd.c: Likewise.
36201         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
36202         * sysdeps/mach/hurd/mmap.c: Likewise.
36203         * sysdeps/mach/hurd/utimes.c: Likewise.
36204         * sysdeps/mach/hurd/xmknod.c: Likewise.
36205         * sysdeps/posix/profil.c: Likewise.
36206         * sysdeps/posix/readdir_r.c: Likewise.
36207         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36208         * sysdeps/powerpc/bits/setjmp.h: Likewise.
36209         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
36210         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36211         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36212         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36213         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36214         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36215         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36216         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36217         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36218         * sysdeps/pthread/lio_listio.c: Likewise.
36219         * sysdeps/sparc/dl-procinfo.h: Likewise.
36220         * sysdeps/unix/i386/sysdep.S: Likewise.
36221         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
36222         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
36223         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
36224         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
36225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36226         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
36227         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
36228         * sysdeps/unix/sysv/linux/speed.c: Likewise.
36229         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
36230         * sysdeps/wordsize-32/divdi3.c: Likewise.
36231         * time/sys/time.h: Likewise.
36232         * wcsmbs/Makefile: Likewise.
36234 2013-01-01  David S. Miller  <davem@davemloft.net>
36236         * po/fr.po: Update from translation team.
36238         * catgets/gencat.c: Update copyright year.
36239         * csu/version.c: Likewise.
36240         * debug/catchsegv.sh: Likewise.
36241         * debug/pcprofiledump.c: Likewise.
36242         * debug/xtrace.sh: Likewise.
36243         * elf/ldconfig.c: Likewise.
36244         * elf/ldd.bash.in: Likewise.
36245         * elf/pldd.c: Likewise.
36246         * elf/sotruss.ksh: Likewise.
36247         * elf/sprof.c: Likewise.
36248         * iconv/iconv_prog.c: Likewise.
36249         * iconv/iconvconfig.c: Likewise.
36250         * locale/programs/locale.c: Likewise.
36251         * locale/programs/localedef.c: Likewise.
36252         * login/programs/pt_chown.c: Likewise.
36253         * malloc/memusage.sh: Likewise.
36254         * malloc/memusagestat.c: Likewise.
36255         * malloc/mtrace.pl: Likewise.
36256         * nscd/nscd.c: Likewise.
36257         * nss/getent.c: Likewise.
36258         * nss/makedb.c: Likewise.
36259         * posix/getconf.c: Likewise.
36261 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36263         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
36264         numbers.
36266 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
36268         * math/bits/mathcalls.h (modf): Use __nonnull.
36270 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36272         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
36273         (split): Use macro CN instead of the bare value.
36274         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
36275         could be used.
36276         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
36277         instead of the bare value.
36278         (power1): Likewise.
36280 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36282         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
36283         __ATAN_TWOM.
36284         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36286         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
36287         their values.
36288         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36289         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36290         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
36291         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36293 2012-12-28  Andreas Jaeger  <aj@suse.de>
36295         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
36296         values are from Linux 3.7.
36298         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
36299         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
36301 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36303         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
36304         TRUE case.
36306         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
36307         (norm): Likewise.
36308         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
36309         variables with preprocessor constants.
36310         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36311         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36312         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36314 2012-12-27  Bruno Haible  <bruno@clisp.org>
36316         [BZ #14317]
36317         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
36318         only if needed.
36320 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36322         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
36323         and use variable directly.
36324         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
36326         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36327         MPONE.
36328         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
36329         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36330         variable MPONE.
36331         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36332         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36333         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
36334         include directive.  Remove local variable MPONE.
36335         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
36336         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
36337         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36339 2012-12-25  David S. Miller  <davem@davemloft.net>
36341         * version.h (RELEASE): Set to "development".
36342         (VERSION): Set to "2.17.90".
36343         * NEWS: Add 2.18 section.
36345 2012-12-21  David S. Miller  <davem@davemloft.net>
36347         * po/hr.po: Update from translation team.
36349 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36351         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
36353 2012-12-19  Steve Ellcey  <sellcey@mips.com>
36355         * NEWS:  Mention new memcpy for MIPS.
36357 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36359         * manual/contrib.texi (Contributors): Spelling correction.
36361 2012-12-15  David S. Miller  <davem@davemloft.net>
36363         * po/ru.po: Update from translation team.
36365 2012-12-13  David S. Miller  <davem@davemloft.net>
36367         * NEWS: Mention IFUNC testsuite enhancements.
36369         * po/pl.po: Update from translation team.
36370         * po/bg.po: Likewise.
36372         * manual/contrib.texi (Contributors): Update entries for Hongjiu
36373         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
36375 2012-12-11  David S. Miller  <davem@davemloft.net>
36377         * po/sv.po: Update from translation team.
36379         * po/vi.po: Update from translation team.
36381         * po/cs.po: Update from translation team.
36383         * po/de.po: Update from translation team.
36384         * po/eo.po: Likewise.
36385         * po/nl.po: Likewise.
36387 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36389         [BZ #14246]
36390         * manual/argp.texi (Argp Helper Functions): Move node to follow
36391         Argp Parsing State.
36393         [BZ #14872]
36394         * manual/conf.texi (Limits on File System Capacity): Mention if
36395         terminating null is included in the max size.
36397 2012-12-10  Andreas Jaeger  <aj@suse.de>
36399         * po/cs.po: Update from translation team.
36401 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36403         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
36404         void pointer and cast to uintptr_t.
36405         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
36406         path.
36407         * sysdeps/s390/s390-64/memcpy.S: Likewise.
36408         * sysdeps/s390/s390-64/memset.S: Likewise.
36410 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
36412         [BZ #14833]
36413         * menual/message.texi (Message Translation): Fix typos.
36414         (Helper programs for gettext): Likewise.
36416 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
36418         [BZ #14898]
36419         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
36420         Change to -1.
36422 2012-12-07  David S. Miller  <davem@davemloft.net>
36424         * po/libc.pot: Update.
36426 2012-12-07  Richard Henderson  <rth@redhat.com>
36428         [BZ #10114]
36429         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
36430         normal/normal case to before the switch.
36431         (_FP_DIV): Likewise.
36433 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
36434             Mike Frysinger  <vapier@gentoo.org>
36436         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
36437         check for __NR_fadvise64_64.
36439 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
36441         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
36442         0, not just to plain "0" as a statement.
36443         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
36444         with cw.
36446 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
36448         * NEWS: Use sourceware.org in Bugzilla URL.
36450 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36453         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
36455         * stdio-common/tst-put-error.c (do_test): Add newline to the
36456         padded test to ensure flush.
36458 2012-12-05  Jeff Law  <law@redhat.com>
36460         * sunrpc/etc.rpc (fedfs_admin): Add entry.
36462 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
36464         * README: Don't refer to ports add-on as distributed separately.
36465         Mention AArch64 in list of systems supported in the ports add-on.
36467         * LICENSES: Add more non-FSF copyright and license notices.
36469         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
36470         ((unused)).
36472         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
36474         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
36475         10000 as width of padded output.
36477 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
36479         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
36481         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
36482         variable LX with __attribute__ ((unused)).
36483         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36484         Likewise.
36485         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
36486         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36487         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
36488         with __attribute__ ((unused)).
36490 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
36492         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
36494 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
36496         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
36497         (CFLAGS-nldbl-acos.c): New variable.
36498         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
36499         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
36500         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
36501         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
36502         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
36503         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
36504         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
36505         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
36506         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
36507         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
36508         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
36509         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
36510         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
36511         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
36512         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
36513         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
36514         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
36515         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
36516         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
36517         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
36518         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
36519         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
36520         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
36521         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
36522         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
36523         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
36524         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
36525         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
36526         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
36527         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
36528         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
36529         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
36530         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
36531         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
36532         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
36533         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
36534         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
36535         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
36536         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
36537         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
36538         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
36539         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
36540         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
36541         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
36542         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
36543         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
36544         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
36545         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
36546         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
36547         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
36548         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
36549         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
36550         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
36551         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
36552         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
36553         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
36554         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
36555         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
36556         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
36557         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
36558         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
36559         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
36560         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
36561         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
36562         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
36563         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
36564         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
36565         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
36566         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
36567         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
36568         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
36569         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
36570         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
36571         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
36572         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
36573         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
36574         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
36575         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
36576         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
36577         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
36578         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
36579         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
36580         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
36581         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
36582         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
36583         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
36584         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
36585         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
36586         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
36587         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
36588         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
36589         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
36590         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
36591         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
36592         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
36593         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
36594         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
36596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36597         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
36599         [BZ #14914]
36600         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
36601         whole low double instead of just low 47 bits when splitting values
36602         into two parts.
36604 2012-12-03  Allan McRae  <allan@archlinux.org>
36606         * manual/stdio.texi (Predefined Printf Handlers): Remove
36607         @hsep and @vsep usage.
36609 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
36611         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
36612         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
36614 2012-12-03  Jeff Law  <law@redhat.com>
36616         * time/sys/time.h (settimeofday): Do not mark TV argument
36617         as __nonnull.
36619 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
36621         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
36622         when currently writing and seek to current position when not.
36623         * libio/Makefile (tests): Remove bug-fclose1.
36624         * libio/bug-fclose1.c: Delete.
36626 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
36628         * manual/arith.texi (feenableexcept): Fix typo.
36629         (fedisableexcept): Likewise.
36631 2012-11-30  Roland McGrath  <roland@hack.frob.com>
36633         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
36634         second, differently-typed declaration, rather than a cast.
36636 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36638         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
36639         * include/rpc/svc.h: ... here.
36641 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
36643         [BZ #13013]
36644         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
36645         depending n and resplen2 to catch cases where answer
36646         equals answerp2.
36648 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
36650         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
36651         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
36653 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
36655         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
36657 2012-11-29  Roland McGrath  <roland@hack.frob.com>
36659         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
36661 2012-11-28  Jeff Law  <law@redhat.com>
36663         [BZ #13761]
36664         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
36665         dataset_temporary.  Track alloca usage into alloca_used.
36666         If dataset is large allocate and release it via malloc/free.
36668 2012-06-04  Florian Weimer  <fweimer@redhat.com>
36670         [BZ #14197]
36671         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
36673 2012-11-28  David S. Miller  <davem@davemloft.net>
36675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36677 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
36679         [BZ #14803]
36680         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
36681         of pi/2 rounded to nearest to 64 bits.
36682         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
36683         nearest to 64 bits.
36684         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
36685         bits.
36687 2012-11-28  Jeff Law <law@redhat.com>
36688             Martin Osvald <mosvald@redhat.com>
36690         [BZ #14889]
36691         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
36692         * sunrpc/svc.c: Include time.h.
36693         (__svc_accept_failed): New function.
36694         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
36695         any reason other than EINTR, call __svc_accept_failed.
36696         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
36697         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
36699 2012-11-28  Andreas Schwab  <schwab@suse.de>
36701         * scripts/abilist.awk: Also handle indirect functions in .opd
36702         section.
36704 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
36706         [BZ #13881]
36707         * sysdeps/x86/fpu/powl_helper.c: New file.
36708         * sysdeps/x86/fpu/Makefile: Likewise.
36709         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
36710         (p3): New object.
36711         (__ieee754_powl): Use __powl_helper for finite arguments except
36712         integer exponents below 8.
36713         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
36714         (p3): New object.
36715         (__ieee754_powl): Use __powl_helper for finite arguments except
36716         integer exponents below 8.
36717         * math/libm-test.inc (pow_test): Add more tests and enable some
36718         previously disabled tests.
36719         * sysdeps/i386/fpu/libm-test-ulps: Update.
36720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36722 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36723             Carlos O'Donell  <carlos_odonell@mentor.com>
36725         * nss/makedb.c (is_prime): Assert that input is odd and greater
36726         than 4.  Note that fact in a comment too.
36727         (next_prime): Add 4 to input.
36729 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36731         [BZ #11741]
36732         * libio/Makefile (tests): Add test case tst-fwrite-error.
36733         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
36734         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
36735         * libio/tst-fwrite-error.c: New test case.
36737 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
36739         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
36740         before casting to void *.
36741         * include/libc-internal.h (__pointer_type): New macro.
36742         (__integer_if_pointer_type_sub): Likewise.
36743         (__integer_if_pointer_type): Likewise.
36744         (cast_to_integer): Likewise.
36745         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
36746         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
36747         before casting to atomic64_t.
36748         (atomic_exchange_acq): Likewise.
36749         (__arch_exchange_and_add_body): Likewise.
36750         (__arch_add_body): Likewise.
36751         (atomic_add_negative): Likewise.
36752         (atomic_add_zero): Likewise.
36754 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
36756         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
36757         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
36758         (add_fdes): Likewise.
36759         (linear_search_fdes): Likewise.
36760         (binary_search_unencoded_fdes): Likewise.
36762 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
36764         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
36766 2012-11-24  Adam Conrad  <adconrad@0c3.net>
36768         * configure.in: Autodetect C++ header directories.
36769         * configure: Regenerated.
36771 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
36773         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
36775 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
36777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36779 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
36781         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
36782         LDBL_MANT_DIG == 106]: Disable some tests.
36783         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
36784         Likewise.
36785         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
36786         Likewise.
36788         [BZ #14871]
36789         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
36790         input for small inputs.  Return +/- pi/2 for large inputs.
36791         * math/libm-test.inc (atan_test): Add more tests.
36793         * sysdeps/generic/unwind-dw2-fde-glibc.c
36794         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
36795         __attribute__ ((unused)).
36797         [BZ #14645]
36798         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
36799         x * y if x and y are nonzero and z is zero.
36801         [BZ #14811]
36802         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
36803         nonzero exponents with absolute value below 0x1p-117 to +/-
36804         0x1p-117.
36806         [BZ #14869]
36807         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
36808         up arguments below 2**-450, not just those below 2**-500.
36809         * math/libm-test.inc (hypot_test): Add another test.
36811         [BZ #14868]
36812         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
36813         Return a+b for ratio over 2**120, not 2**60.
36814         * math/libm-test.inc (hypot_test): Add another test.
36816         * math/libm-test.inc (clog_test): Use
36817         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
36818         (clog10_test): Likewise.
36820         [BZ #6778]
36821         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
36823 2012-11-22  Andreas Schwab  <schwab@suse.de>
36825         * sysdeps/i386/fpu/libm-test-ulps: Update.
36827 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
36829         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
36830         printf output with newline.
36832 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
36834         [BZ #14865]
36835         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
36836         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
36837         -z nodlopen, -z initfirst and -z execstack support.
36838         * configure: Regenerated.
36840         * elf/elf.h (DF_1_NODIRECT): New macro.
36841         (DF_1_IGNMULDEF): Likewise.
36842         (DF_1_NOKSYMS): Likewise.
36843         (DF_1_NOHDR): Likewise.
36844         (DF_1_EDITED): Likewise.
36845         (DF_1_NORELOC): Likewise.
36846         (DF_1_SYMINTPOSE): Likewise.
36847         (DF_1_GLOBAUDIT): Likewise.
36848         (DF_1_SINGLETON): Likewise.
36849         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
36850         DT_1_SUPPORTED_MASK bits.
36851         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
36853 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
36855         * sysdeps/unix/make-syscalls.sh: Document prefixes.
36857 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
36859         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
36860         macro.
36862         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
36863         (sendmmsg): Move declarations...
36864         * socket/sys/socket.h: ... here.
36865         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
36866         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
36867         include it from...
36868         * socket/recvmmsg.c: ... this new file.
36869         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
36870         (sendmmsg): Rename to __sendmmsg, create weak alias and make
36871         definition of __sendmmsg hidden.
36872         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36873         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
36874         Move ENOSYS stub into and include it from...
36875         * socket/sendmmsg.c: ... this new file.
36876         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
36877         (sysdep_routines): Move recvmmsg and sendmmsg...
36878         * socket/Makefile (routines): ... here.
36879         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
36880         (GLIBC_PRIVATE): Add __sendmmsg.
36881         * include/sys/socket.h (__sendmmsg): Add declarations.
36882         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
36883         sendmmsg.
36885 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
36887         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
36888         variable I1 with __attribute__ ((unused)).
36889         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36891 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
36893         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
36894         DUMMY variables with __attribute__ ((unused)).
36896         * bits/byteswap.h: Include <bits/types.h>.
36897         (__bswap_64): Use __uint64_t instead of unsigned long long int.
36899 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
36901         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
36902         string_t.  Do not manually set errno.
36903         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
36904         length with __strnlen.  Make sure to both set errno and return it on
36905         failure.
36907 2012-11-19  David S. Miller  <davem@davemloft.net>
36909         With help from Joseph Myers.
36910         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
36911         very large arguments properly.
36912         * math/libm-test.inc (atan_test): New tests.
36913         (atan2_test): New tests.
36914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36915         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36917 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
36919         [BZ #14856]
36920         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
36921         Define to 3.
36923         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
36924         [POSIX] (EADDRNOTAVAIL): Likewise.
36925         [POSIX] (EAFNOSUPPORT): Likewise.
36926         [POSIX] (EALREADY): Likewise.
36927         [POSIX] (ECONNABORTED): Likewise.
36928         [POSIX] (ECONNREFUSED): Likewise.
36929         [POSIX] (ECONNRESET): Likewise.
36930         [POSIX] (EDESTADDRREQ): Likewise.
36931         [POSIX] (EDQUOT): Likewise.
36932         [POSIX] (EHOSTUNREACH): Likewise.
36933         [POSIX] (EIDRM): Likewise.
36934         [POSIX] (EISCONN): Likewise.
36935         [POSIX] (ELOOP): Likewise.
36936         [POSIX] (EMULTIHOP): Likewise.
36937         [POSIX] (ENETDOWN): Likewise.
36938         [POSIX] (ENETUNREACH): Likewise.
36939         [POSIX] (ENOBUFS): Likewise.
36940         [POSIX] (ENODATA): Likewise.
36941         [POSIX] (ENOLINK): Likewise.
36942         [POSIX] (ENOMSG): Likewise.
36943         [POSIX] (ENOPROTOOPT): Likewise.
36944         [POSIX] (ENOSR): Likewise.
36945         [POSIX] (ENOSTR): Likewise.
36946         [POSIX] (ENOTCONN): Likewise.
36947         [POSIX] (ENOTSOCK): Likewise.
36948         [POSIX] (EOPNOTSUPP): Likewise.
36949         [POSIX] (EOVERFLOW): Likewise.
36950         [POSIX] (EPROTO): Likewise.
36951         [POSIX] (EPROTONOSUPPORT): Likewise.
36952         [POSIX] (EPROTOTYPE): Likewise.
36953         [POSIX] (ESTALE): Likewise.
36954         [POSIX] (ETIME): Likewise.
36955         [POSIX] (ETXTBSY): Likewise.
36956         [POSIX] (EWOULDBLOCK): Likewise.
36957         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
36958         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
36959         [POSIX] (SEEK_CUR): Likewise.
36960         [POSIX] (SEEK_END): Likewise.
36961         [POSIX || UNIX98] (mode_t): Do not require.
36962         [POSIX] (off_t): Likewise.
36963         [POSIX] (pid_t): Likewise.
36964         [POSIX] (sys/stat.h): Do not allow header.
36965         [POSIX] (unistd.h): Likewise.
36966         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
36967         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
36968         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
36969         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
36970         require.
36971         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
36972         sigevent): Specify elements.
36973         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
36974         entry.
36975         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
36976         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
36978         * conform/data/cpio.h-data [POSIX]: Disable whole file.
36979         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
36980         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
36981         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
36982         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
36983         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
36984         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
36985         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
36986         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
36987         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
36988         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
36989         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
36990         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
36991         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
36992         Likewise.
36993         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
36994         Likewise.
36995         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
36996         Likewise.
36997         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
36998         Likewise.
36999         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
37000         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
37001         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
37002         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
37003         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
37004         Specify lower bound on value.
37005         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
37006         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
37007         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
37008         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
37009         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
37010         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
37011         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
37012         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
37013         value.
37014         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
37015         as optional.
37016         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
37017         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
37018         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
37019         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
37020         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
37021         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
37022         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
37023         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
37024         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
37025         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
37026         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
37027         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
37028         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
37029         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
37030         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
37031         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
37032         entry.
37033         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
37034         optional.
37035         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
37036         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
37037         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
37038         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
37039         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
37040         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
37041         Likewise.
37042         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
37043         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
37044         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
37045         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
37046         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
37047         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
37048         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
37049         as optional.
37050         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
37051         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
37052         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
37053         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
37054         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
37055         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
37056         specify as optional.
37057         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
37058         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
37059         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
37060         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
37061         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
37062         [XPG3] (NL_LANGMAX): Likewise.
37063         [POSIX || XPG3] (NL_MSGMAX): Likewise.
37064         [POSIX || XPG3] (NL_NMAX): Likewise.
37065         [POSIX || XPG3] (NL_SETMAX): Likewise.
37066         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
37067         [XPG3] (NZERO): Likewise.
37068         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
37069         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
37070         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
37071         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
37072         (REG_ERANGE): Expect.
37073         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
37074         optional-constant.
37075         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
37076         Use (void) in prototype.
37077         [POSIX] (*_t): Allow.
37078         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
37079         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
37080         (WRDE_BADVAL): Expect.
37082         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
37083         expect.
37084         [XPG3 || XPG4] (O_RSYNC): Likewise.
37085         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
37086         Likewise.
37087         [XPG3 || XPG4] (pthread_sigmask): Likewise.
37088         [XPG3 || XPG4] (sigqueue): Likewise.
37089         [XPG3 || XPG4] (sigtimedwait): Likewise.
37090         [XPG3 || XPG4] (sigwaitinfo): Likewise.
37091         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
37092         [XPG3 || XPG4] (vsnprintf): Likewise.
37093         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
37094         Likewise.
37095         [XPG3 || XPG4] (blksize_t): Likewise.
37096         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
37097         Likewise.
37098         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
37099         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37100         [XPG3 || XPG4] (struct itimerspec): Likewise.
37101         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
37102         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
37103         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
37104         [XPG3 || XPG4] (clockid_t): Likewise.
37105         [XPG3 || XPG4] (timer_t): Likewise.
37106         [XPG3 || XPG4] (clock_getres): Likewise.
37107         [XPG3 || XPG4] (clock_gettime): Likewise.
37108         [XPG3 || XPG4] (clock_settime): Likewise.
37109         [XPG3 || XPG4] (nanosleep): Likewise.
37110         [XPG3 || XPG4] (timer_create): Likewise.
37111         [XPG3 || XPG4] (timer_delete): Likewise.
37112         [XPG3 || XPG4] (timer_gettime): Likewise.
37113         [XPG3 || XPG4] (timer_getoverrun): Likewise.
37114         [XPG3 || XPG4] (timer_settime): Likewise.
37115         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
37116         [XPG3 || XPG4] (getlogin_r): Likewise.
37117         [XPG3 || XPG4] (pread): Likewise.
37118         [XPG3 || XPG4] (pthread_atfork): Likewise.
37119         [XPG3 || XPG4] (pwrite): Likewise.
37121         [BZ #14835]
37122         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
37123         <bits/siginfo.h>.
37125 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
37127         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
37128         finalizing MALLSTREAM.
37130         * sysdeps/mach/hurd/syncfs.c: New file.
37132 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37134         [BZ #14719]
37135         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
37136         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
37137         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
37138         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
37139         (_nss_dns_gethostbyname4_r): Likewise.
37140         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
37141         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
37143 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
37145         [BZ #13763]
37146         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
37148 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
37150         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
37151         * elf/cache.c (print_entry): Print ",AArch64" for
37152         FLAG_AARCH64_LIB64
37154         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
37155         * elf/cache.c (print_entry): Print ",hard-float" for
37156         FLAG_ARM_LIBHF.
37158 2012-11-18  David S. Miller  <davem@davemloft.net>
37160         With help from Joseph Myers.
37161         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
37162         cutoff to 2**-13.
37163         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
37164         cutoff to 2**-25.
37165         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
37166         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
37167         small.
37168         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
37169         * math/libm-test.inc (y0_test): New tests.
37170         (y1_test): New tests.
37171         * sysdeps/i386/fpu/libm-test-ulps: Update.
37172         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37173         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37175 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
37177         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
37178         64-bit targets.
37179         * configure: Regenerated.
37181 2012-11-17  David S. Miller  <davem@davemloft.net>
37183         [BZ #14811]
37184         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
37185         nonzero exponents with absolute value below 0x1p-128 to +/-
37186         0x1p-128.
37188 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
37190         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
37192         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
37194         * posix/getconf-speclist.c: New file.
37195         * posix/posix-envs.def: Likewise.
37196         * posix/confstr.c (START_ENV_GROUP): New macro.
37197         (END_ENV_GROUP): Likewise.
37198         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37199         (KNOWN_PRESENT_ENV_STRING): Likewise.
37200         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37201         (UNKNOWN_ENVIRONMENT): Likewise.
37202         (confstr): Include posix-envs.def instead of handling
37203         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
37204         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
37205         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
37206         (END_ENV_GROUP): Likewise.
37207         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37208         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37209         (UNKNOWN_ENVIRONMENT): Likewise.
37210         (__sysconf): Include posix-envs.def instead of handling associated
37211         cases directly here.
37212         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
37213         preprocessing getconf-speclist.c rather than running getconf or
37214         generating empty file.
37216 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
37218         * scripts/check-local-headers.sh: Ignore 'mach' headers.
37220 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
37222         [BZ #14672]
37223         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
37225 2012-11-16  David S. Miller  <davem@davemloft.net>
37227         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
37228         smaller than LDBL_EPSILON/2.0L, just return xm1.
37230 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
37232         * elf/tst-array1.c (init): Set constructor priority to 1000.
37233         (fini): Set destructor priority to 1000.
37234         * elf/tst-array2dep.c: Likewise.
37236 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37238         [BZ #11741]
37239         * libio/fileops.c (_IO_new_file_write): Correctly return error.
37240         (_IO_new_file_xsputn): Also return EOF if none of the input
37241         data was written when overflow failed.
37242         * libio/iopadn.c (_IO_padn): Likewise.
37243         * libio/iowpadn.c (_IO_wpadn): Likewise.
37244         * stdio-common/tst-put-error.c: Add copyright notice.
37245         (do_test): Add case for printing padded string.
37246         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
37247         _IO_padn returned error.
37248         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
37249         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
37250         return EOF.
37252 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37254         * libio/libioP.h: Add comment note that the references to C++
37255         bits are now obsolete.
37257 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37259         * math/libm-test.inc (check_complex): Use asprintf.
37261 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
37263         * debug/pcprofiledump.c (print_version): Update copyright year.
37264         * malloc/memusagestat.c (print_version): Likewise.
37266 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
37268         [BZ #14831]
37269         * elf/Makefile (tests): Add tst-audit8.
37270         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
37271         ($(objpfx)tst-audit8.out): New target.
37272         (tst-audit8-ENV): New variable.
37273         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
37274         audit if l_reloc_result is NULL.
37275         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
37276         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
37277         * elf/tst-audit8.c: New file.
37279 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37281         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
37282         * misc/Makefile (CFLAGS-select.c): Define.
37283         * posix/Makefile (CFLAGS-pause.c): Define.
37285 2012-11-13  David S. Miller  <davem@davemloft.net>
37287         * crypt/Makefile: Move test targets after toplevel Rules
37288         inclusion.  Grab any necessary sysdep routines when linking.
37289         * crypt/md5.c (md5_process_block): Remove define, we will always
37290         name it __md5_process_block.
37291         (md5_finish_ctx): Update md5_process_block call.
37292         (md5_stream): Likewise.
37293         (md5_process_bytes): Likewise.
37294         (md5_process_block): Rename to __md5_process_block and move to ...
37295         * crypt/md5-block.c: ... here.
37296         * crypt/sha256.c (sha256_process_block): Move to ...
37297         * crypt/sha256-block.c: ... here.
37298         * crypt/sha512.c (sha512_process_block): Move to ...
37299         * crypt/sha512-block.c: ... here.
37300         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
37301         path.
37302         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
37303         * sysdeps/sparc/sparc64/multiarch/Makefile
37304         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
37305         crypt subdir.
37306         (localedef-aux): Add md5 crypto assembler when in locale subdir.
37307         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
37308         multiarch changes.
37309         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
37310         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
37311         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
37312         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
37313         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
37314         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
37315         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
37316         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
37317         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
37318         file.
37319         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
37320         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
37321         file.
37322         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
37324 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
37326         * timezone/tzselect.ksh: Update from tzcode git revision
37327         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
37328         * timezone/zdump.c: Likewise.
37329         * timezone/zic.c: Likewise.
37330         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
37331         in TZVERSION setting, not $(PKGVERSION).
37332         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
37333         REPORT_BUGS_TO settings.
37335         [BZ #14838]
37336         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
37337         macro.
37339 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37341         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
37342         detection to immediately after _FP_ROUND().
37343         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
37344         bits are 0.
37346 2012-11-11  David S. Miller  <davem@davemloft.net>
37348         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
37349         inttypes.h
37350         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
37351         __close rather than their public counterparts.
37353 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
37355         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
37356         file.
37357         [UNIX98] (sem_timedwait): Do not expect.
37358         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
37359         [XPG4 || UNIX98] (sockatmark): Do not expect.
37360         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
37361         (clock_getcpuclockid): Do not expect.
37362         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
37363         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
37364         Do not expect.
37365         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
37366         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
37367         [UNIX98] (vwscanf): Likewise.
37368         [UNIX98] (vswscanf): Likewise.
37370 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
37372         * timezone/version.h: Remove file.
37373         * timezone/README: Do not refer to version.h.
37374         * timezone/Makefile ($(objpfx)zic.o): New dependency on
37375         $(objpfx)version.h.
37376         ($(objpfx)zdump.o): Likewise.
37377         ($(objpfx)version.h): New target.
37379         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
37380         2012i.
37381         * timezone/README: Don't mention modification to tzselect.ksh.
37382         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
37383         work on unmodified tzselect.ksh.  Substitute version numbers in
37384         tzselect.ksh.
37386         * Makefile (format-me): Remove.
37387         (INSTALL): Adjust indentation.  Use commands directly instead of
37388         using $(format-me).
37390         * aclocal.m4 (ACX_PKGVERSION): New macro.
37391         (ACX_BUGURL): Likewise.
37392         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
37393         (PKGVERSION): New AC_DEFINE_UNQUOTED.
37394         (REPORT_BUGS_TO): Likewise.
37395         * configure: Regenerated.
37396         * config.h.in (PKGVERSION): New macro.
37397         (REPORT_BUGS_TO): Likewise.
37398         * config.make.in (PKGVERSION): New variable.
37399         (PKGVERSION_TEXI): Likewise.
37400         (REPORT_BUGS_TO): Likewise.
37401         (REPORT_BUGS_TEXI): Likewise.
37402         * Makefile (format-me): Use -I$(common-objpfx)manual.
37403         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
37404         ($(common-objpfx)manual/%): New target.
37405         (manual/%): Remove target.
37406         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
37407         (print_version): Use PKGVERSION.
37408         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
37409         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
37410         and REPORT_BUGS_TO.
37411         ($(objpfx)xtrace): Likewise.
37412         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
37413         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
37414         (print_version): Use PKGVERSION.
37415         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
37416         (do_version): Use PKGVERSION.
37417         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
37418         REPORT_BUGS_TO.
37419         (common-ldd-rewrite): Likewise.
37420         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
37421         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
37422         (print_version): Use PKGVERSION.
37423         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
37424         * elf/pldd.c (argp_program_bug_address): Remove variable.
37425         (more_help): New function.
37426         (argp): Use more_help.
37427         (print_version): Use PKGVERSION.
37428         * elf/sln.c (main): Use PKGVERSION.
37429         (usage): Use REPORT_BUGS_TO.
37430         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
37431         (top level): Use PKGVERSION.
37432         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
37433         (print_version): Use PKGVERSION.
37434         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
37435         (print_version): Use PKGVERSION.
37436         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
37437         (print_version): Use PKGVERSION.
37438         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
37439         (print_version): Use PKGVERSION.
37440         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
37441         (print_version): Use PKGVERSION.
37442         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
37443         (print_version): Use PKGVERSION.
37444         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
37445         and BUGURL.
37446         ($(objpfx)memusage): Likewise.
37447         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
37448         (do_version): Use PKGVERSION.
37449         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
37450         (print_version): Use PKGVERSION.
37451         * malloc/mtrace.pl ($PACKAGE): Remove variable.
37452         ($PKGVERSION): New variable.
37453         ($REPORT_BUGS_TO): Likewise.
37454         (usage): Use $REPORT_BUGS_TO.
37455         (top level): Use $PKGVERSION.
37456         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
37457         ($(objpfx)pkgvers.texi): New rule.
37458         ($(objpfx)stamp-pkgvers): Likewise.
37459         * manual/install.texi: Include pkgvers.texi.
37460         (--with-pkgversion): Document new configure option.
37461         (--with-bugurl): Likewise.
37462         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
37463         than necessarily for this particular distribution.  Use
37464         REPORT_BUGS_TO for where to report bugs.
37465         * INSTALL: Regenerated.
37466         * manual/libc.texinfo: Include pkgvers.texi.
37467         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
37468         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
37469         (print_version): Use PKGVERSION.
37470         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
37471         (print_version): Use PKGVERSION.
37472         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
37473         (print_version): Use PKGVERSION.
37474         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
37475         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
37476         macro.
37477         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
37478         (print_version): Use PKGVERSION.
37479         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
37480         (print_version): Use PKGVERSION.
37481         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
37482         and PKGVERSION.
37484         * timezone/checktab.awk: Update from tzcode 2012i.
37485         * timezone/ialloc.c: Likewise.
37486         * timezone/private.h: Likewise.
37487         * timezone/scheck.c: Likewise.
37488         * timezone/tzfile.h: Likewise.
37489         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
37490         (TZVERSION): Hardcode tzcode version number.
37491         * timezone/zdump.c: Update from tzcode 2012i.
37492         * timezone/zic.c: Likewise.
37493         * timezone/version.h: New file.
37494         * timezone/README: Describe version.h.  Update upstream location.
37496         [BZ #14824]
37497         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
37498         (mktemp): Enable declaration.
37499         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
37500         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
37501         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
37502         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
37503         Likewise.
37504         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
37505         Likewise.
37506         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
37507         Likewise.
37508         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
37509         Likewise.
37510         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
37511         Likewise.
37512         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
37513         Likewise.
37515         [BZ #14821]
37516         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
37517         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
37518         for copies of such integer values.
37519         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37520         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37522 2012-11-09  Andreas Jaeger  <aj@suse.de>
37524         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
37525         definitions and declarations that are provided by
37526         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37528 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37530         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
37531         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
37532         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
37533         definition.
37535 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37537         * elf/elf.h: Update comment before AArch64 relocations.
37539 2012-11-07  David S. Miller  <davem@davemloft.net>
37541         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
37542         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37543         (__start_context): Declare.
37544         (__makecontext_ret): Delete.
37545         (__makecontext): Hook up __start_context instead of
37546         __makecontext_ret.
37547         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
37548         (sysdep_routines): Add __start_context when in stdlib.
37550 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
37552         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
37553         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
37554         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
37555         hardcoded "nm".
37556         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
37557         (READELF): New variable.  Use it instead of hardcoded "readelf".
37559 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
37561         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
37562         * sysdeps/x86/Makefile: Here.
37563         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
37564         * sysdeps/x86/tst-xmmymm.sh: This.
37566 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
37568         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
37569         expectations.
37570         [UNIX98] (pthread_barrier_t): Do not expect.
37571         [UNIX98] (pthread_barrierattr_t): Likewise.
37572         [UNIX98] (pthread_spinlock_t): Likewise.
37573         [UNIX98] (pthread_barrier_destroy): Likewise.
37574         [UNIX98] (pthread_barrier_init): Likewise.
37575         [UNIX98] (pthread_barrier_wait): Likewise.
37576         [UNIX98] (pthread_barrierattr_destroy): Likewise.
37577         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
37578         [UNIX98] (pthread_barrierattr_init): Likewise.
37579         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
37580         [UNIX98] (pthread_getcpuclockid): Likewise.
37581         [UNIX98] (pthread_mutex_timedlock): Likewise.
37582         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
37583         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
37584         [UNIX98] (pthread_sigmask): Likewise.
37585         [UNIX98] (pthread_spin_destroy): Likewise.
37586         [UNIX98] (pthread_spin_init): Likewise.
37587         [UNIX98] (pthread_spin_lock): Likewise.
37588         [UNIX98] (pthread_spin_trylock): Likewise.
37589         [UNIX98] (pthread_spin_unlock): Likewise.
37590         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
37591         Do not expect.
37592         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
37593         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
37594         [XPG3 || XPG4] (pthread_cond_t): Likewise.
37595         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
37596         [XPG3 || XPG4] (pthread_key_t): Likewise.
37597         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
37598         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
37599         [XPG3 || XPG4] (pthread_once_t): Likewise.
37600         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
37601         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
37602         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
37603         [XPG3 || XPG4] (pthread_t): Likewise.
37605         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
37606         not expect.
37607         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
37609         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
37610         Change function return type to int.
37612         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
37613         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
37614         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
37615         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
37616         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
37617         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
37618         [!POSIX] (posix_madvise): Likewise.
37619         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
37620         && !UNIX98].
37621         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
37622         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
37623         (mode_t): Likewise.
37624         (posix_mem_offset): Likewise.
37625         (posix_typed_mem_get_info): Likewise.
37626         (posix_typed_mem_open): Likewise.
37628         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
37629         Change condition to [XOPEN2K8].
37631         * conform/conformtest.pl: Preprocess allow-header data with -x c
37632         instead of from stdin.
37633         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
37634         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
37635         [C99-based standards] (cerfc): Likewise.
37636         [C99-based standards] (cexp2): Likewise.
37637         [C99-based standards] (cexpm1): Likewise.
37638         [C99-based standards] (clog10): Likewise.
37639         [C99-based standards] (clog1p): Likewise.
37640         [C99-based standards] (clog2): Likewise.
37641         [C99-based standards] (clgamma): Likewise.
37642         [C99-based standards] (ctgamma): Likewise.
37643         [C99-based standards] (cerff): Likewise.
37644         [C99-based standards] (cerfcf): Likewise.
37645         [C99-based standards] (cexp2f): Likewise.
37646         [C99-based standards] (cexpm1f): Likewise.
37647         [C99-based standards] (clog10f): Likewise.
37648         [C99-based standards] (clog1pf): Likewise.
37649         [C99-based standards] (clog2f): Likewise.
37650         [C99-based standards] (clgammaf): Likewise.
37651         [C99-based standards] (ctgammaf): Likewise.
37652         [C99-based standards] (cerfl): Likewise.
37653         [C99-based standards] (cerfcl): Likewise.
37654         [C99-based standards] (cexp2l): Likewise.
37655         [C99-based standards] (cexpm1l): Likewise.
37656         [C99-based standards] (clog10l): Likewise.
37657         [C99-based standards] (clog1pl): Likewise.
37658         [C99-based standards] (clog2l): Likewise.
37659         [C99-based standards] (clgammal): Likewise.
37660         [C99-based standards] (ctgammal): Likewise.
37661         * conform/data/inttypes.h-data [C99-based standards]: Include
37662         stdint.h-data.  Remove all expectations for stdint.h contents.
37663         [C99-based standards] (PRI*): Do not allow.
37664         [C99-based standards] (SCN*): Likewise.
37665         [C99-based standards] (*_t): Likewise.
37666         [C99-based-standards] (PRId8): Expect macro.
37667         [C99-based-standards] (PRIi8): Likewise.
37668         [C99-based-standards] (PRIo8): Likewise.
37669         [C99-based-standards] (PRIu8): Likewise.
37670         [C99-based-standards] (PRIx8): Likewise.
37671         [C99-based-standards] (PRIX8): Likewise.
37672         [C99-based-standards] (SCNd8): Likewise.
37673         [C99-based-standards] (SCNi8): Likewise.
37674         [C99-based-standards] (SCNo8): Likewise.
37675         [C99-based-standards] (SCNu8): Likewise.
37676         [C99-based-standards] (SCNx8): Likewise.
37677         [C99-based-standards] (PRIdLEAST8): Likewise.
37678         [C99-based-standards] (PRIiLEAST8): Likewise.
37679         [C99-based-standards] (PRIoLEAST8): Likewise.
37680         [C99-based-standards] (PRIuLEAST8): Likewise.
37681         [C99-based-standards] (PRIxLEAST8): Likewise.
37682         [C99-based-standards] (PRIXLEAST8): Likewise.
37683         [C99-based-standards] (SCNdLEAST8): Likewise.
37684         [C99-based-standards] (SCNiLEAST8): Likewise.
37685         [C99-based-standards] (SCNoLEAST8): Likewise.
37686         [C99-based-standards] (SCNuLEAST8): Likewise.
37687         [C99-based-standards] (SCNxLEAST8): Likewise.
37688         [C99-based-standards] (PRIdFAST8): Likewise.
37689         [C99-based-standards] (PRIiFAST8): Likewise.
37690         [C99-based-standards] (PRIoFAST8): Likewise.
37691         [C99-based-standards] (PRIuFAST8): Likewise.
37692         [C99-based-standards] (PRIxFAST8): Likewise.
37693         [C99-based-standards] (PRIXFAST8): Likewise.
37694         [C99-based-standards] (SCNdFAST8): Likewise.
37695         [C99-based-standards] (SCNiFAST8): Likewise.
37696         [C99-based-standards] (SCNoFAST8): Likewise.
37697         [C99-based-standards] (SCNuFAST8): Likewise.
37698         [C99-based-standards] (SCNxFAST8): Likewise.
37699         [C99-based-standards] (PRId16): Likewise.
37700         [C99-based-standards] (PRIi16): Likewise.
37701         [C99-based-standards] (PRIo16): Likewise.
37702         [C99-based-standards] (PRIu16): Likewise.
37703         [C99-based-standards] (PRIx16): Likewise.
37704         [C99-based-standards] (PRIX16): Likewise.
37705         [C99-based-standards] (SCNd16): Likewise.
37706         [C99-based-standards] (SCNi16): Likewise.
37707         [C99-based-standards] (SCNo16): Likewise.
37708         [C99-based-standards] (SCNu16): Likewise.
37709         [C99-based-standards] (SCNx16): Likewise.
37710         [C99-based-standards] (PRIdLEAST16): Likewise.
37711         [C99-based-standards] (PRIiLEAST16): Likewise.
37712         [C99-based-standards] (PRIoLEAST16): Likewise.
37713         [C99-based-standards] (PRIuLEAST16): Likewise.
37714         [C99-based-standards] (PRIxLEAST16): Likewise.
37715         [C99-based-standards] (PRIXLEAST16): Likewise.
37716         [C99-based-standards] (SCNdLEAST16): Likewise.
37717         [C99-based-standards] (SCNiLEAST16): Likewise.
37718         [C99-based-standards] (SCNoLEAST16): Likewise.
37719         [C99-based-standards] (SCNuLEAST16): Likewise.
37720         [C99-based-standards] (SCNxLEAST16): Likewise.
37721         [C99-based-standards] (PRIdFAST16): Likewise.
37722         [C99-based-standards] (PRIiFAST16): Likewise.
37723         [C99-based-standards] (PRIoFAST16): Likewise.
37724         [C99-based-standards] (PRIuFAST16): Likewise.
37725         [C99-based-standards] (PRIxFAST16): Likewise.
37726         [C99-based-standards] (PRIXFAST16): Likewise.
37727         [C99-based-standards] (SCNdFAST16): Likewise.
37728         [C99-based-standards] (SCNiFAST16): Likewise.
37729         [C99-based-standards] (SCNoFAST16): Likewise.
37730         [C99-based-standards] (SCNuFAST16): Likewise.
37731         [C99-based-standards] (SCNxFAST16): Likewise.
37732         [C99-based-standards] (PRId32): Likewise.
37733         [C99-based-standards] (PRIi32): Likewise.
37734         [C99-based-standards] (PRIo32): Likewise.
37735         [C99-based-standards] (PRIu32): Likewise.
37736         [C99-based-standards] (PRIx32): Likewise.
37737         [C99-based-standards] (PRIX32): Likewise.
37738         [C99-based-standards] (SCNd32): Likewise.
37739         [C99-based-standards] (SCNi32): Likewise.
37740         [C99-based-standards] (SCNo32): Likewise.
37741         [C99-based-standards] (SCNu32): Likewise.
37742         [C99-based-standards] (SCNx32): Likewise.
37743         [C99-based-standards] (PRIdLEAST32): Likewise.
37744         [C99-based-standards] (PRIiLEAST32): Likewise.
37745         [C99-based-standards] (PRIoLEAST32): Likewise.
37746         [C99-based-standards] (PRIuLEAST32): Likewise.
37747         [C99-based-standards] (PRIxLEAST32): Likewise.
37748         [C99-based-standards] (PRIXLEAST32): Likewise.
37749         [C99-based-standards] (SCNdLEAST32): Likewise.
37750         [C99-based-standards] (SCNiLEAST32): Likewise.
37751         [C99-based-standards] (SCNoLEAST32): Likewise.
37752         [C99-based-standards] (SCNuLEAST32): Likewise.
37753         [C99-based-standards] (SCNxLEAST32): Likewise.
37754         [C99-based-standards] (PRIdFAST32): Likewise.
37755         [C99-based-standards] (PRIiFAST32): Likewise.
37756         [C99-based-standards] (PRIoFAST32): Likewise.
37757         [C99-based-standards] (PRIuFAST32): Likewise.
37758         [C99-based-standards] (PRIxFAST32): Likewise.
37759         [C99-based-standards] (PRIXFAST32): Likewise.
37760         [C99-based-standards] (SCNdFAST32): Likewise.
37761         [C99-based-standards] (SCNiFAST32): Likewise.
37762         [C99-based-standards] (SCNoFAST32): Likewise.
37763         [C99-based-standards] (SCNuFAST32): Likewise.
37764         [C99-based-standards] (SCNxFAST32): Likewise.
37765         [C99-based-standards] (PRId64): Likewise.
37766         [C99-based-standards] (PRIi64): Likewise.
37767         [C99-based-standards] (PRIo64): Likewise.
37768         [C99-based-standards] (PRIu64): Likewise.
37769         [C99-based-standards] (PRIx64): Likewise.
37770         [C99-based-standards] (PRIX64): Likewise.
37771         [C99-based-standards] (SCNd64): Likewise.
37772         [C99-based-standards] (SCNi64): Likewise.
37773         [C99-based-standards] (SCNo64): Likewise.
37774         [C99-based-standards] (SCNu64): Likewise.
37775         [C99-based-standards] (SCNx64): Likewise.
37776         [C99-based-standards] (PRIdLEAST64): Likewise.
37777         [C99-based-standards] (PRIiLEAST64): Likewise.
37778         [C99-based-standards] (PRIoLEAST64): Likewise.
37779         [C99-based-standards] (PRIuLEAST64): Likewise.
37780         [C99-based-standards] (PRIxLEAST64): Likewise.
37781         [C99-based-standards] (PRIXLEAST64): Likewise.
37782         [C99-based-standards] (SCNdLEAST64): Likewise.
37783         [C99-based-standards] (SCNiLEAST64): Likewise.
37784         [C99-based-standards] (SCNoLEAST64): Likewise.
37785         [C99-based-standards] (SCNuLEAST64): Likewise.
37786         [C99-based-standards] (SCNxLEAST64): Likewise.
37787         [C99-based-standards] (PRIdFAST64): Likewise.
37788         [C99-based-standards] (PRIiFAST64): Likewise.
37789         [C99-based-standards] (PRIoFAST64): Likewise.
37790         [C99-based-standards] (PRIuFAST64): Likewise.
37791         [C99-based-standards] (PRIxFAST64): Likewise.
37792         [C99-based-standards] (PRIXFAST64): Likewise.
37793         [C99-based-standards] (SCNdFAST64): Likewise.
37794         [C99-based-standards] (SCNiFAST64): Likewise.
37795         [C99-based-standards] (SCNoFAST64): Likewise.
37796         [C99-based-standards] (SCNuFAST64): Likewise.
37797         [C99-based-standards] (SCNxFAST64): Likewise.
37798         [C99-based-standards] (PRIdMAX): Likewise.
37799         [C99-based-standards] (PRIiMAX): Likewise.
37800         [C99-based-standards] (PRIoMAX): Likewise.
37801         [C99-based-standards] (PRIuMAX): Likewise.
37802         [C99-based-standards] (PRIxMAX): Likewise.
37803         [C99-based-standards] (PRIXMAX): Likewise.
37804         [C99-based-standards] (SCNdMAX): Likewise.
37805         [C99-based-standards] (SCNiMAX): Likewise.
37806         [C99-based-standards] (SCNoMAX): Likewise.
37807         [C99-based-standards] (SCNuMAX): Likewise.
37808         [C99-based-standards] (SCNxMAX): Likewise.
37809         [C99-based-standards] (PRIdPTR): Likewise.
37810         [C99-based-standards] (PRIiPTR): Likewise.
37811         [C99-based-standards] (PRIoPTR): Likewise.
37812         [C99-based-standards] (PRIuPTR): Likewise.
37813         [C99-based-standards] (PRIxPTR): Likewise.
37814         [C99-based-standards] (PRIXPTR): Likewise.
37815         [C99-based-standards] (SCNdPTR): Likewise.
37816         [C99-based-standards] (SCNiPTR): Likewise.
37817         [C99-based-standards] (SCNoPTR): Likewise.
37818         [C99-based-standards] (SCNuPTR): Likewise.
37819         [C99-based-standards] (SCNxPTR): Likewise.
37820         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
37821         allow.
37822         * conform/data/stdint.h-data: Update comments to clarify
37823         requirements.
37824         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
37825         type.
37826         [C99-based standards] (INT8_MAX): Likewise.
37827         [C99-based standards] (INT16_MIN): Likewise.
37828         [C99-based standards] (INT16_MAX): Likewise.
37829         [C99-based standards] (INT32_MIN): Likewise.
37830         [C99-based standards] (INT32_MAX): Likewise.
37831         [C99-based standards] (INT64_MIN): Likewise.
37832         [C99-based standards] (INT64_MAX): Likewise.
37833         [C99-based standards] (UINT8_MAX): Likewise.
37834         [C99-based standards] (UINT16_MAX): Likewise.
37835         [C99-based standards] (UINT32_MAX): Likewise.
37836         [C99-based standards] (UINT64_MAX): Likewise.
37837         [C99-based standards] (INT_LEAST8_MIN): Likewise.
37838         [C99-based standards] (INT_LEAST8_MAX): Likewise.
37839         [C99-based standards] (INT_LEAST16_MIN): Likewise.
37840         [C99-based standards] (INT_LEAST16_MAX): Likewise.
37841         [C99-based standards] (INT_LEAST32_MIN): Likewise.
37842         [C99-based standards] (INT_LEAST32_MAX): Likewise.
37843         [C99-based standards] (INT_LEAST64_MIN): Likewise.
37844         [C99-based standards] (INT_LEAST64_MAX): Likewise.
37845         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
37846         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
37847         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
37848         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
37849         [C99-based standards] (INT_FAST8_MIN): Likewise.
37850         [C99-based standards] (INT_FAST8_MAX): Likewise.
37851         [C99-based standards] (INT_FAST16_MIN): Likewise.
37852         [C99-based standards] (INT_FAST16_MAX): Likewise.
37853         [C99-based standards] (INT_FAST32_MIN): Likewise.
37854         [C99-based standards] (INT_FAST32_MAX): Likewise.
37855         [C99-based standards] (INT_FAST64_MIN): Likewise.
37856         [C99-based standards] (INT_FAST64_MAX): Likewise.
37857         [C99-based standards] (UINT_FAST8_MAX): Likewise.
37858         [C99-based standards] (UINT_FAST16_MAX): Likewise.
37859         [C99-based standards] (UINT_FAST32_MAX): Likewise.
37860         [C99-based standards] (UINT_FAST64_MAX): Likewise.
37861         [C99-based standards] (INTPTR_MIN): Likewise.
37862         [C99-based standards] (INTPTR_MAX): Likewise.
37863         [C99-based standards] (UINTPTR_MAX): Likewise.
37864         [C99-based standards] (INTMAX_MIN): Likewise.
37865         [C99-based standards] (INTMAX_MAX): Likewise.
37866         [C99-based standards] (UINTMAX_MAX): Likewise.
37867         [C99-based standards] (PTRDIFF_MIN): Likewise.
37868         [C99-based standards] (PTRDIFF_MAX): Likewise.
37869         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
37870         [C99-based standards] (SIZE_MAX): Likewise.
37871         [C99-based standards] (WCHAR_MAX): Likewise.
37872         [C99-based standards] (WINT_MAX): Likewise.
37873         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
37874         constraint on value.
37875         [C99-based standards] (WCHAR_MIN): Likewise.
37876         [C99-based standards] (WINT_MIN): Likewise.
37877         [C99-based standards] (*_t): Allow.
37878         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
37879         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
37880         Include math.h-data and complex.h-data.  Remove all expectations
37881         of math.h and complex.h contents.
37882         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
37883         at end of line.
37884         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
37885         (struct tm): Expect tag.
37886         [C99-based-standards] (wcstof): Expect function.
37887         [C99-based-standards] (wcstold): Likewise.
37888         [C99-based-standards] (wcstoll): Likewise.
37889         [C99-based-standards] (wcstoull): Likewise.
37890         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
37891         macro-int-constant.  Specify type.
37892         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
37893         constraint on value.
37894         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
37895         Specify type.
37896         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
37897         Specify value.
37898         [ISO C standards]: Do not allow headers.
37899         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
37900         wcs[abcdefghijklmnopqrstuvwxyz]*.
37901         [ISO C standards] (*_t): Do not allow.
37902         * conform/data/wctype.h-data [C99-based standards] (iswblank):
37903         Expect function.
37904         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
37905         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
37906         Specify type.
37907         [ISO C standards]: Do not allow headers.
37908         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
37909         is[abcdefghijklmnopqrstuvwxyz]*.
37910         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
37911         to[abcdefghijklmnopqrstuvwxyz]*.
37912         [ISO C standards] (*_t): Do not allow.
37913         * conform/data/stdalign.h-data: New file.
37914         * conform/data/stdbool.h-data: Likewise.
37915         * conform/data/stdnoreturn.h-data: Likewise.
37917 2012-11-07  Roland McGrath  <roland@hack.frob.com>
37919         [BZ #14815]
37920         * manual/filesys.texi (Directory Entries): Typo fix.
37921         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
37923 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37925         * elf/elf.h (EM_AARCH64): New macro.
37926         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
37927         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
37928         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
37929         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
37930         (R_AARCH64_TLSDESC): Likewise.
37931         (NT_ARM_TLS): Likewise.
37932         (NT_ARM_HW_BREAK): Likewise.
37933         (NT_ARM_HW_WATCH): Likewise.
37935 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
37937         [BZ #14811]
37938         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
37939         (__ieee754_powl): Saturate nonzero exponents with absolute value
37940         below 0x1p-79 to +/- 0x1p-79.
37941         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
37942         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
37943         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
37944         nonzero exponents with absolute value below 0x1p-32 to +/-
37945         0x1p-32.
37946         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
37947         (__ieee754_powl): Saturate nonzero exponents with absolute value
37948         below 0x1p-79 to +/- 0x1p-79.
37949         * math/libm-test.inc (pow_test): Add more tests.
37951 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37953         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
37954         _dl_s390_cap_flags with kernel. Increase string length.
37955         (_dl_s390_platforms): Add z196 and zEC12.
37957 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
37959         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
37960         Change XOPEN21K to XOPEN2K.
37962 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
37964         * string/memmove.c: Use memcpy when possible.
37966 2012-11-06  Andreas Jaeger  <aj@suse.de>
37968         * po/eo.po: Update from translation team.
37970 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
37972         [BZ #14793]
37973         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
37974         exponent and small x and y exponents, scale x or y up.  Increase
37975         by 2 the exponent used in scaling up.
37976         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37977         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37978         * math/libm-test.inc (fma_test): Add more tests.
37979         (fma_test_towardzero): Likewise.
37980         (fma_test_downward): Likewise.
37981         (fma_test_upward): Likewise.
37983 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
37985         [BZ #14805]
37986         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
37987         fenv_t *.
37989         [BZ #14801]
37990         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
37991         namespace for names of struct fields.
37992         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
37993         fenv_t fields.
37994         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
37995         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
37997 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37999         [BZ #3665]
38000         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
38002 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
38004         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
38005         PTR_DEMANGLE.
38007         [BZ #5246]
38008         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
38009         PTR_DEMANGLE.
38011 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
38013         [BZ #14797]
38014         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
38015         definitely overflow as x * y not x * y + z.
38016         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38017         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38018         * math/libm-test.inc (fma_test): Add more tests.
38019         (fma_test_towardzero): Likewise.
38020         (fma_test_downward): Likewise.
38021         (fma_test_upward): Likewise.
38023 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
38025         [BZ #157]
38027         * include/stub-tag.h: Remove file.
38028         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
38029         '#include' of it.
38030         * manual/maint.texi (Porting): Don't reference it.
38031         * Makerules ($(objpfx)stubs): Likewise.
38032         * dirent/closedir.c: Don't include <stub-tag.h>.
38033         * dirent/dirfd.c: Likewise.
38034         * dirent/fdopendir.c: Likewise.
38035         * dirent/getdents.c: Likewise.
38036         * dirent/getdents64.c: Likewise.
38037         * dirent/opendir.c: Likewise.
38038         * dirent/readdir.c: Likewise.
38039         * dirent/readdir64.c: Likewise.
38040         * dirent/readdir64_r.c: Likewise.
38041         * dirent/readdir_r.c: Likewise.
38042         * dirent/rewinddir.c: Likewise.
38043         * dirent/seekdir.c: Likewise.
38044         * dirent/telldir.c: Likewise.
38045         * gmon/profil.c: Likewise.
38046         * grp/setgroups.c: Likewise.
38047         * inet/if_index.c: Likewise.
38048         * io/access.c: Likewise.
38049         * io/chdir.c: Likewise.
38050         * io/chmod.c: Likewise.
38051         * io/chown.c: Likewise.
38052         * io/close.c: Likewise.
38053         * io/dup.c: Likewise.
38054         * io/dup2.c: Likewise.
38055         * io/dup3.c: Likewise.
38056         * io/euidaccess.c: Likewise.
38057         * io/faccessat.c: Likewise.
38058         * io/fchdir.c: Likewise.
38059         * io/fchmod.c: Likewise.
38060         * io/fchmodat.c: Likewise.
38061         * io/fchown.c: Likewise.
38062         * io/fchownat.c: Likewise.
38063         * io/fcntl.c: Likewise.
38064         * io/flock.c: Likewise.
38065         * io/fstatfs.c: Likewise.
38066         * io/fstatfs64.c: Likewise.
38067         * io/fstatvfs.c: Likewise.
38068         * io/fstatvfs64.c: Likewise.
38069         * io/futimens.c: Likewise.
38070         * io/fxstat.c: Likewise.
38071         * io/fxstat64.c: Likewise.
38072         * io/fxstatat.c: Likewise.
38073         * io/fxstatat64.c: Likewise.
38074         * io/getcwd.c: Likewise.
38075         * io/isatty.c: Likewise.
38076         * io/lchmod.c: Likewise.
38077         * io/lchown.c: Likewise.
38078         * io/link.c: Likewise.
38079         * io/linkat.c: Likewise.
38080         * io/lseek.c: Likewise.
38081         * io/lseek64.c: Likewise.
38082         * io/lxstat64.c: Likewise.
38083         * io/mkdir.c: Likewise.
38084         * io/mkdirat.c: Likewise.
38085         * io/mkfifo.c: Likewise.
38086         * io/mkfifoat.c: Likewise.
38087         * io/open.c: Likewise.
38088         * io/open64.c: Likewise.
38089         * io/openat.c: Likewise.
38090         * io/openat64.c: Likewise.
38091         * io/pipe.c: Likewise.
38092         * io/pipe2.c: Likewise.
38093         * io/poll.c: Likewise.
38094         * io/posix_fadvise.c: Likewise.
38095         * io/posix_fadvise64.c: Likewise.
38096         * io/posix_fallocate.c: Likewise.
38097         * io/posix_fallocate64.c: Likewise.
38098         * io/read.c: Likewise.
38099         * io/readlink.c: Likewise.
38100         * io/readlinkat.c: Likewise.
38101         * io/rmdir.c: Likewise.
38102         * io/sendfile.c: Likewise.
38103         * io/sendfile64.c: Likewise.
38104         * io/statfs.c: Likewise.
38105         * io/statfs64.c: Likewise.
38106         * io/statvfs.c: Likewise.
38107         * io/statvfs64.c: Likewise.
38108         * io/symlink.c: Likewise.
38109         * io/symlinkat.c: Likewise.
38110         * io/ttyname.c: Likewise.
38111         * io/ttyname_r.c: Likewise.
38112         * io/umask.c: Likewise.
38113         * io/unlink.c: Likewise.
38114         * io/unlinkat.c: Likewise.
38115         * io/utime.c: Likewise.
38116         * io/utimensat.c: Likewise.
38117         * io/write.c: Likewise.
38118         * io/xmknod.c: Likewise.
38119         * io/xmknodat.c: Likewise.
38120         * io/xstat.c: Likewise.
38121         * io/xstat64.c: Likewise.
38122         * login/getpt.c: Likewise.
38123         * login/grantpt.c: Likewise.
38124         * login/unlockpt.c: Likewise.
38125         * math/e_acoshl.c: Likewise.
38126         * math/e_acosl.c: Likewise.
38127         * math/e_asinl.c: Likewise.
38128         * math/e_atan2l.c: Likewise.
38129         * math/e_atanhl.c: Likewise.
38130         * math/e_coshl.c: Likewise.
38131         * math/e_expl.c: Likewise.
38132         * math/e_fmodl.c: Likewise.
38133         * math/e_gammal_r.c: Likewise.
38134         * math/e_hypotl.c: Likewise.
38135         * math/e_j0l.c: Likewise.
38136         * math/e_j1l.c: Likewise.
38137         * math/e_jnl.c: Likewise.
38138         * math/e_lgammal_r.c: Likewise.
38139         * math/e_log10l.c: Likewise.
38140         * math/e_log2l.c: Likewise.
38141         * math/e_logl.c: Likewise.
38142         * math/e_powl.c: Likewise.
38143         * math/e_rem_pio2l.c: Likewise.
38144         * math/e_sinhl.c: Likewise.
38145         * math/e_sqrtl.c: Likewise.
38146         * math/fclrexcpt.c: Likewise.
38147         * math/fedisblxcpt.c: Likewise.
38148         * math/feenablxcpt.c: Likewise.
38149         * math/fegetenv.c: Likewise.
38150         * math/fegetexcept.c: Likewise.
38151         * math/fegetround.c: Likewise.
38152         * math/feholdexcpt.c: Likewise.
38153         * math/fesetenv.c: Likewise.
38154         * math/fesetround.c: Likewise.
38155         * math/feupdateenv.c: Likewise.
38156         * math/fgetexcptflg.c: Likewise.
38157         * math/fraiseexcpt.c: Likewise.
38158         * math/fsetexcptflg.c: Likewise.
38159         * math/ftestexcept.c: Likewise.
38160         * math/k_cosl.c: Likewise.
38161         * math/k_rem_pio2l.c: Likewise.
38162         * math/k_sinl.c: Likewise.
38163         * math/k_tanl.c: Likewise.
38164         * math/s_asinhl.c: Likewise.
38165         * math/s_atanl.c: Likewise.
38166         * math/s_cbrtl.c: Likewise.
38167         * math/s_erfl.c: Likewise.
38168         * math/s_expm1l.c: Likewise.
38169         * math/s_log1pl.c: Likewise.
38170         * math/s_tanhl.c: Likewise.
38171         * misc/acct.c: Likewise.
38172         * misc/brk.c: Likewise.
38173         * misc/chflags.c: Likewise.
38174         * misc/chroot.c: Likewise.
38175         * misc/fchflags.c: Likewise.
38176         * misc/fgetxattr.c: Likewise.
38177         * misc/flistxattr.c: Likewise.
38178         * misc/fremovexattr.c: Likewise.
38179         * misc/fsetxattr.c: Likewise.
38180         * misc/fsync.c: Likewise.
38181         * misc/ftruncate.c: Likewise.
38182         * misc/futimes.c: Likewise.
38183         * misc/futimesat.c: Likewise.
38184         * misc/getdomain.c: Likewise.
38185         * misc/getdtsz.c: Likewise.
38186         * misc/gethostid.c: Likewise.
38187         * misc/gethostname.c: Likewise.
38188         * misc/getloadavg.c: Likewise.
38189         * misc/getpagesize.c: Likewise.
38190         * misc/getsysstats.c: Likewise.
38191         * misc/getxattr.c: Likewise.
38192         * misc/gtty.c: Likewise.
38193         * misc/ioctl.c: Likewise.
38194         * misc/lgetxattr.c: Likewise.
38195         * misc/listxattr.c: Likewise.
38196         * misc/llistxattr.c: Likewise.
38197         * misc/lremovexattr.c: Likewise.
38198         * misc/lsetxattr.c: Likewise.
38199         * misc/lutimes.c: Likewise.
38200         * misc/madvise.c: Likewise.
38201         * misc/mincore.c: Likewise.
38202         * misc/mlock.c: Likewise.
38203         * misc/mlockall.c: Likewise.
38204         * misc/mmap.c: Likewise.
38205         * misc/mprotect.c: Likewise.
38206         * misc/msync.c: Likewise.
38207         * misc/munlock.c: Likewise.
38208         * misc/munlockall.c: Likewise.
38209         * misc/munmap.c: Likewise.
38210         * misc/preadv.c: Likewise.
38211         * misc/preadv64.c: Likewise.
38212         * misc/ptrace.c: Likewise.
38213         * misc/pwritev.c: Likewise.
38214         * misc/pwritev64.c: Likewise.
38215         * misc/readv.c: Likewise.
38216         * misc/reboot.c: Likewise.
38217         * misc/remap_file_pages.c: Likewise.
38218         * misc/removexattr.c: Likewise.
38219         * misc/revoke.c: Likewise.
38220         * misc/select.c: Likewise.
38221         * misc/setdomain.c: Likewise.
38222         * misc/setegid.c: Likewise.
38223         * misc/seteuid.c: Likewise.
38224         * misc/sethostid.c: Likewise.
38225         * misc/sethostname.c: Likewise.
38226         * misc/setregid.c: Likewise.
38227         * misc/setreuid.c: Likewise.
38228         * misc/setxattr.c: Likewise.
38229         * misc/sstk.c: Likewise.
38230         * misc/stty.c: Likewise.
38231         * misc/swapoff.c: Likewise.
38232         * misc/swapon.c: Likewise.
38233         * misc/sync.c: Likewise.
38234         * misc/syncfs.c: Likewise.
38235         * misc/syscall.c: Likewise.
38236         * misc/truncate.c: Likewise.
38237         * misc/ualarm.c: Likewise.
38238         * misc/usleep.c: Likewise.
38239         * misc/ustat.c: Likewise.
38240         * misc/utimes.c: Likewise.
38241         * misc/vhangup.c: Likewise.
38242         * misc/writev.c: Likewise.
38243         * posix/_exit.c: Likewise.
38244         * posix/alarm.c: Likewise.
38245         * posix/execve.c: Likewise.
38246         * posix/fexecve.c: Likewise.
38247         * posix/fork.c: Likewise.
38248         * posix/fpathconf.c: Likewise.
38249         * posix/getaddrinfo.c: Likewise.
38250         * posix/getegid.c: Likewise.
38251         * posix/geteuid.c: Likewise.
38252         * posix/getgid.c: Likewise.
38253         * posix/getgroups.c: Likewise.
38254         * posix/getlogin.c: Likewise.
38255         * posix/getlogin_r.c: Likewise.
38256         * posix/getpgid.c: Likewise.
38257         * posix/getpid.c: Likewise.
38258         * posix/getppid.c: Likewise.
38259         * posix/getresgid.c: Likewise.
38260         * posix/getresuid.c: Likewise.
38261         * posix/getsid.c: Likewise.
38262         * posix/getuid.c: Likewise.
38263         * posix/glob64.c: Likewise.
38264         * posix/nanosleep.c: Likewise.
38265         * posix/pathconf.c: Likewise.
38266         * posix/pause.c: Likewise.
38267         * posix/posix_madvise.c: Likewise.
38268         * posix/pread.c: Likewise.
38269         * posix/pread64.c: Likewise.
38270         * posix/pwrite.c: Likewise.
38271         * posix/pwrite64.c: Likewise.
38272         * posix/sched_getaffinity.c: Likewise.
38273         * posix/sched_getp.c: Likewise.
38274         * posix/sched_gets.c: Likewise.
38275         * posix/sched_primax.c: Likewise.
38276         * posix/sched_primin.c: Likewise.
38277         * posix/sched_rr_gi.c: Likewise.
38278         * posix/sched_setaffinity.c: Likewise.
38279         * posix/sched_setp.c: Likewise.
38280         * posix/sched_sets.c: Likewise.
38281         * posix/sched_yield.c: Likewise.
38282         * posix/setgid.c: Likewise.
38283         * posix/setlogin.c: Likewise.
38284         * posix/setpgid.c: Likewise.
38285         * posix/setresgid.c: Likewise.
38286         * posix/setresuid.c: Likewise.
38287         * posix/setsid.c: Likewise.
38288         * posix/setuid.c: Likewise.
38289         * posix/sleep.c: Likewise.
38290         * posix/spawni.c: Likewise.
38291         * posix/sysconf.c: Likewise.
38292         * posix/times.c: Likewise.
38293         * posix/wait.c: Likewise.
38294         * posix/wait3.c: Likewise.
38295         * posix/wait4.c: Likewise.
38296         * posix/waitpid.c: Likewise.
38297         * resolv/gai_sigqueue.c: Likewise.
38298         * resource/getpriority.c: Likewise.
38299         * resource/getrlimit.c: Likewise.
38300         * resource/getrusage.c: Likewise.
38301         * resource/nice.c: Likewise.
38302         * resource/setpriority.c: Likewise.
38303         * resource/setrlimit.c: Likewise.
38304         * resource/ulimit.c: Likewise.
38305         * rt/aio_cancel.c: Likewise.
38306         * rt/aio_fsync.c: Likewise.
38307         * rt/aio_read.c: Likewise.
38308         * rt/aio_sigqueue.c: Likewise.
38309         * rt/aio_suspend.c: Likewise.
38310         * rt/aio_write.c: Likewise.
38311         * rt/clock_getres.c: Likewise.
38312         * rt/clock_gettime.c: Likewise.
38313         * rt/clock_nanosleep.c: Likewise.
38314         * rt/clock_settime.c: Likewise.
38315         * rt/lio_listio.c: Likewise.
38316         * rt/mq_close.c: Likewise.
38317         * rt/mq_getattr.c: Likewise.
38318         * rt/mq_notify.c: Likewise.
38319         * rt/mq_open.c: Likewise.
38320         * rt/mq_receive.c: Likewise.
38321         * rt/mq_send.c: Likewise.
38322         * rt/mq_setattr.c: Likewise.
38323         * rt/mq_timedreceive.c: Likewise.
38324         * rt/mq_timedsend.c: Likewise.
38325         * rt/mq_unlink.c: Likewise.
38326         * rt/shm_open.c: Likewise.
38327         * rt/shm_unlink.c: Likewise.
38328         * rt/timer_create.c: Likewise.
38329         * rt/timer_delete.c: Likewise.
38330         * rt/timer_getoverr.c: Likewise.
38331         * rt/timer_gettime.c: Likewise.
38332         * rt/timer_settime.c: Likewise.
38333         * setjmp/__longjmp.c: Likewise.
38334         * setjmp/setjmp.c: Likewise.
38335         * signal/kill.c: Likewise.
38336         * signal/killpg.c: Likewise.
38337         * signal/raise.c: Likewise.
38338         * signal/sigaction.c: Likewise.
38339         * signal/sigaltstack.c: Likewise.
38340         * signal/sigblock.c: Likewise.
38341         * signal/sigignore.c: Likewise.
38342         * signal/sigintr.c: Likewise.
38343         * signal/signal.c: Likewise.
38344         * signal/sigpause.c: Likewise.
38345         * signal/sigpending.c: Likewise.
38346         * signal/sigqueue.c: Likewise.
38347         * signal/sigreturn.c: Likewise.
38348         * signal/sigset.c: Likewise.
38349         * signal/sigsetmask.c: Likewise.
38350         * signal/sigstack.c: Likewise.
38351         * signal/sigsuspend.c: Likewise.
38352         * signal/sigtimedwait.c: Likewise.
38353         * signal/sigvec.c: Likewise.
38354         * signal/sigwait.c: Likewise.
38355         * signal/sigwaitinfo.c: Likewise.
38356         * signal/sysv_signal.c: Likewise.
38357         * socket/accept.c: Likewise.
38358         * socket/accept4.c: Likewise.
38359         * socket/bind.c: Likewise.
38360         * socket/connect.c: Likewise.
38361         * socket/getpeername.c: Likewise.
38362         * socket/getsockname.c: Likewise.
38363         * socket/getsockopt.c: Likewise.
38364         * socket/isfdtype.c: Likewise.
38365         * socket/listen.c: Likewise.
38366         * socket/recv.c: Likewise.
38367         * socket/recvfrom.c: Likewise.
38368         * socket/recvmsg.c: Likewise.
38369         * socket/send.c: Likewise.
38370         * socket/sendmsg.c: Likewise.
38371         * socket/sendto.c: Likewise.
38372         * socket/setsockopt.c: Likewise.
38373         * socket/shutdown.c: Likewise.
38374         * socket/sockatmark.c: Likewise.
38375         * socket/socket.c: Likewise.
38376         * socket/socketpair.c: Likewise.
38377         * stdio-common/ctermid.c: Likewise.
38378         * stdio-common/cuserid.c: Likewise.
38379         * stdio-common/remove.c: Likewise.
38380         * stdio-common/rename.c: Likewise.
38381         * stdio-common/renameat.c: Likewise.
38382         * stdio-common/tempname.c: Likewise.
38383         * stdlib/getcontext.c: Likewise.
38384         * stdlib/makecontext.c: Likewise.
38385         * stdlib/setcontext.c: Likewise.
38386         * stdlib/swapcontext.c: Likewise.
38387         * stdlib/system.c: Likewise.
38388         * streams/fattach.c: Likewise.
38389         * streams/fdetach.c: Likewise.
38390         * streams/getmsg.c: Likewise.
38391         * streams/getpmsg.c: Likewise.
38392         * streams/putmsg.c: Likewise.
38393         * streams/putpmsg.c: Likewise.
38394         * sysdeps/unix/bsd/getpt.c: Likewise.
38395         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
38396         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
38397         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38399         Likewise.
38400         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
38401         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38402         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38403         * sysvipc/msgctl.c: Likewise.
38404         * sysvipc/msgget.c: Likewise.
38405         * sysvipc/msgrcv.c: Likewise.
38406         * sysvipc/msgsnd.c: Likewise.
38407         * sysvipc/semctl.c: Likewise.
38408         * sysvipc/semget.c: Likewise.
38409         * sysvipc/semop.c: Likewise.
38410         * sysvipc/semtimedop.c: Likewise.
38411         * sysvipc/shmat.c: Likewise.
38412         * sysvipc/shmctl.c: Likewise.
38413         * sysvipc/shmdt.c: Likewise.
38414         * sysvipc/shmget.c: Likewise.
38415         * termios/tcdrain.c: Likewise.
38416         * termios/tcflow.c: Likewise.
38417         * termios/tcflush.c: Likewise.
38418         * termios/tcgetattr.c: Likewise.
38419         * termios/tcgetpgrp.c: Likewise.
38420         * termios/tcsendbrk.c: Likewise.
38421         * termios/tcsetattr.c: Likewise.
38422         * termios/tcsetpgrp.c: Likewise.
38423         * time/adjtime.c: Likewise.
38424         * time/clock.c: Likewise.
38425         * time/getitimer.c: Likewise.
38426         * time/gettimeofday.c: Likewise.
38427         * time/setitimer.c: Likewise.
38428         * time/settimeofday.c: Likewise.
38429         * time/stime.c: Likewise.
38430         * time/time.c: Likewise.
38432 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
38434         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
38435         /usr/old/bin.
38437         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
38438         instead of spaces.
38439         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
38441 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
38443         [BZ #14796]
38444         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
38445         FE_TONEAREST before applying Dekker multiplication and Knuth
38446         addition.  Clear inexact exceptions and check for exact zero
38447         results afterwards.
38448         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38449         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38450         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38451         * math/libm-test.inc (fma_test): Add more tests.
38452         (fma_test_towardzero): Likewise.
38453         (fma_test_downward): Likewise.
38454         (fma_test_upward): Likewise.
38455         * sysdeps/generic/math_private.h (default_libc_fesetround): New
38456         function.
38457         (libc_fesetround): New macro.
38458         (libc_fesetroundf): Likewise.
38459         (libc_fesetroundl): Likewise.
38460         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
38461         function.
38462         (libc_fesetround_387): Likewise.
38463         (libc_fesetroundf): New macro.
38464         (libc_fesetround): Likewise.
38465         (libc_fesetroundl): Likewise.
38466         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
38467         function.
38468         (libc_fesetroundf): New macro.
38469         (libc_fesetround): Likewise.
38470         (libc_fesetroundl): Likewise.
38471         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
38472         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
38473         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
38474         libm_hidden_ver.
38475         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
38476         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
38477         libm_hidden_def.
38478         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
38479         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
38480         libm_hidden_ver.
38481         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
38482         libm_hidden_def.
38484         [BZ #3439]
38485         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
38486         integer constant usable in #if and use that to give value to enum
38487         constant.
38488         (FE_DIVBYZERO): Likewise.
38489         (FE_UNDERFLOW): Likewise.
38490         (FE_OVERFLOW): Likewise.
38491         (FE_INVALID): Likewise.
38492         (FE_INVALID_SNAN): Likewise.
38493         (FE_INVALID_ISI): Likewise.
38494         (FE_INVALID_IDI): Likewise.
38495         (FE_INVALID_ZDZ): Likewise.
38496         (FE_INVALID_IMZ): Likewise.
38497         (FE_INVALID_COMPARE): Likewise.
38498         (FE_INVALID_SOFTWARE): Likewise.
38499         (FE_INVALID_SQRT): Likewise.
38500         (FE_INVALID_INTEGER_CONVERSION): Likewise.
38501         (FE_TONEAREST): Likewise.
38502         (FE_TOWARDZERO): Likewise.
38503         (FE_UPWARD): Likewise.
38504         (FE_DOWNWARD): Likewise.
38505         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
38506         (FE_DIVBYZERO): Likewise.
38507         (FE_OVERFLOW): Likewise.
38508         (FE_UNDERFLOW): Likewise.
38509         (FE_INEXACT): Likewise.
38510         (FE_TONEAREST): Likewise.
38511         (FE_DOWNWARD): Likewise.
38512         (FE_UPWARD): Likewise.
38513         (FE_TOWARDZERO): Likewise.
38514         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
38515         (FE_UNDERFLOW): Likewise.
38516         (FE_OVERFLOW): Likewise.
38517         (FE_DIVBYZERO): Likewise.
38518         (FE_INVALID): Likewise.
38519         (FE_TONEAREST): Likewise.
38520         (FE_TOWARDZERO): Likewise.
38521         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
38522         (FE_OVERFLOW): Likewise.
38523         (FE_UNDERFLOW): Likewise.
38524         (FE_DIVBYZERO): Likewise.
38525         (FE_INEXACT): Likewise.
38526         (FE_TONEAREST): Likewise.
38527         (FE_TOWARDZERO): Likewise.
38528         (FE_UPWARD): Likewise.
38529         (FE_DOWNWARD): Likewise.
38530         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
38531         (FE_DIVBYZERO): Likewise.
38532         (FE_OVERFLOW): Likewise.
38533         (FE_UNDERFLOW): Likewise.
38534         (FE_INEXACT): Likewise.
38535         (FE_TONEAREST): Likewise.
38536         (FE_DOWNWARD): Likewise.
38537         (FE_UPWARD): Likewise.
38538         (FE_TOWARDZERO): Likewise.
38540 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
38542         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
38544 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
38546         * scripts/cross-test-ssh.sh (command): Use newlines to separate
38547         commands.  Quote $PWD.
38548         (blacklist_exports): Don't use remove_newlines.  Replace "declare
38549         -x" by "export".
38550         (remove_newlines): Remove.
38552 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
38554         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
38555         * stdlib/stdlib.h (atof): Moved to ...
38556         * include/bits/stdlib-float.h: Here.  New file.
38557         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
38558         * stdlib/bits/stdlib-float.h: New file.
38559         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
38560         -mno-sse -mno-mmx.
38561         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
38562         <xmmintrin.h>.
38564 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
38566         * conform/conformtest.pl (@headers): Add fenv.h.
38567         * conform/data/fenv.h-data: New file.
38568         * include/fenv.h [_ISOMAC]: Disable all contents of file except
38569         include of <math/fenv.h>.
38571         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
38572         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
38573         && !UNIX98].  Enables tests for XOPEN2K8.
38574         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
38575         POSIX2008]: Likewise.
38577         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
38578         (struct rusage): Do not expect type or its members.
38580         [BZ #3439]
38581         * math/math.h (FP_NAN): Define macro to integer constant usable in
38582         #if and use that to give value to enum constant.
38583         (FP_INFINITE): Likewise.
38584         (FP_ZERO): Likewise.
38585         (FP_SUBNORMAL): Likewise.
38586         (FP_NORMAL): Likewise.
38588 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
38590         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
38591         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
38592         arguments.
38594 2012-11-02  Roland McGrath  <roland@hack.frob.com>
38596         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
38597         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
38598         autoconf-time if not.
38599         * configure.in: Remove AC_PREREQ.
38601 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38603         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
38604         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
38605         of the internal implementation.
38607 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
38609         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
38610         except include of <misc/sys/syslog.h>.
38612 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
38614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
38615         function returns with a NULL context exit with zero.
38617 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38619         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
38621 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
38623         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
38624         (run_program_cmd): This.
38625         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
38626         (tst_langinfo): New variable.  Use it.
38628 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
38630         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
38631         floating point opcodes.
38633 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
38635         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
38636         variable.
38638         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
38640         * sysdeps/mach/hurd/powerpc: Remove directory.
38641         * sysdeps/mach/powerpc: Likewise.
38643 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
38645         * scripts/check-local-headers.sh: Ignore c++ headers.
38647 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
38649         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
38650         __libc_cleanup_region_start argument.
38652 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
38654         [BZ #14784]
38655         [BZ #14785]
38656         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
38657         x * y using scaling, not as x * y + z.
38658         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38659         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38660         * math/libm-test.inc (fma_test): Add more tests.
38661         (fma_test_towardzero): Likewise.
38662         (fma_test_downward): Likewise.
38663         (fma_test_upward): Likewise.
38665 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
38667         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
38669 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
38671         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
38672         New variable.
38674 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
38676         * rt/tst-shm.c (worker): Correct checking for mmap failure.
38678 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
38680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38681         Fix sort order.
38682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38683         Likewise.
38685 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38688         Fix the order of the list for glibc 2.17.
38689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38690         Likewise.
38692 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
38694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38696 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
38698         [BZ #14610]
38699         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
38700         for low part of x being zero before using __atanl (y).
38701         * math/libm-test.inc (atan2_test): Add another test.
38703         * manual/install.texi (Configuring and compiling): Document
38704         general use of test-wrapper and test-wrapper-env.
38705         * INSTALL: Regenerated.
38707         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
38708         (__fma): Do not extract and scale down low bits on after-rounding
38709         systems when result rounded to normal precision would have normal
38710         exponent.
38711         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
38712         (__fmal): Do not extract and scale down low bits on after-rounding
38713         systems when result rounded to normal precision would have normal
38714         exponent.
38715         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
38716         (__fmal): Do not extract and scale down low bits on after-rounding
38717         systems when result rounded to normal precision would have normal
38718         exponent.
38719         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
38720         macro.
38721         (fma_test): Add more tests.
38722         (fma_test_towardzero): Likewise.
38723         (fma_test_downward): Likewise.
38724         (fma_test_upward): Likewise.
38726 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
38728         * sysdeps/i386/tininess.h: Renamed to ...
38729         * sysdeps/x86/tininess.h: This.
38730         * sysdeps/x86_64/tininess.h: Removed.
38732 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
38734         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
38735         input.  Use $(build-program-cmd).
38736         ($(objpfx)tst-array1-static.out): Likewise.
38737         ($(objpfx)tst-array2.out): Likewise.
38738         ($(objpfx)tst-array3.out): Likewise.
38739         ($(objpfx)tst-array4.out): Likewise.
38740         ($(objpfx)tst-array5.out): Likewise.
38741         ($(objpfx)tst-array5-static.out): Likewise.
38743 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
38745         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
38746         if defined.
38748         * nss/nsswitch.h (nss_interface_function): Provide new
38749         macro for use with NSS functions.
38750         * grp/initgroups.c: Use new macro.
38751         * nss/getXXbyYY.c: Likewise.
38752         * nss/getXXbyYY_r.c: Likewise.
38753         * nss/getXXent.c: Likewise.
38754         * nss/getXXent_r.c: Likewise.
38755         * sysdeps/posix/getaddrinfo.c: Likewise.
38757 2012-10-30  Andreas Jaeger  <aj@suse.de>
38759         * po/ru.po: Update Russion translation from translation project.
38761 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
38763         [BZ #14152]
38764         [BZ #14783]
38765         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
38766         result and shift together with sticky bit instead of replicating
38767         round-to-nearest rounding.
38768         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38769         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38770         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
38771         missing underflow exceptions.
38772         (fma_test_towardzero): Add more tests.
38773         (fma_test_downward): Likewise.
38774         (fma_test_upward): Likewise.
38776         [BZ #14047]
38777         * sysdeps/generic/tininess.h: New file.
38778         * sysdeps/i386/tininess.h: Likewise.
38779         * sysdeps/sh/tininess.h: Likewise.
38780         * sysdeps/x86_64/tininess.h: Likewise.
38781         * stdlib/tst-strtod-underflow.c: Likewise.
38782         * stdlib/tst-tininess.c: Likewise.
38783         * stdlib/strtod_l.c: Include <tininess.h>.
38784         (round_and_return): Do not set errno for exact underflow cases.
38785         Force an underflow exception when setting errno for underflow.
38786         Determine underflow based on rounding to normal precision if
38787         TININESS_AFTER_ROUNDING.
38788         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
38789         ERANGE for exact underflow cases.
38790         * stdlib/Makefile (tests): Add tst-tininess and
38791         tst-strtod-underflow.
38792         ($(objpfx)tst-tininess): Use $(link-libm).
38793         ($(objpfx)tst-strtod-underflow): Likewise.
38795 2012-10-30  Andreas Jaeger  <aj@suse.de>
38797         [BZ#14767]
38798         * elf/Makefile (tests): Remove conditional for have-initfini-array
38799         since this is now always required and the variable does not exist
38800         anymore.
38801         (tests-static): Likewise.
38802         (modules-names): Likewise.
38804         * po/eo.po: Add Esperanto translation from translation project.
38806         * elf/tst-array1.c (fini_array): Make writeable so that it can be
38807         merged with constructor/destructor.
38808         (init_array): Likewise.
38809         * elf/tst-array2dep.c (fini_array): Likewise.
38810         (init_array): Likewise.
38812 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
38814         * manual/message.texi: Delete @cartouche tags.
38816 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
38818         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
38819         EOPNOTSUPP.
38820         * sysdeps/mach/hurd/fsync.c: Likewise.
38822         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
38823         [_POSIX_REALTIME_SIGNALS]: Change condition to
38824         [_POSIX_REALTIME_SIGNALS > 0].
38826 2012-10-27  Andreas Jaeger  <aj@suse.de>
38828         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
38829         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
38830         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
38831         [__WORDSIZE != 64]: Likewise.
38833 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
38835         *  iconvdata/tst-table.sh: Remove ${SHELL}.
38836         *  iconvdata/tst-tables.sh: Likewise.
38838 2012-10-25  David S. Miller  <davem@davemloft.net>
38840         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38841         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
38842         of strtoull.
38844         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
38845         ifunc-impl-list.c
38846         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38847         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
38848         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
38849         file.
38851 2012-10-25  Roland McGrath  <roland@hack.frob.com>
38853         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38854         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
38855         __getdirentries.
38857 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
38858             Jim Blandy  <jimb@codesourcery.com>
38860         * scripts/cross-test-ssh.sh: New file.
38861         * manual/install.texi (Configuring and compiling): Document use of
38862         cross-test-ssh.sh.
38863         * INSTALL: Regenerated.
38865 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
38867         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
38868         EOPNOTSUPP.
38870 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
38872         * Makeconfig (run-program-prefix): Fix comment.
38874 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
38875             Jim Blandy  <jimb@codesourcery.com>
38877         * Makeconfig (test-wrapper): New variable,
38878         (test-wrapper-env): Likewise.
38879         [$(cross-compiling) = yes && $(test-wrapper) != ""]
38880         (run-built-tests): Define to yes.
38881         (run-program-prefix): Use $(test-wrapper).
38882         (built-program-cmd): Likewise.
38883         * Rules (make-test-out): Use $(test-wrapper-env) and
38884         $(host-built-program-cmd).
38885         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
38886         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
38887         tst-pathopt.sh.
38888         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
38889         $(test-wrapper-env) to tst-rtld-load-self.sh.
38890         ($(objpfx)order2.out): Use $(test-wrapper).
38891         ($(objpfx)tst-initorder.out): Likewise.
38892         ($(objpfx)tst-initorder2.out): Likewise.
38893         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
38894         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
38895         (test_wrapper_env): New variable.  Use it to run ld.so.
38896         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
38897         Use it to run ld.so.
38898         (test_wrapper_env): Likewise.
38899         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
38900         $(test-wrapper) to run-iconv-test.sh.
38901         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
38902         (ICONV): Use $test_wrapper.
38903         * posix/Makefile ($(objpfx)globtest.out): Pass
38904         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
38905         globtest.sh, not $(run-program-prefix).
38906         * posix/globtest.sh (run_via_rtld_prefix): New variable.
38907         (test_wrapper): Likewise.
38908         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
38909         set together with run_via_rtld_prefix.
38910         (run_program_prefix): Define in terms of test_wrapper and
38911         run_via_rtld_prefix.
38913 2012-10-24  Roland McGrath  <roland@hack.frob.com>
38915         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
38916         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
38917         Targets removed.
38919         [BZ #14743]
38920         * include/time.h: Remove librt_hidden_proto (clock_gettime).
38921         Declare __clock_getres, __clock_gettime, __clock_settime,
38922         __clock_nanosleep, and __clock_getcpuclockid.
38923         * rt/clock_gettime.c: Define __clock_gettime as an alias.
38924         Remove librt_hidden_def (clock_gettime).
38925         * sysdeps/unix/clock_gettime.c: Likewise.
38926         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
38927         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38928         * rt/clock_getres.c: Define __clock_getres as an alias.
38929         * sysdeps/posix/clock_getres.c: Likewise.
38930         * rt/clock_settime.c: Define __clock_settime as an alias.
38931         * sysdeps/unix/clock_settime.c: Likewise.
38932         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
38933         * sysdeps/unix/clock_nanosleep.c: Likewise.
38934         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38935         * rt/clock-compat.c: New file.
38936         * rt/Makefile (librt-routines): Add clock-compat and move
38937         $(clock-routines) to ...
38938         (routines): ... here, new variable.
38939         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
38940         Don't add get_clockfreq here.
38941         * rt/Versions (libc: GLIBC_2.17): New version set.
38942         Add clock_* symbols here.
38943         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
38944         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
38945         (GLIBC_2.17): Add clock_* symbols.
38946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38947         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38948         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38950         Likewise.
38951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38952         Likewise.
38953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38954         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38955         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38957         * NEWS: Mention the move.
38959         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38960         Use __open, __read, __close rather than their public counterparts.
38961         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38962         (__get_clockfreq_via_cpuinfo): Likewise.
38963         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
38964         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
38966         * config.h.in (HAVE_IFUNC): New #undef.
38967         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
38968         was successful.
38969         * configure: Regenerated.
38971 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
38973         * configure.in: Move READELF check to start of file.
38974         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
38975         libc_cv_asm_gnu_indirect_function in the process.
38976         * configure: Regenerated.
38978 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
38980         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
38981         send the output to /dev/null.
38982         (libc_cv_cc_with_libunwind): Likewise.
38983         (libc_cv_as_noexecstack): Likewise.
38984         * configure: Regenerate.
38986 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
38988         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
38990         * posix/globtest.sh (TMPDIR): Do not set.
38991         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
38992         (testout): Likewise.
38994 2012-10-24  Andreas Jaeger  <aj@suse.de>
38996         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
38997         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
38998         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
38999         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
39000         posix_fadvise64, posix_fallocate64.
39002         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
39003         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
39004         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
39005         Likewise.
39006         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
39007         Likewise.
39008         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
39010         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
39011         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
39012         <bits/fcntl-linux.h>.
39013         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
39015         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
39016         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
39017         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
39018         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
39019         [__WORDSIZE != 64]: Likewise.
39021 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
39023         * Makeconfig (run-built-tests): New variable.
39024         * Rules [$(cross-compiling) = yes]: Change condition to
39025         [$(run-built-tests) = no].
39026         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
39027         to [$(run-built-tests) = yes].
39028         * elf/Makefile [$(cross-compiling) = no]: Likewise
39029         * grp/Makefile [$(cross-compiling) = no]: Likewise.
39030         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
39031         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
39032         * intl/Makefile [$(cross-compiling) = no]: Likewise.
39033         * io/Makefile [$(cross-compiling) = no]: Likewise.
39034         * libio/Makefile [$(cross-compiling) = no]: Likewise.
39035         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
39036         * misc/Makefile [$(cross-compiling) = no]: Likewise.
39037         * posix/Makefile [$(cross-compiling) = no]: Likewise.
39038         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
39039         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
39040         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
39041         * string/Makefile [$(cross-compiling) = no]: Likewise.
39043         * posix/Makefile ($(objpfx)globtest.out): Pass
39044         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
39045         $(rtld-installed-name).
39046         * posix/globtest.sh (elf_objpfx): Remove variable.
39047         (rtld_installed_name): Likewise.
39048         (library_path): Likewise.
39049         (run_program_prefix): New variable.  Use for running globtest
39050         binary.
39052 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
39053             Joseph Myers  <joseph@codesourcery.com>
39055         * Makeconfig (host-built-program-cmd): New variable.
39056         * elf/Makefile (tst-stackguard1-ARGS): Use
39057         $(host-built-program-cmd).
39058         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
39059         (tst-spawn-ARGS): Likewise.
39060         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
39062 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
39063             Jim Blandy  <jimb@codesourcery.com>
39065         * Makeconfig (run-via-rtld-prefix): New variable.
39066         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
39067         (built-program-cmd): Likewise.
39069 2012-10-22  Andreas Jaeger  <aj@suse.de>
39071         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
39072         __O_RSYNC if it exists, otherwise to O_SYNC.
39074 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
39075             Joseph Myers  <joseph@codesourcery.com>
39077         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
39078         /dev/null.
39079         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
39080         from /dev/null
39081         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
39082         /dev/null.
39084 2012-10-22  Andreas Jaeger  <aj@suse.de>
39086         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
39087         Define always.
39088         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
39090         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39091         bits/fcntl-linux.h.
39093         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
39094         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
39096         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
39097         to __O_LARGEFILE.
39098         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
39099         to __O_LARGEFILE.
39101 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
39102             Joseph Myers  <joseph@codesourcery.com>
39104         * config.make.in (NM): New variable.
39106 2012-10-21  Andreas Jaeger  <aj@suse.de>
39108         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
39109         definitions and declarations that are provided by
39110         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39112 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
39114         [BZ #14683]
39115         * elf/Makefile (tests-static): Add tst-leaks1-static.
39116         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
39117         ($(objpfx)tst-leaks1-static): New rule.
39118         ($(objpfx)tst-leaks1-static-mem): Likewise.
39119         (tst-leaks1-static-ENV): New macro.
39120         * elf/dl-open.c (dl_open_worker): Check the main application
39121         only if SHARED is defined.
39122         * elf/tst-leaks1-static.c: New file.
39124 2012-10-20  Andreas Jaeger  <aj@suse.de>
39126         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
39127         generic values for Linux.
39128         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
39129         and declarations that are provided by <bits/fcntl-linux.h> and
39130         include <bits/fcntl-linux.h>.
39131         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39132         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39134 2012-10-20  Roland McGrath  <roland@hack.frob.com>
39136         * io/fcntl.h: Move include of <bits/types.h> to the top and
39137         include it unconditionally.
39139 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
39141         * wcsmbs/Makefile (tests-ifunc): New variable.
39142         (tests): Add $(tests-ifunc).
39143         * wcsmbs/test-wcschr-ifunc.c: New file.
39144         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39145         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39146         * wcsmbs/test-wcslen-ifunc.c: Likewise.
39147         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39148         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39150         * string/Makefile (tests-ifunc): New variable.
39151         (tests): Add $(tests-ifunc).
39152         * string/test-memccpy.c (TEST_NAME): New macro.
39153         * string/test-memchr.c (TEST_NAME): Likewise.
39154         * string/test-memcmp.c (TEST_NAME): Likewise.
39155         * string/test-memcpy.c (TEST_NAME): Likewise.
39156         * string/test-memmem.c (TEST_NAME): Likewise.
39157         * string/test-memmove.c (TEST_NAME): Likewise.
39158         * string/test-memset.c (TEST_NAME): Likewise.
39159         * string/test-rawmemchr.c (TEST_NAME): Likewise.
39160         * string/test-stpcpy.c (TEST_NAME): Likewise.
39161         * string/test-stpncpy.c (TEST_NAME): Likewise.
39162         * string/test-strcasecmp.c (TEST_NAME): Likewise.
39163         * string/test-strcasestr.c (TEST_NAME): Likewise.
39164         * string/test-strcat.c (TEST_NAME): Likewise.
39165         * string/test-strchr.c (TEST_NAME): Likewise.
39166         * string/test-strcmp.c(TEST_NAME): Likewise.
39167         * string/test-strcpy.c (TEST_NAME): Likewise.
39168         * string/test-strcspn.c (TEST_NAME): Likewise.
39169         * string/test-strlen.c (TEST_NAME): Likewise.
39170         * string/test-strncasecmp.c (TEST_NAME): Likewise.
39171         * string/test-strncmp.c (TEST_NAME): Likewise.
39172         * string/test-strncpy.c (TEST_NAME): Likewise.
39173         * string/test-strnlen.c (TEST_NAME): Likewise.
39174         * string/test-strpbrk.c (TEST_NAME): Likewise.
39175         * string/test-strrchr.c (TEST_NAME): Likewise.
39176         * string/test-strspn.c (TEST_NAME): Likewise.
39177         * string/test-strstr.c (TEST_NAME): Likewise.
39178         * string/test-bcopy-ifunc.c: New file.
39179         * string/test-bzero-ifunc.c: Likewise.
39180         * string/test-memccpy-ifunc.c: Likewise.
39181         * string/test-memchr-ifunc.c: Likewise.
39182         * string/test-memcmp-ifunc.c: Likewise.
39183         * string/test-memcpy-ifunc.c: Likewise.
39184         * string/test-memmem-ifunc.c: Likewise.
39185         * string/test-memmove-ifunc.c: Likewise.
39186         * string/test-mempcpy-ifunc.c: Likewise.
39187         * string/test-memset-ifunc.c: Likewise.
39188         * string/test-rawmemchr-ifunc.c: Likewise.
39189         * string/test-stpcpy-ifunc.c: Likewise.
39190         * string/test-stpncpy-ifunc.c: Likewise.
39191         * string/test-strcasecmp-ifunc.c: Likewise.
39192         * string/test-strcasestr-ifunc.c: Likewise.
39193         * string/test-strcat-ifunc.c: Likewise.
39194         * string/test-strchr-ifunc.c: Likewise.
39195         * string/test-strchrnul-ifunc.c: Likewise.
39196         * string/test-strcmp-ifunc.c: Likewise.
39197         * string/test-strcpy-ifunc.c: Likewise.
39198         * string/test-strcspn-ifunc.c: Likewise.
39199         * string/test-strlen-ifunc.c: Likewise.
39200         * string/test-strncasecmp-ifunc.c: Likewise.
39201         * string/test-strncat-ifunc.c: Likewise.
39202         * string/test-strncmp-ifunc.c: Likewise.
39203         * string/test-strncpy-ifunc.c: Likewise.
39204         * string/test-strnlen-ifunc.c: Likewise.
39205         * string/test-strpbrk-ifunc.c: Likewise.
39206         * string/test-strrchr-ifunc.c: Likewise.
39207         * string/test-strspn-ifunc.c: Likewise.
39208         * string/test-strstr-ifunc.c: Likewise.
39210         * debug/Makefile (tests-ifunc): New variable.
39211         (tests): Add $(tests-ifunc).
39212         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
39213         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
39214         * debug/test-stpcpy_chk-ifunc.c: New file.
39215         * debug/test-strcpy_chk-ifunc.c: Likewise.
39217 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39219         [BZ #13601]
39220         * elf/dl-load.c (open_verify): Retry read if the entire ELF
39221         header is not read in.
39223 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
39225         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
39226         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
39227         directly.  Pass built executable to script as
39228         $(built-program-cmd).
39229         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
39230         $testprogram without using LD_LIBRARY_PATH and $ldso.
39232         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
39233         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
39234         $(rtld-installed-name).
39235         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
39236         (rtld_installed_name): Likewise.
39237         (library_path): Likewise.
39238         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
39239         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
39240         $(run-program-prefix) to tst-tables.sh.
39241         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
39242         it to run tst-table-from and tst-table-to.
39243         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
39244         Pass it to tst-table.sh.
39245         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
39246         $(run-program-prefix) to tst-gettext.sh.
39247         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
39248         tst-translit.sh.
39249         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
39250         tst-gettext2.sh.
39251         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
39252         to run tst-gettext.
39253         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
39254         to run tst-gettext2.
39255         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
39256         to run tst-translit.
39257         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
39258         $(run-program-prefix) to tst-mtrace.sh.
39259         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
39260         to run tst-mtrace.
39261         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
39262         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
39263         $(rtld-installed-name).
39264         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
39265         (rtld_installed_name): Likewise.
39266         (run_program_prefix): New variable.  Use it to run wordexp-test.
39268         * Makeconfig (ARCH): Remove all definitions.
39269         (machine): Likewise.
39270         [ARCH]: Remove conditional code.
39271         [!objdir]: Give error.
39272         [!objdir] (objpfx): Remove.
39273         [!objdir] (common-objpfx): Likewise.
39274         [!objdir] (common-objdir): Likewise.
39275         * configure.in (config_makefile): Remove.  Hardcode Makefile in
39276         AC_CONFIG_FILES call.
39277         * configure: Regenerated.
39279         [BZ #13888]
39280         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
39281         or TMPDIR.
39282         (testout): Likewise.
39284         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
39285         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
39286         $(rtld-installed-name).
39287         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
39288         (rtld_installed_name): Likwise.
39289         (runit): Remove function.
39290         (run_getconf): New variable,  Use it for running getconf binary.
39292 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
39294         [BZ #14716]
39295         * string/test-memmem.c (check_result): New function.
39296         (do_one_test): Use it.
39297         (check1): New function.
39298         (test_main): Use it.
39300 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
39302         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
39304 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
39306         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
39307         (_G_LSEEK64): Likewise.
39308         (_G_MMAP64): Likewise.
39309         (_G_FSTAT64): Likewise.
39310         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
39311         (_G_LSEEK64): Likewise.
39312         (_G_MMAP64): Likewise.
39313         (_G_FSTAT64): Likewise.
39314         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
39315         unconditional.  Call __mmap64 directly.
39316         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
39317         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
39318         __lseek64 directly.
39319         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
39320         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
39321         __mmap64 directly.
39322         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
39323         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
39324         __lseek64 directly.
39325         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
39326         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
39327         __lseek64 directly.
39328         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
39329         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
39330         __lseek64 directly.
39331         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
39332         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
39333         __fxstat64 directly.
39334         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
39335         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
39336         unconditional.
39337         (freopen64) [!_G_OPEN64]: Remove conditional code.
39338         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
39339         unconditional.
39340         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
39341         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
39342         unconditional.
39343         (ftello64) [!_G_LSEEK64]: Remove conditional code.
39344         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
39345         unconditional.
39346         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39347         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
39348         unconditional.
39349         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
39350         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
39351         unconditional.
39352         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39353         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
39354         unconditional.
39355         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39356         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
39357         unconditional.
39358         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39360 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39362         [BZ #12140]
39363         * manual/memory.texi (Malloc Tunable Parameters): Add note
39364         about free list pointers overwriting some perturb bytes.
39365         Wording suggested by Roland McGrath.
39367 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
39369         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
39370         (lgamma_test): Likewise.
39371         (tgamma_test): Likewise.
39373 2012-10-16  Florian Weimer  <fweimer@redhat.com>
39375         [BZ #14700]
39376         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
39377         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
39379 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
39381         * NEWS: Mention BZ #14716.
39382         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
39383         when removing AVAILABLE1_USES_J macro.
39385 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
39387         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
39388         (__bswap_64): __uint64_t for unsigned 64-bit int.
39390 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
39392         * include/string.h (memmem): Declare libc hidden alias.
39393         * string/memmem.c (memmem): Define libc hidden alias.
39394         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
39395         __read, __close instead of open, read, close.
39397 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
39399         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
39400         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
39401         global and hidden.
39402         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
39403         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
39404         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
39405         Likewise.
39406         (__rawmemchr_sse2): Likewise.
39407         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
39408         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
39409         (__strchr_sse2): Likewise.
39410         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
39411         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
39412         (__strcasecmp_sse2): Likewise.
39413         (__strncasecmp_sse2): Likewise.
39414         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
39415         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
39416         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
39417         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
39418         (__strrchr_sse2): Likewise.
39419         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
39420         ifunc-impl-list.c.
39421         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
39422         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
39423         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
39424         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39425         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
39426         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
39427         * sysdeps/x86_64/multiarch/memset.S: Likewise.
39428         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39429         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
39430         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
39431         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
39432         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
39433         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
39434         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
39435         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
39436         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39437         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
39438         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
39439         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
39440         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
39441         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
39442         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
39443         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
39444         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39445         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
39446         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39447         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
39448         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39449         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
39450         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
39452         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
39453         global and hidden.
39454         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
39455         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
39456         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
39457         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
39458         Likewise.
39459         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
39460         Likewise.
39461         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
39462         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
39463         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
39464         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
39465         ifunc-impl-list.c.
39466         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39467         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39468         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39469         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39470         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39471         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39472         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39473         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39474         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39475         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39476         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39477         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39478         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39479         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
39480         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
39481         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39482         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
39483         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
39484         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39485         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39486         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39487         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39488         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39489         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39490         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39491         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
39492         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
39493         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
39494         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
39495         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39496         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
39497         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39498         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39499         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
39500         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39501         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39502         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39503         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39504         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39505         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39506         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
39508         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
39509         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
39510         * include/ifunc-impl-list.h: New file.
39511         * misc/ifunc-impl-list.c: Likewise.
39512         * misc/Makefile (routines): Add ifunc-impl-list.
39513         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
39514         * string/test-string.h: Include <ifunc-impl-list.h>.
39515         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
39516         TEST_NAME]: New variables.
39517         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
39518         are defined.
39519         (test_init): Call __libc_ifunc_impl_list to initialize
39520         func_list if TEST_IFUNC and TEST_NAME are defined.
39522         * string/Makefile (strop-tests): Add bcopy and bzero.
39523         * string/test-bcopy.c: New file.
39524         * string/test-bzero.c: Likewise.
39525         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
39526         defined.
39527         * string/test-memset.c: Support bzero test if TEST_BZERO is
39528         defined.
39529         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
39530         __libc_memmove.
39531         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
39532         __libc_memset.
39533         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
39534         of memset.
39536 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
39538         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
39539         * configure: Regenerated.
39541         * Makeconfig (+link-static-before-libc): Don't include
39542         $(link-static-libc).
39544         * libio/libio.h (_IO_pos_t): Remove.
39546 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
39548         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
39549         McGrath.
39551 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
39553         * crypt/crypt-entry.c: Include fips-private.h.
39554         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
39555         * crypt/md5c-test.c (main): Tolerate disabled MD5.
39556         * sysdeps/unix/sysv/linux/fips-private.h: New file.
39557         * sysdeps/generic/fips-private.h: New file, dummy fallback.
39559 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
39561         * crypt/crypt-private.h: Include stdbool.h.
39562         (_ufc_setup_salt_r): Return bool.
39563         * crypt/crypt-entry.c: Include errno.h.
39564         (__crypt_r): Return NULL with EINVAL for bad salt.
39565         * crypt/crypt_util.c (bad_for_salt): New.
39566         (_ufc_setup_salt_r): Check that salt is long enough and within
39567         the specified alphabet.
39568         * crypt/badsalttest.c: New file.
39569         * crypt/Makefile (tests): Add it.
39570         ($(objpfx)badsalttest): New.
39572 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
39574         * NEWS: Add entry for BZ #14602.
39576 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
39578         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
39579         type-generic.
39580         * math/libm-test.inc: Update comment listing what functions and
39581         macros are tested.
39582         (isgreater_test): New function.
39583         (isgreaterequal_test): Likewise.
39584         (isless_test): Likewise.
39585         (islessequal_test): Likewise.
39586         (islessgreater_test): Likewise.
39587         (isunordered_test): Likewise.
39588         (main): Call the new functions.
39590 2012-10-09  Roland McGrath  <roland@hack.frob.com>
39592         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
39593         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
39594         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
39595         * sysdeps/i386/configure: Regenerated.
39596         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
39597         * sysdeps/mach/configure: Regenerated.
39598         * sysdeps/mach/hurd/configure: Regenerated.
39599         * sysdeps/powerpc/configure: Regenerated.
39600         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39601         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39602         * sysdeps/s390/s390-32/configure: Regenerated.
39603         * sysdeps/s390/s390-64/configure: Regenerated.
39604         * sysdeps/sh/configure: Regenerated.
39605         * sysdeps/sparc/configure: Regenerated.
39606         * sysdeps/unix/sysv/linux/configure: Regenerated.
39607         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
39608         * sysdeps/x86_64/configure: Regenerated.
39610         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
39611         defined.  Don't check if MAP is NULL.
39613 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
39615         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
39616         (_G_stat64): Likewise.
39617         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
39618         (_G_stat64): Likewise.
39619         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
39620         instead of struct _G_stat64.
39621         * libio/fileops.c (mmap_remap_check): Likewise.
39622         (decide_maybe_mmap): Likewise.
39623         (_IO_new_file_seekoff): Likewise.
39624         (_IO_file_stat): Likewise.
39625         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
39626         _G_off64_t.
39627         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
39628         instead of struct _G_stat64.
39629         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
39631 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
39633         [BZ #14602]
39634         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39635         Replace with ...
39636         (CHECK_EOL): New macro.
39637         (two_way_short_needle): Check beginning of haystack for EOL.  Use
39638         CHECK_EOL.
39639         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39640         Replace with CHECK_EOL.
39641         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39642         Replace with CHECK_EOL.
39644 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
39646         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
39647         type-generic.
39648         * math/libm-test.inc: Update comment listing what functions and
39649         macros are tested.
39650         (finite_test): New function.
39651         (isinf_test): Likewise.
39652         (isnan_test): Likewise.
39653         (fpclassify_test): Test subnormal input.
39654         (isfinite_test): Likewise.
39655         (isnormal_test): Likewise.
39656         (main): Call the new functions.
39658 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
39660         [BZ #14660]
39661         * Makerules (%.dynsym): Force C locale when running
39662         $(OBJDUMP) --dynamic-syms.
39664 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
39666         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
39667         <stdint.h>.
39669 2012-10-06  David S. Miller  <davem@davemloft.net>
39671         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
39672         upper 32-bits of the length value in %o2 since we use branch-on-register
39673         tests which consider the entire 64-bit register.
39675 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
39677         * string/test-strstr.c (check2): Add a test for page boundary.
39679 2012-10-05  David S. Miller  <davem@davemloft.net>
39681         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
39682         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
39683         file.
39684         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39685         sysdep_routines.
39686         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
39687         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
39688         and bzero when HWCAP_SPARC_CRYPTO is present.
39690 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
39692         [BZ #14602]
39693         * string/test-strstr.c (check2): New function.
39694         (test_main): Call check2.
39696         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
39697         and bug-strchr1.
39698         * string/bug-strcasestr1.c (do_test): Moved to ...
39699         * string/test-strcasestr.c (check1): Here.  New function.
39700         (do_one_test): Break out result checking code into ...
39701         (check_result): This.  New function.
39702         (do_one_test): Call check_result.
39703         (test_main): Call check1.
39704         * string/bug-strchr1.c (do_test): Moved to ...
39705         * string/test-strchr.c (check1): Here.  New function.
39706         (do_one_test): Break out result checking code into ...
39707         (check_result): This.  New function.
39708         (do_one_test): Call check_result.
39709         (test_main): Call check1.
39710         * string/bug-strstr1.c (main): Moved to ...
39711         * string/test-strstr.c (check1): Here.  New function.
39712         (do_one_test): Break out result checking code into ...
39713         (check_result): This.  New function.
39714         (do_one_test): Call check_result.
39715         (test_main): Call check1.
39716         * string/bug-strcasestr1.c: Removed.
39717         * string/bug-strchr1.c: Likewise.
39718         * string/bug-strstr1.c: Likewise.
39720         * elf/Makefile (dl-routines): Add hwcaps.
39721         * elf/dl-support.c (_dl_important_hwcaps): Removed.
39722         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
39723         (_dl_important_hwcaps): Moved to ...
39724         * elf/dl-hwcaps.c: Here.  New file.
39725         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
39727         [BZ #14557]
39728         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
39729         if IS_IN_rtld isn't defined.
39731         * elf/dl-support.c (_dl_sysinfo_map): New.
39732         Include "get-dynamic-info.h" and "setup-vdso.h".
39733         (_dl_non_dynamic_init): Call setup_vdso.
39734         * elf/dynamic-link.h: Don't include <assert.h>.
39735         (elf_get_dynamic_info): Moved to ...
39736         * elf/get-dynamic-info.h: Here.  New file.
39737         * elf/dynamic-link.h: Include "get-dynamic-info.h".
39738         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
39739         * elf/setup-vdso.h: Here.  New file.
39740         * elf/rtld.c: Include "setup-vdso.h".
39741         (dl_main): Call setup_vdso.
39743 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
39745         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
39746         creal in comment listing functions tested.  List finite, isinf,
39747         isnan, isless, islessequal, isgreater, isgreaterequal,
39748         islessgreater, isunordered, lgamma_r and pow10 as functions and
39749         macros not tested.  Mention which functions not tested are aliases
39750         for other functions.  Fix typo.  Note that signs of NaNs are not
39751         tested.
39753         * scripts/config.guess: Update from config.git.
39754         * scripts/config.sub: Likewise.
39756 2012-10-04  Roland McGrath  <roland@hack.frob.com>
39758         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
39759         * misc/madvise.c (madvise): Renamed to __madvise.
39760         Make madvise a weak alias.
39761         * include/sys/mman.h: Declare __madvise.
39762         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
39763         * sysdeps/unix/syscalls.list
39764         (madvise): Make __madvise the strong name, and madvise a weak alias.
39765         * sysdeps/unix/sysv/linux/syscalls.list
39766         (madvise, mmap): Remove redundant entries.
39767         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
39768         * malloc/malloc.c (mtrim): Likewise.
39769         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
39771 2012-10-03  Roland McGrath  <roland@hack.frob.com>
39773         * sysdeps/mach/hurd/dl-cache.c: File removed.
39774         * config.h.in (USE_LDCONFIG): New #undef.
39775         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
39776         * configure: Regenerated.
39777         * elf/Makefile (dl-routines): Add dl-cache only under
39778         [$(use-ldconfig) = yes].
39779         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
39780         cache on [USE_LDCONFIG].
39781         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
39782         [USE_LDCONFIG].
39783         * elf/rtld.c (dl_main): Likewise.
39785 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
39787         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
39788         _SC_LEVEL4_CACHE_LINESIZE.
39790 2012-10-03  Roland McGrath  <roland@hack.frob.com>
39792         * sysdeps/unix/bsd/confstr.h: File removed.
39794 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
39796         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
39797         sys/sdt-config.h.
39799 2012-10-02  Roland McGrath  <roland@hack.frob.com>
39801         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
39802         Make 'mapoff' field ElfW(Off) rather than off_t.
39804 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
39806         * nscd/Makefile: Remove nscd-cflags and all its users.
39807         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
39808         (CFLAGS-nonlib): Add compiler flags for nscd modules.
39810         [BZ #10631]
39811         * malloc.c (malloc_printerr): Clarify error message.
39813 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
39815         [BZ #14648]
39816         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39817         Set bit_FMA_Usable if FMA is supported.
39818         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
39819         macro.
39820         (bit_FMA4_Usable): Updated.
39821         (index_FMA_Usable): New macro.
39822         (CPUID_FMA): Likewise
39823         (HAS_FMA): Defined with bit_FMA_Usable.
39825 2012-10-01  Roland McGrath  <roland@hack.frob.com>
39827         * bits/types.h (__swblk_t): Type removed.
39828         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
39829         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
39830         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39831         (__SWBLK_T_TYPE): Likewise.
39832         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39833         (__SWBLK_T_TYPE): Likewise.
39834         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39835         (__SWBLK_T_TYPE): Likewise.
39836         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39837         (__SWBLK_T_TYPE): Likewise.
39839 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
39840             Honza Horak <hhorak@redhat.com>
39842         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
39843         (xdr_mapname): Use YPMAXMAP as maxsize.
39844         (xdr_peername): Use YPMAXPEER as maxsize.
39845         (xdr_keydat): Use YPAXRECORD as maxsize.
39846         (xdr_valdat): Use YPMAXRECORD as maxsize.
39848 2012-10-01  Roland McGrath  <roland@hack.frob.com>
39850         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
39852         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
39853         * csu/init-first.c: ... here.
39854         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
39855         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
39856         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
39857         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
39858         * sysdeps/i386/init-first.c: File removed.
39859         * sysdeps/sh/init-first.c: File removed.
39861 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
39863         [BZ #14645]
39864         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
39865         if x * y might underflow to zero and z is zero.
39866         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39867         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39868         * math/libm-test.inc (min_subnorm_value): New variable.
39869         (fma_test): Add more tests.
39870         (fma_test_towardzero): Likewise.
39871         (fma_test_downward): Likewise
39872         (fma_test_upward): Likewise.
39873         (initialize): Set min_subnorm_value.
39875 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
39877         [BZ #14638]
39878         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
39879         0 + 0.
39880         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
39881         mode for addition resulting in exact zero.
39882         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
39883         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
39884         exact 0 + 0.
39885         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39886         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39887         * math/libm-test.inc (fma_test): Add more tests.
39888         (fma_test_towardzero): New function.
39889         (fma_test_downward): Likewise.
39890         (fma_test_upward): Likewise.
39891         (main): Call the new functions.
39893 2012-09-28  David S. Miller  <davem@davemloft.net>
39895         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
39897 2012-09-28  Roland McGrath  <roland@hack.frob.com>
39899         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
39900         instead of SIGALRM.
39902         * sysdeps/gnu/_G_config.h: Moved to ...
39903         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
39904         * sysdeps/mach/hurd/_G_config.h: Moved to ...
39905         * sysdeps/generic/_G_config.h: ... here.
39907         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
39909         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
39911         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
39912         Conditionalize target on [libnss_test1.so-version].
39914         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
39916         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
39917         (elfobjdir): Move out of conditionals.
39919         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
39920         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
39921         (__nss_lookup_function): Conditionalize label remove_from_tree on
39922         [!DO_STATIC_NSS || SHARED], matching its only use.
39924 2012-09-28  David S. Miller  <davem@davemloft.net>
39926         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
39927         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
39928         file.
39929         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39930         sysdep_routines.
39931         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
39932         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
39933         when HWCAP_SPARC_CRYPTO is present.
39935 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
39937         * io/tst-mknodat.c: Create a FIFO instead of a socket.
39939 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
39941         [BZ #6530]
39942         * stdio-common/vfprintf.c (process_string_arg): Revert
39943         2000-07-22 change.
39945 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
39947         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
39948         for testcase.
39949         * stdio-common/tst-sprintf.c: Include <locale.h>
39950         (main): Test sprintf's handling of incomplete multibyte
39951         characters.
39953 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
39955         * elf/dl-runtime.c (VERSYMIDX): Removed.
39956         * elf/dl-version.c (VERSYMIDX): Likewise.
39957         * elf/do-rel.h (VERSYMIDX): Likewise.
39958         (VALIDX): Likewise.
39959         * elf/dynamic-link.h (VERSYMIDX): Likewise.
39960         * elf/rtld.c (VALIDX): Likewise.
39961         (ADDRIDX): Likewise.
39962         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
39963         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
39964         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
39965         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
39966         (VALIDX): Likewise.
39967         (ADDRIDX): Likewise.
39969 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
39971         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
39973 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
39975         [BZ #11438]
39976         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
39977         to global scope.
39978         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
39979         addresses are in the same scope as 192.0.2/24.
39980         * posix/gai.conf: Document new scope table defaults.
39982 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39984         [BZ #5298]
39985         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
39986         for ftell.  Compute offsets from write pointers instead.
39987         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
39989 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39991         [BZ #14543]
39992         * libio/Makefile (tests): New test case tst-fseek.
39993         * libio/tst-fseek.c: New test case to verify that fseek/ftell
39994         combination works in wide mode.
39995         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
39996         state when the external buffer state changes.
39998 2012-09-27  David S. Miller  <davem@davemloft.net>
40000         [BZ #14376]
40001         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
40002         pass reloc->r_addend in as the 'high' argument to
40003         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
40005         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40007 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
40009         * rt/tst-aio2.c: Include <pthread.h>.
40010         * rt/tst-aio3.c: Likewise.
40012 2012-09-27  Steve Ellcey  <sellcey@mips.com>
40014         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
40016 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
40018         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
40019         contents on [SHARED].
40021 2012-09-26  Marek Polacek  <polacek@redhat.com>
40023         [BZ #14530]
40024         [BZ #13741]
40025         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
40026         for C++ and GCC <4.3 as well as for non GCC compilers.
40028 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
40030         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40032 2012-09-25  Roland McGrath  <roland@hack.frob.com>
40034         * Makefile.in (all, install): Declare with .PHONY.
40035         Reported by Michael Hope <michael.hope@linaro.org>.
40037 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40039         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
40040         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
40041         system header.
40042         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
40043         Likewise.
40044         (sydep_routines): Add the new and the internal functions.
40045         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
40046         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
40047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
40048         (GLIBC_2.17): Add the new function.
40049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40050         (GLIBC_2.17): Likewise.
40051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
40052         (GLIBC_2.17): Likewise.
40053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
40054         (GLIBC_2.17): Likewise.
40055         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
40057 2012-09-25  Alan Modra  <amodra@gmail.com>
40059         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
40060         Add release barrier before setting once_control to say
40061         initialisation is done.  Add hints on lwarx.  Use macro in
40062         place of isync.
40063         (clear_once_control): Add release barrier.
40065 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
40067         [BZ #13629]
40068         * math/s_clog.c (__clog): Handle more values close to |z| = 1
40069         specially.
40070         * math/s_clog10.c (__clog10): Likewise.
40071         * math/s_clog10f.c (__clog10f): Likewise.
40072         * math/s_clog10l.c (__clog10l): Likewise.
40073         * math/s_clogf.c (__clogf): Likewise.
40074         * math/s_clogl.c (__clogl): Likewise.
40075         * math/Makefile (libm-calls): Add x2y2m1.
40076         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
40077         (__x2y2m1): Likewise.
40078         (__x2y2m1l): Likewise.
40079         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
40080         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
40081         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
40082         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40083         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
40084         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
40085         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
40086         * sysdeps/i386/fpu/libm-test-ulps: Update.
40087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40089         [BZ #14621]
40090         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
40091         int as type of variable DEPTH.
40092         (glob): Use size_t instead of int as type of variables NEWCOUNT
40093         and OLD_PATHC.
40095 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40097         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40098         Add s_sincosf-sse2.
40099         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
40100         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
40101         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
40102         macros for using routine as __sincosf_ia32.
40103         Use macro for function declaration and weak_alias.
40104         * sysdeps/i386/fpu/libm-test-ulps: Update.
40106         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
40107         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40109         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
40110         subnormal argument.
40111         * math/s_cexpf.c (__cexpf): Likewise.
40112         * math/s_csinf.c (__csinf): Likewise.
40113         * math/s_csinhf.c (__csinhf): Likewise.
40114         * math/s_ctanf.c (__ctanf): Likewise.
40115         * math/s_ctanhf.c (__ctanhf): Likewise.
40116         * math/s_ccosh.c (__ccoshf): Likewise.
40117         * math/s_cexp.c (__cexpl): Likewise.
40118         * math/s_csin.c (__csin): Likewise.
40119         * math/s_csinh.c (__csinh): Likewise.
40120         * math/s_ctan.c (__ctan): Likewise.
40121         * math/s_ctanh.c (ctanh): Likewise.
40122         * math/s_ccoshl.c (__ccoshl): Likewise.
40123         * math/s_cexpl.c (__cexpl): Likewise.
40124         * math/s_csinl.c (__csinl): Likewise.
40125         * math/s_csinhl.c (__csinhl): Likewise.
40126         * math/s_ctanl.c (__ctanl): Likewise.
40127         * math/s_ctanhl.c (__ctanhl): Likewise.
40129 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
40131         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
40132         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
40133         (_IO_off_t): Define to __off_t, not _G_off_t.
40134         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
40135         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
40136         (_IO_wint_t): Define to wint_t, not _G_wint_t.
40137         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
40138         type of __dummy and __dummy2 fields.
40139         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
40140         (_G_ssize_t): Likewise.
40141         (_G_off_t): Likewise.
40142         (_G_pid_t): Likewise.
40143         (_G_uid_t): Likewise.
40144         (_G_wchar_t): Likewise.
40145         (_G_wint_t): Likewise.
40146         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
40147         (_G_ssize_t): Likewise.
40148         (_G_off_t): Likewise.
40149         (_G_pid_t): Likewise.
40150         (_G_uid_t): Likewise.
40151         (_G_wchar_t): Likewise.
40152         (_G_wint_t): Likewise.
40153         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
40154         (_G_ssize_t): Likewise.
40155         (_G_off_t): Likewise.
40156         (_G_pid_t): Likewise.
40157         (_G_uid_t): Likewise.
40158         (_G_wchar_t): Likewise.
40159         (_G_wint_t): Likewise.
40161 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40163         * malloc/arena.c: Include malloc-sysdep.h.
40164         (shrink_heap): Use check_may_shrink_heap to decide if madvise
40165         is sufficient to shrink the heap or an unmap is needed.
40166         * sysdeps/generic/malloc-sysdep.h: New file.  Define
40167         new function check_may_shrink_heap.
40168         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
40169         new function check_may_shrink_heap.
40171 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40173         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
40174         comments.
40176 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
40178         * catgets/test-gencat.sh: Add "set -e".
40179         * elf/tst-pathopt.sh: Likewise.
40180         * grp/tst_fgetgrent.sh: Likewise.
40181         * iconvdata/run-iconv-test.sh: Likewise.
40182         * intl/tst-gettext.sh: Likewise.
40183         * intl/tst-gettext2.sh: Likewise.
40184         * intl/tst-gettext4.sh: Likewise.
40185         * intl/tst-gettext6.sh: Likewise.
40186         * intl/tst-translit.sh: Likewise.
40187         * io/ftwtest-sh: Likewise.
40188         * libio/test-freopen.sh: Likewise.
40189         * malloc/tst-mtrace.sh: Likewise.
40190         * posix/globtest.sh: Likewise.
40191         * posix/tst-getconf.sh: Likewise.
40192         * posix/wordexp-tst.sh: Likewise.
40193         * stdio-common/tst-printf.sh: Likewise.
40194         * stdio-common/tst-unbputc.sh: Likewise.
40195         * stdlib/tst-fmtmsg.sh: Likewise.
40196         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40197         * catgets/Makefile: Do not specify -e option when running
40198         testsuite shell scripts.
40199         * elf/Makefile: Likewise.
40200         * grp/Makefile: Likewise.
40201         * iconvdata/Makefile: Likewise.
40202         * intl/Makefile: Likewise.
40203         * io/Makefile: Likewise.
40204         * libio/Makefile: Likewise.
40205         * malloc/Makefile: Likewise.
40206         * posix/Makefile: Likewise.
40207         * stdio-common/Makefile: Likewise.
40208         * stdlib/Makefile: Likewise.
40209         * sysdeps/x86_64/Makefile: Likewise.
40211         * io/ftwtest-sh: Add copyright header.
40212         * posix/globtest.sh: Likewise.
40213         * posix/tst-getconf.sh: Likewise.
40214         * posix/wordexp-tst.sh: Likewise.
40215         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40217 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
40219         [BZ #13679]
40220         * Makeconfig (+link): Defined as $(+link-static) if
40221         $(build-shared) isn't yes.
40222         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
40223         isn't yes.
40224         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
40226         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
40228         [BZ #14562]
40229         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
40230         new chunk size with MALLOC_ALIGN_MASK.
40232 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
40234         [BZ #5044]
40235         * stdio-common/printf_fphex.c: Include <stdbool.h> and
40236         <rounding-mode.h>.
40237         (__printf_fphex): Determine rounding using get_rounding_mode and
40238         round_away.
40239         * stdio-common/tst-printf-round.c (struct hex_test): New
40240         structure.
40241         (hex_tests): New variable.
40242         (test_hex_in_one_mode): New function.
40243         (do_test): Also run tests for hex float output.
40245 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
40247         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40248         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40249         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
40250         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40251         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40252         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
40253         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40254         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40256 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
40258         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
40259         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
40260         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
40261         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
40263 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
40265         [BZ #14579]
40266         * elf/rtld.c (dl_main): Limit the check for self loading to normal
40267         mode only.
40268         * elf/tst-rtld-load-self.sh: New test.
40269         * elf/Makefile: Run it.
40271 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
40273         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
40274         (tst-writev-ENV): Remove.
40275         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
40277 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
40279         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
40281 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
40283         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
40284         unconditional.
40285         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
40286         Likewise.
40287         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
40288         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
40289         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
40290         Likewise.
40292 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
40294         [BZ #14587]
40295         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
40296         * config.make.in (have-cpp-asm-debuginfo): Removed.
40297         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
40298         * configure: Regenerated.
40300 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
40302         [BZ #5044]
40303         * stdio-common/printf_fp.c: Include <stdbool.h> and
40304         <rounding-mode.h>.
40305         (___printf_fp): Determine rounding using get_rounding_mode and
40306         round_away.
40307         * stdio-common/tst-printf-round.c: New file.
40308         * stdio-common/Makefile (tests): Add tst-printf-round.
40309         (link-libm): New variable.
40310         ($(objpfx)tst-printf-round): Depend in $(link-libm).
40312 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
40314         [BZ #14576]
40315         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
40316         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
40317         Likewise.
40318         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
40319         Likewise.
40321 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
40323         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
40324         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40325         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40326         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40328 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
40330         [BZ #14518]
40331         * include/rounding-mode.h: New file.
40332         * sysdeps/generic/get-rounding-mode.h: Likewise.
40333         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
40334         * stdlib/strtod_l.c: Include <rounding-mode.h>.
40335         (MAX_VALUE): New macro.
40336         (MIN_VALUE): Likewise.
40337         (overflow_value): New function.
40338         (underflow_value): Likewise.
40339         (round_and_return): Use overflow_value and underflow_value to
40340         determine return values in overflow and underflow cases.  Use
40341         round_away to determine rounding depending on rounding mode.
40342         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
40343         determine return values in overflow and underflow cases.
40344         * stdlib/tst-strtod-round.c: Include <fenv.h>.
40345         (struct test_results): New structure.
40346         (struct test): Use struct test_results to store expected results
40347         for all rounding modes.
40348         (TEST): Include expected results for all rounding modes.
40349         (test_in_one_mode): New function.
40350         (do_test): Use test_in_one_mode to compute and check results.
40351         Check results for all rounding modes.
40352         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
40353         $(link-libm).
40355 2012-12-09  Allan McRae  <allan@archlinux.org>
40357         * sysdeps/i386/fpu/libm-test-ulps: Update
40359 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
40361         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
40362         (_G_int32_t): Likewise.
40363         (_G_uint16_t): Likewise.
40364         (_G_uint32_t): Likewise.
40365         (_G_HAVE_BOOL): Likewise.
40366         (_G_HAVE_ATEXIT): Likewise.
40367         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40368         (_G_HAVE_IO_FILE_OPEN): Likewise.
40369         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
40370         (_G_int32_t): Likewise.
40371         (_G_uint16_t): Likewise.
40372         (_G_uint32_t): Likewise.
40373         (_G_HAVE_BOOL): Likewise.
40374         (_G_HAVE_ATEXIT): Likewise.
40375         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40376         (_G_HAVE_IO_FILE_OPEN): Likewise.
40377         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
40378         (_G_int32_t): Likewise.
40379         (_G_uint16_t): Likewise.
40380         (_G_uint32_t): Likewise.
40381         (_G_HAVE_BOOL): Likewise.
40382         (_G_HAVE_ATEXIT): Likewise.
40383         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40384         (_G_HAVE_IO_FILE_OPEN): Likewise.
40386 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
40388         * csu/libc-tls.c: Update copyright years.
40390 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
40392         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
40393         [!_G_USING_THUNKS]: Remove conditional code.
40394         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
40395         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
40397         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
40398         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
40399         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40400         (_G_VTABLE_LABEL_PREFIX): Likewise.
40401         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40402         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40403         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40404         (_G_VTABLE_LABEL_PREFIX): Likewise.
40405         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
40406         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40407         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40408         (_G_VTABLE_LABEL_PREFIX): Likewise.
40409         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
40411 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
40413         * libio/Makefile: Include ../Makeconfig before tests.
40414         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
40415         only if $(build-shared) is yes.
40417         * iconv/gconv_db.c: Update copyright years.
40419 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40421         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
40422         unwind info if defined PIC. Fix special cases description.
40423         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
40425         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
40426         DP_HI_MASK entry.
40427         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
40429 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
40431         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
40433         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
40434         is NULL.
40436         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
40437         (LDLIBS-tst-chk4): This.
40438         (LDFLAGS-tst-chk5): Renamed to ...
40439         (LDLIBS-tst-chk5): This.
40440         (LDFLAGS-tst-chk6): Renamed to ...
40441         (LDLIBS-tst-chk6): This.
40442         (LDFLAGS-tst-lfschk4): Renamed to ...
40443         (LDLIBS-tst-lfschk4): This.
40444         (LDFLAGS-tst-lfschk5): Renamed to ...
40445         (LDLIBS-tst-lfschk5): This.
40446         (LDFLAGS-tst-lfschk6): Renamed to ...
40447         (LDLIBS-tst-lfschk6): This.
40449         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
40450         on $(common-objpfx)soversions.mk.
40452 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
40454         [BZ #10014]
40455         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
40456         example host name.
40458 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
40460         * malloc/arena.c (arena_get_retry): New function that gets
40461         another arena for the caller to try its request on.
40462         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
40463         current arena cannot fulfill the request.
40464         (__libc_memalign): Likewise.
40465         (__libc_memalign): Likewise.
40466         (__libc_pvalloc): Likewise.
40467         (__libc_calloc): Likewise.
40469 2012-09-05  John Tobey  <john.tobey@gmail.com>
40471         [BZ #13542]
40472         * manual/arith.texi (Operations on Complex): Fix description
40473         of carg branch cut.
40475 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
40477         [BZ #10014]
40478         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
40479         host name.
40481         [BZ #10038]
40482         * manual/memory.texi (Memory): Make order of menu items match
40483         order of sections.
40485 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
40487         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
40488         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
40489         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
40491 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
40493         * csu/libc-tls.c (static_dtv): Renamed to ...
40494         (_dl_static_dtv): This.  Make it global.
40495         (_dl_initial_dtv): Removed.
40496         (__libc_setup_tls): Updated.
40497         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
40498         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
40499         DL_INITIAL_DTV.
40501 2012-09-06  Petr Machata  <pmachata@redhat.com>
40503         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
40504         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
40505         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
40506         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
40508 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
40510         [BZ #14545]
40511         * csu/libc-tls.c (_dl_initial_dtv): New variable.
40512         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
40513         freeing dtv[-1].
40515 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
40517         [BZ #14544]
40518         * Makeconfig (link-static-before-libc): Replace $(+prector)
40519         with $(+prectorT).
40520         (link-static-after-libc): Replace $(+postctor) with
40521         $(+postctorT).
40522         (link-bounded): Replace $(+prector)/$(+postctor) with
40523         $(+prectorT)/$(+postctorT).
40524         (+prectorT): New macro.
40525         (+postctorT): Likewise.
40527 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
40529         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
40530         (round_str): Handle values above the maximum for IBM long double
40531         as inexact.
40532         * stdlib/tst-strtod-round.c (tests): Regenerated.
40534 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40536         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
40537         assembler flag.
40538         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
40539         zarch_nohighgprs around the zarch optimized routines.
40540         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
40541         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
40542         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
40543         for zarch.
40545 2012-09-05  David S. Miller  <davem@davemloft.net>
40547         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40549         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
40550         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
40551         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
40552         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40553         entries.
40555 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40557         * malloc/arena.c: Fold copyright years.
40558         * malloc/mcheck.c, malloc/memusage.c: Likewise.
40560 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40562         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
40564 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40566         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
40568 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40570         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
40571         change internal state upon failure.
40573 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40575         * malloc/mcheck.c (mcheck_check_all): Fix typo.
40576         * malloc/memusage.c (mmap): Likewise.
40577         (mmap64, mremap): Likewise.  Adjust name in comment.
40579 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40581         * libio/fileops.c: Fix typos in comments.
40582         * libio/oldfileops.c: Likewise.
40583         * libio/wfileops.c: Likewise.
40585 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40587         [BZ #1349]
40588         * malloc/Makefile (tests): Add tst-malloc-usable test case.
40589         (tst-malloc-usable-ENV): Set environment for test case.
40590         * malloc/hooks.c (malloc_check_get_size): New function to get
40591         requested size.
40592         * malloc/malloc.c (musable): Use malloc_check_get_size.
40593         * malloc/tst-malloc-usable.c: New test case.
40595 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
40597         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
40599 2012-09-05  Allan McRae  <allan@archlinux.org>
40601         [BZ #13966]
40602         * configure.in (CXX_SYSINCLUDES): Use compiler output to
40603         determine header location.
40604         * configure: Regenerated.
40606 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
40608         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
40609         float format.
40610         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
40611         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
40612         format.
40613         (test): Regenerate.
40615 2012-09-04  David S. Miller  <davem@davemloft.net>
40617         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
40618         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
40619         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
40621 2012-09-04  Florian Weimer  <fweimer@redhat.com>
40623         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
40624         failures.
40626         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
40628 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
40630         [BZ #9914]
40631         * libio/iogetdelim.c: Include <limits.h>.
40632         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
40633         + len + 1 would overflow.
40635 2012-09-03  Andreas Jaeger  <aj@suse.de>
40637         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40638         * sysdeps/i386/fpu/libm-test-ulps: Update.
40640 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40642         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40643         Add s_sinf-sse2, s_conf-sse2.
40645         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
40646         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
40647         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
40648         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
40650         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
40651         for using routine as __sinf_ia32.
40652         Use macro for function declaration and weak_alias.
40653         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
40654         for using routine as __cosf_ia32.
40655         Use macro for function declaration and weak_alias.
40657         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
40658         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
40660         * sysdeps/x86_64/fpu/s_sinf.S: New file.
40661         * sysdeps/x86_64/fpu/s_cosf.S: New file.
40662         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40664         * math/libm-test.inc (cos_test): Add more test cases.
40665         (sin_test): Likewise.
40666         (sincos_test): Likewise.
40668 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40670         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40671         (IFUNC_RESOLVE): Make pointers to the specialized implementations
40672         hidden.
40673         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40675 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
40677         [BZ #14538]
40678         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
40679         first element of the GOT.
40680         (elf_machine_load_address): Return the difference between
40681         the runtime address of _DYNAMIC and elf_machine_dynamic ().
40683 2012-09-01  Allan McRae  <allan@archlinux.org>
40685         [BZ #13412]
40686         * configure.in (AWK): Require gawk version 3.0 or later.
40687         * configure: Regenerated.
40689 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
40691         * sysdeps/unix/sysv/linux/kernel-features.h
40692         (__ASSUME_POSIX_CPU_TIMERS): Remove.
40693         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40694         [__NR_clock_getres]: Make code unconditional.
40695         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
40696         (clock_getcpuclockid): Remove code left unreachable by removal of
40697         conditionals.
40698         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
40699         code unconditional.
40700         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
40701         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40702         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
40703         Make code unconditional.
40704         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
40705         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40706         * sysdeps/unix/sysv/linux/clock_settime.c
40707         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
40708         conditional code.
40709         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
40710         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40712 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
40714         [BZ #14476]
40715         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
40716         scripts/test-installation.pl.
40718         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
40719         and $ld_so_version if it is set.
40721 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40723         [BZ #14516]
40724         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
40725         failure if reading from procfs failed.
40726         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
40728 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
40730         * sysdeps/unix/sysv/linux/kernel-features.h
40731         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
40732         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
40733         Remove conditional code.
40734         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40735         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
40736         Remove conditional code.
40737         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40738         * sysdeps/unix/sysv/linux/i386/fxstat.c
40739         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40740         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40741         * sysdeps/unix/sysv/linux/i386/fxstatat.c
40742         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40743         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40744         * sysdeps/unix/sysv/linux/i386/lxstat.c
40745         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40746         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40747         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
40748         Remove conditional code.
40749         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40750         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
40751         Remove conditional code.
40752         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40753         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
40754         <kernel-features.h>.
40755         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
40756         Remove.
40757         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
40758         Remove conditional code.
40759         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40760         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
40761         Remove conditional.
40763 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
40765         [BZ #5400]
40766         * NEWS: Add fixed bug number.
40768 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
40770         [BZ #14519]
40771         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
40772         underflowing exponent in case of negative sign.
40773         * stdlib/tst-strtod-round-data: Add more tests.
40774         * stdlib/tst-strtod-round.c (tests): Regenerated.
40776         [BZ #3479]
40777         * stdlib/strtod_l.c (NDIG): Remove.
40778         (HEXNDIG): Likewise.
40779         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
40780         smallest representable value.
40781         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
40782         lie within an exact representation of 1/2 ulp of the result.
40783         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
40784         unconditionally.
40785         (TENS_P9_IDX): Define unconditionally.
40786         (TENS_P9_SIZE): Likewise.
40787         (TENS_P10_IDX): Likewise.
40788         (TENS_P10_SIZE): Likewise.
40789         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
40790         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
40791         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
40792         entries for 10^2^13 and 10^2^14.
40793         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
40794         (TENS_P13_IDX): Define.
40795         (TENS_P13_SIZE): Likewise.
40796         (TENS_P14_IDX): Likewise.
40797         (TENS_P14_SIZE): Likewise.
40798         (_fpioconst_pow10): Change array size to
40799         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
40800         unconditional.
40801         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
40802         1024]: Add entries for 10^2^13 and 10^2^14.
40803         [LAST_POW10 > _LAST_POW10]: Remove #error.
40804         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
40805         (_fpioconst_pow10): Change array size to
40806         FPIOCONST_POW10_ARRAY_SIZE.
40807         * stdlib/gen-fpioconst.c: New file.
40808         * stdlib/gen-tst-strtod-round.c: Likewise.
40809         * stdlib/tst-strtod-round-data: Likewise.
40810         * stdlib/tst-strtod-round.c: Likewise.
40811         * stdlib/Makefile (tests): Add tst-strtod-round.
40813         [BZ #14459]
40814         * stdlib/strtod_l.c: Include <stdint.h>.
40815         (NDEBUG): Do not define.
40816         (round_and_return): Change EXPONENT parameter to type intmax_t.
40817         Rearrange calculations to avoid internal overflow possibilities.
40818         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
40819         Rearrange calculations to avoid internal overflow possibilities.
40820         Assert that number fits inside MPNSIZE limbs.
40821         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
40822         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
40823         calculations and add assertions to avoid internal overflow
40824         possibilities.  Add casts to avoid signed/unsigned operations.
40825         * stdlib/tst-strtod-overflow.c: New file.
40826         * stdlib/Makefile (tests): Add tst-strtod-overflow.
40828 2012-08-25  Marek Polacek  <polacek@redhat.com>
40830         * time/time.h: Fix some typos in comments.
40832 2012-08-23  Roland McGrath  <roland@hack.frob.com>
40834         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
40835         * posix/tst-rfc3484-2.c: Likewise.
40836         * posix/tst-rfc3484-3.c: Likewise.
40838 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
40840         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
40841         (EF_ARM_ABI_FLOAT_HARD): Likewise.
40843 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
40845         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
40846         #include of fxstatat64.c.
40848 2012-08-22  Roland McGrath  <roland@hack.frob.com>
40850         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
40851         * shadow/getspent_r.c: Likewise.
40852         * shadow/getspnam.c: Likewise.
40853         * shadow/getspnam_r.c: Likewise.
40854         * gshadow/getsgent.c: Likewise.
40855         * gshadow/getsgent_r.c: Likewise.
40856         * gshadow/getsgnam.c: Likewise.
40857         * gshadow/getsgnam_r.c: Likewise.
40858         * inet/getnetbyad.c: Likewise.
40859         * inet/getnetbyad_r.c: Likewise.
40860         * inet/getnetbynm.c: Likewise.
40861         * inet/getnetbynm_r.c: Likewise.
40862         * inet/getnetent.c: Likewise.
40863         * inet/getnetent_r.c: Likewise.
40864         * inet/getproto.c: Likewise.
40865         * inet/getproto_r.c: Likewise.
40866         * inet/getprtent.c: Likewise.
40867         * inet/getprtent_r.c: Likewise.
40868         * inet/getprtname.c: Likewise.
40869         * inet/getprtname_r.c: Likewise.
40870         * inet/getrpcbyname.c: Likewise.
40871         * inet/getrpcbyname_r.c: Likewise.
40872         * inet/getrpcbynumber.c: Likewise.
40873         * inet/getrpcbynumber_r.c: Likewise.
40874         * inet/getrpcent.c: Likewise.
40875         * inet/getrpcent_r.c: Likewise.
40876         * inet/getaliasent.c: Likewise.
40877         * inet/getaliasent_r.c: Likewise.
40878         * inet/getaliasname.c: Likewise.
40879         * inet/getaliasname_r.c: Likewise.
40880         * nscd/getgrgid_r.c: Likewise.
40881         * nscd/getgrnam_r.c: Likewise.
40882         * nscd/gethstbyad_r.c: Likewise.
40883         * nscd/gethstbynm3_r.c: Likewise.
40884         * nscd/getpwnam_r.c: Likewise.
40885         * nscd/getpwuid_r.c: Likewise.
40886         * nscd/getsrvbynm_r.c: Likewise.
40887         * nscd/getsrvbypt_r.c: Likewise.
40888         * nscd/gai.c: Likewise.
40890         * configure.in (build_nscd): New substituted variable, set
40891         by --disable-build-nscd and defaults to $use_nscd.
40892         * configure: Regenerated.
40893         * config.make.in (build-nscd): New substituted variable.
40894         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
40895         Change conditional to require [$(build-nscd) = yes] as well.
40896         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
40898         [BZ# 13696]
40899         * configure.in (use_nscd): New substituted variable, set by
40900         --disable-nscd.  If enabled, define USE_NSCD.
40901         * configure: Regenerated.
40902         * config.h.in: Add USE_NSCD.
40903         * config.make.in (use-nscd): New substituted variable.
40904         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
40905         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
40906         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
40907         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
40908         (CFLAGS-getgrnam_r.c): Likewise.
40909         (CFLAGS-initgroups.c): Likewise.
40910         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
40911         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
40912         Variables removed.
40913         * inet/getnetgrent_r.c
40914         (nscd_setnetgrent): New function, broken out of ...
40915         (setnetgrent): ... here.  Call it.
40916         (innetgr): Conditionalize nscd bits on [USE_NSCD].
40917         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
40918         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
40919         * nscd/Makefile (routines, aux): Move definitions after include of
40920         Makeconfig.  Conditionalize on [$(use-nscd) != no].
40921         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
40922         Conditionalize on [USE_NSCD].
40923         (is_nscd, nscd_init_cb): Likewise.
40924         (nss_load_library): Conditionalize init callback on [USE_NSCD].
40925         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
40926         * nss/nss_db/db-init.c: Likewise.
40927         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
40928         [USE_NSCD].
40929         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
40930         (make_request): Use it.
40931         (cache_valid_p): New function.
40932         (__check_pf): Use it.
40933         * NEWS: Add item for --disable-nscd.
40935 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
40937         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
40938         to support sed >= 4.2.1-20-ga9bf076.
40939         * configure: Regenerated.
40941 2012-08-22  Roland McGrath  <roland@hack.frob.com>
40943         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
40944         Conditionalize whole body on [IREL].
40946 2012-08-22  Jeff Law <law@redhat.com>
40948         [BZ #14505]
40949         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
40950         if the family is PF_UNSPEC.
40952 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
40954         * Makerules (lib-version): Rename from V.
40955         (install-lib-nosubdir): Change V to lib-version.
40957 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
40959         [BZ #14252]
40960         * powerpc32/power6/wcschr.c: New file.
40961         * powerpc32/power6/wcscpy.c: New file.
40962         * powerpc32/power6/wcsrchr.c: New file.
40963         * powerpc64/power6/wcschr.c: New file.
40964         * powerpc64/power6/wcscpy.c: New file.
40965         * powerpc64/power6/wcsrchr.c: New file.
40967 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
40969         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
40970         (two_way_short_needle): Use it.
40971         * string/strstr.c (AVAILABLE1_USES_J): Define.
40972         * string/strcasestr.c: Likewise.
40974         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
40975         array references.
40976         * string/strcasestr.c (TOLOWER): Make side-effect safe.
40978         [BZ #11607]
40979         * NEWS: Add an entry.
40980         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
40981         define their defaults.
40982         (two_way_short_needle): Detect end-of-string on-the-fly.
40983         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
40984         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
40985         * string/bug-strcasestr1.c: New test.
40986         * string/Makefile: Run it.
40988 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
40990         [BZ #11607]
40991         * string/str-two-way.h (two_way_short_needle): Optimize matching of
40992         the first character.
40994 2012-08-21  Roland McGrath  <roland@hack.frob.com>
40996         * csu/elf-init.c (__libc_csu_irel): Function removed.
40997         * csu/libc-start.c (apply_irel): New function.
40998         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
41000 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
41002         * sysdeps/unix/sysv/linux/kernel-features.h
41003         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
41004         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
41005         <kernel-features.h>.
41006         [__NR_fadvise64_64]: Make code unconditional.
41007         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
41008         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41009         !__NR_fadvise64_64)]: Likewise.
41010         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41011         !__NR_fadvise64_64))]: Likewise.
41012         [__NR_fadvise64]: Make code unconditional.
41013         [!__NR_fadvise64]: Remove conditional code.
41014         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
41015         <kernel-features.h>.
41016         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41017         unconditional.
41018         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41019         conditional code.
41020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
41021         not include <kernel-features.h>.
41022         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41023         unconditional.
41024         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41025         conditional code.
41026         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
41027         include <kernel-features.h>.
41028         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41029         unconditional.
41030         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41031         conditional code.
41033 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41035         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
41036         slight instruction rearrangements per scrollpipe analysis.
41037         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41039 2012-08-20  Roland McGrath  <roland@hack.frob.com>
41041         * manual/syslog.texi (syslog; vsyslog, closelog):
41042         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
41043         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
41045         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
41046         DSOCAPS to match condition on defining it.
41048 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
41050         * sysdeps/unix/sysv/linux/kernel-features.h
41051         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
41052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
41053         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41054         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
41056         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41057         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
41059         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41060         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41062         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
41063         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
41065         * sysdeps/unix/sysv/linux/kernel-features.h
41066         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
41067         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
41068         unconditional.
41069         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41070         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
41071         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41072         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41073         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
41074         Make code unconditional.
41075         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41076         (__mmap64) [!__NR_mmap2]: Likewise.
41077         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
41078         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41079         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41080         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
41081         [__NR_mmap2]: Make code unconditional.
41082         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41083         (__mmap64) [!__NR_mmap2]: Likewise.
41085 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41087         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
41089 2012-08-18  Andreas Jaeger  <aj@suse.de>
41091         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
41093 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
41095         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
41096         * include/unistd.h (__have_sock_cloexec): Likewise.
41097         (__have_pipe2): Likewise.
41098         (__have_dup3): Likewise.
41100 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
41102         [BZ #9685]
41103         * include/unistd.h (__have_pipe2): Change define into an extern int.
41104         (__have_dup3): Likewise.
41105         * socket/have_sock_cloexec.c: Include fcntl.h.
41106         (__have_pipe2): New variable.
41107         (__have_dup3): Likewise.
41109 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
41111         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
41113 2012-08-17  Marek Polacek  <polacek@redhat.com>
41115         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
41116         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
41118 2012-08-17  Roland McGrath  <roland@hack.frob.com>
41120         * configure.in: Add AC_SUBST for sysheaders.
41121         * configure: Regenerated.
41122         * config.make.in (sysheaders): New substituted variable.
41124         * sysdeps/unix/mkfifo.c: Moved ...
41125         * sysdeps/posix/mkfifo.c: ... here.
41126         * sysdeps/unix/mkfifoat.c: Moved ...
41127         * sysdeps/posix/mkfifoat.c: ... here.
41129         * sysdeps/unix/utime.c: Moved ...
41130         * sysdeps/posix/utime.c: ... here.
41132         * sysdeps/unix/time.c: Moved ...
41133         * sysdeps/posix/time.c: ... here.
41134         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
41135         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
41137         * sysdeps/unix/nice.c: Moved ...
41138         * sysdeps/posix/nice.c: ... here.
41140         * sysdeps/unix/alarm.c: Moved ...
41141         * sysdeps/posix/alarm.c: ... here.
41143         * intl/Makefile ($(codeset_mo)): Depend on the input file.
41145 2012-08-17  Jeff Law <law@redhat.com>
41147         * intl/Makefile (codeset_mo): New variable.
41148         ($(codeset_mo)): New target.
41149         (tst-codeset.out): Depend on that.  Remove explicit rule.
41150         (tst-gettext3.out, tst-gettext5.out): Likewise.
41151         (LOCPATH-ENV, tst-codeset-ENV): New variables.
41152         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
41153         * intl/tst-codeset.sh: Remove.
41154         * intl/tst-gettext3.sh: Likewise.
41155         * intl/tst-gettext5.sh: Likewise.
41157 2012-08-17  Roland McGrath  <roland@hack.frob.com>
41159         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
41160         * sysdeps/unix/syscalls.list: ... here.
41162         * sysdeps/posix/getaddrinfo.c
41163         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
41164         (gaiconf_init, gaiconf_reload): Use them.
41165         [!_STATBUF_ST_NSEC]
41166         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
41167         Define using time_t rather than struct timespec.
41169         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
41170         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
41171         Macros removed.
41172         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
41173         [!NO_THREADS].
41174         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
41175         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
41176         Likewise.
41178         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
41179         __libc_cleanup_push argument.
41181         * bits/param.h: New file.
41182         * misc/sys/param.h: New file.
41183         * include/sys/param.h: New file.
41184         * misc/Makefile (headers): Add bits/param.h.
41185         * sysdeps/generic/sys/param.h: File removed.
41186         * sysdeps/unix/sysv/linux/bits/param.h: New file.
41187         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
41188         * sysdeps/mach/hurd/bits/param.h: New file.
41189         * sysdeps/mach/hurd/sys/param.h: File removed.
41191         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
41192         last change.
41194         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
41195         [_IO_MTSAFE_IO].
41196         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
41197         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
41198         New macros.
41200         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
41201         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
41202         rather than -D_IO_MTSAFE_IO conditionally.
41203         * stdio-common/Makefile (CPPFLAGS): Likewise.
41204         * wcsmbs/Makefile (CPPFLAGS): Likewise.
41205         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
41206         Use $(libio-mtsafe).
41207         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
41208         of -D_IO_MTSAFE_IO.
41209         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
41210         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
41211         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
41212         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
41213         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
41214         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
41215         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
41216         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
41217         (CFLAGS-fread_u_chk.c): Likewise.
41218         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
41219         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
41220         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
41221         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
41222         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
41223         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
41224         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
41225         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
41226         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
41228         * libio/Makefile: Test [$(libc-reentrant) = yes]
41229         instead of [$(filter %REENTRANT, $(defines)) nonempty].
41231         * Makeconfig
41232         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
41233         * sysdeps/pthread/configure: File removed.
41234         * sysdeps/pthread/Makeconfig: New file.
41235         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
41236         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
41238 2012-08-16  Gary Benson  <gbenson@redhat.com>
41240         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
41241         unmapping the first object in a namespace.
41243 2012-08-16  Roland McGrath  <roland@hack.frob.com>
41245         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
41246         (__internal_setnetgrent): ... this.  Add internal_function to
41247         definition.  Add libc_hidden_def.
41248         (setnetgrent): Update caller.
41249         (internal_endnetgrent): Renamed to ...
41250         (__internal_endnetgrent): ... this.  Add internal_function to
41251         definition.  Add libc_hidden_def.
41252         (endnetgrent): Update caller.
41253         (internal_getnetgrent_r): Renamed to ...
41254         (__internal_getnetgrent_r): ... this.  Add internal_function to
41255         definition.  Add libc_hidden_def.
41256         (__getnetgrent_r): Update caller.
41257         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
41259 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
41261         * stdlib/longlong.h: Update from GCC.
41263 2012-08-16  Roland McGrath  <roland@hack.frob.com>
41265         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
41266         on _QL, which is set by umul_ppmm but never used.
41267         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
41268         variables, which are set by GMP macros but never used.
41269         * stdio-common/_itowa.c (_itowa): Likewise.
41270         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
41271         * stdlib/mod_1.c (mpn_mod_1): Likewise.
41273 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
41275         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
41276         struct La_sh_regs is not constant.
41277         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
41278         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
41279         and struct La_sparc64_regs are not constant.
41281 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
41283         * sysdeps/unix/sysv/linux/kernel-features.h
41284         (__ASSUME_POSIX_TIMERS): Remove.
41285         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41286         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41287         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
41288         Make code unconditional.
41289         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41290         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
41291         Make code unconditional.
41292         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41293         * sysdeps/unix/sysv/linux/clock_nanosleep.c
41294         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
41295         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41296         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
41297         Make code unconditional.
41298         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41299         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
41300         (__libc_missing_posix_timers): Remove.
41302 2012-08-15  Roland McGrath  <roland@hack.frob.com>
41304         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
41305         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
41307         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
41309         * elf/dl-sym.c: Include <stdlib.h>.
41311         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
41312         constants, which avoids warnings in 32-bit builds.
41314         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
41315         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
41317         * misc/lseek.c: File moved to ...
41318         * io/lseek.c: ... here.
41320         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
41322         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
41323         shifting LEN more than 31 bits at once.
41325 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41327         [BZ #14195]
41328         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
41329         segmentation fault for a case of two empty input strings.
41330         * string/test-strncasecmp.c (check1): Renamed to...
41331         (bz12205): ...this.
41332         (bz14195): Add new testcase for two empty input strings and N > 0.
41333         (test_main): Call new testcase, adapt for renamed function.
41335 2012-08-15  Andreas Jaeger  <aj@suse.de>
41337         [BZ #14090]
41338         * crypt/md5test2.c: New test, based on test supplied by Serge
41339         Belyshev <belyshev@depni.sinp.msu.ru>.
41340         * crypt/Makefile (xtests): Add md5test-giant..
41341         * crypt/Makefile ($(objpfx)md5test-giant): Add.
41343 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
41345         [BZ #14090]
41346         * crypt/md5.c (md5_process_block): Don't assume the buffer
41347         length is less than 2**32.
41348         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
41349         length is less than 2**64.
41351 2012-08-15  Roland McGrath  <roland@hack.frob.com>
41353         * string/str-two-way.h: Include <sys/param.h>.
41354         (MAX): Macro removed.
41356         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
41357         Move #define and #undef of memmove to just before and after
41358         including <string.h>.
41360         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
41361         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
41362         and after including <string.h>.  Move declarations of
41363         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
41364         to before #include "string/memmove.c".
41366         * include/dirent.h: Declare __getdirentries.
41368         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
41369         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
41371 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
41373         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
41374         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
41375         * sysdeps/i386/configure: Regenerated.
41376         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
41377         STABS_CURRENT_FILE, and STABS_FUN.
41378         (END): Remove call to STABS_FUN_END.
41379         (STABS_CURRENT_FILE1): Delete.
41380         (STABS_CURRENT_FILE): Likewise.
41381         (STABS_FUN): Likewise.
41382         (STABS_FUN_END): Likewise.
41383         (STABS_FUN2): Likewise.
41384         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
41385         * sysdeps/x86_64/configure: Regenerated.
41387 2012-08-14  Roland McGrath  <roland@hack.frob.com>
41389         * elf/dl-open.c: Include <atomic.h>.
41390         * elf/dl-lookup.c: Likewise.
41392 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
41394         * sysdeps/unix/sysv/linux/kernel-features.h
41395         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
41396         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
41397         unconditionally.
41398         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
41399         unconditionally.
41400         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
41401         condition on __ASSUME_CLONE_THREAD_FLAGS.
41403 2012-08-14  Andreas Jaeger  <aj@suse.de>
41405         * sysdeps/i386/fpu/libm-test-ulps: Update.
41407 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
41409         * include/atomic.h (atomic_exchange_and_add): Split into ...
41410         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
41411         New atomic macros.
41413 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
41415         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41417 2012-08-13  Jeff Law <law@redhat.com>
41419         * manual/stdio.texi (snprintf): Clarify handling of the trailing
41420         null byte in the output string.
41422 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
41424         * sysdeps/unix/sysv/linux/kernel-features.h
41425         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
41426         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
41427         (__ASSUME_ARG_MAX_STACK_BASED): Define.
41428         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
41429         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
41430         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
41431         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
41433 2012-08-09  Jeff Law <law@redhat.com>
41435         [BZ #13939]
41436         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
41437         When avoid_arena is set, don't retry in the that arena.  Pick the
41438         next one, whatever it might be.
41439         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
41440         (arena_lock): Pass in new parameter to arena_get2.
41441         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
41442         arena_get2.
41443         (__libc_malloc): Unify retrying after main arena failure with
41444         __libc_memalign version.
41445         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
41447 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
41449         [BZ #14166]
41450         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
41451         to __redirect_strstr.
41452         (__strstr_sse42): Use typeof __redirect_strstr.
41453         (__strstr_ia32): Likewise.
41454         (__libc_strstr): New prototype.
41455         (strstr): Renamed to ...
41456         (__libc_strstr): This.
41457         (strstr): New strong alias of __libc_strstr.
41458         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41459         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
41460         __redirect_time.
41461         Include <time.h>.
41462         (__libc_time): New prototype.
41463         (time_ifunc): Replace time with __libc_time.
41464         (time): New strong alias and hidden definition of __libc_time.
41465         (__GI_time): Remove strong alias.
41466         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
41467         Include <stddef.h>.
41468         (memmove): Redefined to __redirect_memmove.
41469         (__memmove_sse2): Use typeof __redirect_memmove.
41470         (__memmove_ssse3): Likewise.
41471         (__memmove_ssse3_back): Likewise.
41472         (__libc_memmove): New prototype.
41473         (memmove): Renamed to ...
41474         (__libc_memmove): This.
41475         (memmove): New strong alias of __libc_memmove.
41477 2012-08-08  Mark Salter  <msalter@redhat.com>
41479         * elf/elf.h
41480         (R_MN10300_TLS_GD): Define.
41481         (R_MN10300_TLS_LD): Likewise.
41482         (R_MN10300_TLS_LDO): Likewise.
41483         (R_MN10300_TLS_GOTIE): Likewise.
41484         (R_MN10300_TLS_IE): Likewise.
41485         (R_MN10300_TLS_LE): Likewise.
41486         (R_MN10300_TLS_DTPMOD): Likewise.
41487         (R_MN10300_TLS_DTPOFF): Likewise.
41488         (R_MN10300_TLS_TPOFF): Likewise.
41489         (R_MN10300_SYM_DIFF): Likewise.
41490         (R_MN10300_ALIGN): Likewise.
41491         (R_MN10300_NUM): Update.
41493 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
41495         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
41496         Remove.
41498 2012-08-08  Roland McGrath  <roland@hack.frob.com>
41500         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
41502         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
41503         sysdeps/unix -> sysdeps/posix move.
41504         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
41506 2012-08-07      Allan McRae     <allan@archlinux.org>
41508         [BZ #14303]
41509         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
41510         (SUNOS_CPP): Likewise.
41511         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
41512         not found.
41513         (open_input): Call CPP using execvp.
41515 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
41517         * sysdeps/unix/sysv/linux/kernel-features.h
41518         (__ASSUME_PROT_GROWSUPDOWN): Remove.
41519         (__ASSUME_NO_CLONE_DETACHED): Likewise.
41520         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
41521         (__ASSUME_WAITID_SYSCALL): Likewise.
41522         * sysdeps/unix/sysv/linux/dl-execstack.c
41523         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
41524         code unconditional.
41525         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
41526         conditional code.
41527         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
41528         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
41529         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
41530         code.
41531         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
41532         unconditional.
41533         [__ASSUME_WAITID_SYSCALL]: Likewise.
41534         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
41536 2012-08-07  Roland McGrath  <roland@hack.frob.com>
41538         * sysdeps/unix/closedir.c: Renamed to ...
41539         * sysdeps/posix/closedir.c: ... here.
41540         * sysdeps/unix/dirfd.c: Renamed to ...
41541         * sysdeps/posix/dirfd.c: ... here.
41542         * sysdeps/unix/dirstream.h: Renamed to ...
41543         * sysdeps/posix/dirstream.h: ... here.
41544         * sysdeps/unix/fdopendir.c: Renamed to ...
41545         * sysdeps/posix/fdopendir.c: ... here.
41546         * sysdeps/unix/opendir.c: Renamed to ...
41547         * sysdeps/posix/opendir.c: ... here.
41548         * sysdeps/unix/readdir.c: Renamed to ...
41549         * sysdeps/posix/readdir.c: ... here.
41550         * sysdeps/unix/readdir_r.c: Renamed to ...
41551         * sysdeps/posix/readdir_r.c: ... here.
41552         * sysdeps/unix/rewinddir.c: Renamed to ...
41553         * sysdeps/posix/rewinddir.c: ... here.
41554         * sysdeps/unix/seekdir.c: Renamed to ...
41555         * sysdeps/posix/seekdir.c: ... here.
41556         * sysdeps/unix/telldir.c: Renamed to ...
41557         * sysdeps/posix/telldir.c: ... here.
41558         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
41559         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
41560         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
41561         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
41563         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
41564         * bits/fcntl.h: ... here.
41566         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
41567         not 0.
41568         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
41569         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
41570         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
41571         (struct flock): Move l_start, l_len to the beginning.
41572         Use __pid_t for l_pid.
41573         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
41574         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
41575         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
41576         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
41577         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
41578         [__USE_LARGEFILE64] (struct flock64): New type.
41579         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
41581         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
41582         * bits/dirent.h: ... here.
41584         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
41585         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
41587 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
41589         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41590         Change from 2.6.0 to 2.6.16.
41591         * sysdeps/unix/sysv/linux/configure: Regenerated.
41592         * sysdeps/unix/sysv/linux/kernel-features.h
41593         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
41594         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
41595         version.
41596         (__ASSUME_UTIMES): Likewise.
41597         (__ASSUME_CLONE_STOPPED): Remove.
41598         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
41599         architectures, not kernel version.
41600         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
41601         (__ASSUME_NO_CLONE_DETACHED): Likewise.
41602         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
41603         (__ASSUME_WAITID_SYSCALL): Likewise.
41604         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
41605         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
41606         * README: State 2.6.16 as minimum Linux kernel version.  Do not
41607         refer to older versions.
41609 2012-08-06  Roland McGrath  <roland@hack.frob.com>
41611         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
41612         Define alphasort64 as an alias.
41613         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
41614         Define versionsort64 as an alias.
41615         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
41616         Define scandir64 as an alias.
41617         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
41618         Define scandirat64 as an alias.
41619         * dirent/alphasort64.c (alphasort64):
41620         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
41621         * dirent/versionsort64.c: Likewise.
41622         * dirent/scandir64.c: Likewise.
41623         * dirent/scandirat64.c: Likewise.
41624         * sysdeps/wordsize-64/alphasort.c: File removed.
41625         * sysdeps/wordsize-64/alphasort64.c: File removed.
41626         * sysdeps/wordsize-64/scandir.c: File removed.
41627         * sysdeps/wordsize-64/scandir64.c: File removed.
41628         * sysdeps/wordsize-64/scandirat.c: File removed.
41629         * sysdeps/wordsize-64/scandirat64.c: File removed.
41630         * sysdeps/wordsize-64/versionsort.c: File removed.
41631         * sysdeps/wordsize-64/versionsort64.c: File removed.
41632         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
41633         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
41634         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
41635         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
41636         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
41637         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
41638         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
41639         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
41641         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
41642         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
41643         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
41644         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41645         [defined __arch64__ || defined __sparcv9]
41646         (__INO_T_MATCHES_INO64_T): New macro.
41647         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41648         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
41649         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
41650         * sysdeps/unix/sysv/linux/bits/dirent.h
41651         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
41652         (_DIRENT_MATCHES_DIRENT64): New macro.
41654         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
41655         Define lockf64 as an alias.
41656         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
41657         Define fseeko64 as an alias.
41658         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
41659         Define ftello64 as an alias.
41660         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
41661         Define _IO_fgetpos64 and fgetpos64 as aliases.
41662         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
41663         Define _IO_fsetpos64 and fsetpos64 as aliases.
41664         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
41665         Conditionalize body on this.
41666         * libio/fseeko64.c: Likewise.
41667         * libio/ftello64.c: Likewise.
41668         * libio/iofgetpos64.c: Likewise.
41669         * libio/iofsetpos64.c: Likewise.
41670         * sysdeps/wordsize-64/lockf.c: File removed.
41671         * sysdeps/wordsize-64/lockf64.c: File removed.
41672         * sysdeps/wordsize-64/fseeko.c: File removed.
41673         * sysdeps/wordsize-64/fseeko64.c: File removed.
41674         * sysdeps/wordsize-64/ftello.c: File removed.
41675         * sysdeps/wordsize-64/ftello64.c: File removed.
41676         * sysdeps/wordsize-64/iofgetpos.c: File removed.
41677         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
41678         * sysdeps/wordsize-64/iofsetpos.c: File removed.
41679         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
41680         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
41681         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
41682         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
41683         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
41684         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
41685         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
41686         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
41687         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
41688         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
41689         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
41691         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
41692         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
41693         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
41694         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41695         [defined __arch64__ || defined __sparcv9]
41696         (__OFF_T_MATCHES_OFF64_T): New macro.
41697         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41698         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
41699         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41700         (__OFF_T_MATCHES_OFF64_T): New macro.
41702 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
41704         * stdlib/secure-getenv.c (__secure_getenv): Replace
41705         GLIBC_2_16 with GLIBC_2_17.
41707 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
41709         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
41710         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41712 2012-08-03  David S. Miller  <davem@davemloft.net>
41714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41716 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
41718         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
41719         Remove.
41720         (__ASSUME_CORRECT_SI_PID): Likewise.
41721         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
41722         (__ASSUME_TMPFS_NAME): Likewise.
41723         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
41724         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
41725         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
41726         (HAVE_AUX_SECURE): Make definition unconditional.
41727         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
41728         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
41730 2012-08-03  Roland McGrath  <roland@hack.frob.com>
41732         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
41733         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
41734         * sysdeps/mach/hurd/eloop-threshold.h: New file.
41735         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41736         __eloop_threshold instead of SYMLOOP_MAX.
41738         * sysdeps/generic/eloop-threshold.h: New file.
41739         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
41740         of MAXSYMLINKS.
41741         * elf/chroot_canon.c (chroot_canon): Likewise.
41743 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
41745         [BZ #13717]
41746         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41747         Change to 2.6.0 everywhere.
41748         * sysdeps/unix/sysv/linux/configure: Regenerated.
41749         * sysdeps/unix/sysv/linux/kernel-features.h
41750         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
41751         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
41752         kernel versions.
41753         (__ASSUME_POSIX_TIMERS): Define unconditionally.
41754         (__ASSUME_FUTEX_REQUEUE): Remove.
41755         (__ASSUME_STATFS64): Define unconditionally.
41756         (__ASSUME_AT_SECURE): Likewise.
41757         (__ASSUME_CORRECT_SI_PID): Likewise.
41758         (__ASSUME_TGKILL): Define without depending on kernel version for
41759         i386.
41760         (__ASSUME_UTIMES): Likewise.
41761         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
41762         kernel version.
41763         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
41764         (__ASSUME_TMPFS_NAME): Likewise.
41765         * README: Update reference to Linux kernel versions.
41767 2012-08-02  Marek Polacek  <polacek@redhat.com>
41769         [BZ# 14150]
41770         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
41771         libc_cv_asm_type_prefix with %.
41772         * configure: Regenerated.
41773         * include/libc-symbols.h: Remove comment about
41774         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
41775         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
41776         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
41777         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
41778         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
41779         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
41780         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
41781         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
41782         * elf/tst-unique2mod1.c: Likewise.
41783         * elf/tst-unique1mod2.c: Likewise.
41784         * elf/tst-unique1mod1.c: Likewise.
41785         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
41786         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
41787         Replace ASM_TYPE_DIRECTIVE with .type.
41788         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41789         * sysdeps/i386/sysdep.h: Likewise.
41790         * sysdeps/x86_64/sysdep.h: Likewise.
41791         * sysdeps/sh/sysdep.h: Likewise.
41792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41793         Do not define ASM_TYPE_DIRECTIVE.
41794         * sysdeps/powerpc/sysdep.h: Likewise.
41795         * sysdeps/powerpc/powerpc32/sysdep.h:
41796         Replace ASM_TYPE_DIRECTIVE with .type.
41797         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41798         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41799         * sysdeps/i386/fpu/e_powf.S: Likewise.
41800         * sysdeps/i386/fpu/e_expl.S: Likewise.
41801         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41802         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41803         * sysdeps/i386/fpu/e_pow.S: Likewise.
41804         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41805         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41806         * sysdeps/i386/fpu/s_expm1.S: Likewise.
41807         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41808         * sysdeps/i386/fpu/e_log2.S: Likewise.
41809         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41810         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41811         * sysdeps/i386/fpu/e_powl.S: Likewise.
41812         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41813         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41814         * sysdeps/i386/fpu/e_logl.S: Likewise.
41815         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41816         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41817         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41818         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41819         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41820         * sysdeps/i386/fpu/e_log.S: Likewise.
41821         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41822         * sysdeps/i386/fpu/e_logf.S: Likewise.
41823         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41824         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41825         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41826         * sysdeps/i386/fpu/e_log10.S: Likewise.
41827         * sysdeps/i386/fpu/s_frexp.S: Likewise.
41828         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41829         * sysdeps/i386/fpu/s_asinh.S: Likewise.
41830         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41831         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41832         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
41833         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41834         * sysdeps/i386/i686/strtok.S: Likewise.
41835         * sysdeps/i386/i386-mcount.S: Likewise.
41836         * sysdeps/i386/strtok.S: Likewise.
41837         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
41838         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41839         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41840         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41841         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41842         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41843         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41844         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41845         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41846         * sysdeps/x86_64/_mcount.S: Likewise.
41847         * sysdeps/x86_64/strtok.S: Likewise.
41848         * sysdeps/sh/_mcount.S: Likewise.
41850 2012-08-01  Roland McGrath  <roland@hack.frob.com>
41852         * libio/iofopen.c: Include <fcntl.h>.
41853         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
41854         (_IO_fopen64, fopen64): Define as aliases.
41855         * libio/iofopen64.c: Include <fcntl.h>.
41856         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
41857         Conditionalize body on this.
41858         * sysdeps/wordsize-64/iofopen.c: File removed.
41859         * sysdeps/wordsize-64/iofopen64.c: File removed.
41861 2012-08-01  Marek Polacek  <polacek@redhat.com>
41863         * libc/Makeconfig: Use elf in place of binfmt-subdir.
41864         Use dlfcn directly instead of a variable.
41865         (binfmt-subdir): Do not define.
41866         (dlfcn): Likewise.
41868 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
41870         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
41871         Remove all definitions.
41872         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
41873         <kernel-features.h>.
41874         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
41875         (miss_F_GETOWN_EX): Remove all definitions.
41876         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
41877         macro definition.
41878         [!__ASSUME_FCNTL64]: Remove conditional code.
41879         [__ASSUME_FCNTL64]: Make code unconditional.
41880         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
41881         <kernel-features.h>.
41882         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
41883         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
41884         (lockf64) [__NR_fcntl64]: Make code unconditional.
41885         (lockf64) [__ASSUME_FCNTL64]: Likewise.
41887         * sysdeps/unix/sysv/linux/kernel-features.h
41888         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
41889         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
41890         Make code unconditional.
41891         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41892         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
41894         [__NR_vfork]: Make code unconditional.
41895         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41896         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
41898         [__NR_vfork]: Make code unconditional.
41899         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41900         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41902 2012-08-01  Roland McGrath  <roland@hack.frob.com>
41904         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
41905         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
41907         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41908         Define mkstemp64 as an alias.
41909         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41910         Define mkstemps64 as an alias.
41911         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41912         Define mkostemp64 as an alias.
41913         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41914         Define mkostemps64 as an alias.
41915         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
41916         Conditionalize body on this.
41917         * misc/mkostemp64.c: Likewise.
41918         * misc/mkostemps64.c: Likewise.
41919         * misc/mkstemps64.c: Likewise.
41920         * sysdeps/wordsize-64/mkstemp64.c: File removed.
41921         * sysdeps/wordsize-64/mkostemp64.c: File removed.
41922         * sysdeps/wordsize-64/mkostemp.c: File removed.
41923         * sysdeps/wordsize-64/mkstemp.c: File removed.
41924         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
41925         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
41926         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
41927         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
41929         [BZ #14138]
41930         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
41931         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
41932         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
41933         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
41935         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
41936         compat_symbol macros from <shlib-compat.h> rather than the underlying
41937         default_symbol_version and symbol_version macros, so that DEFAULT
41938         lines in shlib-versions are respected.
41939         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
41941 2012-08-01  Florian Weimer  <fweimer@redhat.com>
41943         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
41944         Declare with warn_unused_result.
41945         (setgid, setregid, setegid, setresgid): Likewise.
41946         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
41947         Likewise.
41948         * WUR-REPORT: Remove set*id functions.
41950 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
41952         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
41954 2012-07-31  Roland McGrath  <roland@hack.frob.com>
41956         [BZ #10191]
41957         * include/sys/socket.h (__libc_accept, __libc_accept4):
41958         Add attribute_hidden.
41959         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
41961         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
41962         use of PTR_MANGLE.
41963         * inet/getnetgrent_r.c (setup): Likewise.
41965         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
41967 2012-07-31  David S. Miller  <davem@davemloft.net>
41969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41971 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
41973         [BZ #13629]
41974         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
41975         value between 1.0 and 2.0 and smaller part has absolute value less
41976         than 1.0.
41977         * math/s_clog10.c (__clog10): Likewise.
41978         * math/s_clog10f.c (__clog10f): Likewise.
41979         * math/s_clog10l.c (__clog10l): Likewise.
41980         * math/s_clogf.c (__clogf): Likewise.
41981         * math/s_clogl.c (__clogl): Likewise.
41982         * math/libm-test.inc (clog_test): Add more tests.
41983         (clog10_test): Likewise.
41984         * sysdeps/i386/fpu/libm-test-ulps: Update.
41985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41987 2012-07-31  Florian Weimer  <fweimer@redhat.com>
41989         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
41990         Exit with zero in case no suitable GID is found, and write a
41991         message to standard error.
41993 2012-07-30  Roland McGrath  <roland@hack.frob.com>
41995         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
41996         rather than to 1.
41997         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
41998         (MAXPATHLEN): Removed.
41999         (NOGROUP, NODEV): New macros.
42000         (setbit, clrbit, isset, isclr): New macros.
42001         (howmany, roundup, powerof2): New macros.
42002         (DEV_BSIZE): New macro.
42004         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
42005         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
42007         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
42008         definition on [!__NO_LONG_DOUBLE_MATH].
42010         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
42011         PTR_MANGLE and PTR_DEMANGLE.
42013         * socket/accept4.c (accept4): Rename to __libc_accept4.
42014         Define accept4 as a weak alias.
42016         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
42017         on [_DIRENT_HAVE_D_TYPE].
42018         * io/ftw.c (ftw_dir): Likewise.
42020         * io/xmknod.c (__xmknod): Don't check PATH for being null.
42022         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
42024         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
42025         Use the BSD numbers rather than the arbitrary ones we had.
42026         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
42027         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
42028         (SIGXCPU, SIGXFSZ): New macros.
42029         (_NSIG): Now 32.
42031         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
42032         initializer on [_LIBC_REENTRANT].
42034         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
42035         definitions inside [_POSIX_MAPPED_FILES].
42037         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
42039         * dirent/opendir.c: Include <fcntl.h>.
42041         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
42042         (__libc_getspecific): Likewise.
42043         (__libc_key_create): Likewise.
42045         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
42046         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
42047         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
42048         (tmpfile64): Define as alias.
42049         * sysdeps/wordsize-64/tmpfile.c: File removed.
42050         * sysdeps/wordsize-64/tmpfile64.c: File removed.
42051         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
42052         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
42054         * stdio-common/vfscanf.c: Include <stdbool.h>.
42055         * nss/makedb.c: Likewise.
42056         * stdio-common/_i18n_number.h: Likewise.
42057         * argp/argp-help.c: Likewise.
42058         * posix/wordexp.c: Likewise.
42059         * sysdeps/posix/spawni.c: Likewise.
42060         * nss/nss_files/files-initgroups.c: Likewise.
42061         * stdio-common/reg-modifier.c: Include <stdlib.h>.
42062         * nss/nss_files/files-initgroups.c: Likewise.
42063         * nss/nss_db/db-netgrp.c: Likewise.
42064         * nss/nss_db/db-initgroups.c: Likewise.
42065         * io/fchmodat.c: Include <sys/stat.h>.
42067         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
42068         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
42070         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
42071         [HAVE_MMAP].
42073         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
42074         Add multiple inclusion protection.
42076 2012-07-27  David S. Miller  <davem@davemloft.net>
42078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42080 2012-07-27  Gary Benson  <gbenson@redhat.com>
42082         [BZ #14298]
42083         * elf/rtld.c: Include <stap-probe.h>.
42084         (dl_main): Added static probes "init_start" and "init_complete".
42085         * elf/dl-load.c: Include <stap-probe.h>.
42086         (lose): Take new parameter "nsid".
42087         Added static probe "map_failed".
42088         (_dl_map_object_from_fd): Pass namespace id to lose.
42089         Added static probe "map_start".
42090         (open_verify): Pass namespace id to lose.
42091         * elf/dl-open.c: Include <stap-probe.h>.
42092         (dl_open_worker) Added static probes "map_complete", "reloc_start"
42093         and "reloc_complete".
42094         * elf/dl-close.c: Include <stap-probe.h>.
42095         (_dl_close_worker): Added static probes "unmap_start" and
42096         "unmap_complete".
42097         * elf/rtld-debugger-interface.txt: New file documenting the above.
42099 2012-07-26  Roland McGrath  <roland@hack.frob.com>
42101         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
42102         rather than a string variable.
42103         * sunrpc/rpc_main.c (h_output): Likewise.
42104         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
42106 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
42108         * inet/check_native.c: New file.
42110 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
42112         [BZ #13629]
42113         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
42114         if larger part has absolute value 1.0.
42115         * math/s_clog10.c (__clog10): Likewise.
42116         * math/s_clog10f.c (__clog10f): Likewise.
42117         * math/s_clog10l.c (__clog10l): Likewise.
42118         * math/s_clogf.c (__clogf): Likewise.
42119         * math/s_clogl.c (__clogl): Likewise.
42120         * math/libm-test.inc (clog_test): Add more tests.
42121         (clog10_test): Likewise.
42122         * sysdeps/i386/fpu/libm-test-ulps: Update.
42123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42125         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
42126         (pltexit): Likewise.
42127         (La_regs): Likewise.
42128         (La_retval): Likewise.
42129         (int_retval): Likewise.
42130         Update #error for removed macros to refer only to definitions in
42131         tst-audit.h.
42132         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
42133         macro.
42134         (pltexit): Likewise.
42135         (La_regs): Likewise.
42136         (La_retval): Likewise.
42137         (int_retval): Likewise.
42138         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
42139         macro.
42140         (pltexit): Likewise.
42141         (La_regs): Likewise.
42142         (La_retval): Likewise.
42143         (int_retval): Likewise.
42144         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
42145         macro.
42146         (pltexit): Likewise.
42147         (La_regs): Likewise.
42148         (La_retval): Likewise.
42149         (int_retval): Likewise.
42150         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
42151         macro.
42152         (pltexit): Likewise.
42153         (La_regs): Likewise.
42154         (La_retval): Likewise.
42155         (int_retval): Likewise.
42156         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
42157         macro.
42158         (pltexit): Likewise.
42159         (La_regs): Likewise.
42160         (La_retval): Likewise.
42161         (int_retval): Likewise.
42162         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
42163         macro.
42164         (pltexit): Likewise.
42165         (La_regs): Likewise.
42166         (La_retval): Likewise.
42167         (int_retval): Likewise.
42168         * sysdeps/generic/tst-audit.h: Update comment to refer only to
42169         macro definitions in tst-audit.h.
42170         * sysdeps/i386/tst-audit.h: New file.
42171         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
42172         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
42173         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
42174         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
42175         * sysdeps/sh/tst-audit.h: Likewise.
42176         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
42177         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
42178         * sysdeps/x86_64/tst-audit.h: Likewise.
42180 2012-07-26  Andreas Jaeger  <aj@suse.de>
42182         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
42183         ptrace.
42185         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
42186         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
42187         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
42188         PTRACE_O_MASK.
42189         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
42190         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
42191         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
42193         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
42194         value.
42196         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
42197         _sigsys.
42198         (si_call_addr, si_syscall, si_arch): Define new macro.
42199         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
42200         _sigsys.
42201         (si_call_addr, si_syscall, si_arch): Define new marcro.
42202         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
42203         _sigsys.
42204         (si_call_addr, si_syscall, si_arch): Define new macro.
42205         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
42206         _sigsys.
42207         (si_call_addr, si_syscall, si_arch): Define new macro.
42209 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
42211         [BZ #13717]
42212         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42213         Change to 2.4.21 where previously 2.4.1.
42214         * sysdeps/unix/sysv/linux/configure: Regenerated.
42215         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
42216         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
42217         Linux kernel version.
42218         (__ASSUME_STD_AUXV): Remove.
42219         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
42220         kernel version.
42221         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
42222         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
42223         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
42224         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
42225         (__ASSUME_NETLINK_SUPPORT): Likewise.
42226         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
42227         (__no_netlink_support): Remove conditional definition.
42228         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
42229         Remove.
42230         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42231         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
42232         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
42233         (if_nameindex_ioctl): Remove.
42234         (if_nameindex_netlink): Do not handle __no_netlink_support.
42235         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42236         code.
42237         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
42238         Remove conditional code.
42239         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42240         code.
42241         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
42242         unconditional.
42243         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42244         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
42245         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
42246         Remove.
42247         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
42248         [!__ASSUME_STD_AUXV]: Remove conditional code.
42249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
42250         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
42251         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
42252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
42253         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
42254         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42255         code.
42256         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42258         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
42259         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42260         conditional code.
42261         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42263         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42264         code.
42265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42266         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42267         conditional code.
42268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
42269         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42270         code unconditional.
42271         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42272         conditional code.
42273         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42274         unconditional.
42275         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42276         conditional code.
42277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42278         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42279         unconditional.
42280         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42281         conditional code.
42282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
42283         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42284         code unconditional.
42285         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42286         conditional code.
42287         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42288         unconditional.
42289         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42290         conditional code.
42291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
42292         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42293         code unconditional.
42294         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42295         conditional code.
42296         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42297         unconditional.
42298         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42299         conditional code.
42301 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
42303         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
42304         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
42305         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
42306         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
42307         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
42308         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42309         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42310         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
42311         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
42312         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
42313         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
42314         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
42315         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
42316         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42317         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
42318         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
42319         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
42320         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
42321         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
42322         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
42323         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
42324         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
42325         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42327 2012-07-25  Florian Weimer  <fweimer@redhat.com>
42329         * Versions.def: Add GLIBC_2.17.
42330         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
42331         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
42332         Introduce __libc_secure_getenv.
42333         * stdlib/Versions (2.17): Add secure_getenv
42334         (GLIBC_PRIVATE): Add __libc_secure_getenv.
42335         * stdlib/secure-getenv.c: Rename __secure_getenv to
42336         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
42337         symbol __secure_getenv for GLIBC_2.0.
42338         * stdlib/tst-secure-getenv.c: New.
42339         * stdlib/Makefile (tests): Add testcase.
42340         * manual/startup.texi (Environment Access): Document
42341         secure_getenv.
42342         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
42343         __libc_secure_getenv.
42344         * inet/ruserpass.c (ruserpass): Likewise.
42345         * malloc/mtrace.c (mtrace): Likewise.
42346         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
42347         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
42348         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
42349         * sysdeps/posix/tempname.c: Likewise.  Evaluate
42350         HAVE_SECURE_GETENV.
42351         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
42352         __secure_getenv to __libc_secure_getenv.
42353         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
42354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42355         Likewise.
42356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42357         Likewise.
42358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42360         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42361         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42362         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42363         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42364         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42366 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
42368         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
42369         (struct La_i86_retval): Likewise.
42370         (struct La_x86_64_regs): Likewise.
42371         (struct La_x86_64_retval): Likewise.
42372         (struct La_x32_regs): Likewise.
42373         (struct La_x32_retval): Likewise.
42374         (struct La_ppc32_regs): Likewise.
42375         (struct La_ppc32_retval): Likewise.
42376         (struct La_ppc64_regs): Likewise.
42377         (struct La_ppc64_retval): Likewise.
42378         (struct La_sh_regs): Likewise.
42379         (struct La_sh_retval): Likewise.
42380         (struct La_s390_32_regs): Likewise.
42381         (struct La_s390_32_retval): Likewise.
42382         (struct La_s390_64_regs): Likewise.
42383         (struct La_s390_64_retval): Likewise.
42384         (struct La_sparc32_regs): Likewise.
42385         (struct La_sparc32_retval): Likewise.
42386         (struct La_sparc64_regs): Likewise.
42387         (struct La_sparc64_retval): Likewise.
42388         (struct audit_ifaces): Remove architecture-specific pltenter and
42389         pltexit members.
42390         * sysdeps/i386/ldsodefs.h: New file.
42391         * sysdeps/powerpc/ldsodefs.h: Likewise.
42392         * sysdeps/s390/ldsodefs.h: Likewise.
42393         * sysdeps/sh/ldsodefs.h: Likewise.
42394         * sysdeps/sparc/ldsodefs.h: Likewise.
42395         * sysdeps/x86_64/ldsodefs.h: Likewise.
42397 2012-07-25  Marek Polacek  <polacek@redhat.com>
42399         [BZ #6808]
42400         * math/libm-test.inc (yn_test): Add another test.
42401         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
42402         to ERANGE when the result is +-Inf.
42403         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
42404         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
42405         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
42406         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
42408 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
42410         * conform/data/time.h-data (NULL): Use macro-constant.  Require
42411         equal to 0.
42412         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
42413         clock_t.
42414         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
42416 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
42418         * configure.in <sysdeps resolving>: Correct printing
42419         Implies_before.
42420         * configure: Regenerate.
42422 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
42424         * math/w_ilogb.c: Include <limits.h>.
42425         * math/w_ilogbl.c: Likewise.
42427 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
42429         * manual/lang.texi (__va_copy): Document primarily as ISO C99
42430         va_copy.  Document allowing for unavailable va_copy only as
42431         pre-C99 compatibility.
42432         * manual/string.texi (Copying and Concatenation): Use va_copy
42433         instead of __va_copy in concat example.
42435 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
42437         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
42438         (__sendto): Use create_address_port.  Initialize APORT and deallocate
42439         it if not null.
42441         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
42442         with O_NOLINK passed to __file_name_lookup.
42444         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
42445         with O_NOLINK passed to __file_name_lookup.
42447         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
42448         negative N or less than NGIDS.
42450         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
42451         type to string_t.  Set ERANGE as errno and return it if NAME is not big
42452         enough.  Use memcpy instead of strncpy.
42454 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
42456         * elf/Makefile (check-data): Remove.
42457         (localplt.data): New vpath directive.
42458         ($(objpfx)check-localplt.out): Use localplt.data from vpath
42459         instead of $(check-data).
42460         * scripts/data/localplt-generic.data: Move to ...
42461         * sysdeps/generic/localplt.data: ... here.
42462         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
42463         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
42464         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
42465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
42466         ... here.
42467         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
42468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
42469         ... here.
42470         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
42471         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
42472         ... here.
42473         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
42474         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
42475         ... here.
42476         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
42477         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
42478         ... here.
42479         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
42480         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
42481         ... here.
42483 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42485         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
42486         PPC32 and PPC64 files.
42487         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
42488         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
42490 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42492         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
42493         __makecontext_ret to ...
42494         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
42495         ... here and call exit if uc_link is NULL.  New file.
42496         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
42497         __makecontext_ret.S.
42498         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
42499         __makecontext_ret to ...
42500         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
42501         ... here and call exit if uc_link is NULL.  New file.
42502         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
42503         __makecontext_ret.S.
42505 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42507         * elf/elf.h (R_390_IRELATIVE): New definition.
42508         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
42509         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
42510         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
42511         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42512         (elf_machine_lazy_rel): Likewise.
42513         * sysdeps/s390/dl-irel.h: New file.
42514         * sysdeps/s390/s390-64/memcpy.S: New asm code.
42515         * sysdeps/s390/s390-64/memset.S: New asm code.
42516         * sysdeps/s390/s390-64/memcmp.S: New asm code.
42517         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
42518         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
42519         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
42520         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
42521         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
42522         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
42523         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
42524         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
42525         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
42526         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
42527         * sysdeps/s390/s390-32/memcpy.S: New asm code.
42528         * sysdeps/s390/s390-32/memset.S: New asm code.
42529         * sysdeps/s390/s390-32/memcmp.S: New asm code.
42531 2012-07-17  Marek Polacek  <polacek@redhat.com>
42533         [BZ #14349]
42534         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
42535         * sysdeps/s390/s390-64/configure.in: Likewise.
42536         * sysdeps/sparc/configure.in: Likewise.
42537         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
42538         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
42539         * sysdeps/i386/configure.in: Likewise.
42540         * sysdeps/x86_64/configure.in: Likewise.
42541         * sysdeps/sh/configure.in: Likewise.
42542         * sysdeps/s390/s390-32/configure: Regenerated.
42543         * sysdeps/s390/s390-64/configure: Likewise.
42544         * sysdeps/x86_64/configure: Likewise.
42545         * sysdeps/sh/configure: Likewise.
42546         * sysdeps/powerpc/powerpc64/configure: Likewise.
42547         * sysdeps/powerpc/powerpc32/configure: Likewise.
42548         * sysdeps/sparc/configure: Likwise.
42549         * sysdeps/i386/configure: Likewise.
42551         * elf/dl-open.c: Comment fixes.
42553 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
42555         * Makefile [CXX] (check-data): Remove.
42556         [CXX] (c++-types.data): New vpath directive.
42557         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
42558         vpath.  Do not allow for C++ type data being missing.
42559         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
42560         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
42561         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
42562         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
42563         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
42564         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
42565         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
42566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
42567         ... here.
42568         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
42569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
42570         ... here.
42571         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
42572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
42573         ... here.
42574         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
42575         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
42576         ... here.
42577         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
42578         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
42579         ... here.
42580         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
42581         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
42582         ... here.
42583         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
42584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
42585         ... here.
42586         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
42587         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
42589         * elf/tls-macros.h (TLS_LE): Move architecture-specific
42590         definitions to architecture-specific files.
42591         (TLS_IE): Likewise.
42592         (TLS_LD): Likewise.
42593         (TLS_GD): Likewise.
42594         * sysdeps/i386/tls-macros.h: New file.
42595         * sysdeps/powerpc/tls-macros.h: Likewise.
42596         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
42597         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
42598         * sysdeps/sh/tls-macros.h: Likewise.
42599         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
42600         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
42601         * sysdeps/x86_64/tls-macros.h: Likewise.
42603 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
42605         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
42606         zero value for regular exit case.
42608         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
42609         (__start_context): Preserve zero value for regular exit case.
42611 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
42612             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42614         * manual/setjmp.texi (setcontext): Clarify normal process
42615         termination when uc_link is the null pointer.
42616         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
42617         exit call.
42619 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
42621         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
42622         preprocessor.  Test for each exception mask separately.
42624 2012-07-16  Andreas Jaeger  <aj@suse.de>
42626         * po/ru.po: Update from translation team.
42628 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
42630         * conform/data/string.h-data (NULL): Use macro-constant.  Require
42631         equal to 0.
42632         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42633         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42634         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
42635         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
42636         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42638 2012-07-13  Andreas Jaeger  <aj@suse.de>
42640         * po/fr.po: Update from translation team.
42642 2012-07-12  Marek Polacek  <polacek@redhat.com>
42644         [BZ #14173]
42645         * math/libm-test.inc (yn_test): Add test for BZ #14173.
42646         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
42647         loop condition.
42649 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
42651         [BZ #13717]
42652         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42653         Change to 2.4.1 where previously 2.4.0.
42654         * sysdeps/unix/sysv/linux/configure: Regenerated.
42655         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
42656         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
42657         version.
42658         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
42659         (__ASSUME_AT_CLKTCK): Remove.
42660         (__ASSUME_AT_PAGESIZE): Likewise.
42661         (__ASSUME_AT_XID): Likewise.
42662         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
42663         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
42664         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
42665         unconditionally.
42666         (HAVE_AUX_PAGESIZE): Likewise.
42667         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
42668         [__ASSUME_AT_CLKTCK]: Make code unconditional.
42669         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
42671 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
42673         [BZ #14307]
42674         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
42675         the temporary buffer used to invoke __gethostbyname2_r,
42676         __gethostbyaddr_r and gethostbyname4_r to make room for struct
42677         host_data / struct gaih_addrtuple.
42678         * resolv/nss_dns/dns-host.c (global scope): Move definition of
42679         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
42680         header file nss/nsswitch.h.
42681         * nss/nsswitch.h (global scope): Add definition of implementation
42682         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
42683         resolv/nss_dns/dns-host.c).
42685 2012-07-11  Andreas Jaeger  <aj@suse.de>
42687         * po/fr.po: Update from translation team.
42689         * po/sv.po: Update from translation team
42690         * po/fr.po: Another update from translation team.
42692 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42694         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
42695         for subnormals or multiply small sinh result by itself.
42696         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42697         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42699 2012-07-11  David S. Miller  <davem@davemloft.net>
42701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42703 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
42705         [BZ #14347]
42706         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
42707         (INTERNAL_MARK): Shift it here.
42709 2012-07-10  Marek Polacek  <polacek@redhat.com>
42711         [BZ #14151]
42712         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
42713         libc_cv_asm_global_directive with .globl.
42714         * configure: Regenerated.
42715         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
42716         with .globl.
42717         * sysdeps/i386/configure: Regenerated.
42718         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
42719         with .globl.
42720         * sysdeps/x86_64/configure: Regenerated.
42721         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
42722         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
42723         * elf/tst-unique2mod2.c: Likewise.
42724         * elf/tst-unique2mod1.c: Likewise.
42725         * elf/tst-unique1mod2.c: Likewise.
42726         * elf/tst-unique1mod1.c: Likewise.
42727         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42728         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42729         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42730         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42731         * sysdeps/mach/sysdep.h: Likewise.
42732         * sysdeps/i386/sysdep.h: Likewise.
42733         * sysdeps/i386/i386-mcount.S: Likewise.
42734         * sysdeps/x86_64/_mcount.S: Likewise.
42735         * sysdeps/x86_64/sysdep.h: Likewise.
42736         * sysdeps/sh/_mcount.S: Likewise.
42737         * sysdeps/sh/sysdep.h: Likewise.
42738         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
42739         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
42740         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
42741         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42742         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
42743         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
42744         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
42745         * locale/localeinfo.h: Likewise.
42746         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
42747         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
42749 2012-07-09  Roland McGrath  <roland@hack.frob.com>
42751         [BZ #14336]
42752         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
42753         system".
42754         * manual/message.texi (The Uniforum approach): Likewise.
42755         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
42756         (glibc iconv Implementation): Likewise.
42758 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
42760         [BZ #14337]
42761         * math/s_clog.c (__clog): Avoid scaling a value down where that
42762         could result in underflow.
42763         * math/s_clog10.c (__clog10): Likewise.
42764         * math/s_clog10f.c (__clog10f): Likewise.
42765         * math/s_clog10l.c (__clog10l): Likewise.
42766         * math/s_clogf.c (__clogf): Likewise.
42767         * math/s_clogl.c (__clogl): Likewise.
42768         * math/libm-test.inc (clog_test): Add more tests.
42769         (clog10_test): Likewise.
42770         * sysdeps/i386/fpu/libm-test-ulps: Update.
42771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42773 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
42775         [BZ #14283]
42776         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
42777         by 7 not 8 to examine high bit of fractional part.
42779         [BZ #14042]
42780         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
42781         for call to __mcount_internal.
42782         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
42783         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
42784         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
42786 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
42788         [BZ #14154]
42789         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
42790         approximation for values within 0x1p-13f of an odd multiple of
42791         pi/4.
42792         * math/libm-test.inc (tan_test): Do not allow spurious underflow
42793         exception.  Add more tests.
42794         * sysdeps/i386/fpu/libm-test-ulps: Update.
42796         [BZ #6778]
42797         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
42798         inputs and return -1 for them.  Do not check for +Inf in case not
42799         reachable for +Inf.
42800         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42801         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
42802         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
42803         and return -1 for them.  Do not check for +Inf in case not
42804         reachable for +Inf.
42805         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
42806         define.
42807         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
42808         and return -1 for them.  Do not check for +Inf in case not
42809         reachable for +Inf.
42810         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
42811         spurious underflow.
42812         * sysdeps/i386/fpu/libm-test-ulps: Update.
42813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42815 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
42817         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
42819 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
42821         [BZ #14157]
42822         [BZ #14331]
42823         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
42824         could result in spurious underflow.  Scale down values above
42825         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
42826         * math/s_csqrtf.c (__csqrtf): Likewise.
42827         * math/s_csqrtl.c (__csqrtl): Likewise.
42828         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
42829         spurious underflow.
42830         * sysdeps/i386/fpu/libm-test-ulps: Update.
42831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42833 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
42835         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
42836         xopen-msg.sed.
42837         * catgets/xopen-msg.awk: New file.
42838         * catgets/xopen-msg.sed: Removed.
42840         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
42841         po2text.sed.
42842         * intl/po2test.awk: New file.
42843         * intl/po2test.sed: Removed.
42845 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
42847         [BZ #14328]
42848         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
42849         or multiply small sinh result by itself.
42850         * math/s_ctanf.c (__ctanf): Likewise.
42851         * math/s_ctanh.c (__ctanh): Likewise.
42852         * math/s_ctanhf.c (__ctanhf): Likewise.
42853         * math/s_ctanhl.c (__ctanhl): Likewise.
42854         * math/s_ctanl.c (__ctanl): Likewise.
42855         * math/libm-test.inc (ctan_test_tonearest): New function.
42856         (ctan_test_towardzero): Likewise.
42857         (ctan_test_downward): Likewise.
42858         (ctan_test_upward): Likewise.
42859         (ctanh_test_tonearest): Likewise.
42860         (ctanh_test_towardzero): Likewise.
42861         (ctanh_test_downward): Likewise.
42862         (ctanh_test_upward): Likewise.
42863         (main): Call these new functions.
42864         * sysdeps/i386/fpu/libm-test-ulps: Update.
42865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42867 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
42869         * .gitignore: Delete /ports entry.
42871 2012-07-03  Andreas Jaeger  <aj@suse.de>
42873         * po/bg.po: Update from translation team.
42874         * po/cs.po: Likewise.
42875         * po/de.po: Likewise.
42876         * po/hr.po: Likewise.
42877         * po/nl.pl: Likewise.
42878         * po/pl.po: Likewise.
42879         * po/vi.po: Likewise.
42881 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
42883         * Makeconfig [!+link] (+link-before-libc): New variable.
42884         [!+link] (+link-after-libc): Likewise.
42885         [!+link] (+link-tests): Likewise.
42886         [!+link] (+link): Define in terms of $(+link-before-libc) and
42887         $(+link-after-libc).
42888         [!+link-static] (+link-static-before-libc): New variable.
42889         [!+link-static] (+link-static-after-libc): Likewise.
42890         [!+link-static] (+link-static-tests): Likewise.
42891         [!+link-static] (+link-static): Define in terms of
42892         $(+link-static-before-libc) and $(+link-static-after-libc).
42893         [build-shared] (link-libc-before-gnulib): New variable.
42894         [build-shared] (link-libc-tests): Likewise.
42895         [build-shared] (link-libc): Define in terms of
42896         $(link-libc-before-gnulib).
42897         [!build-shared] (link-libc-tests): New variable.
42898         (link-libc-static-tests): New variable.
42899         [!gnulib] (gnulib-arch): New variable.
42900         [!gnulib] (gnulib-tests): Likewise.
42901         [!gnulib] (static-gnulib-arch): Likewise.
42902         [!gnulib] (static-gnulib-tests): Likewise.
42903         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
42904         Define with "=" instead of ":=".
42905         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
42906         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
42907         * Rules (binaries-all-notests): New variable.
42908         (binaries-all-tests): Likewise.
42909         (binaries-static-notests): Likewise.
42910         (binaries-static-tests): Likewise.
42911         (binaries-all): Define using $(binaries-all-notests) and
42912         $(binaries-all-tests).
42913         (binaries-static): Define using $(binaries-static-notests) and
42914         $(binaries-static-tests).
42915         (binaries-shared-tests): New variable.
42916         (binaries-shared-notests): Likewise.
42917         (binaries-shared): Remove variable.
42918         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
42919         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
42920         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
42921         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
42922         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
42923         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
42924         * elf/Makefile (sln-modules): New variable.
42925         (extra-objs): Add $(sln-modules:=.o).
42926         (ldconfig-modules): Add static-stubs.
42927         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
42928         * elf/static-stubs.c: New file.
42930         [BZ #14283]
42931         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
42932         by 7 not 8 to examine high bit of fractional part.  Use volatile
42933         variables when splitting into final array of floats if
42934         __FLT_EVAL_METHOD__ != 0.
42935         * math/libm-test.inc (cos_test): Add another test.
42936         (sin_test): Likewise.
42937         * sysdeps/i386/fpu/libm-test-ulps: Update.
42939         [BZ #14273]
42940         * math/libm-test.inc (cosh_test): Add more tests.
42942         * version.h (RELEASE): Set to "development".
42943         (VERSION): Set to "2.16.90".
42945 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
42947         * NEWS: Update copyright. Remove last-updated date.
42948         Mention math library bug fixes and timezone data changes.
42949         * README: Mention GNU/Hurd, x32, and HPPA support status.
42951 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
42953         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
42955 2012-06-27  Andreas Jaeger  <aj@suse.de>
42957         * manual/contrib.texi (Contributors): Add Samuel Thibault.
42959 2012-06-25  Andreas Jaeger  <aj@suse.de>
42961         * sysdeps/s390/fpu/libm-test-ulps: Update.
42963 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
42964             Thomas Schwinge  <thomas@codesourcery.com>
42966         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
42967         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
42968         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
42969         fanotify_mark.
42971 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
42973         * sysdeps/mach/start.c: Remove file.
42974         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
42975         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
42976         * sysdeps/sh/init-first.c: Likewise.
42978         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
42979         registers for frame unwinding purposes, add CFI directives.
42980         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
42981         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
42982         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
42983         Likewise.
42985         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
42986         __fortify_fail returning.
42987         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
42989         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
42990         sysdeps/sh/____longjmp_chk.S.
42991         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
42992         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
42993         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
42994         (gen-as-const-headers): Append sigaltstack-offsets.sym.
42996         * sysdeps/sh/abort-instr.h: New file.
42997         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
42998         process in case exit returns.
43000         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
43001         initialize the GOT register before use.
43003         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
43004         calculation of ARGC > 4.
43006         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
43007         meaningful names to some local labels.
43009 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43010             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43012         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
43013         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
43014         (__arch_compare_and_exchange_val_16_acq): Likewise.
43015         (__arch_compare_and_exchange_val_32_acq): Likewise.
43016         (atomic_exchange_and_add): Fix gUSA sequence.
43017         (atomic_add): Likewise.
43018         (atomic_add_negative): Likewise.
43019         (atomic_add_zero): Likewise.
43020         (atomic_bit_test_set): Likewise.
43022 2012-06-22  Andreas Schwab  <schwab@redhat.com>
43024         [BZ #13579]
43025         * include/link.h (struct link_map): Add l_free_initfini.
43026         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
43027         l_initfini.
43028         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
43029         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
43030         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
43031         set.
43033 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
43035         * configure.in: Use AC_LANG_SOURCE.
43036         * configure: Regenerate.
43038 2012-06-22  Roland McGrath  <roland@hack.frob.com>
43040         * configure.in (libc_cv_localstatedir): New substituted variable.
43041         * configure: Regenerated.
43042         * config.make.in (localstatedir): New variable, substituted from
43043         libc_cv_localstatedir.
43044         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
43045         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
43046         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
43047         * sysdeps/gnu/configure: Regenerated.
43049 2012-06-21  Jeff Law  <law@redhat.com>
43051         [BZ #14277]
43052         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
43053         free.  Simplify list management for _LIBC case.
43055 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
43057         [BZ #14273]
43058         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
43059         Clear sign bit of 64-bit integer value before comparing against
43060         overflow value.
43062         * sysdeps/mach/configure: Regenerated.
43064 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
43066         [BZ #14278]
43067         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
43069 2012-06-21  Jeff Law  <law@redhat.com>
43071         [BZ #13882]
43072         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
43073         uint16_t for elements in the "seen" array to avoid char overflows.
43074         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43075         * elf/dl-open.c (dl_open_worker): Likewise.
43077 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
43079         * scripts/list-sources.sh: Scan PORTS for translations.
43080         * po/libc.pot: Regenerated.
43082 2012-06-21  Andreas Jaeger  <aj@suse.de>
43084         [BZ #12194]
43085         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
43086         warning.
43087         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
43088         * bits/byteswap-16.h (__bswap_16): Likewise.
43089         * bits/byteswap.h (__bswap_constant_16): Likewise.
43091 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
43093         [BZ #14117]
43094         * sysdeps/i386/fpu_control.h: Removed.
43095         * sysdeps/x86_64/fpu_control.h: Moved to ...
43096         * sysdeps/x86/fpu_control.h: Here.
43098         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
43099         (_FPU_SETCW): Likewise.
43101 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
43103         [BZ #14117]
43104         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
43105         * sysdeps/x86/fpu/bits/mathinline.h: This.
43106         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
43108         [BZ #14050]
43109         [BZ #14117]
43110         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
43111         functions if __x86_64__ is defined.
43113 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
43115         * string/endian.h: Add !__ASSEMBLER__ condition for including
43116         conversion interfaces.
43118 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
43120         [BZ #14241]
43121         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
43122         of ABS(x) in calculating zero to negative powers other than odd
43123         integers.
43124         * math/libm-test.inc (pow_test): Add more tests.
43126 2012-06-15  Andreas Jaeger  <aj@suse.de>
43128         * manual/contrib.texi (Contributors): Update entry of Liubov
43129         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
43130         Machado Filho.
43132 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
43134         * string/string.h: Add __wur to GNU version of strerror_r.
43136 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
43138         [BZ #14229]
43139         * string/Makefile (tests): Add tst-strtok_r.
43140         * string/tst-strtok_r.c: New file.
43141         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
43142         RAX_LP/RDX_LP on SAVE_PTR.
43144 2012-06-14  Roland McGrath  <roland@hack.frob.com>
43146         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
43148 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
43150         * libm_test.inc (csqrt_test): Allow more spurious underflow
43151         exceptions.
43152         (j0_test): Likewise.
43153         (j1_test): Likewise.
43154         (y0_test): Likewise.
43155         (y1_test): Likewise.
43157 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
43159         * po/Makefile (libc.pot): Use UTF-8 charset.
43161 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
43163         [BZ #14210]
43164         Suppress sign-conversion warning from FD_SET.
43165         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
43166         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
43167         not unsigned long int.
43168         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
43170 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
43172         [BZ #14050]
43173         [BZ #14117]
43174         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
43175         __extern_always_inline instead of __extern_inline.
43176         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
43177         (__signbit): Likewise.
43178         (__signbitl): Support C++ namespace.
43179         (lrintf): New inline function.
43180         (lrint): Likewise.
43181         (llrintf): Likewise.
43182         (llrint): Likewise.
43183         (fmaxf): Likewise.
43184         (fmax): Likewise.
43185         (fminf): Likewise.
43186         (fmin): Likewise.
43187         (rint): Likewise.
43188         (rintf): Likewise.
43189         (ceil): Likewise.
43190         (ceilf): Likewise.
43191         (floor): Likewise.
43192         (floorf): Likewise.
43193         (nearbyint): Likewise.
43194         (nearbyintf): Likewise.
43196 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
43198         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
43199         non-default versions.
43201 2012-06-11  Roland McGrath  <roland@hack.frob.com>
43203         [BZ #14218]
43204         * manual/argp.texi (Argp): Reword argp_parse description slightly.
43206 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
43208         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
43209         (FE_UPWARD, FE_DOWNWARD): Don't define.
43210         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
43211         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43213         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
43214         reading it.
43215         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43216         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43218 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43220         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43221         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
43222         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
43223         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
43225 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
43227         [BZ #14117]
43228         * sysdeps/i386/fpu/bits/fenv.h: Removed.
43229         * sysdeps/i386/fpu/Implies: New file.
43230         * sysdeps/x86_64/fpu/Implies: Likewise.
43231         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
43232         * sysdeps/x86/fpu/bits/fenv.h: This.
43234         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
43235         __SSE_MATH__.
43237 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43239         [BZ #14134]
43240         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
43241         character 0xffff that matches the last element of the
43242         conversion table.
43244 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43246         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
43247         fmodl commit.
43249 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43251         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
43252         values higher than 25.6283.
43254 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43256         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
43257         subnormal exponent extraction and add some __builtin_expect.
43258         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
43259         Fix for subnormal mantissa calculation.
43261 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
43263         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
43264         cpu2 is -1 and errno is not ENOSYS.
43266 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
43268         [BZ #14117]
43269         * sysdeps/i386/i486/bits/string.h: Renamed to ...
43270         * sysdeps/x86/bits/string.h: This.
43271         * sysdeps/x86_64/bits/string.h: Removed.
43273         * sysdeps/i386/i486/bits/string.h: Define inline functions only
43274         if not compiling for x86-64, but compiling for >= i486.
43276         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
43277         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
43279         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
43280         New macro from Linux kernel 3.4.0.
43281         (FP_XSTATE_MAGIC2): Likewise.
43282         (FP_XSTATE_MAGIC2_SIZE): Likewise.
43283         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
43284         (struct _fpx_sw_bytes): New struct.
43285         (struct _xsave_hdr): Likewise.
43286         (struct _ymmh_state): Likewise.
43287         (struct _xstate): Likewise.
43289         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
43290         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
43291         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
43292         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
43293         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
43294         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
43296         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
43297         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
43298         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
43299         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
43300         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
43301         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
43303 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43305         [BZ #13743]
43306         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
43307         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
43308         (sysdep_headers): Include sys/platform/ppc.h.
43309         * sysdeps/powerpc/test-gettimebase.c: Test for
43310         __ppc_get_timebase() to catch future ISA opcode/insn changes.
43311         * manual/Makefile (appendices): Include platform.texi.
43312         * manual/contrib.texi (Contributors): Update @node pointers.
43313         * manual/maint.texi (Maintenance): Likewise.
43314         (Platform): New node.
43315         * manual/platform.texi: New file.  Document the new features.
43317 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43318             Jakub Jelinek  <jakub@redhat.com>
43320         [BZ #14188]
43321         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
43322         where __builtin_expect is unavailable.
43324 2012-06-03  David S. Miller  <davem@davemloft.net>
43326         * stdlib/longlong.h: Updated from GCC.
43328 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
43330         [BZ #14042]
43331         * sysdeps/powerpc/powerpc32/mcount.c: New file.
43332         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
43333         __mcount_internal.
43334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43335         (GLIBC_2.16): Likewise.
43337 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
43339         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
43341 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
43343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
43344         (default-abi): New variable.
43345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
43346         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
43347         variable.
43348         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
43349         Likewise.
43350         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
43351         Likewise.
43352         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
43353         Likewise.
43355         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
43356         definition.  Document in comment.
43358 2012-06-01  David S. Miller  <davem@davemloft.net>
43360         * stdlib/longlong.h: Updated from GCC.
43362 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
43364         [BZ #14117]
43365         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
43366         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
43367         sys/debugreg.h sys/io.h here.
43368         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
43369         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
43370         sys/io.h.
43371         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
43372         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
43373         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
43374         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
43375         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
43376         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
43378         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
43379         Define only if __x86_64__ is defined.
43381 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
43383         [BZ #14048]
43384         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
43385         Use int64_t for variable i.
43386         * math/libm-test.inc (fmod_test): Add more tests.
43388         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
43389         z computation is not scheduled after fetestexcept.
43390         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
43391         Use math_force_eval instead of asm to ensure calculation scheduled
43392         before exception test.
43393         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
43394         Ensure a1 + u.d computation is not scheduled after fetestexcept.
43396 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
43398         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
43399         computation is not scheduled after fetestexcept.
43401 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
43403         [BZ #14117]
43404         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
43405         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
43407 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43409         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
43410         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43412 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
43414         [BZ #14117]
43415         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
43416         <bits/wordsize.h>.
43417         (__WCHAR_MIN): Support __WORDSIZE == 64.
43418         (__WCHAR_MAX): Likewise.
43420         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
43421         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
43423         [BZ #14183]
43424         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
43425         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
43427         [BZ #14117]
43428         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
43429         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
43431         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
43432         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
43434         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
43435         Defined to 1 if __x86_64__ isn't defined.
43436         (_STAT_VER_LINUX_OLD): New.
43437         (st_atime): Remove duplicate.
43438         (st_mtime): Likewise.
43439         (st_ctime): Likewise.
43441 2012-05-31  David S. Miller  <davem@davemloft.net>
43443         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
43444         entries.
43446 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
43448         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
43449         gen-libm-test.pl.
43451         [BZ #14132]
43452         * elf/dl-reloc.c: Include <_itoa.h>.
43453         (_dl_reloc_bad_type): Remove use of INTUSE.
43454         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
43455         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
43456         * stdio-common/psiginfo.c (psiginfo): Likewise.
43457         * stdio-common/psignal.c (psignal): Likewise.
43458         * string/strsignal.c (strsignal): Likewise.
43459         * include/signal.h (_sys_siglist): Declare hidden proto.
43460         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
43461         INTVARDEF with libc_hidden_data_def.
43462         * stdio-common/itoa-udigits.c: Likewise.
43463         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
43464         (_itoa_lower_digits_internal): Remove declaration.
43465         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
43466         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
43467         (_sys_sigabbrev_internal): Remove aliases.
43468         (_sys_siglist): Define hidden alias.
43470 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
43472         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43473         bits/sysctl.h.
43475 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
43477         [BZ #14117]
43478         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
43479         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
43481         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
43482         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
43483         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
43484         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
43485         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
43486         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
43488         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
43489         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
43490         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
43492         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
43493         with __addr.
43494         (insw): Likewise.
43495         (insl): Likewise.
43496         (outsb): Likewise.
43497         (outsw): Likewise.
43498         (outsl): Likewise.
43500         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
43501         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
43502         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
43504         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
43505         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
43506         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
43507         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
43508         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
43509         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
43511         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
43512         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
43514         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
43515         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
43517         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
43518         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
43519         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
43521         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
43522         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
43523         to ...
43524         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
43526         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
43527         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
43528         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
43530         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
43531         for x86-64.
43532         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
43534 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
43536         * math/math.h (M_El): Use two more decimal places.
43537         (M_LOG2El): Likewise.
43538         (M_LOG10El): Likewise.
43539         (M_LN2l): Likewise.
43540         (M_LN10l): Likewise.
43541         (M_PIl): Likewise.
43542         (M_PI_2l): Likewise.
43543         (M_PI_4l): Likewise.
43544         (M_1_PIl): Likewise.
43545         (M_2_PIl): Likewise.
43546         (M_2_SQRTPIl): Likewise.
43547         (M_SQRT2l): Likewise.
43548         (M_SQRT1_2l): Likewise.
43550 2012-05-31  David S. Miller  <davem@davemloft.net>
43552         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
43553         values between float registers.
43554         * sysdeps/sparc/sparc64/memset.S: Likewise.
43555         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43557 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
43559         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
43560         -D_FORTIFY_SOURCE=1.
43561         (CPPFLAGS-tst-longjmp_chk.c): Define.
43562         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
43563         (CPPFLAGS-tst-longjmp_chk2.c): Define.
43564         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
43565         CFLAGS-tst-wchar-h.c.
43567 2012-05-31  Marek Polacek  <polacek@redhat.com>
43569         [BZ #14132]
43570         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
43571         __endmntent_internal): Remove declaration.
43572         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
43573         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
43574         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
43576 2012-05-30  David S. Miller  <davem@davemloft.net>
43578         * sysdeps/sparc/sparc32/soft-fp/q_util.c
43579         (___Q_simulate_exceptions): Use real FP ops rather than writing
43580         into the %fsr.
43581         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
43582         Likewise.
43584 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
43586         [BZ #14117]
43587         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
43588         * sysdeps/x86/bits/xtitypes.h: This.
43590         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
43591         * sysdeps/x86/bits/wordsize.h: This.
43593         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
43594         * sysdeps/x86/bits/huge_vall.h: This.
43596         * sysdeps/i386/bits/select.h: Removed.
43597         * sysdeps/x86_64/bits/select.h: Renamed to ...
43598         * sysdeps/x86/bits/select.h: This.
43600         * sysdeps/i386/bits/setjmp.h: Removed.
43601         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
43602         * sysdeps/x86/bits/setjmp.h: This.
43604         * sysdeps/i386/bits/mathdef.h: Removed.
43605         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
43606         * sysdeps/x86/bits/mathdef.h: This.
43608 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
43610         [BZ #14132]
43611         * include/sys/socket.h (__connect_internal)
43612         (__libc_sa_len_internal): Remove declaration.
43613         (__connect, __libc_sa_len): Declare hidden_proto.
43614         (SA_LEN): Remove use of INTUSE.
43615         * socket/connect.c: Add libc_hidden_def.
43616         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
43617         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
43618         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
43619         alias.
43620         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
43621         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
43622         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
43623         of adding _internal alias.
43625 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
43627         [BZ #14117]
43628         * sysdeps/i386/bits/link.h: Removed.
43629         * sysdeps/i386/bits/linkmap.h: Likewise.
43630         * sysdeps/x86_64/bits/link.h: Renamed to ...
43631         * sysdeps/x86/bits/link.h: This.
43632         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
43633         * sysdeps/x86/bits/linkmap.h: This.
43635         * sysdeps/i386/bits/endian.h: Removed.
43636         * sysdeps/x86_64/bits/endian.h: Renamed to ...
43637         * sysdeps/x86/bits/endian.h: This.
43639         * sysdeps/i386/bits/byteswap.h: Removed.
43640         * sysdeps/i386/bits/byteswap-16.h: Likewise.
43641         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
43642         * sysdeps/x86/bits/byteswap.h: This.
43643         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
43644         * sysdeps/x86/bits/byteswap-16.h: This.
43645         * sysdeps/i386/Implies: Add x86.
43646         * sysdeps/x86_64/Implies: Likewise.
43648 2012-05-30  David S. Miller  <davem@davemloft.net>
43650         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
43651         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
43652         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
43653         (FP_TRAPPING_EXCEPTIONS): Define.
43654         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
43655         (FP_TRAPPING_EXCEPTIONS): Define.
43656         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
43657         subnormals only when inexact has been signalled or underflow
43658         exceptions are enabled.
43659         (_FP_PACK_CANONICAL): Likewise.
43661 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
43663         [BZ #14183]
43664         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
43665         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
43667 2012-05-30  Richard Henderson  <rth@twiddle.net>
43669         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
43670         with #ifndef NOT_IN_libc.
43672         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
43673         marked to avoid plt entry.
43675 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
43677         [BZ #14112]
43678         * Makeconfig (default-abi): New macro.
43679         (abi-includes): Likewise.
43680         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
43681         $(abi-$(default-abi)-lib-soname) for soname if defined.
43682         ($(common-objpfx)gnu/lib-names.stmp): Generate from
43683         abi-variants.
43684         * Makefile (installed-stubs): Likewise.
43685         * include/stubs-biarch.h: Removed.
43686         * scripts/lib-names.awk: Only handle one library at a time.
43687         * scripts/soversions.awk: Remove WORDSIZE support.
43688         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
43689         entries.
43690         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
43691         Removed.
43692         (syscall-list-default-condition): Likewise.
43693         (syscall-list-default-condition): Likewise.
43694         (syscall-list-includes): Likewise.
43695         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
43696         syscall-list-* with abi-*.  Handle undefined abi-variants.
43697         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
43698         * sysdeps/unix/sysv/linux/i386/Implies: New file.
43699         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
43700         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
43701         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
43702         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
43703         Removed.
43704         (syscall-list-32-options): Likewise.
43705         (syscall-list-32-condition): Likewise.
43706         (syscall-list-64-options): Likewise.
43707         (syscall-list-64-condition): Likewise.
43708         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
43709         macro.
43710         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
43711         Renamed to ...
43712         (abi-*): This.
43713         (abi-64-ld-soname): New macro.
43714         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
43715         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
43716         Renamed to ...
43717         (abi-*): This.
43718         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
43719         * sysdeps/x86_64/x32/shlib-versions: Likewise.
43721 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
43723         * sysdeps/unix/sysv/linux/kernel-features.h
43724         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
43725         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
43726         include <kernel-features.h>.
43727         [!__NR_ftruncate64]: Remove conditional code.
43728         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43729         [__NR_ftruncate64]: Make code unconditional.
43730         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43731         * sysdeps/unix/sysv/linux/truncate64.c: Do not
43732         include <kernel-features.h>.
43733         [!__NR_ftruncate64]: Remove conditional code.
43734         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43735         [__NR_ftruncate64]: Make code unconditional.
43736         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
43738         include <kernel-features.h>.
43739         [!__NR_ftruncate64]: Remove conditional code.
43740         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43741         [__NR_ftruncate64]: Make code unconditional.
43742         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
43744         include <kernel-features.h>.
43745         [!__NR_ftruncate64]: Remove conditional code.
43746         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43747         [__NR_ftruncate64]: Make code unconditional.
43748         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43750         * configure.in (libc_cv_fpie): Weaken to a compile test using
43751         LIBC_TRY_CC_OPTION.
43752         * configure: Regenerated.
43754 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43756         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
43757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
43758         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
43759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43760         Refreshed.
43761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
43762         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
43763         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
43764         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
43765         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
43766         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43767         Refreshed.
43769 2012-05-27  David S. Miller  <davem@davemloft.net>
43771         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
43772         (___Q_zero): New.
43773         (__Q_simulate_exceptions): Return void.  Change to simulate
43774         exceptions by writing into the %fsr.
43775         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
43776         (__Qp_handle_exceptions): Likewise.
43777         (numbers): Delete.
43778         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
43779         __Qp_handle_exceptions.
43780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
43781         __Qp_handle_exceptions.
43782         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
43783         as unused and give dummy FP_RND_NEAREST initializer.
43784         (FP_INHIBIT_RESULTS): Define.
43785         (___Q_simulate_exceptions): Update declaration.
43786         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
43787         formatting.
43788         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
43789         as unused and give dummy FP_RND_NEAREST initializer.
43790         (__Qp_handle_exceptions): Update declaration.
43791         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
43792         formatting.
43794 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
43796         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
43797         the temporary FPU control word.
43798         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
43799         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
43800         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
43801         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43802         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
43803         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
43804         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
43805         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43806         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
43807         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
43808         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43810 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43812         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
43813         fields.
43815 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
43817         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
43818         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
43819         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
43820         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
43821         Likewise.
43822         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
43823         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
43824         Likewise.
43826 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
43828         * po/h.po: Update from translation team.
43830 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
43832         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
43834         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
43835         handling of denormals.
43836         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43837         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
43838         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43839         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43840         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43841         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
43842         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
43843         Likewise.
43845 2012-05-26  Marek Polacek  <polacek@redhat.com>
43847         [BZ #14152]
43848         * math/libm-test.inc (fma_test): Don't always expect underflow
43849         exception.
43851 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43853         [BZ #12416]
43854         * elf/tst-execstack.c: Include stackinfo.h.
43855         (do_test): Adjust test case to ensure that pthread_getattr_np
43856         behaviour remains the same after marking stack executable.
43858 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
43860         * sysdeps/unix/sysv/linux/kernel-features.h
43861         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
43862         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
43863         kernel-features.h.
43864         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
43865         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
43866         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
43867         kernel-features.h.
43868         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
43869         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
43871 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
43873         * configure.in: Define the default includes to being none.
43874         * configure: Regenerated.
43876 2012-05-25  Roland McGrath  <roland@hack.frob.com>
43878         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
43879         * sysdeps/x86_64/setjmp.S: Likewise.
43880         * sysdeps/i386/bsd-setjmp.S: Likewise.
43881         * sysdeps/i386/bsd-_setjmp.S: Likewise.
43882         * sysdeps/i386/setjmp.S: Likewise.
43883         * sysdeps/i386/__longjmp.S: Likewise.
43884         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43885         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
43887         * include/stap-probe.h: New file.
43888         * configure.in: Handle --enable-systemtap.
43889         * configure: Regenerated.
43890         * config.h.in (USE_STAP_PROBE): New #undef.
43891         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
43892         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
43893         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43895 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
43897         [BZ #13717]
43898         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43899         to 2.4.0 where earlier.
43900         * sysdeps/unix/sysv/linux/configure: Regenerated.
43901         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
43902         <kernel-features.h>.
43903         [__ASSUME_32BITUIDS]: Make code unconditional.
43904         [!__ASSUME_32BITUIDS]: Remove conditional code.
43905         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
43906         <kernel-features.h>.
43907         [__ASSUME_32BITUIDS]: Make code unconditional.
43908         [!__ASSUME_32BITUIDS]: Remove conditional code.
43909         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
43910         [__ASSUME_32BITUIDS]: Make code unconditional.
43911         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
43912         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
43913         <kernel-features.h>.
43914         [__ASSUME_32BITUIDS]: Make code unconditional.
43915         [!__ASSUME_32BITUIDS]: Remove conditional code.
43916         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
43917         <kernel-features.h>.
43918         [__ASSUME_32BITUIDS]: Make code unconditional.
43919         [!__ASSUME_32BITUIDS]: Remove conditional code.
43920         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
43921         <kernel-features.h>.
43922         [__ASSUME_32BITUIDS]: Make code unconditional.
43923         [!__ASSUME_32BITUIDS]: Remove conditional code.
43924         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
43925         <kernel-features.h>.
43926         [__ASSUME_32BITUIDS]: Make code unconditional.
43927         [!__ASSUME_32BITUIDS]: Remove conditional code.
43928         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
43929         <kernel-features.h>.
43930         [__ASSUME_32BITUIDS]: Make code unconditional.
43931         [!__ASSUME_32BITUIDS]: Remove conditional code.
43932         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
43933         <kernel-features.h>.
43934         [__ASSUME_32BITUIDS]: Make code unconditional.
43935         [!__ASSUME_32BITUIDS]: Remove conditional code.
43936         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
43937         <kernel-features.h>.
43938         [__ASSUME_32BITUIDS]: Make code unconditional.
43939         [!__ASSUME_32BITUIDS]: Remove conditional code.
43940         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
43941         <kernel-features.h>.
43942         [__ASSUME_32BITUIDS]: Make code unconditional.
43943         [!__ASSUME_32BITUIDS]: Remove conditional code.
43944         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
43945         <kernel-features.h>.
43946         [__ASSUME_32BITUIDS]: Make code unconditional.
43947         [!__ASSUME_32BITUIDS]: Remove conditional code.
43948         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
43949         <kernel-features.h>.
43950         [__ASSUME_32BITUIDS]: Make code unconditional.
43951         [!__ASSUME_32BITUIDS]: Remove conditional code.
43952         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
43953         <kernel-features.h>.
43954         [__NR_setresgid] (__setresgid): Do not declare.
43955         [__ASSUME_32BITUIDS]: Make code unconditional.
43956         [!__ASSUME_32BITUIDS]: Remove conditional code.
43957         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
43958         <kernel-features.h>.
43959         [__NR_setresuid] (__setresuid): Do not declare.
43960         [__ASSUME_32BITUIDS]: Make code unconditional.
43961         [!__ASSUME_32BITUIDS]: Remove conditional code.
43962         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
43963         <kernel-features.h>.
43964         [__ASSUME_32BITUIDS]: Make code unconditional.
43965         [!__ASSUME_32BITUIDS]: Remove conditional code.
43966         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
43967         <kernel-features.h>.
43968         [__ASSUME_32BITUIDS]: Make code unconditional.
43969         [!__ASSUME_32BITUIDS]: Remove conditional code.
43970         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
43971         <kernel-features.h>.
43972         [__ASSUME_32BITUIDS]: Make code unconditional.
43973         [!__ASSUME_32BITUIDS]: Remove conditional code.
43974         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
43975         <kernel-features.h>.
43976         [__ASSUME_32BITUIDS]: Make code unconditional.
43977         [!__ASSUME_32BITUIDS]: Remove conditional code.
43978         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
43979         <kernel-features.h>.
43980         [__ASSUME_32BITUIDS]: Make code unconditional.
43981         [!__ASSUME_32BITUIDS]: Remove conditional code.
43982         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
43983         <kernel-features.h>.
43984         [__ASSUME_32BITUIDS]: Make code unconditional.
43985         [!__ASSUME_32BITUIDS]: Remove conditional code.
43986         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
43987         <kernel-features.h>.
43988         [__ASSUME_32BITUIDS]: Make code unconditional.
43989         [!__ASSUME_32BITUIDS]: Remove conditional code.
43990         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
43991         <kernel-features.h>.
43992         [__ASSUME_32BITUIDS]: Make code unconditional.
43993         [!__ASSUME_32BITUIDS]: Remove conditional code.
43994         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
43995         <kernel-features.h>.
43996         [__ASSUME_32BITUIDS]: Make code unconditional.
43997         [!__ASSUME_32BITUIDS]: Remove conditional code.
43998         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
43999         <kernel-features.h>.
44000         [__ASSUME_32BITUIDS]: Make code unconditional.
44001         [!__ASSUME_32BITUIDS]: Remove conditional code.
44002         * sysdeps/unix/sysv/linux/kernel-features.h
44003         (__ASSUME_SETRESUID_SYSCALL): Remove.
44004         (__ASSUME_SETRESGID_SYSCALL): Likewise.
44005         (__ASSUME_32BITUIDS): Likewise.
44006         (__ASSUME_LDT_WORKS): Likewise.
44007         (__ASSUME_O_DIRECTORY): Likewise.
44008         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
44009         architecture but not kernel version.
44010         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
44011         (__ASSUME_MMAP2_SYSCALL): Likewise.
44012         (__ASSUME_STAT64_SYSCALL): Likewise.
44013         (__ASSUME_IPC64): Likewise.
44014         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
44015         <kernel-features.h>.
44016         [__ASSUME_32BITUIDS]: Make code unconditional.
44017         [!__ASSUME_32BITUIDS]: Remove conditional code.
44018         * sysdeps/unix/sysv/linux/opendir.c: Do not include
44019         <kernel-features.h>.
44020         [__ASSUME_O_DIRECTORY]: Make code unconditional.
44021         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
44022         132096]: Remove conditional code.
44023         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
44024         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
44025         <kernel-features.h>.
44026         [__ASSUME_32BITUIDS]: Make code unconditional.
44027         [!__ASSUME_32BITUIDS]: Remove conditional code.
44028         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
44029         <kernel-features.h>.
44030         [__ASSUME_32BITUIDS]: Make code unconditional.
44031         [!__ASSUME_32BITUIDS]: Remove conditional code.
44032         * sysdeps/unix/sysv/linux/setegid.c: Do not include
44033         <kernel-features.h>.
44034         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
44035         unconditional.
44036         (__setresgid): Do not declare.
44037         [__ASSUME_32BITUIDS]: Make code unconditional.
44038         [!__ASSUME_32BITUIDS]: Remove conditional code.
44039         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
44040         <kernel-features.h>.
44041         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
44042         unconditional.
44043         (__setresuid): Do not declare.
44044         [__ASSUME_32BITUIDS]: Make code unconditional.
44045         [!__ASSUME_32BITUIDS]: Remove conditional code.
44046         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
44047         <kernel-features.h>.
44048         [__ASSUME_32BITUIDS]: Make code unconditional.
44049         [!__ASSUME_32BITUIDS]: Remove conditional code.
44050         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
44051         <kernel-features.h>.
44052         [__ASSUME_32BITUIDS]: Make code unconditional.
44053         [!__ASSUME_32BITUIDS]: Remove conditional code.
44055 2012-05-25  Richard Henderson  <rth@twiddle.net>
44057         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
44058         dl_hwcap to ifunc resolver.
44059         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
44060         elf_ifunc_invoke.
44061         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
44062         dl_hwcap to ifunc resolver.
44063         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
44065 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
44067         [BZ #14153]
44068         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
44069         for |x| <= 2**-26, not 2**-57.
44070         * math/libm-test.inc (acos_test): Do not allow spurious underflow
44071         exception.
44073 2012-05-24  Jeff Law  <law@redhat.com>
44075         * stdio-common/Makefile (tests): Add bug25.
44076         * stdio-common/bug25.c: New test.
44078 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
44080         [BZ #13576]
44081         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
44082         multiple of MALLOC_ALIGNMENT in size.
44083         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
44085 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
44087         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
44088         Require >= 256.
44089         (FILENAME_MAX): Use macro-int-constant.
44090         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
44091         (_IOFBF): Use macro-int-constant.
44092         (_IOLBF): Likewise.
44093         (_IONBF): Likewise.
44094         (SEEK_CUR): Likewise.
44095         (SEEK_END): Likewise.
44096         (SEEK_SET): Likewise.
44097         (TMP_MAX): Likewise.
44098         (EOF): Use macro-int-constant.  Require < 0.
44099         (NULL): Use macro-constant.  Require == 0.
44100         (stdin): Require type to be FILE *.
44101         (stdout): Likewise.
44102         (stderr): Likewise.
44103         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
44104         macro-int-constant.
44105         (EXIT_SUCCESS): Likewise.
44106         (NULL): Use macro-constant.  Require == 0.
44107         (RAND_MAX): Use macro-int-constant.
44108         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
44109         [C99-based standards] (strtof): Require function.
44110         [C99-based standards] (strtold): Likewise.
44111         [C99-based standards] (strtoll): Likewise.
44112         [C99-based standards] (strtoull): Likewise.
44113         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44114         [ISO || ISO99 || ISO11] (limits.h): Likewise.
44115         [ISO || ISO99 || ISO11] (math.h): Likewise.
44116         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
44117         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44118         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44120 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
44122         [BZ #14132]
44123         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
44124         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
44125         * intl/dgettext.c (DCGETTEXT): Likewise.
44126         * intl/gettext.c (DCGETTEXT): Likewise.
44127         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
44128         * posix/regex_internal.h (gettext): Likewise.
44129         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
44130         Remove declaration.
44131         * include/argz.h (__argz_count_internal)
44132         (__argz_stringify_internal): Remove declaration.
44133         (__argz_count, __argz_stringify): Declare hidden proto.
44134         * intl/dcgettext.c: Remove use of INTDEF.
44135         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
44136         * string/argz-stringify.c: Likewise.
44137         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44138         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44139         Declare hidden proto.
44140         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44141         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44142         Declare hidden proto.
44143         * include/stdio.h (__asprintf_internal): Don't declare.
44144         (__asprintf): Don't define as macro.  Declare hidden proto.
44145         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
44146         (__fsetlocking): Declare hidden proto.
44147         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
44148         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
44149         hidden proto.
44150         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
44151         (_IO_setlinebuf): Remove use of INTUSE.
44152         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
44153         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
44154         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
44155         Remove declaration.
44156         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
44157         (_IO_do_flush): Remove use of INTUSE.
44158         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
44159         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
44160         (_IO_adjust_column, _IO_least_wmarker)
44161         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
44162         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
44163         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
44164         (_IO_default_doallocate, _IO_wdefault_doallocate)
44165         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
44166         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
44167         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
44168         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
44169         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
44170         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
44171         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
44172         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
44173         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
44174         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
44175         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
44176         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
44177         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
44178         proto.
44179         (_IO_flush_all_internal, _IO_adjust_column_internal)
44180         (_IO_default_uflow_internal, _IO_default_finish_internal)
44181         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
44182         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
44183         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
44184         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
44185         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
44186         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
44187         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
44188         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
44189         (_IO_file_close_internal, _IO_file_close_it_internal)
44190         (_IO_file_underflow_internal, _IO_file_overflow_internal)
44191         (_IO_file_init_internal, _IO_file_attach_internal)
44192         (_IO_file_fopen_internal, _IO_file_read_internal)
44193         (_IO_file_sync_internal, _IO_file_seek_internal)
44194         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
44195         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
44196         (_IO_str_underflow_internal, _IO_str_overflow_internal)
44197         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
44198         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
44199         (_IO_list_all_internal, _IO_link_in_internal)
44200         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
44201         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
44202         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
44203         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
44204         (_IO_do_write_internal, _IO_padn_internal)
44205         (_IO_getline_info_internal, _IO_getline_internal)
44206         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
44207         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
44208         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
44209         (_IO_vfscanf_internal, _IO_vfprintf_internal)
44210         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
44211         (_IO_init_internal, _IO_un_link_internal): Don't declare.
44212         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
44213         with libc_hidden_ver, remove use of INTUSE.
44214         * libio/genops.c: Likewise.
44215         * libio/freopen.c: Likewise.
44216         * libio/freopen64.c: Likewise.
44217         * libio/iofclose.c: Likewise.
44218         * libio/iofdopen.c: Likewise.
44219         * libio/iofflush.c: Likewise.
44220         * libio/iofflush_u.c: Likewise.
44221         * libio/iofgets.c: Likewise.
44222         * libio/iofgets_u.c: Likewise.
44223         * libio/iofopen.c: Likewise.
44224         * libio/iofopncook.c: Likewise.
44225         * libio/iofread.c: Likewise.
44226         * libio/iofread_u.c: Likewise.
44227         * libio/ioftell.c: Likewise.
44228         * libio/iofwrite.c: Likewise.
44229         * libio/iogetline.c: Likewise.
44230         * libio/iogets.c: Likewise.
44231         * libio/iogetwline.c: Likewise.
44232         * libio/iopadn.c: Likewise.
44233         * libio/iopopen.c: Likewise.
44234         * libio/ioseekoff.c: Likewise.
44235         * libio/ioseekpos.c: Likewise.
44236         * libio/iosetbuffer.c: Likewise.
44237         * libio/iosetvbuf.c: Likewise.
44238         * libio/ioungetc.c: Likewise.
44239         * libio/ioungetwc.c: Likewise.
44240         * libio/iovdprintf.c: Likewise.
44241         * libio/iovsprintf.c: Likewise.
44242         * libio/iovsscanf.c: Likewise.
44243         * libio/memstream.c: Likewise.
44244         * libio/obprintf.c: Likewise.
44245         * libio/oldfileops.c: Likewise.
44246         * libio/oldiofclose.c: Likewise.
44247         * libio/oldiofdopen.c: Likewise.
44248         * libio/oldiofopen.c: Likewise.
44249         * libio/oldiopopen.c: Likewise.
44250         * libio/oldstdfiles.c: Likewise.
44251         * libio/putc.c: Likewise.
44252         * libio/setbuf.c: Likewise.
44253         * libio/setlinebuf.c: Likewise.
44254         * libio/stdfiles.c: Likewise.
44255         * libio/strops.c: Likewise.
44256         * libio/vasprintf.c: Likewise.
44257         * libio/vscanf.c: Likewise.
44258         * libio/vsnprintf.c: Likewise.
44259         * libio/vswprintf.c: Likewise.
44260         * libio/wfiledoalloc.c: Likewise.
44261         * libio/wfileops.c: Likewise.
44262         * libio/wgenops.c: Likewise.
44263         * libio/wmemstream.c: Likewise.
44264         * libio/wstrops.c: Likewise.
44265         * libio/__fpurge.c: Likewise.
44266         * libio/__fsetlocking.c: Likewise.
44267         * assert/assert.c: Likewise.
44268         * debug/fgets_chk.c: Likewise.
44269         * debug/fgets_u_chk.c: Likewise.
44270         * debug/fread_chk.c: Likewise.
44271         * debug/fread_u_chk.c: Likewise.
44272         * debug/gets_chk.c: Likewise.
44273         * debug/obprintf_chk.c: Likewise.
44274         * debug/vasprintf_chk.c: Likewise.
44275         * debug/vdprintf_chk.c: Likewise.
44276         * debug/vsnprintf_chk.c: Likewise.
44277         * debug/vsprintf_chk.c: Likewise.
44278         * malloc/mtrace.c: Likewise.
44279         * misc/error.c: Likewise.
44280         * misc/syslog.c: Likewise.
44281         * stdio-common/asprintf.c: Likewise.
44282         * stdio-common/fxprintf.c: Likewise.
44283         * stdio-common/getw.c: Likewise.
44284         * stdio-common/isoc99_fscanf.c: Likewise.
44285         * stdio-common/isoc99_scanf.c: Likewise.
44286         * stdio-common/isoc99_vfscanf.c: Likewise.
44287         * stdio-common/isoc99_vscanf.c: Likewise.
44288         * stdio-common/isoc99_vsscanf.c: Likewise.
44289         * stdio-common/printf-prs.c: Likewise.
44290         * stdio-common/printf_fp.c: Likewise.
44291         * stdio-common/printf_fphex.c: Likewise.
44292         * stdio-common/printf_size.c: Likewise.
44293         * stdio-common/putw.c: Likewise.
44294         * stdio-common/scanf.c: Likewise.
44295         * stdio-common/sprintf.c: Likewise.
44296         * stdio-common/tmpfile.c: Likewise.
44297         * stdio-common/vfprintf.c: Likewise.
44298         * stdio-common/vfscanf.c: Likewise.
44299         * stdlib/strfmon_l.c: Likewise.
44300         * sunrpc/openchild.c: Likewise.
44301         * sunrpc/xdr_stdio.c: Likewise.
44302         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
44303         * sysdeps/mach/hurd/tmpfile.c: Likewise.
44305 2012-05-24  Roland McGrath  <roland@hack.frob.com>
44307         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44309         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
44310         in the third column, to generate for the shared library an IFUNC
44311         that uses _dl_vdso_vsym.
44312         * Makerules (COMPILE.c, compile-stdin.c): New variables.
44313         * Makeconfig (object-suffixes-noshared): New variable.
44315         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
44316         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
44317         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
44318         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
44320         [BZ #14132]
44321         * include/sys/time.h (__gettimeofday): Remove macro.
44322         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
44323         * time/gettimeofday.c (__gettimeofday): Remove #undef.
44324         Remove INTDEF.
44325         (__gettimeofday): Add libc_hidden_def.
44326         (gettimeofday): Add libc_hidden_weak.
44327         * sysdeps/mach/gettimeofday.c: Likewise.
44328         * sysdeps/posix/gettimeofday.c: Likewise.
44329         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
44330         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
44331         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
44332         (__gettimeofday_internal): Remove strong_alias.
44333         (__gettimeofday): Add libc_hidden_def.
44334         (gettimeofday): Add libc_hidden_weak.
44335         * sysdeps/unix/syscalls.list (gettimeofday):
44336         Remove __gettimeofday_internal alias.
44338 2012-05-24  Daniel Jacobowitz  <drow@false.org>
44339             H.J. Lu  <hongjiu.lu@intel.com>
44341         [BZ #12495]
44342         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
44343         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
44344         (largebin_index_32_big): New.
44345         (largebin_index): Use it for 16-byte alignment.
44346         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
44347         correction with front_misalign.
44349 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
44351         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
44352         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
44353         Likewise.
44354         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
44355         Likewise.
44356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
44357         Likewise.
44358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
44359         Likewise.
44360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
44361         Likewise.
44362         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
44363         Likewise.
44364         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
44365         Likewise.
44366         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44367         Likewise.
44368         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
44369         Likewise.
44370         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
44371         Likewise.
44372         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
44373         Likewise.
44374         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
44375         Likewise.
44377         * scripts/data/c++-types-x32-linux-gnu.data: New file.
44378         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
44380 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
44382         [BZ #10846]
44383         [BZ #14036]
44384         * math/libm-test.inc (exp_test): Add test from bug 14036.
44385         (pow_test): Add test from bug 10846.
44387         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
44388         and other flags.
44389         (special_function): Do not include flags in test name.
44390         (parse_args): Likewise.
44391         * sysdeps/i386/fpu/libm-test-ulps: Update.
44392         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44393         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44394         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44397         * math/gen-libm-test.pl (%beautify): Add entries for underflow
44398         exceptions.
44399         * math/libm-test.inc ("Philosophy"): Update comment about
44400         exception testing.
44401         (UNDERFLOW_EXCEPTION): New macro.
44402         (UNDERFLOW_EXCEPTION_OK): Likewise.
44403         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
44404         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
44405         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
44406         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
44407         (INVALID_EXCEPTION_OK): Update value.
44408         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44409         (OVERFLOW_EXCEPTION_OK): Likewise.
44410         (IGNORE_ZERO_INF_SIGN): Likewise.
44411         (test_exceptions): Handle underflow exceptions.
44412         (acos_test): Update for underflow exception expectations.
44413         (cexp_test): Likewise.
44414         (clog_test): Likewise.
44415         (clog10_test): Likewise.
44416         (csqrt_test): Likewise.
44417         (ctan_test): Likewise.
44418         (ctanh_test): Likewise.
44419         (exp_test): Likewise.
44420         (exp10_test): Likewise.
44421         (exp2_test): Likewise.
44422         (expm1_test): Likewise.
44423         (fma_test): Likewise.
44424         (j0_test): Likewise.
44425         (jn_test): Likewise.
44426         (nexttoward_test): Likewise.
44427         (pow_test): Likewise.
44428         (scalbn_test): Likewise.
44429         (scalbln_test): Likewise.
44430         (tan_test): Likewise.
44431         (y1_test): Likewise.
44432         * sysdeps/i386/fpu/libm-test-ulps: Update.
44433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44435 2012-05-23  David S. Miller  <davem@davemloft.net>
44437         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44438         (__libc_sigaction): Remove unused local variables.
44440 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
44442         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
44444 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
44446         mktime: avoid signed integer overflow
44447         * time/mktime.c (__mktime_internal): Do not mishandle the case
44448         where diff == INT_MIN.
44450         mktime: simplify computation of average
44451         * time/mktime.c (ranged_convert): Use new time_t_avg function
44452         instead of rolling our own (probably-slower) code.
44454         mktime: do not assume signed right shift propagates sign bit
44455         * time/mktime.c (isdst_differ): New static function.
44456         (__mktime_internal): No need to normalize tm_isdst now.
44457         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
44458         tm_isdst values.
44460         mktime: merge another wrapv change from gnulib
44461         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
44462         from some compilers.
44464         mktime: remove incorrect attempt at unusual arithmetics
44465         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
44466         The code didn't really work on such machines anyway.
44467         (TYPE_MINIMUM): Assume two's complement.
44468         (twos_complement_arithmetic): Verify that long_int and time_t
44469         are two's complement (or unsigned, in the latter case).
44471         mktime: check signed shifts on long_int and time_t, too
44472         * time/mktime.c (SHR): Check that shifts work as desired
44473         on the types long_int and time_t too, as SHR is used on
44474         such types.
44476         mktime: do not assume 'long' is wide enough
44477         * time/mktime.c (verify): Move decl up.
44478         (long_int): New type.
44479         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
44480         to remove assumption in the code that 'long' is wide enough to
44481         store year values.  This assumption is not true on x32 and on
44482         some non-glibc platforms.
44484         mktime: merge wrapv change from gnulib
44485         * time/mktime.c (WRAPV): New macro.
44486         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
44487         (guess_time_tm, __mktime_internal): Do not assume that signed
44488         integer overflow wraps around; modern compilers generate code
44489         where this assumption is no longer valid.
44491 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
44493         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
44494         Replace "jmp L(pseudo_end)" with "ret".
44495         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
44496         Likewise.
44498 2012-05-23  Andreas Jaeger  <aj@suse.de>
44500         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
44501         * sysdeps/unix/sysv/linux/poll.c: Remove file.
44503 2012-05-23  Andreas Jaeger  <aj@suse.de>
44504             Maximilian Attems  <max@stro.at>
44506         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
44507         New macros.
44509 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
44511         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
44512         code so that pseudo_end is just ret and the stack pointer is
44513         correct also for static library in error case.
44515 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
44517         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
44518         move to syscalls.list.
44519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
44520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44524         * manual/install.texi (Running make install): Do not mention Linux
44525         kernel version for which pt_chown is not needed.
44526         (Linux): Do not mention problems with nscd with 2.0 kernels.
44527         * INSTALL: Regenerated.
44529 2012-05-23  Andreas Jaeger  <aj@suse.de>
44531         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
44532         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
44533         macro.
44534         * sysdeps/unix/sysv/linux/s390/bits/mman.h
44535         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44536         * sysdeps/unix/sysv/linux/sh/bits/mman.h
44537         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44538         * sysdeps/unix/sysv/linux/i386/bits/mman.h
44539         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44540         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
44541         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44542         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
44543         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44544         * sysdeps/unix/sysv/linux/bits/in.h
44545         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
44547 2012-05-22  Roland McGrath  <roland@hack.frob.com>
44549         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
44550         (PREPARE_VERSION): Just use assert instead, it will be elided
44551         under [NDEBUG] anyway.
44553 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
44555         * sysdeps/unix/sysv/linux/Makefile: Include
44556         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
44557         (sysdep_routines): Remove sysctl.
44558         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
44559         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
44560         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
44561         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
44562         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
44564 2012-05-22  Andreas Jaeger  <aj@suse.de>
44566         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
44567         that pseudo_end is just ret and the stack pointer is correct also
44568         for static library in error case.
44570 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
44572         [BZ #14122]
44573         * nss/nsswitch.c (defconfig_entries): New variable.
44574         (__nss_database_lookup): Don't leak defconfig entries.
44575         (nss_parse_service_list): Don't leak on error paths.
44576         (free_database_entries): New function.
44577         (free_defconfig): New function.
44578         (free_mem): Move common code to free_database_entries.
44580 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
44582         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
44583         Add arch_prctl.
44584         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
44586         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
44587         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
44588         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
44589         New macro.
44590         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
44591         (INTERNAL_SYSCALL_TYPES): Likewise.
44592         (LOAD_ARGS_TYPES_[1-6]): Likewise.
44593         (LOAD_REGS_TYPES_[1-6]): Likewise.
44594         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
44595         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
44597 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44599         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
44600         copysignl for GLIBC_2_0.
44601         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
44602         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
44603         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
44604         logbl for GLIBC_2_0.
44605         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
44606         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
44608 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
44610         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
44611         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
44613         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
44614         Use "neg %eax".
44616         * time/mktime.c: Update copyright years.
44618 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
44620         mktime: merge comment-quoting-style change from gnulib
44621         * time/mktime.c: Quote 'like this' in comments.
44622         The GNU coding standards suggest that we no longer quote `like this',
44623         as "`" and "'" are typically rendered asymmetrically nowadays.
44624         The typical gnulib style is to quote 'like this' when quoting
44625         code, and "like this" when quoting English.
44627         * time/mktime.c (compile-command): Add "-I.".
44629         mktime: merge mktime-internal.h change from gnulib
44630         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
44632         mktime: merge time_r change from gnulib
44633         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
44635         mktime: merge DEBUG change from gnulib
44636         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
44637         case system <time.h> has a #define.
44639         mktime: merge <sys/types.h> change from gnulib
44640         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
44641         since <time.t> is now guaranteed to define time_t.
44643         mktime: merge HAVE_CONFIG_H change from gnulib
44644         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
44646 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
44648         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
44649         Use "neg %eax".
44651         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
44652         __rlim_t cast.
44653         (struct rusage): Use anonymous union to pad each field to
44654         __syscall_slong_t.
44656 2012-05-21  David S. Miller  <davem@davemloft.net>
44658         * Makefules (o-iterator): Remove .s cases.
44659         (compile-command.s): Delete.
44660         (COMPILE.s): Delete.
44661         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
44663 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
44665         * configure.in (libc_cv_predef_stack_protector): Only consider
44666         "foobar" and "__stack_chk_fail" lines in libc_undefs.
44667         * configure: Regenerated.
44669 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
44671         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
44672         New macro.  Use R*LP on int and pointer.
44673         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
44674         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
44675         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
44676         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
44678         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
44679         [__WORDSIZE_TIME64_COMPAT32] instead of
44680         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
44681         (struct utmp): Likewise.
44682         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
44683         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
44684         Renamed to ...
44685         (__WORDSIZE_TIME64_COMPAT32): This.
44686         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
44687         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
44688         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
44689         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
44690         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
44691         (__WORDSIZE_TIME64_COMPAT32): New macro.
44693 2012-05-21  Andreas Jaeger  <aj@suse.de>
44695         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
44696         only if [SHARED]. Add prototype for __wcschr_ia32.
44698 2012-05-21  Roland McGrath  <roland@hack.frob.com>
44700         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
44701         of %rbp unmolested in the jmp_buf while mangling the low bits.
44702         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
44703         unmolested high bits of %rbp while demangling the low bits.
44704         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44706 2012-05-21  Andreas Jaeger  <aj@suse.de>
44708         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
44709         * sunrpc/svc_simple.c: Use it for registerrpc.
44710         * sunrpc/xcrypt.c: Use it for passwd2des.
44712         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
44714 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
44716         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
44717         Don't define if [__SYSCALL_WORDSIZE != 32].
44718         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
44719         New macro.
44721 2012-05-21  Bruno Haible  <bruno@clisp.org>
44722             Andreas Jaeger  <aj@suse.de>
44724         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
44725         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
44726         inptr and inend for must_buffer_ch.
44727         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
44728         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
44729         * stdio-common/Makefile (tests): Remove bug15.
44730         (bug15-ENV): Remove macro.
44731         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
44732         anymore.
44734 2012-05-19  Andreas Jaeger  <aj@suse.de>
44735             Roland McGrath  <roland@hack.frob.com>
44737         * manual/contrib.texi: Completely rewritten. It contains now an
44738         alphabetical list of contributors and their contributions.
44740 2012-05-21  Richard Henderson  <rth@twiddle.net>
44742         * misc/getauxval.c (__getauxval): Use unsigned long int.
44743         * misc/sys/auxv.h: Include <sys/cdefs.h>.
44744         (getauxval): Use unsigned long int.
44746 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
44748         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44750 2012-05-21  Roland McGrath  <roland@hack.frob.com>
44752         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
44753         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
44754         __alignof__ (long double).
44756 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44758         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44760 2012-05-20  Richard Henderson  <rth@twiddle.net>
44762         * misc/getauxval.c: New file.
44763         * misc/sys/auxv.h: New file.
44764         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
44765         (routines): Add getauxval.
44766         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
44767         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
44768         * elf/dl-sysdep.c (_dl_auxv): Remove.
44769         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
44770         * elf/dl-support.c (_dl_auxv): New variable.
44771         (_dl_aux_init): Initialize it.
44772         * manual/startup.texi (Auxiliary Vector): New node.
44773         * sysdeps/generic/bits/hwcap.h: New file.
44774         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
44775         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
44776         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
44777         * sysdeps/sparc/sysdep.h: ... here.  Include it.
44778         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
44779         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
44780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44781         Update.
44782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
44783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
44784         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
44785         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
44786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
44787         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
44788         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
44789         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
44791 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44795 2012-05-19  David S. Miller  <davem@davemloft.net>
44797         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44799 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
44801         [BZ #14123]
44802         * math/s_ccosh.c: Include <float.h>
44803         (__ccosh): Avoid internal overflow calculating sinh and cosh
44804         values before multiplying by sin and cos values.
44805         * math/s_ccoshf.c: Likewise.
44806         * math/s_ccoshl.c: Likewise.
44807         * math/s_csin.c: Likewise.
44808         * math/s_csinf.c: Likewise.
44809         * math/s_csinl.c: Likewise.
44810         * math/s_csinh.c: Likewise.
44811         * math/s_csinhf.c: Likewise.
44812         * math/s_csinhl.c: Likewise.
44813         * math/libm-test.inc (ccos_test): Add more tests.
44814         (ccosh_test): Likewise.
44815         (csin_test): Likewise.
44816         (csinh_test): Likewise.
44817         * sysdeps/i386/fpu/libm-test-ulps: Update.
44818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44820 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
44822         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
44823         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
44825         * sysdeps/x86_64/x32/_itoa.h: Add comment.
44827 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
44829         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
44830         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
44831         * sysdeps/powerpc/soft-fp/Versions: Likewise.
44832         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
44833         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
44834         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
44835         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
44836         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
44837         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
44838         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
44839         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
44840         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
44841         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
44842         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
44843         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
44844         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
44845         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
44846         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
44847         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
44848         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
44849         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
44850         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
44851         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
44852         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
44853         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
44854         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
44855         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
44856         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
44857         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
44858         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
44859         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
44861 2012-05-18  Andreas Jaeger  <aj@suse.de>
44863         * csu/.gitignore: Delete.
44865 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
44867         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
44868         (timex): Use __syscall_slong_t.
44870 2012-05-18  Andreas Jaeger  <aj@suse.de>
44871             Carlos O'Donell  <carlos_odonell@mentor.com>
44873         * manual/install.texi (Configuring and compiling): Update
44874         description about files modified in the source directory.
44875         * INSTALL: Regenerated.
44877 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
44879         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
44880         value.  Use "or" to set return value to -1.
44881         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
44882         negate return value.
44884 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44886         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
44887         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
44888         failure if the compiler has Graphite support disabled.
44889         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
44890         Likewise.
44891         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
44892         (CFLAGS-memmove.c): Likewise.
44893         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
44894         Likewise.
44896 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
44898         * sysdeps/x86_64/x32/_itoa.h: New file.
44900         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
44901         getdents system call only if kernel and user dirents have the
44902         same d_ino and d_off.
44904         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44905         LLONG_MAX != LONG_MAX.
44906         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44907         (_fitoa_word): Likewise.
44909         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
44910         years.
44911         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
44912         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
44913         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
44915         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
44916         include <bits/wordsize.h>.  Check __x86_64__ instead of
44917         __WORDSIZE.
44918         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
44919         if __x86_64__ is defined.  Use anonymous union on fpstate.
44921         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
44922         anonymous union.
44924 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
44926         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44927         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
44928         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
44929         Refer to _rtld_local_ro instead of _rtld_global_ro.
44930         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
44931         Likewise.
44932         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
44933         Likewise.
44934         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
44935         Likewise.
44936         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
44937         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
44938         of _rtld_global, and rtld_progname instead of _dl_argv[0].
44940         * sysdeps/powerpc/powerpc32/dl-machine.c
44941         (__elf_machine_runtime_setup) [PROF]: Don't reference
44942         _dl_prof_resolve.
44944 2012-05-18  Andreas Jaeger  <aj@suse.de>
44946         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
44947         function only available for GCCs before 3.4 since GCC 3.4
44948         introduced a builtin.
44949         (lrint): Likewise.
44950         (llrintf): Likewise.
44951         (llrint): Likewise.
44952         (fmaxf): Likewise.
44953         (fmax): Likewise.
44954         (fminf): Likewise.
44955         (fmin): Likewise.
44956         (rint): Likewise.
44957         (rintf): Likewise.
44958         (nearbyint): Likewise.
44959         (nearbyintf): Likewise.
44960         (ceil): Likewise.
44961         (ceilf): Likewise.
44962         (floor): Likewise.
44963         (floorf): Likewise.
44965 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44967         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
44968         on both fields and cast pointer to __syscall_ulong_t.
44970         * bits/types.h (__fsword_t): New type.
44971         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
44972         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
44973         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44974         (__FSWORD_T_TYPE): Likewise.
44975         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44976         (__FSWORD_T_TYPE): Likewise.
44977         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44978         (__FSWORD_T_TYPE): Likewise.
44979         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
44980         (__FSWORD_T_TYPE): Likewise.
44981         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
44982         __SWORD_TYPE with __fsword_t.
44983         (statfs64): Likewise.
44985 2012-05-17  David S. Miller  <davem@davemloft.net>
44987         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
44989 2012-05-17  Andreas Jaeger  <aj@suse.de>
44991         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
44992         warning.
44994 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44996         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
44998 2012-05-17  Andreas Jaeger  <aj@suse.de>
45000         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
45001         when it is used.
45003 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
45005         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
45007 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45009         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
45010         * sysdeps/x86_64/tst-mallocalign1.c: New file.
45012 2012-05-17  Andreas Jaeger  <aj@suse.de>
45013             Carlos O'Donell  <carlos_odonell@mentor.com>
45015         [BZ #14059]
45016         * sysdeps/x86_64/multiarch/init-arch.h
45017         (bit_YMM_Usable): Rename to...
45018         (bit_AVX_Usable): ... this.
45019         (bit_FMA4_Usable): New macro.
45020         (bit_XMM_state): New macro.
45021         (bit_YMM_state): New macro.
45022         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
45023         [__ASSEMBLER__] (index_AVX_Usable): ... this.
45024         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
45025         (CPUID_OSXSAVE): New macro.
45026         (CPUID_AVX): New macro.
45027         (CPUID_FMA4): New macro.
45028         (index_YMM_Usable): Rename to...
45029         (index_AVX_Usable): ... this.
45030         (HAS_AVX): Use HAS_ARCH_FEATURE.
45031         (HAS_FMA4): Likewise.
45032         (HAS_YMM_USABLE): Remove.
45033         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45034         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
45035         are present.
45036         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
45037         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
45038         * sysdeps/x86_64/multiarch/Makefile: Likewise.
45039         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
45040         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
45042 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
45044         * math/libm-test.c: Support platforms without multiple rounding modes.
45045         * math/bug-nextafter.c: Support platforms without FP exceptions.
45046         * math/bug-nexttoward.c: Likewise.
45047         * math/test-fenv.c: Likewise.
45048         * math/test-misc.c: Likewise.
45049         * stdlib/bug-getcontext.c: Likewise.
45051 2012-05-17  Andreas Jaeger  <aj@suse.de>
45053         * manual/examples/search.c (critter_cmp): Change signature to
45054         avoid warnings.
45055         * manual/string.texi (Collation Functions): Likewise.
45057 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45059         * bits/types.h: Fold copyright years.
45060         * bits/typesizes.h: Likewise.
45061         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
45062         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45063         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
45064         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
45065         * time/time.h: Likewise.
45067 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
45069         [BZ #208]
45070         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
45071         in instead of returning them.  Return void.
45072         (__libc_mallinfo): Accumulate over all arenas.
45073         (__malloc_stats): Adjust for change in int_mallinfo interface.
45075 2012-05-16  Roland McGrath  <roland@hack.frob.com>
45077         [BZ #10375]
45078         * configure.in (NM): Add AC_CHECK_TOOL for it.
45079         (libc_extra_cflags): New substituted variable.
45080         Check for -fstack-protector being used implicitly.
45081         * configure: Regenerated.
45082         * config.make.in (config-extra-cflags): New variable,
45083         gets @libc_extra_cflags@.
45084         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
45086         [BZ #10375]
45087         * configure.in: Check for _FORTIFY_SOURCE being predefined.
45088         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
45089         * configure: Regenerated.
45090         * config.make.in (CPPUNDEFS): New substituted variable.
45091         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
45092         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
45093         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
45095 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45097         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
45098         (mq_attr): Use __syscall_slong_t.
45100 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45102         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
45103         Check __x86_64__ instead of __WORDSIZE.
45104         (_STAT_VER_LINUX): Likewise.
45105         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
45106         __syscall_ulong_t and __syscall_slong_t.
45107         (stat64): Likewise.
45109 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45111         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
45113 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45115         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
45117 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45119         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
45120         __syscall_ulong_t.
45122         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
45123         include <bits/wordsize.h>.  Check __x86_64__ instead of
45124         __WORDSIZE.
45125         (greg_t): Use "__extension__ long long int" if __x86_64__ is
45126         defined.
45127         (mcontext_t): Replace "unsigned long" with "unsigned long long".
45129         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
45130         include <bits/wordsize.h>.  Check __x86_64__ instead of
45131         __WORDSIZE.
45132         (user_regs_struct): Use "__extension__ unsigned long long"
45133         instead of "unsigned long" if __x86_64__ is defined.
45134         (user): Likewise.  Pad after pointer field if __ILP32__ is
45135         defined.
45137 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
45139         * configure.in (makeinfo): Require version 4.5 or later.  Allow
45140         versions 5 to 9.
45141         * configure: Regenerated.
45142         * manual/install.texi (texinfo): Increase version requirement to
45143         4.5 or later.
45144         * INSTALL: Regenerated.
45146         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
45148 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45150         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
45152         * sysdeps/x86_64/x32/ffs.c: New file.
45154         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
45155         __syscall_ulong_t.
45156         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
45157         defined.  Use __syscall_ulong_t.
45158         (shminfo): Use __syscall_ulong_t.
45159         (shm_info): Likewise.
45161         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
45162         __syscall_ulong_t.
45164         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
45165         <bits/wordsize.h>.
45166         (msgqnum_t): Use __syscall_ulong_t.
45167         (msglen_t): Likewise.
45168         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
45169         __syscall_ulong_t.
45171         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
45172         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
45174         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
45176         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
45177         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
45179         * sysvipc/sys/msg.h (msgbuf): Replace long int with
45180         __syscall_slong_t.
45182         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
45183         include <bits/wordsize.h>.  Check __x86_64__ instead of
45184         __WORDSIZE.
45186         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
45187         "unsigned long long int" if __x86_64__ is defined.
45188         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
45190         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
45191         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
45192         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
45194         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
45195         <stdint.h>.
45196         (GET_PC): Cast to uintptr_t first.
45197         (GET_FRAME): Likewise.
45198         (GET_STACK): Likewise.
45200         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
45201         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
45202         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
45203         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
45204         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
45205         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
45206         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
45207         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
45208         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
45209         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
45210         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
45211         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
45212         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45213         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
45214         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
45215         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
45216         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
45217         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
45218         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
45219         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
45220         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
45221         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
45222         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
45223         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
45224         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
45225         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
45226         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
45227         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
45228         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
45230 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
45232         * Makerules (+depfiles): Also collect depfiles from .oS in
45233         $(extra-objs).
45234         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
45235         .oS, $(libnldbl-routines)).
45237         * Makerules (native-compile-mkdep-flags): Define.
45238         * sunrpc/Makefile (extra-objs): Add $(addprefix
45239         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
45240         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
45241         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
45242         calling $(make-target-directory).
45244 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45246         * bits/types.h (__snseconds_t): Removed.
45247         * time/time.h (struct timespec): Replace __snseconds_t with
45248         __syscall_slong_t.
45249         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
45250         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
45251         Likewise.
45252         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45253         (__SNSECONDS_T_TYPE): Likewise.
45254         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45255         (__SNSECONDS_T_TYPE): Likewise.
45256         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45257         (__SNSECONDS_T_TYPE): Likewise.
45259 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45261         * sysdeps/mach/hurd/bits/typesizes.h
45262         (__SYSCALL_SLONG_TYPE): New macro.
45263         (__SYSCALL_ULONG_TYPE): Likewise.
45265 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45267         * bits/types.h (__syscall_slong_t): New type.
45268         (__syscall_ulong_t): Likewise.
45270         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
45271         (__SYSCALL_ULONG_TYPE): Likewise.
45272         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45273         (__SYSCALL_SLONG_TYPE): Likewise.
45274         (__SYSCALL_ULONG_TYPE): Likewise.
45275         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45276         (__SYSCALL_SLONG_TYPE): Likewise.
45277         (__SYSCALL_ULONG_TYPE): Likewise.
45278         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45279         (__SYSCALL_SLONG_TYPE): Likewise.
45280         (__SYSCALL_ULONG_TYPE): Likewise.
45282 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45284         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
45285         Add sigaltstack-offsets.sym.
45286         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
45287         <sigaltstack-offsets.h>.
45288         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
45289         longjmp_msg pointer.
45290         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
45291         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
45292         signal stack.
45293         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
45295 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
45297         * elf/stackguard-macros.h: Remove file.
45298         * sysdeps/generic/stackguard-macros.h: New file.
45299         * sysdeps/i386/stackguard-macros.h: Likewise.
45300         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45301         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45302         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45303         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45304         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45305         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45306         * sysdeps/x86_64/stackguard-macros.h: Likewise.
45307         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
45308         <elf/stackguard-macros.h>.
45310         [BZ #14109]
45311         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
45312         __aligned__ in attribute.
45313         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
45314         (gregset_t): Likewise.
45316 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45318         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
45319         * sysdeps/x86_64/64/Implies-after: Here.  New file.
45320         * sysdeps/x86_64/x32/Implies-after: New file.
45322 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45324         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
45325         and access return value for _dl_profile_fixup.  Use R10_LP to
45326         load frame size.
45328 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45330         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
45332 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45334         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
45335         * sysdeps/x86_64/x32/sysdep.h: New file.
45337 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45339         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
45340         * sysdeps/x86_64/setjmp.S: Likewise.
45342 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45344         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
45345         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
45346         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
45347         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
45348         remove unused global constant.
45350 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
45352         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
45353         include of <not-cancel.h>.
45355 2012-05-15  Roland McGrath  <roland@hack.frob.com>
45357         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
45359 2012-05-15  Jeff Law  <law@redhat.com>
45360             Andreas Jaeger  <aj@suse.de>
45362         [BZ #13594]
45363         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
45364         out from...
45365         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
45366         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
45367         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
45368         code changing __hst_map_handle.map.
45370 2012-05-15  Roland McGrath  <roland@hack.frob.com>
45372         * configure.in (sysnames): Look for Implies-before and Implies-after
45373         files.
45374         * configure: Regenerated.
45376 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45378         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
45379         8-byte data alignment with LP_SIZE alignment.
45381 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45383         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
45384         into R10_LP.
45386 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45388         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
45390 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45392         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
45393         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
45394         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
45395         Likewise.
45396         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45398 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45400         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
45401         (stackinfo_sub_sp): Likewise.
45403 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45405         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
45406         RAX_LP.
45408 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45410         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
45411         into R*_LP.
45413 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45415         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
45416         sizes into R*_LP.
45418 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45420         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
45422 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45424         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
45425         into R11_LP and load __x86_64_shared_cache_size_half into
45426         R8_LP.
45428 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
45430         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
45431         R8_LP.
45433 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45435         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
45436         logb for POWER7.
45437         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
45438         logbf for POWER7.
45439         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
45440         logbl for POWER7.
45441         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
45442         powerpc32/power7/fpu/s_logb.c via #include.
45443         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
45444         powerpc32/power7/fpu/s_logbf.c via #include.
45445         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
45446         powerpc32/power7/fpu/s_logbl.c via #include.
45448 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
45450         * README.libm: Remove file.
45452 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45454         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
45455         count for x32.  Use R*_LP and omit operand-size suffix.
45457 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45459         * shlib-versions: Move x86_64-.*-linux.* entries to ...
45460         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
45461         * sysdeps/x86_64/x32/shlib-versions: New file.
45463 2012-05-14  Roland McGrath  <roland@hack.frob.com>
45465         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
45466         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
45467         Use _dl_fatal_printf instead.
45469 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
45471         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
45472         set if not set by the user.  Do not allow for being unset.
45473         * sysdeps/unix/sysv/linux/configure: Regenerated.
45475 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45477         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
45478         the `q' suffix from lea and replace .quad with ASM_ADDR.
45480 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45482         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
45483         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
45484         instead of $17.
45485         (PTR_DEMANGLE): Likewise.
45487 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45489         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
45490         (LP_OP): Likewise.
45491         (ASM_ADDR): Likewise.
45492         (RAX_LP): Likewise.
45493         (RBP_LP): Likewise.
45494         (RBX_LP): Likewise.
45495         (RCX_LP): Likewise.
45496         (RDI_LP): Likewise.
45497         (RSI_LP): Likewise.
45498         (RSP_LP): Likewise.
45499         (R8_LP): Likewise.
45500         (R9_LP): Likewise.
45501         (R10_LP): Likewise.
45502         (R10_LP): Likewise.
45503         (R11_LP): Likewise.
45504         (R12_LP): Likewise.
45505         (R13_LP): Likewise.
45506         (R14_LP): Likewise.
45507         (R15_LP): Likewise.
45509 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45511         * sysdeps/x86_64/x32/dl-machine.h: New file.
45513 2012-05-14  Andreas Jaeger  <aj@suse.de>
45515         * manual/Makefile (subdir): Remove export of subdir.
45516         (all): Remove target.
45517         (.PHONY): Remove all from list.
45518         (mkinstalldirs): Remove.
45519         (.PHONY): Remove installdirs from list.
45520         ($(inst_infodir)/libc.info): Use make-target-directory.
45521         (installdirs): Remove.
45522         (subdir_%): Remove.
45523         (glibc-targets): Remove.
45524         (lib): Remove.
45525         (stubs): Remove.
45526         ($(objpfx)stubs ../po/manual.pot): Remove.
45527         ($(objpfx)stamp%): Remove.
45528         (make-target-directory): Remove.
45529         (subdir_install): Remove.
45530         (routines): Remove.
45531         (aux): Remove.
45532         (sources): Remove.
45533         (objects): Remove.
45534         (headers): Remove.
45536         [BZ #13750]
45537         * manual/.gitignore: Remove, it's not needed anymore.
45538         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
45539         all files in it.
45540         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
45541         directory.
45542         (texis): Renamed to $(objpfx)texis.
45543         (texis-path): New, contains path to generated files.
45544         (chapters.%): Use texis-path for complete path, add extra argument
45545         libc-texinfo.sh.
45546         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
45547         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
45548         (summary,texi, stamp-summary): Use complete path of
45549         files. Generate files in build dir.
45550         (dir-add.texi): Build in build dir.
45551         (libm-err.texi,stamp-libm-err): Likewise.
45552         (version.texi, stamp-version): Likewise.
45553         (.%c.texi): Likewise.
45554         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
45555         (mostlyclean): Remove target.
45556         (realclean): Remove target.
45557         (generated): Add new variable with contents from mostlyclean and
45558         realclean, remove entries duplicated in common-mostlyclean, add
45559         stamp-libm-err and stamp-version.
45560         (generated-dirs): Add libc directory.
45561         ($(inst_infodir)/libc.info): Install files from build dir.
45563         * manual/install.texi (Configuring and compiling): Adjust since
45564         the info files are not part of the tar ball anymore.
45566 2012-05-14  Andreas Jaeger  <aj@suse.de>
45568         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
45569         variable.
45571 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
45573         [BZ #13717]
45574         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45575         to 2.2.0 where earlier.
45576         * sysdeps/unix/sysv/linux/configure: Regenerated.
45577         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
45578         Remove conditional code.
45579         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
45580         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
45581         Remove conditional code.
45582         [!__NR_lchown]: Likewise.
45583         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45584         [__NR_lchown]: Likewise.
45585         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
45586         comment referencing __ASSUME_LCHOWN_SYSCALL.
45587         * sysdeps/unix/sysv/linux/i386/sigaction.c
45588         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45589         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45590         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
45591         Remove conditional code.
45592         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
45593         (__protocol_available): Remove #if 0 code.
45594         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
45595         conditional code.
45596         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
45597         * sysdeps/unix/sysv/linux/kernel-features.h
45598         (__ASSUME_GETCWD_SYSCALL): Don't define.
45599         (__ASSUME_REALTIME_SIGNALS): Likewise.
45600         (__ASSUME_PREAD_SYSCALL): Likewise.
45601         (__ASSUME_PWRITE_SYSCALL): Likewise.
45602         (__ASSUME_POLL_SYSCALL): Likewise.
45603         (__ASSUME_LCHOWN_SYSCALL): Likewise.
45604         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
45605         non-SPARC.
45606         (__ASSUME_SIOCGIFNAME): Don't define.
45607         (__ASSUME_MSG_NOSIGNAL): Likewise.
45608         (__ASSUME_SENDFILE): Define unconditionally.
45609         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
45610         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
45611         conditional code.
45612         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
45613         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
45614         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
45615         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45616         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
45617         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
45618         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
45620         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45621         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
45623         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45624         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
45626         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45627         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
45629         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45630         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
45632         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45633         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
45635         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45636         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
45638         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45639         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
45641         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45642         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45643         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
45644         Remove conditional code.
45645         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45646         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
45647         Remove conditional code.
45648         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45649         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
45650         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
45651         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
45652         Remove conditional code.
45653         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45654         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
45655         Remove conditional code.
45656         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45657         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
45658         Remove conditional code.
45659         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45660         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
45661         Remove conditional code.
45662         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45663         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
45664         Remove conditional code.
45665         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45666         * sysdeps/unix/sysv/linux/sh/pwrite64.c
45667         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45668         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45669         * sysdeps/unix/sysv/linux/sigaction.c
45670         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45671         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45672         * sysdeps/unix/sysv/linux/sigpending.c
45673         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45674         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45675         * sysdeps/unix/sysv/linux/sigprocmask.c
45676         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45677         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45678         * sysdeps/unix/sysv/linux/sigsuspend.c
45679         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45680         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45681         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45682         (__libc_missing_rt_sigs): Remove.
45683         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
45684         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
45685         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
45686         Remove conditional code.
45687         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
45688         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
45689         return 1.
45690         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
45691         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
45692         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
45693         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
45695 2012-05-14  Andreas Jaeger  <aj@suse.de>
45697         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
45698         it's not used in glibc.
45699         (__coshm1): Likewise.
45700         (__acosh1p): Likewise.
45701         (__sgn): Likewise.
45703         * manual/string.texi (Copying and Concatenation): Add missing
45704         variable in concat example.
45705         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
45707 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45709         [BZ #14103]
45710         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
45711         __builtin_clzl with __builtin_clzll.
45713 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45715         [BZ #14104]
45716         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
45717         libc_freeres_ptr.
45719 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45721         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
45722         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
45723         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
45724         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
45726 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
45728         * NEWS: Update ia64 info.
45730 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
45732         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
45733         used as bcopy.
45735 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
45737         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
45738         * sysdeps/unix/syscalls.list (dup3): Likewise.
45739         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
45740         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
45742 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
45744         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
45745         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
45747 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
45749         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
45750         thread pointer.
45751         (TLS_IE): Use mov/add instead of movq/addq to load thread
45752         pointer.
45753         (TLS_GD_PREFIX): New.
45754         (TLS_GD): Use it.
45756 2012-05-11  David S. Miller  <davem@davemloft.net>
45758         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
45759         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
45760         (_FPU_SETCW): Likewise.
45762 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
45764         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
45765         is 32-byte aligned.
45767 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
45769         [BZ #11837]
45770         * iconvdata/gb18030.c: Update tables.
45771         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
45772         characters specially.
45773         (BODY for TO_LOOP): Add encoding of missing ranges.
45775 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
45777         [BZ #13673]
45778         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
45779         * sysdeps/mach/hurd/dup3.c: Likewise.
45780         * sysdeps/mach/hurd/readlinkat.c: Likewise.
45781         * sysdeps/powerpc/memmove.c:: Likewise.
45783 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
45785         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
45786         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
45788 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
45790         * elf/elf.h (R_X86_64_RELATIVE64): New.
45791         (R_X86_64_NUM): Updated.
45792         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
45793         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
45794         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
45795         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
45796         tst-quad1pie tst-quad2pie
45797         (modules-names): Add tst-quadmod1 tst-quadmod2.
45798         ($(objpfx)tst-quad1): New dependency.
45799         ($(objpfx)tst-quad2): Likewise.
45800         ($(objpfx)tst-quad1pie): Likewise.
45801         ($(objpfx)tst-quad2pie): Likewise.
45802         * sysdeps/x86_64/tst-quad1.c: New file.
45803         * sysdeps/x86_64/tst-quad1pie.c: New file.
45804         * sysdeps/x86_64/tst-quad2.c: Likewise.
45805         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
45806         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
45807         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
45808         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
45809         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
45811 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45813         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
45814         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
45815         * streams/stropts.h (t_scalar_t): Define type.
45817         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
45818         (_PATH_PRESERVE): Set to "/var/lib".
45819         (_PATH_RWHODIR): Set to "/var/spool/rwho".
45821         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
45822         instead of int.
45824         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
45825         if __dir_mkfile succeeded.
45827         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
45828         checking for _hurd_dtablesize.  Unlock it right after having
45829         finished _hurd_dtable allocation.
45831 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45833         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
45834         * sysdeps/mach/hurd/configure: Regenerated.
45835         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
45836         special-casing to...
45837         * sysdeps/gnu/configure.in: ... this new file.
45838         * sysdeps/unix/sysv/linux/configure: Regenerated.
45839         * sysdeps/gnu/configure: New generated file.
45841         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
45842         for Linux: use nsec instead of usec, as well as:
45843         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
45844         members of type struct timespec.
45845         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
45846         New macros.
45847         (struct stat64): Likewise.
45848         (_STATBUF_ST_NSEC): New macro.
45849         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
45851         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45852         __strtoul_internal rather than strtoul.
45854 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45856         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
45857         and reject them.
45859 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45861         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
45862         which preserves existing values.
45863         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
45865 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45867         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
45868         TIMEOUT values.  Return EINVAL for NFDS values either negative or
45869         greater than FD_SETSIZE.
45871 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45873         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
45874         allocated, call __vm_protect to finish enabling the existing space, and
45875         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
45876         allocate the remainder.
45878 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45880         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
45881         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
45883 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45885         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
45886         sysdeps/mach/hurd/readlink.c.
45888         * posix/tst-sysconf.c (posix_options): Only use
45889         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
45890         _POSIX_SYNCHRONIZED_IO when they are defined
45891         * sysdeps/mach/hurd/bits/posix_opt.h:
45892         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
45893         (_XOPEN_REALTIME): Undefine macro.
45894         (_XOPEN_REALTIME_THREADS): Undefine macro.
45895         (_XOPEN_SHM): Undefine macro.
45896         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
45897         macro to -1.
45898         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
45899         macro to -1.
45900         (_POSIX_ASYNC_IO): Undefine macro.
45901         (_POSIX_PRIORITIZED_IO): Undefine macro.
45902         (_POSIX_SPIN_LOCKS): Define macro to -1.
45904         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
45905         SA_NODEFER, SA_RESETHAND.
45906         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
45907         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
45908         F_DUPFD_CLOEXEC.
45910 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45912         * elf/Makefile (pldd-modules): Define unconditionally.
45914 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45916         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
45918 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45920         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
45921         Return ENOENT when name is empty.
45922         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
45924 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45926         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
45928         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
45930 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45932         Fix mlock in all cases except non-readable pages.
45933         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
45934         instead of VM_PROT_ALL as parameter to __vm_wire function.
45936         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
45937         (__mkdir): When path is `/', just fail with EEXIST.
45938         * sysdeps/mach/hurd/mkdirat.c: Likewise.
45940 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45942         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
45943         <sys/uio.h> (for writev).
45944         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
45945         and <sys/param.h> (for MIN).
45947 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45949         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
45950         REQUESTED_TIME.  Properly set the remaining time and return EINTR
45951         if interrupted.
45953 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45955         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
45956         Depend on against $(link-rpcuserlibs).
45958 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45960         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
45961         (__libc_stack_end): Do not use attribute_relro.
45962         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
45963         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
45964         to libthread-provided value.
45965         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
45966         attribute_relro.
45968 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45970         [BZ #3748]
45971         * bits/libc-lock.h (__libc_once_get): New macro.
45972         * sysdeps/mach/bits/libc-lock.h: Likewise.
45973         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
45974         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
45975         instead of using implementation details.
45977         * libio/fileops.c: Unconditionally include <kernel-features.h>.
45978         * libio/freopen.c: Likewise.
45979         * libio/freopen64.c: Likewise.
45980         * misc/syslog.c: Likewise.
45981         * nscd/connections.c: Likewise.
45982         * nscd/netgroupcache.c: Likewise.
45983         * sysdeps/posix/getcwd.c: Likewise.
45985 2012-05-10  Roland McGrath  <roland@hack.frob.com>
45987         * math/w_ilogbf.c: Add #include <limits.h>.
45989 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45991         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
45992         path instead of returning without unlocking.
45994         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
45995         immediate-write ioctls.
45996         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
45998 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46000         * sysdeps/mach/hurd/i386/init-first.c (init): Use
46001         __builtin_frame_address instead of making assumptions about the
46002         location of the return address relative to DATA.  Force early load of
46003         the return address.
46004         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
46005         __builtin_frame_address.
46007         dup3 for GNU Hurd.
46008         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
46009         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
46010         implement dup3 and do some further code clean-ups.
46011         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
46012         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
46014 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46016         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
46018         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
46019         HURD_CRITICAL_END around holding _hurd_dtable_lock.
46020         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
46021         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
46022         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
46023         d->port.lock.
46025         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
46026         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
46027         when handler == SIG_ERR, not when handler != SIG_ERR.
46029 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46031         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
46032         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
46033         definitions.
46035         accept4 for GNU Hurd.
46036         * include/sys/socket.h (__libc_accept4): New prototype.
46037         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
46038         to implement __libc_accept4.
46039         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
46040         __libc_accept4.
46041         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
46043         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
46044         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
46045         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
46046         signal-defines.sym.
46048 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46050         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
46052 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46054         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
46055         assertion on O_CLOEXEC flag.
46056         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
46057         * hurd/intern-fd.c: Likewise.
46058         * hurd/port2fd.c: Likewise.
46060 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46062         [BZ #3906]
46063         * bits/in.h (IPV6_PKTINFO): Define new macro.
46064         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
46066 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46068         [BZ #13954]
46069         [BZ #13955]
46070         [BZ #13956]
46071         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
46072         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46073         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
46074         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46075         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46076         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46077         * math/libm-test.inc (logb_test) : Additional logb tests.
46079 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
46080             Andreas Jaeger  <aj@suse.de>
46082         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
46083         * configure: Regenerated.
46084         * config.h.in (LINK_OBSOLETE_RPC): New macro.
46085         * config.make.in (link-obsolete-rpc): New substituted variable.
46086         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
46087         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
46088         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46089         (shared-only-routines): Don't set it under [link-obsolete-rpc],
46090         so that libc.a contains the symbols.
46091         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46092         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
46093         * sunrpc/auth_none.c: Likewise.
46094         * sunrpc/auth_unix.c: Likewise.
46095         * sunrpc/authdes_prot.c: Likewise.
46096         * sunrpc/authuxprot.c: Likewise.
46097         * sunrpc/clnt_gen.c: Likewise.
46098         * sunrpc/clnt_perr.c: Likewise.
46099         * sunrpc/clnt_raw.c: Likewise.
46100         * sunrpc/clnt_simp.c: Likewise.
46101         * sunrpc/clnt_tcp.c: Likewise.
46102         * sunrpc/clnt_udp.c: Likewise.
46103         * sunrpc/clnt_unix.c: Likewise.
46104         * sunrpc/des_crypt.c: Likewise.
46105         * sunrpc/des_soft.c: Likewise.
46106         * sunrpc/get_myaddr.c: Likewise.
46107         * sunrpc/key_call.c: Likewise.
46108         * sunrpc/key_prot.c: Likewise.
46109         * sunrpc/netname.c: Likewise.
46110         * sunrpc/pm_getmaps.c: Likewise.
46111         * sunrpc/pm_getport.c: Likewise.
46112         * sunrpc/pmap_clnt.c: Likewise.
46113         * sunrpc/pmap_prot.c: Likewise.
46114         * sunrpc/pmap_prot2.c: Likewise.
46115         * sunrpc/pmap_rmt.c: Likewise.
46116         * sunrpc/publickey.c: Likewise.
46117         * sunrpc/rpc_cmsg.c: Likewise.
46118         * sunrpc/rpc_common.c: Likewise.
46119         * sunrpc/rpc_dtable.c: Likewise.
46120         * sunrpc/rpc_prot.c: Likewise.
46121         * sunrpc/rpc_thread.c: Likewise.
46122         * sunrpc/rtime.c: Likewise.
46123         * sunrpc/svc.c: Likewise.
46124         * sunrpc/svc_auth.c: Likewise.
46125         * sunrpc/svc_raw.c: Likewise.
46126         * sunrpc/svc_run.c: Likewise.
46127         * sunrpc/svc_tcp.c: Likewise.
46128         * sunrpc/svc_udp.c: Likewise.
46129         * sunrpc/svc_unix.c: Likewise.
46130         * sunrpc/svcauth_des.c: Likewise.
46131         * sunrpc/xcrypt.c: Likewise.
46132         * sunrpc/xdr.c: Likewise.
46133         * sunrpc/xdr_array.c: Likewise.
46134         * sunrpc/xdr_float.c: Likewise.
46135         * sunrpc/xdr_intXX_t.c: Likewise.
46136         * sunrpc/xdr_mem.c: Likewise.
46137         * sunrpc/xdr_rec.c: Likewise.
46138         * sunrpc/xdr_ref.c: Likewise.
46139         * sunrpc/xdr_sizeof.c: Likewise.
46140         * sunrpc/xdr_stdio.c: Likewise.
46142 2012-05-10  Roland McGrath  <roland@hack.frob.com>
46144         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
46145         change.  Update copyright years.
46147 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
46149         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
46151 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
46152             Joseph Myers  <joseph@codesourcery.com>
46153             Paul Pluzhnikov  <ppluzhnikov@google.com>
46155         [BZ #14012]
46156         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
46157         requiring rpcgen.
46158         [cross-compiling] (extra-libs): Likewise.
46159         [cross-compiling] (extra-libs-others): Likewise.
46160         [cross-compiling] (librpcsvc-routines): Likewise.
46161         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
46162         [cross-compiling] (omit-deps): Likewise.
46163         (sunrpc-CPPFLAGS): New variable.
46164         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
46165         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
46166         (cross-rpcgen-objs): New variable.
46167         (extra-objs): Append $(cross-rpcgen-objs).
46168         ($(cross-rpcgen-objs)): New rule.
46169         ($(objpfx)cross-rpcgen): Likewise.
46170         (rpcgen-cmd): Define to use $(built-program-file).  Expand
46171         comment.
46172         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
46173         ($(objpfx)x%.stmp): Likewise.
46174         * sunrpc/proto.h [IS_IN_build] (_): Define.
46175         [IS_IN_build] (_libc_intl_domainname): Likewise.
46177 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46179         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
46180         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
46181         and R_X86_64_TPOFF64.
46183 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
46185         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
46186         sysdeps/unix/sysv/syscalls.list.
46187         (stime): Likewise.
46188         (utime): Likewise.
46189         * sysdeps/unix/sysv/syscalls.list: Remove file.
46191 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
46193         [BZ #3440]
46194         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
46195         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
46196         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
46197         (__LC_IDENTIFICATION): Make these macros useful in #if
46198         expressions, as required by C99.
46200 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
46202         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
46203         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
46204         after this.
46206 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
46208         * stdlib/longlong.h: Updated from GCC.
46210 2012-05-09  Andreas Jaeger  <aj@suse.de>
46212         * nscd/nscd.c (run_modes): Make named enum, reorder so that
46213         default is first entry.
46214         (run_mode): Set type.
46215         (main): Remove informal message about syslog.
46216         (options): Fix typo.
46218         [BZ #14053]
46219         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
46220         to asm.
46221         (lrint): Likewise.
46222         (llrintf): Likewise.
46223         (llrint): Likewise.
46224         (rint): Likewise.
46225         (rintf): Likewise.
46226         (nearbyint): Likewise.
46227         (nearbyintf): Likewise.
46229 2012-05-09  Andreas Jaeger  <aj@suse.de>
46230             Pedro Alves  <palves@redhat.com>
46232         * nscd/nscd.c (run_mode): Use enum.
46233         (main): Cleanup coding style issue.
46235 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
46236             Andreas Jaeger  <aj@suse.de>
46238         * nscd/nscd.c (go_background): Replaced with...
46239         (run_mode): ... this.
46240         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
46241         (options): Add -F --foreground.
46242         (main): Implement it.
46243         (parse_opt): Parse it.
46245 2012-05-09  Andreas Jaeger  <aj@suse.de>
46247         [BZ #14083]
46248         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
46249         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
46250         -Wconversion warning.
46251         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
46252         Likewise.
46254 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
46256         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
46257         == 0.
46258         (LC_ALL): Use macro-int-constant.
46259         (LC_COLLATE): Likewise.
46260         (LC_CTYPE): Likewise.
46261         (LC_MESSAGES): Likewise.
46262         (LC_MONETARY): Likewise.
46263         (LC_NUMERIC): Likewise.
46264         (LC_TIME): Likewise.
46265         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
46266         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46267         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46268         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
46269         Specify type.
46270         [C99-based standards] (float_t): Expect type.
46271         [C99-based standards] (double_t): Expect type.
46272         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
46273         type.
46274         [C99-based standards] (HUGE_VALL): Likewise.
46275         [C99-based standards] (INFINITY): Likewise.
46276         [C99-based standards] (NAN): Likewise.
46277         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
46278         [C99-based standards] (FP_NAN): Likewise.
46279         [C99-based standards] (FP_NORMAL): Likewise.
46280         [C99-based standards] (FP_SUBNORMAL): Likewise.
46281         [C99-based standards] (FP_ZERO): Likewise.
46282         [C99-based standards] (FP_FAST_FMA): Use
46283         optional-macro-int-constant.  Specify type.  Require == 1.
46284         [C99-based standards] (FP_FAST_FMAF): Likewise.
46285         [C99-based standards] (FP_FAST_FMAL): Likewise.
46286         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
46287         [C99-based standards] (FP_ILOGBNAN): Likewise.
46288         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
46289         Specify type.
46290         [C99-based standards] (MATH_ERREXCEPT): Likewise.
46291         [C99-based standards] (math_errhandling): Specify type.
46292         [ISO99 || ISO11] (signgam): Do not allow.
46293         [non-C99-based standards] (copysignf): Do not allow.
46294         [non-C99-based standards] (exp2f): Likewise.
46295         [non-C99-based standards] (log2f): Likewise.
46296         [non-C99-based standards] (modff): Allow.
46297         [non-C99-based standards] (erff): Do not allow.
46298         [non-C99-based standards] (erfcf): Likewise.
46299         [non-C99-based standards] (gammaf): Likewise.
46300         [non-C99-based standards] (hypotf): Likewise.
46301         [non-C99-based standards] (j0f): Likewise.
46302         [non-C99-based standards] (j1f): Likewise.
46303         [non-C99-based standards] (jnf): Likewise.
46304         [non-C99-based standards] (lgammaf): Likewise.
46305         [non-C99-based standards] (tgammaf): Likewise.
46306         [non-C99-based standards] (y0f): Likewise.
46307         [non-C99-based standards] (y1f): Likewise.
46308         [non-C99-based standards] (ynf): Likewise.
46309         [non-C99-based standards] (isnanf): Likewise.
46310         [non-C99-based standards] (acoshf): Likewise.
46311         [non-C99-based standards] (asinhf): Likewise.
46312         [non-C99-based standards] (atanhf): Likewise.
46313         [non-C99-based standards] (cbrtf): Likewise.
46314         [non-C99-based standards] (expm1f): Likewise.
46315         [non-C99-based standards] (ilogbf): Likewise.
46316         [non-C99-based standards] (log1pf): Likewise.
46317         [non-C99-based standards] (logbf): Likewise.
46318         [non-C99-based standards] (nextafterf): Likewise.
46319         [non-C99-based standards] (remainderf): Likewise.
46320         [non-C99-based standards] (rintf): Likewise.
46321         [non-C99-based standards] (scalbf): Likewise.
46322         [non-C99-based standards] (copysignl): Likewise.
46323         [non-C99-based standards] (exp2l): Likewise.
46324         [non-C99-based standards] (log2l): Likewise.
46325         [non-C99-based standards] (modfl): Allow.
46326         [non-C99-based standards] (erfl): Do not allow.
46327         [non-C99-based standards] (erfcl): Likewise.
46328         [non-C99-based standards] (gammal): Likewise.
46329         [non-C99-based standards] (hypotl): Likewise.
46330         [non-C99-based standards] (j0l): Likewise.
46331         [non-C99-based standards] (j1l): Likewise.
46332         [non-C99-based standards] (jnl): Likewise.
46333         [non-C99-based standards] (lgammal): Likewise.
46334         [non-C99-based standards] (tgammal): Likewise.
46335         [non-C99-based standards] (y0l): Likewise.
46336         [non-C99-based standards] (y1l): Likewise.
46337         [non-C99-based standards] (ynl): Likewise.
46338         [non-C99-based standards] (isnanl): Likewise.
46339         [non-C99-based standards] (acoshl): Likewise.
46340         [non-C99-based standards] (asinhl): Likewise.
46341         [non-C99-based standards] (atanhl): Likewise.
46342         [non-C99-based standards] (cbrtl): Likewise.
46343         [non-C99-based standards] (expm1l): Likewise.
46344         [non-C99-based standards] (ilogbl): Likewise.
46345         [non-C99-based standards] (log1pl): Likewise.
46346         [non-C99-based standards] (logbl): Likewise.
46347         [non-C99-based standards] (nextafterl): Likewise.
46348         [non-C99-based standards] (remainderl): Likewise.
46349         [non-C99-based standards] (rintl): Likewise.
46350         [non-C99-based standards] (scalbl): Likewise.
46351         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46352         [non-C99-based standards] (FP_*): Do not allow.
46353         [C99-based standards] (FP_*): Change to
46354         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46355         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46356         allow.
46357         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
46358         (SIG_ERR): Likewise.
46359         [X/Open-based standards] (SIG_HOLD): Likewise.
46360         (SIG_IGN): Likewise.
46361         (SIGABRT): Use macro-int-constant.  Specify type.  Require
46362         positive value.
46363         (SIGFPE): Likewise.
46364         (SIGILL): Likewise.
46365         (SIGINT): Likewise.
46366         (SIGSEGV): Likewise.
46367         (SIGTER): Likewise.
46368         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
46369         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
46370         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
46371         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
46372         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
46373         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
46374         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
46375         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
46376         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
46377         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
46378         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
46379         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
46380         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
46381         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
46382         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
46383         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
46384         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
46385         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
46386         [X/Open-based standards] (SIGTRAP): Likewise.
46387         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
46388         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
46389         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
46390         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
46391         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46392         allow.
46394 2012-05-08  Ian Wienand  <ianw@vmware.com>
46396         [BZ #14080]
46397         * time/tzset.c (__tzset_parse_tz): Update default rules for
46398         daylight time changes in the Energy Policy Act of 2005.
46400 2012-05-09  Andreas Jaeger  <aj@suse.de>
46402         [BZ #13983]
46403         * elf/ldconfig.c (parse_conf): Change string to make clear that
46404         ldconfig only issued a warning if ld.so.conf does not exist.
46406 2012-05-08  David S. Miller  <davem@davemloft.net>
46408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
46409         movxtod instead of popping the value on the stack.
46411         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46413 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
46415         * config.h.in: Add HAVE_ARM_PCS_VFP.
46417 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
46419         [BZ #13979]
46420         * include/features.h: Warn if user requests __FORTIFY_SOURCE
46421         checking but the checks are disabled for any reason.
46423 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
46425         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
46426         and ELF64_R_TYPE with ELFW(R_TYPE).
46428 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
46430         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
46431         (ulimit): Likewise.
46433         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
46434         (settimeofday): Likewise.
46436 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
46438         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
46439         a struct th_u2 inside the union, and move tu_block/tu_code into
46440         a new th_u3 union of tu_block/tu_code inside of that.  Move
46441         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
46442         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
46443         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
46444         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
46445         (th_stuff): Change to th_u1.tu_stuff.
46446         (th_data): Define.
46447         (th_msg): Change to th_u1.th_u2.tu_data.
46449 2012-05-07  David S. Miller  <davem@davemloft.net>
46451         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46453         [BZ #14074]
46454         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
46455         (SETUP_PIC_REG): Use it.
46456         (SETUP_PIC_REG_LEAF): Use it.
46458 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
46460         [BZ #13885]
46461         [BZ #13923]
46462         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46463         USE_AS_EXPM1L.
46464         (EXPL_FINITE): Likewise.
46465         (FLDLOG): Likewise.
46466         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
46467         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
46468         e_expl.S.
46469         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46470         USE_AS_EXPM1L.
46471         (EXPL_FINITE): Likewise.
46472         (FLDLOG): Likewise.
46473         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
46474         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
46475         e_expl.S.
46476         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
46477         test of -max_value argument for long double.
46478         * sysdeps/i386/fpu/libm-test-ulps: Update.
46479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46481 2012-05-06  David S. Miller  <davem@davemloft.net>
46483         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
46484         quad soft-float symbols whose references which are compiler
46485         generated.
46486         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46488 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
46490         [BZ #13884]
46491         [BZ #13914]
46492         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46493         USE_AS_EXP10L.
46494         (EXPL_FINITE): Likewise.
46495         (FLDLOG): Likewise.
46496         (c0): Likewise.
46497         (c1): Likewise.
46498         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
46499         Adjust comments for base varying.
46500         (__expl_finite): Change alias to EXPL_FINITE.
46501         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
46502         e_expl.S.
46503         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
46504         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
46505         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46506         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
46507         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46508         USE_AS_EXP10L.
46509         (EXPL_FINITE): Likewise.
46510         (FLDLOG): Likewise.
46511         (c0): Likewise.
46512         (c1): Likewise.
46513         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
46514         Adjust comments for base varying.
46515         (__expl_finite): Change alias to EXPL_FINITE.
46516         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
46517         tests for bugs.
46518         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46520         [BZ #14064]
46521         * math/libm-test.inc (check_float_internal): Correct ulp
46522         calculation for subnormal expected results.
46524 2012-05-06  Andreas Jaeger  <aj@suse.de>
46526         * Makeconfig (+math-flags): New, set to -frounding-math.
46527         (+cflags): Add +math-flags so that all of glibc gets compiled with
46528         it.
46530         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
46532 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
46534         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
46535         Disable one test.
46537         [BZ #13787]
46538         [BZ #13922]
46539         [BZ #14036]
46540         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
46541         (__ieee754_expl): Allow for and saturate large arguments.
46542         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
46543         (u_threshold): Likewise.
46544         (__exp): Call __ieee754_exp before checking for overflow and
46545         underflow.
46546         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
46547         (u_threshold): Likewise.
46548         (__expf): Call __ieee754_expf before checking for overflow and
46549         underflow.
46550         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
46551         (u_threshold): Likewise.
46552         (__expl): Call __ieee754_expl before checking for overflow and
46553         underflow.
46554         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
46555         (__ieee754_expl): Allow for and saturate large arguments.
46556         * math/libm-test.inc (exp_test): Add another test.  Do not allow
46557         missing overflow exception on overflow.
46558         (expm1_test): Do not allow missing overflow exception on overflow.
46560         * sysdeps/i386/fpu/e_expl.c: Move to ...
46561         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
46562         rather than using inline asm.
46563         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
46564         * sysdeps/x86_64/fpu/e_expl.S: Copy from
46565         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
46567         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
46568         (nice): Likewise.
46569         (poll): Likewise.
46570         (signal): Likewise.
46571         (time): Likewise.
46572         (times): Likewise.
46574 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
46576         * sysdeps/unix/syscalls.list (adjtime): Add entry from
46577         sysdeps/unix/common/syscalls.list.
46578         (fchmod): Likewise.
46579         (fchown): Likewise.
46580         (ftruncate): Likewise.
46581         (getrusage): Likewise.
46582         (gettimeofday): Likewise.
46583         (setpgid): Likewise.
46584         (setregid): Likewise.
46585         (setreuid): Likewise.
46586         (sigaction): Likewise.
46587         (truncate): Likewise.
46588         (vhangup): Likewise.
46589         * sysdeps/unix/common/syscalls.list: Remove file.
46590         * sysdeps/unix/bsd/Implies: Don't include unix/common.
46591         * sysdeps/unix/sysv/linux/Implies: Likewise.
46593 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
46595         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
46596         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
46597         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
46598         Moved to ...
46599         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
46600         Here.
46601         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
46602         to ...
46603         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
46604         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
46605         to ...
46606         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
46607         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
46608         to ...
46609         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
46610         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
46611         to ...
46612         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
46613         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
46614         to ...
46615         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
46616         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
46617         to ...
46618         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
46619         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
46620         to ...
46621         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46622         Here.
46623         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
46624         to ...
46625         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
46626         Here.
46627         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
46628         to ...
46629         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
46630         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
46631         Moved to ...
46632         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
46633         Here.
46634         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
46635         to ...
46636         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
46638 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
46640         * sysdeps/unix/common/bits/dirent.h: Remove file.
46641         * sysdeps/unix/common/bits/fcntl.h: Likewise.
46643         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
46644         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
46645         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
46646         * sysdeps/unix/bsd/isatty.c: Likewise.
46647         * sysdeps/unix/bsd/tcdrain.c: Likewise.
46648         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
46649         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
46651 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46653         [BZ #13563]
46654         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
46655         long double comparison inaccuracies.
46656         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46659 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
46661         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
46662         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
46664 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
46666         [BZ #14049]
46667         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
46668         nonzero digits before rounding a hex value.
46669         * stdlib/tst-strtod.c (tests): Add another test.
46671 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46673         * sysdeps/s390/fpu/libm-test-ulps: Update.
46675 2012-05-03  Andreas Jaeger  <aj@suse.de>
46677         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
46678         does not get optimized out.
46679         (malloc_opt_barrier): New.
46681 2012-05-03  Andreas Jaeger  <aj@suse.de>
46682             Roland McGrath  <roland@hack.frob.com>
46684         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
46685         intermediate file deletion.
46686         (generated): Add .symlist files.
46688 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
46690         [BZ #13775]
46691         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
46692         Redirect under this condition.
46693         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
46694         [__USE_GNU] (__dprintf_chk): Not under this condition.
46695         [__USE_GNU] (__vdprintf_chk): Likewise.
46696         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
46697         under this condition.
46698         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
46699         [__USE_XOPEN2K8] (dprintf): Define under this condition.
46700         [__USE_XOPEN2K8] (vdprintf): Likewise.
46701         [__USE_GNU] (__dprintf_chk): Not under this condition.
46702         [__USE_GNU] (__vdprintf_chk): Likewise.
46703         [__USE_GNU] (dprintf): Likewise.
46704         [__USE_GNU] (vdprintf): Likewise.
46706 2012-05-03  Roland McGrath  <roland@hack.frob.com>
46708         * elf/Makefile (common-generated): Set this instead of generated for
46709         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
46710         $(all-built-dso)-derived lists.
46712 2012-05-03  Andreas Jaeger  <aj@suse.de>
46714         * sysdeps/i386/fpu/libm-test-ulps: Update.
46716         * FAQ: Removed.
46717         * FAQ.in: Likewise.
46718         * scripts/gen-FAQ.pl: Likewise.
46719         * manual/install.texi (Installation): Point to online location of
46720         FAQ.
46721         * Makefile (files-for-dist): Remove FAQ.
46722         (FAQ): Remove.
46724 2012-05-02  Allan McRae  <allan@archlinux.org>
46726         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
46727         (LDFLAGS-reldepmod5.so): Likewise.
46728         (LDFLAGS-reldep6mod1.so): Likewise.
46729         (LDFLAGS-reldep6mod4.so): Likewise.
46730         (LDFLAGS-reldep8mod3.so): Likewise.
46731         (LDFLAGS-unload4mod1.so): Likewise.
46732         (LDFLAGS-unload4mod2.so): Likewise.
46733         (LDFLAGS-tst-initorder): Likewise.
46734         (LDFLAGS-tst-initordera2.so): Likewise.
46735         (LDFLAGS-tst-initordera3.so): Likewise.
46736         (LDFLAGS-tst-initordera4.so): Likewise.
46737         (LDFLAGS-tst-initorderb2.so): Likewise.
46738         (LDFLAGS-noload): Likewise.
46739         (LDFLAGS-next): Likewise.
46740         (LDFLAGS-order2mod1.so): Likewise.
46741         (LDFLAGS-order2mod2.so): Likewise.
46742         (LDFLAGS-tst-initorder2): Likewise.
46743         (LDFLAGS-tst-initorder2a.so): Likewise.
46744         (LDFLAGS-tst-initorder2b.so): Likewise.
46745         (LDFLAGS-tst-initorder2c.so): Likewise.
46746         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
46748 2012-05-02  David S. Miller  <davem@davemloft.net>
46750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46752 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
46754         [BZ #14055]
46755         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
46757 2012-05-02  Andreas Jaeger  <aj@suse.de>
46759         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
46760         since we manipulate rounding mode.
46761         (CPPFLAGS-test-idouble.c): Likewise.
46762         (CPPFLAGS-test-ifloat.c): Likewise.
46763         (CFLAGS-test-ldouble.c): Likewise.
46764         (CFLAGS-test-double.c): Likewise.
46765         (CFLAGS-test-float.c): Likewise.
46766         (CFLAGS-test-misc.c): Likewise.
46767         (CFLAGS-test-test-fenv.c): Likewise.
46769 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46771         [BZ #2550]
46772         [BZ #2570]
46773         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
46774         comparisons to determine direction to adjust input.
46776 2012-05-01  Roland McGrath  <roland@hack.frob.com>
46778         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
46779         output to the target.
46781         * scripts/localplt.awk: New file.
46782         * elf/Makefile ($(objpfx)check-localplt): Target removed.
46783         (check-localplt-CFLAGS): Variable removed.
46784         ($(all-built-dso:=.jmprel)): New static pattern rule.
46785         (generated): Add those targets.
46786         (localplt-built-dso): New variable.
46787         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
46789         * elf/check-localplt.c: File removed.
46791         * scripts/check-execstack.awk: New file.
46792         * elf/Makefile ($(objpfx)check-execstack): Target removed.
46793         (check-execstack-CFLAGS): Variable removed.
46794         ($(objpfx)check-execstack.h): Target removed.
46795         ($(objpfx)execstack-default): New target.
46796         (generated): Add that instead of check-execstack.h.
46797         ($(all-built-dso:=.phdr)): New static pattern rule.
46798         (generated): Add those targets.
46799         * elf/check-execstack.c: File removed.
46801         * scripts/check-textrel.awk: New file.
46802         * elf/Makefile ($(objpfx)check-textrel): Target removed.
46803         (check-textrel-CFLAGS): Variable removed.
46804         (all-built-dso): Use := to define.o
46805         ($(all-built-dso:=.dyn)): New static pattern rule.
46806         (generated): Add those targets.
46807         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
46808         * config.make.in (READELF): New substituted variable.
46809         * elf/check-textrel.c: File removed.
46811 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
46813         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46814         allow.
46815         * conform/data/ctype.h-data [C99-based standards] (isblank):
46816         Expect function.
46817         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
46818         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
46819         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46820         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
46821         Specify type.  Require positive value.
46822         (EILSEQ): Likewise.
46823         (ERANGE): Likewise.
46824         [ISO || POSIX] (EILSEQ): Do not expect.
46825         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
46826         Specify type.  Require positive value.
46827         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
46828         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
46829         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
46830         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
46831         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
46832         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
46833         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
46834         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
46835         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
46836         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
46837         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
46838         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
46839         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
46840         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
46841         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
46842         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
46843         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
46844         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
46845         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
46846         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
46847         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
46848         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
46849         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
46850         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
46851         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
46852         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
46853         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
46854         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
46855         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
46856         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
46857         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
46858         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
46859         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
46860         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
46861         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
46862         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
46863         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
46864         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
46865         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
46866         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
46867         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
46868         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
46869         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
46870         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
46871         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
46872         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
46873         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
46874         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
46875         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
46876         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
46877         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
46878         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
46879         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
46880         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
46881         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
46882         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
46883         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
46884         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
46885         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
46886         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
46887         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
46888         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
46889         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
46890         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
46891         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
46892         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
46893         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
46894         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
46895         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
46896         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
46897         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
46898         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
46899         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
46900         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
46901         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
46902         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
46903         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
46904         Require >= 2.
46905         (FLT_ROUNDS): Expect as macro, not constant.
46906         (FLT_MANT_DIG): Use macro-int-constant.
46907         (DBL_MANT_DIG): Likewise.
46908         (LDBL_MANT_DIG): Likewise.
46909         (FLT_DIG): Likewise.
46910         (DBL_DIG): Likewise.
46911         (LDBL_DIG): Likewise.
46912         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
46913         (DBL_MIN_EXP): Likewise.
46914         (LDBL_MIN_EXP): Likewise.
46915         (FLT_MAX_EXP): Use macro-int-constant.
46916         (DBL_MAX_EXP): Likewise.
46917         (LDBL_MAX_EXP): Likewise.
46918         (FLT_MAX_10_EXP): Likewise.
46919         (DBL_MAX_10_EXP): Likewise.
46920         (LDBL_MAX_10_EXP): Likewise.
46921         (FLT_MAX): Use macro-constant.
46922         (DBL_MAX): Likewise.
46923         (LDBL_MAX): Likewise.
46924         (FLT_EPSILON): Use macro-constant.  Give upper bound.
46925         (DBL_EPSILON): Likewise.
46926         (LDBL_EPSILON): Likewise.
46927         (FLT_MIN): Likewise.
46928         (DBL_MIN): Likewise.
46929         (LDBL_MIN): Likewise.
46930         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
46931         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
46932         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
46933         [ISO11] (FLT_HAS_SUBNORM): Likewise.
46934         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
46935         [ISO11] (DBL_DECIMAL_DIG): Likewise.
46936         [ISO11] (FLT_DECIMAL_DIG): Likewise.
46937         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
46938         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
46939         [ISO11] (FLT_TRUE_MIN): Likewise.
46940         [ISO11] (LDBL_TRUE_MIN): Likewise.
46941         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46942         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
46943         (SCHAR_MIN): Use macro-int-constant.  Specify type.
46944         (SCHAR_MAX): Likewise.
46945         (UCHAR_MAX): Likewise.
46946         (CHAR_MIN): Likewise.
46947         (CHAR_MAX): Likewise.
46948         (MB_LEN_MAX): Use macro-int-constant.
46949         (SHRT_MIN): Use macro-int-constant.  Specify type.
46950         (SHRT_MAX): Likewise.
46951         (USHRT_MAX): Likewise.
46952         (INT_MAX): Likewise.
46953         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
46954         bound negative.
46955         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
46956         bound with "U".
46957         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
46958         bound with "L".
46959         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
46960         bound negative.  Suffix upper bound with "L".
46961         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
46962         bound with "UL".
46963         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
46964         Specify type.
46965         [C99-based standards] (LLONG_MAX): Likewise.
46966         [C99-based standards] (ULLONG_MAX): Likewise.
46967         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
46968         == 0.
46969         [ISO11] (max_align_t): Require type.
46970         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46972         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
46973         from $CFLAGS, without defining away __attribute__ calls.
46974         (checknamespace): Use $CFLAGS_namespace.
46976         * conform/conformtest.pl (@keywords): Only include C99 keywords
46977         for standards based on C99 or C11.
46979         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
46980         Disable tests.
46981         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
46982         UNIX98]: Likewise.
46984         * conform/conformtest.pl: Handle "macro-int-constant" and test for
46985         usability of symbols in #if.
46987         * conform/conformtest.pl: If macro or constant types start
46988         "promoted:", expect the symbol to be of the following type
46989         promoted by the integer promotions.
46991         * conform/conformtest.pl: Parse all "constant" and "macro" lines
46992         in one place.  Also handle "macro-constant".
46994         * conform/conformtest.pl: Only accept expected macro values with
46995         "==".  Parse all "macro" lines in one place.
46996         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
46998         * conform/conformtest.pl: Handle braced types on "constant" lines
46999         instead of handling "typed-constant".
47000         * conform/data/signal.h-data: Use "constant" instead of
47001         "typed-constant".
47003         * conform/conformtest.pl: Handle "optional-" at start of lines in
47004         one place rather than duplicating several cases.  Handle each
47005         format of "macro" line with initial "optional-".
47007         * conform/conformtest.pl: Only accept expected constant or
47008         optional-constant values with "==".  Parse all "constant" lines in
47009         one place.  Parse all "optional-constant" lines in one place.
47010         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
47011         * conform/data/fmtmsg.h-data: Likewise.
47012         * conform/data/netinet/in.h-data: Likewise.
47013         * conform/data/tar.h-data: Likewise.
47014         * conform/data/limits.h-data: Use "==" form on "constant" and
47015         "optional-constant" lines.
47017         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
47018         Use -std=c99 for XOPEN2K.
47019         (@knownproblems): Remove.
47020         (newtoken): Don't check %isknown.
47022         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
47023         Do not expect macro.
47024         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
47025         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
47026         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
47027         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
47028         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
47029         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
47030         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
47031         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
47032         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
47033         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
47034         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
47035         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
47036         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
47037         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
47038         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
47039         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
47040         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
47041         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
47042         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
47043         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
47044         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
47045         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
47046         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
47047         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
47048         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
47049         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
47050         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
47051         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
47052         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
47053         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
47054         [XPG3] (acosh): Likewise.
47055         [XPG3] (asinh): Likewise.
47056         [XPG3] (atanh): Likewise.
47057         [XPG3] (cbrt): Likewise.
47058         [XPG3] (expm1): Likewise.
47059         [XPG3] (ilogb): Likewise.
47060         [XPG3] (log1p): Likewise.
47061         [XPG3] (logb): Likewise.
47062         [XPG3] (nextafter): Likewise.
47063         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
47064         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
47065         [XPG3] (remainder): Likewise.
47066         [XPG3] (rint): Likewise.
47067         [XPG3 || XPG4 || UNIX98] (round): Likewise.
47068         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
47069         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
47070         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
47071         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
47072         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
47073         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
47074         [UNIX98 || XOPEN2K] (scalb): Expect.
47075         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
47076         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
47077         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
47078         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
47079         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
47080         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
47081         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
47082         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
47083         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
47084         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
47085         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
47086         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
47087         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
47088         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
47089         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
47090         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
47091         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
47092         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
47093         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
47094         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
47095         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
47096         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
47097         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
47098         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
47099         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
47100         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
47101         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
47102         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
47103         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
47104         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
47105         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
47106         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
47107         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
47108         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
47109         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
47110         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
47111         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
47112         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
47113         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
47114         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
47115         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
47116         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
47117         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
47118         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
47119         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
47120         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
47121         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
47122         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
47123         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
47124         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
47125         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
47126         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
47127         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
47128         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
47129         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
47130         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
47131         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
47132         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
47133         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
47134         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
47135         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
47136         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
47137         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
47138         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
47139         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
47140         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
47141         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
47142         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
47143         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
47144         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
47145         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
47146         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
47147         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
47148         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
47149         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
47150         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
47151         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
47152         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
47153         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
47154         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
47155         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
47156         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
47157         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
47158         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
47159         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
47160         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
47161         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
47162         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
47163         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
47164         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
47165         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
47166         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
47167         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
47168         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
47169         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
47170         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
47171         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
47172         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
47173         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
47174         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
47175         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
47176         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
47177         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
47178         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
47179         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
47180         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
47181         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
47182         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
47183         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
47184         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
47185         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
47186         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
47187         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
47188         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
47189         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
47190         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
47191         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
47192         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
47193         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
47194         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
47195         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
47196         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
47197         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
47198         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
47199         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
47200         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
47201         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
47202         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
47203         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
47204         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
47205         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
47206         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
47207         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
47208         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
47209         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
47210         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
47211         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
47213         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
47214         _XOPEN_SOURCE_EXTENDED for XPG4.
47216         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
47218         * Makeconfig (localtime): Remove variable.
47219         (inst_localtime-file): Likewise.
47221 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47224         Update.
47225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47226         Update.
47227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47228         Update.
47229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47230         Update.
47231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47232         Update.
47233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
47234         Update.
47235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47236         Update.
47237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
47238         Update.
47239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47240         Update.
47242 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
47244         [BZ #2550]
47245         [BZ #2570]
47246         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
47247         comparisons to determine direction to adjust input.
47248         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
47249         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
47250         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
47251         Likewise.
47252         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
47253         Likewise.
47254         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47255         Likewise.
47256         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
47257         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
47258         Likewise.
47259         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
47260         Likewise.
47261         * math/libm-test.inc (nexttoward_test): Add more tests.
47263 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47265         [BZ #14040]
47266         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
47267         in version GLIBC_2.1, not GLIBC_2.0.
47268         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
47269         Likewise.
47271 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
47273         [BZ #13942]
47274         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
47275         (1 - x) * (1 + x).
47276         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47277         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
47278         * math/libm-test.inc (acos_test): Add more tests.
47279         (asin_test): Likewise.
47280         * sysdeps/i386/fpu/libm-test-ulps: Update.
47281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47283         [BZ #14034]
47284         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
47285         of square root.
47286         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
47287         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47288         * math/libm-test.inc (acos_test_tonearest): New function.
47289         (acos_test_towardzero): Likewise.
47290         (acos_test_downward): Likewise.
47291         (acos_test_upward): Likewise.
47292         (asin_test_tonearest): Likewise.
47293         (asin_test_towardzero): Likewise.
47294         (asin_test_downward): Likewise.
47295         (asin_test_upward): Likewise.
47296         (main): Call the new functions.
47297         * sysdeps/i386/fpu/libm-test-ulps: Update.
47298         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47300         [BZ #13884]
47301         [BZ #13924]
47302         * math/e_exp10.c: Include <float.h>.
47303         (__ieee754_exp10): Handle underflow here rather than multiplying
47304         large negative argument by M_LN10.
47305         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
47306         of __ieee754_expf.
47307         * math/e_exp10l.c: Include <float.h>.
47308         (__ieee754_exp10l): Handle underflow here rather than multiplying
47309         large negative argument by M_LN10l.
47310         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
47311         spurious overflow exception on underflow.
47313 2012-04-29  Marek Polacek  <polacek@redhat.com>
47315         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
47316         (__fortify_function): New macro.
47317         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
47318         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
47319         __extern_always_inline.
47320         * libio/bits/stdio2.h: Likewise.
47321         * libio/bits/stdio.h: Likewise.
47322         * string/string.h: Likewise.
47323         * string/bits/string3.h: Likewise.
47324         * include/stdio.h: Likewise.
47325         * stdlib/bits/stdlib.h: Likewise.
47326         * stdlib/stdlib.h: Likewise.
47327         * rt/bits/mqueue2.h: Likewise.
47328         * rt/mqueue.h: Likewise.
47329         * posix/bits/unistd.h: Likewise.
47330         * posix/unistd.h: Likewise.
47331         * io/bits/poll2.h: Likewise.
47332         * io/bits/fcntl2.h: Likewise.
47333         * io/fcntl.h: Likewise.
47334         * io/sys/poll.h: Likewise.
47335         * misc/bits/syslog.h: Likewise.
47336         * misc/bits/syslog-ldbl.h: Likewise.
47337         * misc/sys/syslog.h: Likewise.
47338         * socket/bits/socket2.h: Likewise.
47339         * socket/sys/socket.h: Likewise.
47340         * debug/tst-chk1.c: Likewise.
47341         * wcsmbs/bits/wchar2.h: Likewise.
47342         * wcsmbs/bits/wchar-ldbl.h: Likewise.
47343         * wcsmbs/wchar.h: Likewise.
47345 2012-04-29  Andreas Jaeger  <aj@suse.de>
47347         * Makerules (tests): Remove enable-check-abi protection.
47348         (check-abi-warn): Remove.
47349         (check-abi-%): Remove check-abi-warn usage.
47351         * configure.in: Remove check-abi configure option.
47352         * configure: Regenerated.
47353         * config.make.in (enable-check-abi): Remove.
47355 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
47357         [BZ #14033]
47358         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
47359         double functions to double *_finite functions.
47361         [BZ #13941]
47362         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
47363         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
47364         LDBL_MIN_EXP.
47365         * stdio-common/Makefile (tests): Add tst-sprintf3.
47366         * stdio-common/tst-sprintf3.c: New file.
47368         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
47369         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
47371 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
47373         * conform/conformtest.pl: Remove duplicate typed-constant
47374         handling.
47376 2012-04-28  David S. Miller  <davem@davemloft.net>
47378         * Makerules (%.abilist): Add vpath on sysdep_dirs.
47379         (check-abi-%): Remove AWK script prerequisite and explicit
47380         abilist directory.
47381         (check-abi): Rewrite to just diff the symlist with the abilist.
47382         (config-tls, config-abi-config): Delete, no longer used.
47383         (update-abi-%): Remove AWK script and explicit abilist directory.
47384         (update-abi): Rewrite to simply compare and conditionally copy the
47385         symlist and the sysdep abilist file.  Remove update-abi-config
47386         checks.
47387         * abilist/ld.abilist: Remove.
47388         * abilist/libBrokenLocale.abilist: Remove.
47389         * abilist/libanl.abilist: Remove.
47390         * abilist/libcrypt.abilist: Remove.
47391         * abilist/libdl.abilist: Remove.
47392         * abilist/librt.abilist: Remove.
47393         * abilist/libthread_db.abilist: Remove.
47394         * abilist/libutil.abilist: Remove.
47395         * scripts/extract-abilist.awk: Remove.
47396         * scripts/merge-abilist.awk: Remove.
47397         * sysdeps/generic/libcidn.abilist: New file.
47398         * sysdeps/generic/libnss_compat.abilist: New file.
47399         * sysdeps/generic/libnss_db.abilist: New file.
47400         * sysdeps/generic/libnss_dns.abilist: New file.
47401         * sysdeps/generic/libnss_files.abilist: New file.
47402         * sysdeps/generic/libnss_hesiod.abilist: New file.
47403         * sysdeps/generic/libnss_nis.abilist: New file.
47404         * sysdeps/generic/libnss_nisplus.abilist: New file.
47405         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
47406         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
47407         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
47408         file.
47409         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
47410         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
47411         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
47412         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
47413         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
47414         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
47415         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
47416         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
47417         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
47418         file.
47419         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
47420         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
47421         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
47422         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
47423         file.
47424         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
47425         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
47426         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
47427         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
47428         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
47429         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
47430         file.
47431         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
47432         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
47433         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
47434         file.
47435         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
47436         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
47437         New file.
47438         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
47439         New file.
47440         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
47441         New file.
47442         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
47443         New file.
47444         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
47445         New file.
47446         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
47447         New file.
47448         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
47449         New file.
47450         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
47451         New file.
47452         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
47453         New file.
47454         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
47455         New file.
47456         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
47457         New file.
47458         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
47459         New file.
47460         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
47461         New file.
47462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
47463         file.
47464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
47465         New file.
47466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
47467         New file.
47468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
47469         file.
47470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
47471         New file.
47472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
47473         New file.
47474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
47475         file.
47476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
47477         New file.
47478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47479         New file.
47480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
47481         New file.
47482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
47483         New file.
47484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
47485         New file.
47486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
47487         New file.
47488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
47489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
47490         file.
47491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
47492         New file.
47493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
47494         file.
47495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
47496         file.
47497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
47498         file.
47499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
47500         file.
47501         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
47502         file.
47503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47504         New file.
47505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
47506         file.
47507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
47508         file.
47509         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
47510         New file.
47511         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
47512         file.
47513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
47514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
47515         file.
47516         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
47517         New file.
47518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
47519         file.
47520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
47521         file.
47522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
47523         file.
47524         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
47525         file.
47526         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
47527         file.
47528         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47529         New file.
47530         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
47531         file.
47532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
47533         file.
47534         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
47535         New file.
47536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
47537         file.
47538         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47539         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
47540         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
47541         file.
47542         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
47543         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
47544         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
47545         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
47546         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
47547         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
47548         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
47549         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
47550         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
47551         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
47552         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
47553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
47554         file.
47555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
47556         New file.
47557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
47558         file.
47559         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
47560         file.
47561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
47562         file.
47563         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
47564         file.
47565         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
47566         file.
47567         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47568         New file.
47569         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
47570         New file.
47571         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
47572         file.
47573         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
47574         New file.
47575         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
47576         file.
47577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
47578         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
47579         file.
47580         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
47581         New file.
47582         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
47583         file.
47584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
47585         file.
47586         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
47587         file.
47588         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
47589         file.
47590         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
47591         file.
47592         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47593         New file.
47594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
47595         New file.
47596         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
47597         file.
47598         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
47599         New file.
47600         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
47601         file.
47603 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
47605         * conform/conformtest.pl: Fix typo in handling typed-constant from
47606         allow-header.
47608 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
47610         * README: Cut down references to pre-2.6 Linux kernels and
47611         Linuxthreads.  Update lists of configurations in libc and ports
47612         and sort alphabetically.  Say "or newer" with Linux kernel version
47613         requirements.
47615         * config.h.in [IS_IN_build]: Allow compiling without optimization.
47617 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47619         [BZ #887]
47620         * math/libm-test.inc (logb_test_downward): New test to expose
47621         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
47622         rounding mode.
47624 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
47626         [BZ #14027]
47627         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
47628         to be done.
47629         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
47630         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
47632 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
47634         * sysdeps/unix/i386/brk.S: Remove file.
47635         * sysdeps/unix/i386/dl-brk.S: Likewise.
47636         * sysdeps/unix/i386/pipe.S: Likewise.
47637         * sysdeps/unix/i386/sigreturn.S: Likewise.
47638         * sysdeps/unix/i386/syscall.S: Likewise.
47639         * sysdeps/unix/i386/vfork.S: Likewise.
47640         * sysdeps/unix/i386/wait.S: Likewise.
47642         * sysdeps/unix/common/tcsendbrk.c: Move to ...
47643         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
47645         * configure.in (arm*-none*): Do not allow without
47646         --enable-hacker-mode.
47647         (netbsd*): Remove case setting base_os.
47648         (386bsd*): Likewise.
47649         (freebsd*): Likewise.
47650         (bsdi*): Likewise.
47651         (osf*): Likewise.
47652         (sunos*): Likewise.
47653         (ultrix*): Likewise.
47654         (newsos*): Likewise.
47655         (dynix*): Likewise.
47656         (*bsd*): Likewise.
47657         (sysv*): Likewise.
47658         (isc*): Likewise.
47659         (esix*): Likewise.
47660         (sco*): Likewise.
47661         (minix*): Likewise.
47662         (irix4*): Likewise.
47663         (irix6*): Likewise.
47664         (solaris[2-9]*): Likewise.
47665         (none): Likewise.
47666         * configure: Regenerated.
47668 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47670         [BZ #11521]
47671         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
47672         overflow or cancellation in calculating denominator.
47673         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
47674         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
47675         down expression to avoid unexpected rounding in newer GCCs.
47676         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
47678 2012-04-26  David S. Miller  <davem@davemloft.net>
47680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
47681         long-double compat symbols.
47682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
47686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47687         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
47688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
47689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
47690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
47691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
47692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
47693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
47694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47696 2012-04-25  David S. Miller  <davem@davemloft.net>
47698         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
47699         HWCAP_* values only after the memory barriers have been defined.
47700         (atomic_full_barrier): Define.
47701         (atomic_read_barrier): Define.
47702         (atomic_write_barrier): Define.
47704 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47706         * shlib-versions: Add libgcc_s version information.
47707         * sysdeps/generic/libgcc_s.h: Remove.
47708         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
47709         libgcc_s.h.
47710         * sysdeps/gnu/unwind-resume.c: Likewise.
47711         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
47713 2012-04-25  David S. Miller  <davem@davemloft.net>
47715         * sysdeps/unix/sparc/brk.S: Delete.
47716         * sysdeps/unix/sparc/dl-brk.S: Delete.
47717         * sysdeps/unix/sparc/pipe.S: Delete.
47718         * sysdeps/unix/sparc/sysdep.S: Delete.
47719         * sysdeps/unix/sparc/sysdep.h: Delete.
47720         * sysdeps/unix/sparc/vfork.S: Delete.
47721         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
47722         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
47723         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
47724         (ret_ERRVAL, r0, r1, MOVE): Define.
47725         (JUMPTARGET): Remove.
47726         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
47727         sysdeps/unix/sparc/sysdep.h
47728         (ENTRY, END): Remove.
47729         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47731 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
47733         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
47734         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
47735         -DIS_IN_build.
47737         * timezone/README: Update upstream location and email address for
47738         tzcode and tzdata.
47739         * timezone/zdump.c: Update from tzcode 2012b.
47740         * timezone/zic.c: Likewise.
47742         * configure.in (libc_cv_as_needed): Remove test.
47743         * configure: Regenerated.
47744         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
47745         conditional definition.
47746         [$(have-as-needed) != yes] (no-as-needed): Likewise.
47747         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
47748         * config.make.in (have-as-needed): Remove variable.
47750 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47751             Paul Pluzhnikov  <ppluzhnikov@google.com>
47753         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
47754         strings correctly.
47756 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
47758         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
47759         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
47760         * sysdeps/sh/strlen.S: Likewise.
47762 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
47764         * sysdeps/unix/fork.S: Remove file.
47765         * sysdeps/unix/i386/fork.S: Likewise.
47766         * sysdeps/unix/sparc/fork.S: Likewise.
47768         * sysdeps/unix/system.c: Remove file.
47769         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
47771         * sysdeps/unix/getegid.S: Remove file.
47772         * sysdeps/unix/geteuid.S: Likewise.
47774 2012-04-24  Roland McGrath  <roland@hack.frob.com>
47776         * scripts/check-localplt.awk: New file.
47777         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
47778         of diff.
47779         * scripts/data/localplt-generic.data: Add a comment.
47781         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
47782         NODE when __dir_mkfile failed.
47783         * sysdeps/mach/hurd/symlinkat.c: Likewise.
47784         Reported by Ludovic Courtès <ludo@gnu.org>.
47786 2012-04-24  Andreas Jaeger  <aj@suse.de>
47788         * Makerules (common-clean): Also remove gen-as-const-headers
47789         files.
47791 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
47793         * Makerules (native-compile): Do not change working directory for
47794         build.  Use $(OUTPUT_OPTION) in command.
47795         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
47797 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47799         [BZ #13886]
47800         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
47801         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
47802         * math/libm-test.inc (floor_test): Add more tests.
47803         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
47805 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
47807         * sysdeps/unix/getdents.c: Remove file.
47808         * sysdeps/unix/sysv/getdents.c: Likewise.
47809         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
47811         * sysdeps/unix/syscalls.list (madvise): Add syscall from
47812         sysdeps/unix/mman/syscalls.list.
47813         (mmap): Likewise.
47814         (mprotect): Likewise.
47815         (msync): Likewise.
47816         (munmap): Likewise.
47817         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
47818         * sysdeps/unix/mman/syscalls.list: Remove.
47819         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
47821         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
47822         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
47823         * configure: Regenerated.
47824         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
47825         $(libgcc_s_suffix).
47826         * config.make.in (libgcc_s_suffix): Remove variable.
47828 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
47830         * sysdeps/unix/sysv/gethostname.c: Move to ...
47831         * sysdeps/posix/gethostname.c: ... here.
47833         * sysdeps/unix/execve.S: Remove file.
47835         * sysdeps/unix/_exit.S: Remove file.
47837 2012-04-23  Andreas Jaeger  <aj@suse.de>
47839         [BZ #13739]
47840         * manual/Makefile: Remove make dist support, there's no
47841         need for a stand-alone documentation tar ball.
47842         (TEXI2DVI): Define always, it's not in Makeconfig.
47843         (dist): Removed.
47844         (tar-it): Removed.
47845         (edition): Removed.
47846         (glibc-doc-$(edition).tar): Removed
47847         (%.Z): Removed.
47848         (%.gz): Removed.
47849         (%.uu): Removed.
47850         (ETAGS): Remove, it's in Makeconfig.
47851         (move-if-change): Remove, it's in Makeconfig.
47853 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
47855         [BZ #13970]
47856         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
47857         (strtod, strtof, strtold, strtol, strtoul, strtoq)
47858         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
47859         (strtod_l, strtof_l, strtold_l): Remove __wur.
47860         It is not necessarily an error to ignore strtol's return value.
47861         One can reliably look at the stored endptr to decide whether
47862         the number had valid syntax.
47864 2012-04-21  Andreas Jaeger  <aj@suse.de>
47866         [BZ #13739]
47867         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
47869 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
47871         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
47872         * sysdeps/unix/sysv/Versions: Remove file.
47874 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
47876         [BZ #13927]
47877         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47879 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
47881         [BZ #7064]
47882         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
47883         version from __vm86.
47885 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
47887         * sysdeps/unix/common/lxstat.c: Remove file.
47888         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
47890         * sysdeps/unix/sysv/Makefile: Remove file.
47892         * sysdeps/unix/sysv/direct.h: Remove file.
47894         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
47895         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
47896         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
47897         * sysdeps/unix/sysv/bits/signum.h: Likewise.
47898         * sysdeps/unix/sysv/bits/stat.h: Likewise.
47899         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
47900         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
47902         * sysdeps/unix/sysv/setrlimit.c: Remove file.
47904         * sysdeps/unix/xmknod.c: Remove file.
47905         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
47907         * sysdeps/unix/sysv/settimeofday.c: Remove file.
47909         * sysdeps/unix/sysv/i386/time.S: Remove file.
47911         * sysdeps/unix/fxstat.c: Remove file.
47912         * sysdeps/unix/xstat.c: Likewise.
47913         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
47915         * sysdeps/unix/sysv/sigaction.c: Remove file.
47917         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
47918         (sysdep_headers): Remove variable.
47919         [termio.h not in sysdep_headers] (generated): Likewise.
47920         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
47921         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
47922         * sysdeps/unix/sysv/tcdrain.c: Likewise.
47923         * sysdeps/unix/sysv/tcflow.c: Likewise.
47924         * sysdeps/unix/sysv/tcflush.c: Likewise.
47925         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
47926         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
47927         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
47928         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
47929         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
47931         * sysdeps/unix/siglist.c: Remove file.
47933         * sysdeps/unix/getppid.S: Remove file.
47935         * sysdeps/unix/mkdir.c: Remove file.
47936         * sysdeps/unix/rmdir.c: Likewise.
47938 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
47940         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
47941         ERR_MAX value.
47942         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
47943         errlist-compat value.
47945 2012-04-18  David S. Miller  <davem@davemloft.net>
47947         * sysdeps/generic/memcopy.h (reg_char): Delete.
47948         * debug/strcat_chk.c: Use char, not reg_char.
47949         * debug/strcpy_chk.c: Likewise.
47950         * debug/strncat_chk.c: Likewise.
47951         * debug/strncpy_chk.c: Likewise.
47952         * string/memchr.c: Likewise.
47953         * string/memrchr.c: Likewise.
47954         * string/rawmemchr.c: Likewise.
47955         * string/strcat.c: Likewise.
47956         * string/strchr.c: Likewise.
47957         * string/strchrnul.c: Likewise.
47958         * string/strcmp.c: Likewise.
47959         * string/strcpy.c: Likewise.
47960         * string/strncat.c: Likewise.
47961         * string/strncmp.c: Likewise.
47962         * string/strncpy.c: Likewise.
47964 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
47966         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
47967         __builtin_memcopy is called when src and dest ranges are known to not
47968         overlap.
47970 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
47972         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
47973         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
47974         fwd_align_merge macro call.
47975         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
47976         bwd_align_merge macro call.
47977         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47979 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
47981         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
47982         bwd_align_merge macros.
47983         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
47984         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
47985         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47987 2012-04-18  David S. Miller  <davem@davemloft.net>
47989         * sysdeps/sparc/sparc64/memcopy.h: Delete.
47991 2012-04-18  Andreas Jaeger  <aj@suse.de>
47993         [BZ# 6794]
47994         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
47995         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
47996         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47998         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
47999         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
48000         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48002         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
48003         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
48004         Adjust for changed ldbl-128 files.
48006         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
48007         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
48008         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48010 2012-04-17  David S. Miller  <davem@davemloft.net>
48012         * sysdeps/sparc/sparc32/memcopy.h: Delete.
48014 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
48016         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
48017         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
48018         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
48019         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
48020         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48021         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
48023 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48025         [BZ #6794]
48026         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
48027         * math/libm-test.inc: Add ilogb errno and exception tests.
48028         * math/w_ilogb.c: New file: ilogb wrapper.
48029         * math/w_ilogbf.c: New file: ilogbf wrapper.
48030         * math/w_ilogbl.c: New file: ilogbl wrapper.
48031         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
48032         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
48033         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
48034         exception being thrown with 0.0 as argument.
48035         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
48036         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
48037         exception being thrown with 0.0 as argument.
48038         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
48039         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48040         exception being thrown with 0.0 as argument.
48041         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
48042         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48043         exception being thrown with 0.0 as argument.
48044         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
48045         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
48046         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
48047         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
48048         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
48049         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
48050         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
48051         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
48052         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
48054 2012-04-17  Petr Baudis  <pasky@ucw.cz>
48056         * include/sys/uio.h: Change __vector to __iovec to avoid clash
48057         with altivec.
48059 2012-04-16  Marek Polacek  <polacek@redhat.com>
48061         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
48063 2012-04-16  Marek Polacek  <polacek@redhat.com>
48065         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
48066         operands of fdivp instruction.
48068 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
48070         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
48071         * elf/tst-auditmod3b.c: Likewise.
48072         * elf/tst-auditmod4b.c: Likewise.
48073         * elf/tst-auditmod5b.c: Likewise.
48074         * elf/tst-auditmod6b.c: Likewise.
48075         * elf/tst-auditmod6c.c: Likewise.
48076         * elf/tst-auditmod7b.c: Likewise.
48077         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
48078         * sysdeps/x86_64/preconfigure.in: Likewise.
48079         * sysdeps/x86_64/preconfigure: Regenerated.
48081 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
48083         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
48084         __ILP32__.
48086 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
48088         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48089         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
48091 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
48093         [BZ #13973]
48094         * locale/iso-639.def: Fix gl language name. Spotted by
48095         Yaron Shahrabani.
48097 2012-04-12  Roland McGrath  <roland@hack.frob.com>
48099         [BZ #2074]
48100         * libio/libio.h (__io_write_fn): Update comment.
48102 2012-04-12  Petr Baudis  <pasky@ucw.cz>
48104         [BZ #2074]
48105         * stdio.texi (Hook Functions): The user provided writer function
48106         is not allowed to return -1.
48108 2012-04-11  David S. Miller  <davem@davemloft.net>
48110         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48112 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
48114         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
48115         Add a leading slash to rtkaio.
48117 2012-04-11  Jim Meyering  <meyering@redhat.com>
48119         [BZ #11959]
48120         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
48121         It is not necessarily an error to ignore fwrite's return
48122         value.  One can reliably use ferror to test for errors after
48123         the fact.
48125 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
48127         * bits/types.h (__snseconds_t): New type.
48128         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
48130         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
48131         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48132         (__SNSECONDS_T_TYPE): Likewise.
48133         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48134         (__SNSECONDS_T_TYPE): Likewise.
48135         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48136         (__SNSECONDS_T_TYPE): Likewise.
48138 2012-04-10  Andreas Jaeger  <aj@suse.de>
48140         [BZ #2636]
48141         * manual/time.texi (Processor Time): Return type of times is
48142         elapsed real time since an arbitrary point in the past.
48143         (CPU Time): Move CLK_TCK from here...
48144         (Processor Time): ...to here.  Correct description.
48145         * manual/conf.texi (Constants for Sysconf): Correct description of
48146         _SC_CLK_TCK.
48148 2012-04-10  David S. Miller  <davem@davemloft.net>
48150         [BZ #13967]
48151         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
48152         where the is a gap between DT_REL(A) and DT_JMPREL.
48154 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
48156         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
48157         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48158         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48160 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48162         * elf/dl-support.c (_dl_inhibit_cache): New variable.
48163         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
48164         (dl_main): Handle --inhibit-cache.
48165         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
48166         _dl_inhibit_cache.
48167         * elf/dl-load.c (_dl_map_object): Use it.
48168         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
48170 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
48172         [BZ #13872]
48173         * sysdeps/i386/fpu/e_powl.S (p78): New object.
48174         (__ieee754_powl): Saturate large exponents rather than testing for
48175         overflow of y*log2(x).
48176         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48177         * math/libm-test.inc (pow_test): Do not permit spurious overflow
48178         exceptions.
48180         [BZ #11521]
48181         * math/s_ctan.c: Include <float.h>.
48182         (__ctan): Avoid internal overflow or cancellation in calculating
48183         denominator.
48184         * math/s_ctanf.c: Likewise.
48185         * math/s_ctanl.c: Likewise.
48186         * math/s_ctanh.c: Likewise.
48187         * math/s_ctanhf.c: Likewise.
48188         * math/s_ctanhl.c: Likewise.
48189         * math/libm-test.inc (ctan_test): Add more tests.
48190         (ctanh_test): Likewise.
48191         * sysdeps/i386/fpu/libm-test-ulps: Update.
48192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48194 2012-04-09  Andreas Jaeger  <aj@suse.de>
48196         [BZ #6894]
48197         * manual/filesys.texi (Directory Entries): Mention that d_namlen
48198         is an optional BSD extension.
48200         [BZ #10254]
48201         * manual/stdio.texi (Opening Streams): Document additional fopen
48202         parameters.
48204 2012-04-09  Roland McGrath  <roland@hack.frob.com>
48206         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
48207         %eax without telling the compiler.
48209 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
48211         [BZ # 13963]
48212         * manual/install.texi: Use sourceware.org.
48214 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
48216         [BZ #13873]
48217         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
48218         (__ieee754_pow): Generate overflow and underflow using huge*huge
48219         and tiny*tiny rather than just returning constant infinity or zero
48220         for large exponents.
48221         * math/libm-test.inc (pow_test): Require overflow exceptions for
48222         applicable cases of large exponents.
48224         [BZ #706]
48225         * sysdeps/i386/fpu/e_pow.S (p10): New object.
48226         (__ieee754_pow): Use iterative multiplication algorithm only for
48227         integer exponents with absolute value below 1024.  Check for odd
48228         integer exponents when using algorithm for real exponents.
48229         * math/libm-test.inc (pow_test): Add more tests.
48230         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48232 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
48234         [BZ #13705]
48235         * math/libm-test.inc (exp_test): Do not allow overflow exception
48236         on underflow test.
48238 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
48240         [BZ #13705]
48241         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
48242         instead of __kernel_standard_f.
48244 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
48246         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
48247         * sysdeps/x86_64/memset_chk.S: Likewise.
48249 2012-04-08  Andreas Jaeger  <aj@suse.de>
48251         [BZ #10153]
48252         * manual/startup.texi (Environment Access): Describe return value
48253         for putenv and setenv.
48255         [BZ #6895]
48256         * manual/filesys.texi (Directory Entries): Add description for
48257         DT_LNK.
48259         [BZ #6890]
48260         * manual/filesys.texi (Directory Entries): Clarify that it's file
48261         system not operating system in the description of DT_UNKNOWN.
48263         [BZ #6578]
48264         * manual/syslog.texi (closelog): Fix reference, it's openlog.
48266 2012-04-08  Stephen Compall  <s11@member.fsf.org>
48268         [BZ #6649]
48269         * manual/llio.texi (Opening and Closing Files): Add cross
48270         reference to explain mode argument.
48272 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
48274         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
48275         * sysdeps/x86_64/memset_chk.S: Likewise.
48277 2012-04-07  David S. Miller  <davem@davemloft.net>
48279         * elf/elf.h (R_SPARC_WDISP10): Define.
48280         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
48281         R_SPARC_SIZE32.
48282         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
48283         R_SPARC_SIZE64 and R_SPARC_H34.
48285 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
48287         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
48288         conditions and remove no longer applicable assertion.
48290 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
48292         * bits/byteswap.h: Include <features.h>.
48293         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48294         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48296 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
48298         * bits/byteswap.h (__bswap_16): Removed.
48299         Include <bits/byteswap-16.h> to get __bswap_16.
48300         * sysdeps/i386/bits/byteswap.h: Likewise.
48301         * sysdeps/s390/bits/byteswap.h: Likewise.
48302         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48303         * bits/byteswap-16.h: New file.
48304         * sysdeps/i386/bits/byteswap-16.h: Likewise.
48305         * sysdeps/s390/bits/byteswap-16.h: Likewise.
48306         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
48307         * string/Makefile (headers): Add bits/byteswap-16.h.
48309 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48311         [BZ #13895]
48312         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
48313         extra indirection.
48314         * nss/Makefile (tests-static, tests): Add tst-nss-static.
48315         * nss/tst-nss-static.c: New.
48317 2012-04-06  Robert Millan  <rmh@gnu.org>
48319         [BZ #6486]
48320         * manual/llio.texi (File Position Primitive): lseek
48321         refers to WHENCE when it really means OFFSET.
48323 2012-04-06  Andreas Jaeger  <aj@suse.de>
48325         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
48326         strncmp declarations.
48328         * abilist/libc.abilist: Add __poll and __ppoll.
48330 2012-04-05  David S. Miller  <davem@davemloft.net>
48332         * scripts/check-local-headers.sh: Accept a host triplet in the
48333         path matched by the exclude regexp.
48335         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
48336         definition.
48337         * sysdeps/powerpc/powerpc32/dl-machine.h
48338         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
48339         * sysdeps/s390/s390-32/dl-machine.h
48340         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48341         * sysdeps/sparc/sparc32/dl-machine.h
48342         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48343         * sysdeps/sparc/sparc64/dl-machine.h
48344         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48346         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
48347         lazy binding.
48348         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
48349         undefined symbol errors.
48351         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
48352         DT_NEEDED entries.
48354 2012-04-05  Michael Matz  <matz@suse.de>
48356         [BZ #13592]
48357         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
48359 2012-04-05  Andreas Jaeger  <aj@suse.de>
48361         [BZ #13908]
48362         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
48363         comment.
48365 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48367         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
48368         which ROUND is no valid rounding mode.
48370 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48372         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
48373         read again.
48374         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
48376 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48378         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
48379         an exception using FPU order intentionally.
48381 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48383         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
48384         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
48385         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
48386         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
48388 2012-04-05  Simon Josefsson  <simon@josefsson.org>
48390         [BZ #12340]
48391         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
48392         EINVAL when BUFLEN is too smal.
48394 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
48396         [BZ #13553]
48397         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
48398         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
48400 2012-04-03  Andreas Jaeger  <aj@suse.de>
48402         [BZ #13938]
48403         * manual/setjmp.texi (System V contexts): Fix sentence.
48405         [BZ #13926]
48406         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
48407         New macro for this case.
48408         [!__GNUC__] (__bswap_64): New inline function for this case.
48409         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48410         * bits/byteswap.h: Likewise.
48411         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
48412         ull, guard with __GLIBC_HAVE_LONG_LONG.
48414         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
48415         __GLIBC_HAVE_LONG_LONG.
48417         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
48418         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
48420 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48422         [BZ #13691]
48423         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
48424         inptr and inend, rather than using last_ch.
48426 2012-04-02  David S. Miller  <davem@davemloft.net>
48428         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
48429         * stdio-common/printf-parse.h (read_int): Change return type to
48430         'int', return -1 on INT_MAX overflow.
48431         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
48432         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
48433         overflows INT_MAX.  Check for overflow of in-format-string precision
48434         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
48435         SIZE_MAX not INT_MAX for integer overflow test.
48436         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
48437         skip the construct in the format string but do not record anything.
48438         * stdio-common/bug22.c: Adjust to test both width/prevision
48439         INT_MAX overflow as well as total length INT_MAX overflow.  Check
48440         explicitly for proper errno values.
48442 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
48444         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
48445         CHAR_MAX.
48446         * string/test-strcmp.c [! WIDE]: Likewise.
48447         * time/tst-mktime2.c: Likewise for INT_MAX.
48448         * string/test-string.h: #include <sys/param.h> for MIN.
48450         * csu/init-first.c (__libc_init_first): Call __ctype_init.
48451         * sysdeps/i386/init-first.c (init): Likewise.
48452         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
48453         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
48454         * sysdeps/sh/init-first.c (init): Likewise.
48456 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
48458         * po/ru.po: Update from translation team.
48459         * po/vi.po: Likewise.
48461 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
48463         * resolv/nss_dns/dns-host.c: Merge copyright years.
48465 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48467         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48468         Optimize memcpy with prefetch if
48469         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
48470         src, dst pointers have unequal 16 byte alignments.
48472 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48474         [BZ #13928]
48475         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
48476         from a CNAME entry and return the minimum ttl for the query.
48477         (gaih_getanswer_slice): Likewise.
48479 2012-03-30  Jeff Law  <law@redhat.com>
48481         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
48482         due to long keys.
48483         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
48484         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
48486         * resolv/nss_dns/dns-host.c: Update copyright year.
48488 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
48490         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
48491         requests to save a system call.  Fix check that all bytes are sent.
48493         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
48494         comments for sendmmsg.
48496 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48498         [BZ #13691]
48499         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
48500         with only 1 character between 0x0041 and 0x01b0.
48501         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
48502         * wcsmbs/tst-mbsnrtowcs.c: New file.
48504 2012-03-29  David S. Miller  <davem@davemloft.net>
48506         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
48507         small copies by hand.
48509 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48511         [BZ #13761]
48512         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
48513         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
48514         group memberships.
48516 2012-03-28  David S. Miller  <davem@davemloft.net>
48518         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
48519         that branches into memcpy.
48520         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48521         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
48522         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48523         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
48524         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
48525         bits.
48526         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
48527         implementation too.
48528         * sysdeps/sparc/mempcpy.S: New file.
48530         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
48531         the IFUNC routine in the libc case.
48532         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48534         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
48535         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
48536         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
48537         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
48538         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
48539         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
48540         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
48541         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
48543         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
48544         loop to 256 bytes instead of 64 bytes and fix test signedness.
48546         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
48547         * sysdeps/sparc/sparc32/Makefile: rather than here...
48548         * sysdeps/sparc/sparc64/Makefile: and here.
48550 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
48552         * malloc/mallocbug.c: Avoid warnings about unused variables.
48554 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48556         [BZ #13760]
48557         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
48558         in the right place. Discard and retry query if response is
48559         larger than input buffer size.
48561 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
48563         [BZ #369]
48564         [BZ #2678]
48565         [BZ #3866]
48566         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
48567         x for large integer exponent.
48568         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48569         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
48570         sign of result as needed afterwards.
48571         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48572         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
48573         result for underflowing pow the same as for overflow.
48574         (__kernel_standard_l): Handle powl overflow and underflow here
48575         rather than calling __kernel_standard.
48576         * math/libm-test.inc (pow_test): Add more tests.
48578         [BZ #3868]
48579         [BZ #13879]
48580         [BZ #13910]
48581         [BZ #13911]
48582         [BZ #13912]
48583         [BZ #13913]
48584         [BZ #13915]
48585         [BZ #13916]
48586         [BZ #13917]
48587         [BZ #13918]
48588         [BZ #13919]
48589         [BZ #13920]
48590         [BZ #13921]
48591         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
48592         * sysdeps/ieee754/k_standard.c: Include <float.h>.
48593         (__kernel_standard_l): New function.
48594         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
48595         __kernel_standard.
48596         * math/w_acosl.c (__acosl): Likewise.
48597         * math/w_asinl.c (__asinl): Likewise.
48598         * math/w_atan2l.c (__atan2l): Likewise.
48599         * math/w_atanhl.c (__atanhl): Likewise.
48600         * math/w_coshl.c (__coshl): Likewise.
48601         * math/w_exp10l.c (__exp10l): Likewise.
48602         * math/w_exp2l.c (__exp2l): Likewise.
48603         * math/w_fmodl.c (__fmodl): Likewise.
48604         * math/w_hypotl.c (__hypotl): Likewise.
48605         * math/w_j0l.c (__j0l, __y0l): Likewise.
48606         * math/w_j1l.c (__j1l, __y1l): Likewise.
48607         * math/w_jnl.c (__jnl, __ynl): Likewise.
48608         * math/w_lgammal.c (__lgammal): Likewise.
48609         * math/w_log10l.c (__log10l): Likewise.
48610         * math/w_log2l.c (__log2l): Likewise.
48611         * math/w_logl.c (__logl): Likewise.
48612         * math/w_powl.c (__powl): Likewise.
48613         * math/w_remainderl.c (__remainderl): Likewise.
48614         * math/w_scalbl.c (sysv_scalbl): Likewise.
48615         * math/w_sinhl.c (__sinhl): Likewise.
48616         * math/w_sqrtl.c (__sqrtl): Likewise.
48617         * math/w_tgammal.c (__tgammal): Likewise.
48618         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
48619         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
48620         * math/libm-test.inc (acos_test): Add more tests.
48621         (acosh_test): Likewise.
48622         (asin_test): Likewise.
48623         (atanh_test): Likewise.
48624         (exp_test): Likewise.
48625         (exp10_test): Likewise.
48626         (exp2_test): Likewise.
48627         (expm1_test): Likewise.
48628         (lgamma_test): Likewise.
48629         (log_test): Likewise.
48630         (log10_test): Likewise.
48631         (log1p_test): Likewise.
48632         (log2_test): Likewise.
48633         (pow_test): Do not allow some spurious overflow exceptions.
48634         (sqrt_test): Add more tests.
48635         (tgamma_test): Likewise.
48636         (y0_test): Likewise.
48637         (y1_test): Likewise.
48638         (yn_test): Likewise.
48640 2012-03-27  Anton Blanchard  <anton@samba.org>
48642         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
48643         MAP_HUGETLB.
48644         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48645         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48646         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48648 2012-03-27  David S. Miller  <davem@davemloft.net>
48650         * conform/Makefile: Run run-conformtest.sh using $(BASH).
48652         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
48653         have-as-vis3 check.
48655 2012-03-27  Andreas Jaeger  <aj@suse.de>
48657         * sysdeps/x86_64/elf/configure.in: Moved to ...
48658         * sysdeps/x86_64/configure.in: ... here.
48659         * sysdeps/x86_64/elf/start.S: Moved to ...
48660         * sysdeps/x86_64/start.S: ... here.
48661         * sysdeps/x86_64/elf/configure: Delete.
48663         * sysdeps/x86_64/configure.in: Merge contents from
48664         sysdeps/i386/configure.in (without i686 check).
48666         * sysdeps/i386/elf/Versions: Merge into ...
48667         * sysdeps/i386/Versions: ... this.
48668         * sysdeps/i386/elf/Versions: Delete file.
48669         * sysdeps/i386/elf/start.S: Moved to ...
48670         * sysdeps/i386/start.S: ...here.
48671         * sysdeps/i386/elf/configure.in: Merge into...
48672         * sysdeps/i386/configure.in: ...here.
48673         * sysdeps/i386/elf/configure.in: Delete file.
48674         * sysdeps/i386/elf/configure: Delete file.
48676         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
48677         * debug/backtracesyms.c: ... here.
48678         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
48679         * debug/backtracesymsfd.c: ... here.
48680         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
48681         * sysdeps/generic/ifunc-sel.h: ... here.
48683         * sysdeps/unix/i386/start.c: Delete file.
48684         * sysdeps/unix/sparc/start.c: Delete file.
48685         * sysdeps/unix/start.c: Delete file.
48687         * sysdeps/sh/elf/configure.in: Moved to ...
48688         * sysdeps/sh/configure.in: ... here.
48689         * sysdeps/sh/elf/start.S: Moved to ...
48690         * sysdeps/sh/start.S: ... here.
48691         * sysdeps/sh/elf/configure: Delete file.
48693         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
48694         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
48695         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
48696         * sysdeps/powerpc/powerpc64/entry.h: ... here.
48697         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
48698         * sysdeps/powerpc/powerpc64/start.S: here.
48699         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
48700         * sysdeps/powerpc/powerpc64/Makefile: ... this.
48701         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
48702         * sysdeps/powerpc/powerpc64/configure.in: ... this.
48703         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
48705         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
48706         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
48707         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
48708         * sysdeps/powerpc/powerpc32/start.S: ... here.
48709         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
48710         * sysdeps/powerpc/powerpc32/configure.in: ... this.
48711         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
48713         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
48714         * sysdeps/powerpc/ifunc-sel.h: ... here.
48715         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
48716         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
48718         * sysdeps/sparc/elf/configure.in: Moved to ...
48719         * sysdeps/sparc/configure.in: ... here.
48720         * sysdeps/sparc/elf/configure: Delete file.
48721         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
48722         * sysdeps/sparc/sparc32/start.S: ... here.
48723         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
48724         * sysdeps/sparc/sparc64/start.S: ... here.
48725         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
48726         * sysdeps/sparc/sparc32/Makefile: ... this.
48727         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
48728         * sysdeps/sparc/sparc64/Makefile: ... this.
48730         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
48731         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
48732         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
48733         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
48734         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
48735         * sysdeps/s390/s390-32/setjmp.S: ... here.
48736         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
48737         * sysdeps/s390/s390-32/configure.in: ... here.
48738         * sysdeps/s390/s390-32/elf/configure: Delete file.
48739         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
48740         * sysdeps/s390/s390-32/start.S: ... here.
48742         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
48743         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
48744         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
48745         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
48746         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
48747         * sysdeps/s390/s390-64/setjmp.S: ... here.
48748         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
48749         * sysdeps/s390/s390-64/configure.in: ... here
48750         * sysdeps/s390/s390-64/elf/configure: Delete file.
48751         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
48752         * sysdeps/s390/s390-64/start.S: ... here.
48753         * sysdeps/s390/s390-64/elf/configure: Delete.
48755         * configure.in: Remove support for elf directories in sysdeps.
48757         * configure: Regenerated.
48758         * sysdeps/i386/configure: Regenerated.
48759         * sysdeps/powerpc/powerpc32/configure: Regenerated.
48760         * sysdeps/powerpc/powerpc64/configure: Regenerated.
48761         * sysdeps/s390/s390-32/configure: Regenerated.
48762         * sysdeps/s390/s390-64/configure: Regenerated.
48763         * sysdeps/sh/configure: Regenerated.
48764         * sysdeps/sparc/configure: Regenerated.
48765         * sysdeps/x86_64/configure: Regenerated.
48767 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
48769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48771         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
48772         denormal result into account.
48774 2012-03-25  Roland McGrath  <roland@hack.frob.com>
48776         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
48777         Reported by Allan McRae <allan@archlinux.org>.
48779 2012-03-23  Jeff Law  <law@redhat.com>
48781         * nss/getnssent.c (__nss_getent): Fix typo.
48783 2012-03-23  David S. Miller  <davem@davemloft.net>
48785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48787 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
48789         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
48790         to pad to uint64_t for each field.
48791         (dl_tls_index): Replace unsigned long with uint64_t.
48793 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
48794         Paul Pluzhnikov  <ppluzhnikov@google.com>
48796         [BZ #6528]
48797         * grp/Makefile (otherlibs): Don't set it.
48798         * inet/Makefile (otherlibs): Likewise.
48799         * login/Makefile (otherlibs): Likewise.
48800         * nscd/Makefile (otherlibs): Likewise.
48801         * posix/Makefile (otherlibs): Likewise.
48802         * pwd/Makefile (otherlibs): Likewise.
48803         * rt/Makefile (otherlibs): Likewise.
48804         * sunrpc/Makefile (otherlibs): Likewise.
48805         * nss/Makefile (otherlibs): Likewise.
48806         Add libnss_files to routines and static-only-routines.
48807         ($(objpfx)getent): Remove rule.
48808         * resolv/Makefile: Add libnss_dns and libresolv to routines and
48809         static-only-routines.
48811 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
48813         [BZ #13892]
48814         * math/s_cexp.c: Include <float.h>.
48815         (__cexp): Handle exp result overflowing not necessarily
48816         overflowing both real and imaginary parts of result.
48817         * math/s_cexpf.c: Likewise.
48818         * math/s_cexpl.c: Likewise.
48819         * math/libm-test.inc (cexp_test): Add more tests.
48820         * sysdeps/i386/fpu/libm-test-ulps: Update.
48821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48823 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
48825         * include/link.h (ELFW): New macro.
48826         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
48827         Replace ELF64_R_TYPE with ELFW(R_TYPE).
48829 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
48831         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
48832         with uint64_t.
48834 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
48836         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
48837         declaration.
48838         (struct La_x32_retval): Likewise.
48840 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
48842         * sysdeps/x86_64/preconfigure.in: New file.
48843         * sysdeps/x86_64/preconfigure: New generated file.
48845 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
48847         [BZ #13824]
48848         * math/e_exp2l.c: Include <float.h>.
48849         (__ieee754_exp2l): Handle overflow and underflow cases
48850         separately.  Only pass fractional part of argument to
48851         __ieee754_expl.
48852         * math/libm-test.inc (exp2_test): Add more tests.
48854         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
48855         negating x to take absolute value.
48856         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
48857         Likewise.
48858         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
48859         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
48860         Likewise.
48861         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
48862         computing low part if x was negated.
48863         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
48865 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
48867         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
48868         la_x32_gnu_pltexit.
48869         (pltexit): Cast int_retval to ptrdiff_t.
48870         * elf/tst-auditmod3b.c: Likewise.
48871         * elf/tst-auditmod4b.c: Likewise.
48872         * elf/tst-auditmod5b.c: Likewise.
48873         * elf/tst-auditmod6b.c: Likewise.
48874         * elf/tst-auditmod6c.c: Likewise.
48875         * elf/tst-auditmod7b.c: Likewise.
48877         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
48878         and x32_gnu_pltexit.
48880         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
48881         __ELF_NATIVE_CLASS.
48882         (La_x32_regs): New macro.
48883         (La_x32_retval): Likewise.
48884         (la_x32_gnu_pltenter): New function prototype.
48885         (la_x32_gnu_pltexit): Likewise.
48887 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
48889         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
48890         exponent.
48892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48894         * configure.in (libc_cv_cc_nofma): Check for option to disable
48895         generation of FMA instructions.
48896         * configure: Regenerate.
48897         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
48898         * sysdeps/ieee754/dbl-64/Makefile: New file.
48899         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
48900         Remove brandred-fma4.
48901         (CFLAGS-brandred-fma4.c): Remove.
48902         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
48903         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
48904         define.
48905         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
48906         define.
48908 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
48910         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48911         LLONG_MAX != LONG_MAX.
48912         (_itoa_word): Use _ITOA_WORD_TYPE on value.
48913         (_fitoa_word): Likewise.
48914         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
48915         LLONG_MAX != LONG_MAX.
48916         * stdio-common/_itowa.h: Include <_itoa.h>.
48917         (_itowa_word): Use _ITOA_WORD_TYPE on value.
48918         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
48919         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
48920         only if not defined.
48921         (_ITOA_WORD_TYPE): Likewise.
48922         (_itoa_word): Use _ITOA_WORD_TYPE on value.
48923         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
48925 2012-03-21  David S. Miller  <davem@davemloft.net>
48927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48929 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
48931         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
48932         of x86_64 when setting libc_cv_slibdir, libdir and
48933         libc_cv_localedir.
48934         * sysdeps/unix/sysv/linux/configure: Regenerated.
48936 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
48938         * manual/lang.texi (Old Varargs): Remove section.
48939         (How Variadic): Update menu.
48940         (va_start): Do not mention varargs.h.
48942 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48943             Joseph Myers  <joseph@codesourcery.com>
48945         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
48946         link test.
48947         * configure: Regenerated.
48949 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48951         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
48952         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
48953         conformtest.pl
48955 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
48957         * NOTES: Remove.
48958         * Makefile (files-for-dist): Remove NOTES.
48959         (NOTES): Remove rule.
48960         * README: Don't refer to NOTES.
48961         * manual/creature.texi: Don't include macros.texi.
48962         * manual/intro.texi (creature.texi): Remove comment referring to
48963         NOTES.
48965         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
48966         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
48967         * configure: Regenerated.
48968         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
48969         LIBC_TRY_CC_OPTION.
48970         (libc_cv_as_i686): Likewise.
48971         (libc_cv_cc_avx): Likewise.
48972         (libc_cv_cc_sse2avx): Likewise.
48973         (libc_cv_cc_fma4): Likewise.
48974         (libc_cv_cc_novzeroupper): Likewise.
48975         * sysdeps/i386/configure: Regenerated.
48977         [BZ #13883]
48978         * sysdeps/i386/fpu/s_cexp.S: Remove.
48979         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48980         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48981         * math/libm-test.inc (cexp_test): Add more tests.
48982         * sysdeps/i386/fpu/libm-test-ulps: Update.
48983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48985 2012-03-21  Allan McRae  <allan@archlinux.org>
48987         * timezone/Makefile: Do not install iso3166.tab and zone.tab
48989 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
48991         [BZ #13871]
48992         * math/w_exp2.c: Do not include <float.h>.
48993         (o_threshold, u_threshold): Remove.
48994         (__exp2): Calculate result before checking finiteness and calling
48995         __kernel_standard.
48996         * math/w_exp2f.c: Likewise.
48997         * math/w_exp2l.c: Likewise.
48998         * math/libm-test.inc (exp2_test): Require overflow exception for
48999         1e6 input.
49001         [BZ #3866]
49002         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
49003         range of signed 64-bit integers before using fistpll.  Remove
49004         checks for whether integers fit in mantissa bits.
49005         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
49006         the range of signed 32-bit integers before using fistpl.  Remove
49007         checks for whether integers fit in mantissa bits.
49008         * sysdeps/i386/fpu/e_powl.S (p64): New object.
49009         (__ieee754_powl): Test for y outside the range of signed 64-bit
49010         integers before using fistpll.  Reduce 64-bit values to 63-bit
49011         ones as needed.
49012         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
49013         divide-by-zero is raised for zero to large negative powers.
49014         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
49015         (__ieee754_powl): Test for y outside the range of signed 64-bit
49016         integers before using fistpll.  Reduce 64-bit values to 63-bit
49017         ones as needed.
49018         * math/libm-test.inc (pow_test): Add more tests.
49020 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49022         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
49023         <stdio-common/_itoa.h>.
49024         * debug/segfault.c: Likewise.
49025         * elf/dl-cache.c: Likewise.
49026         * elf/dl-minimal.c: Likewise.
49027         * elf/dl-misc.c: Likewise.
49028         * elf/dl-sysdep.c: Likewise.
49029         * elf/dl-version.c: Likewise.
49030         * elf/rtld.c: Likewise.
49031         * hurd/hurdsock.c: Likewise.
49032         * hurd/lookup-retry.c: Likewise.
49033         * malloc/malloc.c: Likewise.
49034         * malloc/mtrace.c: Likewise.
49035         * nscd/nscd_getgr_r.c: Likewise.
49036         * nscd/nscd_getpw_r.c: Likewise.
49037         * nscd/nscd_getserv_r.c: Likewise.
49038         * posix/getopt_init.c: Likewise.
49039         * posix/wordexp.c: Likewise.
49040         * stdio-common/_itoa.c: Likewise.
49041         * stdio-common/printf_fphex.c: Likewise.
49042         * stdio-common/vfprintf.c: Likewise.
49043         * string/_strerror.c: Likewise.
49044         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
49045         * sysdeps/i386/i686/hp-timing.h: Likewise.
49046         * sysdeps/mach/_strerror.c: Likewise.
49047         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
49048         * sysdeps/mach/hurd/sethostid.c: Likewise.
49049         * sysdeps/mach/hurd/xmknodat.c: Likewise.
49050         * sysdeps/mach/xpg-strerror.c: Likewise.
49051         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49052         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49053         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
49054         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
49055         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49056         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
49057         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
49058         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
49059         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
49060         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
49061         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
49062         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49063         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
49064         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49065         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49066         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
49067         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
49068         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
49069         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49070         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49071         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
49073         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
49075         * stdio-common/_itoa.h: Moved to ...
49076         * sysdeps/generic/_itoa.h: Here.
49078         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
49080         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
49081         instead of "_itoa.h" and "_itowa.h".
49082         * stdio-common/vfprintf.: Likewise.
49084 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49086         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
49087         <bits/wordsize.h>.
49088         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
49089         (__signbit): Likwise.
49090         (llrintf): Likwise.
49091         (llrint): Likwise.
49093 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49095         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
49096         __WORDSIZE != 64.
49098 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
49100         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
49101         OVERFLOW_EXCEPTION_OK.
49102         * math/libm-test.inc ("Philosophy"): Update comment about
49103         exception testing.
49104         (OVERFLOW_EXCEPTION): Define.
49105         (OVERFLOW_EXCEPTION_OK): Likewise.
49106         (INVALID_EXCEPTION_OK): Renumber.
49107         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49108         (IGNORE_ZERO_INF_SIGN): Likewise.
49109         (test_exceptions): Handle FE_OVERFLOW.
49110         (exp10_test): Expect overflow exceptions.
49111         (exp2_test): Likewise.
49112         (expm1_test): Likewise.
49113         (nextafter_test): Likewise.
49114         (pow_test): Likewise.
49115         (scalbn_test): Likewise.
49116         (scalbln_test): Likewise.
49118 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49120         * sysdeps/x86_64/bits/atomic.h
49121         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
49122         64bit integer.
49123         (atomic_exchange_acq): Likewise.
49124         (__arch_exchange_and_add_body): Likewise.
49125         (__arch_add_body): Likewise.
49126         (atomic_add_negative): Likewise.
49127         (atomic_add_zero): Likewise.
49129 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49131         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
49132         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
49134 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49136         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
49137         Check __x86_64__ instead of __WORDSIZE.
49139 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49141         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
49143 2012-03-19  David S. Miller  <davem@davemloft.net>
49145         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49147         * sysdeps/sparc/fpu/fenv_private.h: New file.
49148         * sysdeps/sparc/fpu/math_private.h: Use it.
49149         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
49150         Remove.
49151         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
49152         (libc_feholdexcept_setroundl): Remove.
49153         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
49154         Remove.
49155         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
49156         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
49158 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49160         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
49161         int64_t instead of long int.
49162         (INSERT_WORDS64): Likwise.
49164 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
49166         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
49167         _Unwind_GetCFA return to _Unwind_Ptr first.
49169 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
49171         [BZ #13629]
49172         * math/s_clog.c: Include <float.h>.
49173         (__clog): Scale large or subnormal inputs.
49174         * math/s_clogf.c: Likewise.
49175         * math/s_clogl.c: Likewise.
49176         * math/s_clog10.c: Include <float.h>.
49177         (M_LOG10_2): Define.
49178         (__clog10): Scale large or subnormal inputs.
49179         * math/s_clog10f.c: Likewise.
49180         * math/s_clog10l.c: Likewise.
49181         * math/libm-test.inc (clog_test): Add more tests.
49182         (clog10_test): Likewise.
49183         * sysdeps/i386/fpu/libm-test-ulps: Update.
49184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49186         [BZ #11451]
49187         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
49188         x and y.
49189         * math/libm-test.inc (atan2_test): Add another test.
49191         * Makerules (common-objdir-compile): Remove.
49192         * sysdeps/unix/Makefile (config-generated): Do not add
49193         $(unix-generated) to variable.
49194         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
49195         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
49196         Remove rule.
49197         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
49198         Likewise.
49199         [generic bits/local_lim.h] (before-compile): Do not append to
49200         variable.
49201         [generic bits/local_lim.h] (common-generated): Likewise.
49202         [generic sys/param.h] (before-compile): Do not append to variable.
49203         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
49204         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
49205         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
49206         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
49207         include.
49208         [generic sys/param.h] (sys/param.h-includes): Remove variable.
49209         [generic sys/param.h] (sys/param.h-includes): Remove rule.
49210         [generic sys/param.h] ($(addprefix
49211         $(common-objpfx),$(sys/param.h-includes))): Likewise.
49212         [generic sys/param.h] (common-generated): Do not append to
49213         variable.
49214         [generic sys/param.h] (sysdep_headers): Likewise.
49215         [generic bits/errno.h] (before-compile): Do not append to
49216         variable.
49217         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
49218         rule.
49219         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
49220         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
49221         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
49222         [generic bits/errno.h] (common-generated): Do not append to
49223         variable.
49224         [generic bits/ioctls.h] (before-compile): Do not append to
49225         variable.
49226         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
49227         rule.
49228         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
49229         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
49230         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
49231         rule.
49232         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
49233         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
49234         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
49235         [generic bits/ioctls.h] (common-generated): Do not append to
49236         variable.
49237         [generic sys/syscall.h] (syscall.h): Remove variable.
49238         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
49239         rule.
49240         [generic sys/syscall.h] (before-compile): Do not append to
49241         variable.
49242         [generic sys/syscall.h] (common-generated): Likewise.
49243         * sysdeps/unix/errnos-tmpl.c: Remove file.
49244         * sysdeps/unix/errnos.awk: Likewise.
49245         * sysdeps/unix/ioctls-tmpl.c: Likewise.
49246         * sysdeps/unix/ioctls.awk: Likewise.
49247         * sysdeps/unix/mk-local_lim.c: Likewise.
49248         * sysdeps/unix/snarf-ioctls: Likewise.
49250 2012-03-19  Richard Henderson  <rth@twiddle.net>
49252         * sysdeps/i386/fpu/fenv_private.h: New file.
49253         * sysdeps/i386/fpu/math_private.h: Use it.
49254         (math_opt_barrier, math_force_eval): Remove.
49255         (libc_feholdexcept_setround_53bit): Remove.
49256         (libc_feupdateenv_53bit): Remove.
49257         * sysdeps/x86_64/fpu/math_private.h: Likewise.
49258         (math_opt_barrier, math_force_eval): Remove.
49259         (libc_feholdexcept): Remove.
49260         (libc_feholdexcept_setround): Remove.
49261         (libc_fetestexcept, libc_fesetenv): Remove.
49262         (libc_feupdateenv_test): Remove.
49263         (libc_feupdateenv, libc_feholdsetround): Remove.
49264         (libc_feresetround): Remove.
49266         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
49267         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
49269         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
49270         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
49271         (libc_feupdateenv_testl): New.
49272         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
49273         (libc_feupdateenv_testf): New.
49274         (libc_feupdateenv): Use libc_feupdateenv_test.
49275         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
49276         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
49278         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
49279         (libc_feholdsetroundf, libc_feholdsetroundl): New.
49280         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
49281         (libc_feresetround_noex): New.
49282         (libc_feresetround_noexf): New.
49283         (libc_feresetround_noexl): New.
49284         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
49285         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
49286         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
49287         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
49288         SET_RESTORE_ROUND.
49289         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49290         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
49291         (__cos): Likewise.
49292         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
49293         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
49294         SET_RESTORE_ROUND_NOEX.
49295         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
49296         SET_RESTORE_ROUND_NOEXF.
49297         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
49298         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
49299         (libc_feholdsetroundf): New.
49300         (libc_feresetround, libc_feresetroundf): New.
49302         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
49303         (libc_feholdexcept_setround_53bit): Convert from macro to function.
49304         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
49306         * sysdeps/generic/math_private.h: Include <fenv.h>.
49307         (default_libc_feholdexcept): New.
49308         (default_libc_feholdexcept_setround): New.
49309         (default_libc_fesetenv, default_libc_feupdateenv): New.
49310         (libc_feholdexcept): Only define if undefined.
49311         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
49312         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
49313         (libc_feholdexcept_setroundl): Likewise.
49314         (libc_feholdexcept_setround_53bit): Likewise.
49315         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
49316         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
49317         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
49318         (libc_feupdateenv_53bit): Likewise.
49319         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
49320         (libc_feholdexcept): Convert from macro to inline function.
49321         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
49322         (libc_fesetenv, libc_feupdateenv): Likewise.
49324         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
49325         not previously defined.
49326         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
49327         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
49328         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
49329         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
49330         * sysdeps/ieee754/flt-32/math_private.h: New file.
49331         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
49332         math_private.h below SET_FLOAT_WORD.
49333         (__isnan, __isinf_ns, __finite): Remove.
49334         (__isnanf, __isinf_nsf, __finitef): Remove.
49336 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
49338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49340 2012-03-17  David S. Miller  <davem@davemloft.net>
49342         [BZ #6471]
49343         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
49344         for 2.16.
49346 2012-03-16  David S. Miller  <davem@davemloft.net>
49348         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
49349         warnings.
49351         [BZ #6471]
49352         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
49353         properly.
49354         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
49355         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
49356         sysdep_routines when subdir is sysvipc.
49357         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
49358         __getshmlba helper.
49360         * sysdeps/sparc/fpu/libm-test/ulps: Update.
49362 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
49364         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
49365         [__LP64__].
49367 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
49369         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
49370         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
49371         (__lround): Renamed to ...
49372         (__llround): This.  Replace long int with long long int.
49373         Define lround functions as aliases of llround functions.
49374         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
49376 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
49378         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
49379         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
49380         adresses to uintptr_t.  Replace "long int" and "unsigned long
49381         int" with "greg_t" on va_arg.
49383 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
49385         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
49386         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
49388         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
49389         Move e_machine check before EI_CLASS check.  Handle x32
49390         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
49391         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
49392         SKIP_EM_IA_64 and include
49393         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
49395         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
49396         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
49397         (add_system_dir): New macro.
49399         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
49400         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
49402 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
49404         [BZ #2551]
49405         [BZ #2552]
49406         [BZ #2553]
49407         [BZ #2554]
49408         [BZ #2562]
49409         [BZ #2563]
49410         [BZ #2565]
49411         [BZ #2566]
49412         [BZ #2576]
49413         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
49414         (y0): Likewise.
49415         * math/w_j0f.c (j0f): Likewise.
49416         (y0f): Likewise.
49417         * math/w_j0l.c (__j0l): Likewise.
49418         (__y0l): Likewise.
49419         * math/w_j1.c (j1): Likewise.
49420         (y1): Likewise.
49421         * math/w_j1f.c (j1f): Likewise.
49422         (y1f): Likewise.
49423         * math/w_j1l.c (__j1l): Likewise.
49424         (__y1l): Likewise.
49425         * math/w_jn.c (jn): Likewise.
49426         (yn): Likewise.
49427         * math/w_jnf.c (jnf): Likewise.
49428         (ynf): Likewise.
49429         * math/w_jnl.c (__jnl): Likewise.
49430         (__ynl): Likewise.
49431         * math/libm-test.inc (j0_test): Add more tests.
49432         (j1_test): Likewise.
49433         (jn_test): Likewise.  Add trailing semicolon to existing test.
49434         (y0_test): Likewise.
49435         (y1_test): Likewise.
49436         * sysdeps/i386/fpu/libm-test-ulps: Update.
49437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49439         [BZ #13851]
49440         [BZ #13854]
49441         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
49442         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
49443         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
49444         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
49445         (__tanl): Set errno for infinite argument.
49446         * sysdeps/i386/fpu/mptan.c: Remove.
49447         * sysdeps/i386/fpu/s_tan.S: Likewise.
49448         * sysdeps/i386/fpu/s_tanl.S: Likewise.
49449         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
49450         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
49451         * math/libm-test.inc (tan_test): Add more tests and enable more
49452         tests for double and long double.
49453         * sysdeps/i386/fpu/libm-test-ulps: Update.
49454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49456 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
49458         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
49459         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
49461 2012-03-16  Roland McGrath  <roland@hack.frob.com>
49463         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
49464         * configure.in: Use it for both main tree and add-ons.
49465         * configure: Regenerated.
49467 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
49469         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
49471 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
49473         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
49474         in comment.
49476         [BZ #13851]
49477         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
49478         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
49479         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
49480         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
49481         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
49482         infinite argument.
49483         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
49484         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
49485         != 0 for prec == 2.
49486         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
49487         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
49488         * sysdeps/i386/fpu/s_cosl.S: Likewise.
49489         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
49490         * sysdeps/i386/fpu/s_sinl.S: Likewise.
49491         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
49492         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
49493         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
49494         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
49495         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
49496         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
49497         * math/libm-test.inc (cos_test): Add more tests and enable more
49498         tests for long double.
49499         (sin_test): Likewise.
49500         (sincos_test): Likewise.
49501         * sysdeps/i386/fpu/libm-test-ulps: Update.
49502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49504 2012-03-16  David S. Miller  <davem@davemloft.net>
49506         * sysdeps/sparc/fpu/math_private.h: New file.
49508 2012-03-15  David S. Miller  <davem@davemloft.net>
49510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
49511         file.
49512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
49513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
49514         file.
49515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
49516         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
49517         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
49518         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
49519         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
49520         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
49521         sysdep routines.
49522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
49524         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
49525         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
49527         * sysdeps/sparc/sparc-ifunc.h: New file.
49528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
49529         sparc-ifunc.h
49530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
49531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
49532         Likewise.
49533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
49534         Likewise.
49535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
49536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
49537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49539         Likewise.
49540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
49542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
49544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
49545         Likewise.
49546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
49547         Likewise.
49548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
49550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
49551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
49552         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49553         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49554         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
49555         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
49556         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49557         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49558         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
49559         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
49560         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
49561         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
49562         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
49563         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
49564         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
49565         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
49566         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
49567         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
49568         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
49569         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
49570         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
49571         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
49573 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
49575         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
49576         scaling.
49577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49579 2012-03-15  Andreas Jaeger  <aj@suse.de>
49581         [BZ #13852]
49582         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
49583         ieee754/flt-32 implementation for sin, cos and sincos.
49584         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
49585         * sysdeps/i386/fpu/s_cosf.S: Likewise.
49586         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
49587         * sysdeps/i386/fpu/s_sinf.S: Likewise.
49588         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
49589         ieee754/flt-32 implementation for tan.
49591         * math/libm-test.inc (cos_test): Enable some large input tests for
49592         float as well
49593         (sin_test): Likewise.
49594         (sincos_test): Likewise.
49595         (tan_test): Add tests for large input.
49597         * sysdeps/i386/fpu/libm-test-ulps: Update.
49599 2012-03-15  Andreas Jaeger  <aj@suse.de>
49601         [BZ #13658]
49602         * math/libm-test.inc (cos_test): Add more test cases.
49603         (sin_test): Likewise.
49604         (sincos_test): Likewise.
49606 2012-03-15  Andreas Jaeger  <aj@suse.de>
49608         [BZ #13837]
49609         * math/libm-test.inc (cos_test): Add a test case for large input
49610         value.
49611         (sin_test): Likewise.
49612         (sincos_test): Likewise.
49614 2012-03-15  Andreas Jaeger  <aj@suse.de>
49615             Joseph Myers  <joseph@codesourcery.com>
49617         [BZ #13658]
49618         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
49619         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
49620         * sysdeps/i386/fpu/branred.c: Likewise.
49621         * sysdeps/i386/fpu/dosincos.c: Likewise.
49622         * sysdeps/i386/fpu/mpa.c: Likewise.
49623         * sysdeps/i386/fpu/s_cos.S: Likewise.
49624         * sysdeps/i386/fpu/s_sin.S: Likewise.
49625         * sysdeps/i386/fpu/s_sincos.S: Likewise.
49626         * sysdeps/i386/fpu/sincos32.c: Likewise.
49628         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
49629         Define.
49630         (libc_feupdateenv_53bit): Define.
49631         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
49632         Define.
49633         (libc_feupdateenv_53bit): Define.
49635         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
49636         53 bit (without extend i386 double precision).
49638         * math/libm-test.inc (sincos_test): Add tests for large input.
49639         (sin): Likewise.
49640         (cos): Likewise.
49642         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
49644 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
49646         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49648 2012-03-15  David S. Miller  <davem@davemloft.net>
49650         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
49651         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
49652         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
49653         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
49654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
49655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
49656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
49657         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
49658         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
49659         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
49660         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
49661         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
49662         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
49663         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
49664         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
49665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
49666         file.
49667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
49668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
49669         file.
49670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
49671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
49672         file.
49673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
49674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
49675         file.
49676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
49677         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
49678         fmin/fmax sysdep routines.
49679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
49681 2012-03-14  David S. Miller  <davem@davemloft.net>
49683         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
49684         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
49685         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
49686         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
49687         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
49688         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
49689         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
49690         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
49691         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
49692         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
49693         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
49694         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
49695         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
49696         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
49697         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
49698         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
49699         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
49700         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
49701         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
49702         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
49703         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
49704         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
49705         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
49706         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
49707         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
49708         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
49709         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
49710         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
49711         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
49712         routines.
49713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
49714         file.
49715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
49716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
49717         file.
49718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
49719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
49720         file.
49721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
49722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
49723         file.
49724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
49725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
49726         file.
49727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
49728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
49729         file.
49730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
49731         file.
49732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
49733         file.
49734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
49735         file.
49736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
49737         New file.
49738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
49739         file.
49740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
49741         file.
49742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
49743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
49744         file.
49745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
49746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
49747         file.
49748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
49749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
49750         file.
49751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
49752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
49753         VIS3 routines.
49755         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
49756         New file.
49758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49760         * sysdeps/sparc/configure.in: New file.
49761         * sysdeps/sparc/configure: Generate.
49762         * configure.in (libc_cv_sparc_as_vis3): Substitute.
49763         * configure: Regenerate.
49764         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
49765         * config.make.in (have-as-vis3): New.
49766         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
49767         available use -Av9d instead of -Av9a.
49768         * sysdeps/sparc/sparc64/Makefile: Likewise.
49769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
49770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
49771         New file.
49772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
49773         file.
49774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
49775         New file.
49776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
49777         file.
49778         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
49779         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
49780         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
49781         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
49782         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
49784         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
49785         fzeros/fnegs to load 0x80000000 into a float register instead of
49786         using the stack.
49787         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
49789 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
49791         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49792         bits/syscall.h.
49793         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
49794         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
49795         ($(inst_includedir)/bits/syscall.h): Remove rule.
49796         ($(objpfx)bits/syscall.d): Include instead of
49797         $(objpfx)syscall-list.d.
49798         (generated): Change syscall-list.h and syscall-list.d to
49799         bits/syscall.h and bits/syscall.d.
49801 2012-03-14  Roland McGrath  <roland@hack.frob.com>
49803         [BZ #13846]
49804         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
49806 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
49808         [BZ #13841]
49809         * math/s_csqrt.c: Include <float.h>.
49810         (__csqrt): Scale large or subnormal inputs.
49811         * math/s_csqrtf.c: Likewise.
49812         * math/s_csqrtl.c: Likewise.
49813         * math/libm-test.inc (csqrt_test): Add more tests.
49814         * sysdeps/i386/fpu/libm-test-ulps: Update.
49815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49817         [BZ #13840]
49818         * math/libm-test.inc (hypot_test): Add more tests.
49820 2012-03-13  David S. Miller  <davem@davemloft.net>
49822         [BZ #13840]
49823         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
49824         double-precision for the calculation instead of scaling.
49826 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
49828         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
49829         manipulate bits before adding and subtracting TWO52[sx].
49830         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
49831         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
49832         Likewise.
49833         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
49835 2012-03-13  David S. Miller  <davem@davemloft.net>
49837         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
49838         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
49839         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
49840         rtld-global-offsets.h
49841         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49843         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
49844         large parameters.
49846         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
49848         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
49849         'err' in the ifdef scope in which it is actually used.
49851         * nss/nss_db/db-init.c: Include string.h
49853 2012-03-12  David S. Miller  <davem@davemloft.net>
49855         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49856         masking out of the most significant byte of random value used.
49857         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49858         Fix coding style in previous change.
49860         * sysdeps/unix/sysv/linux/kernel-features.h
49861         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
49862         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
49863         expression.
49864         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
49865         later.
49867 2012-03-11  David S. Miller  <davem@davemloft.net>
49869         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
49870         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
49871         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
49872         for 'resultvar' otherwise things get truncated on 64-bit.
49874         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49875         Fix masking out of the most significant byte of random value used.
49877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49879 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
49881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49883 2012-03-09  David S. Miller  <davem@davemloft.net>
49885         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
49886         variables with appropriate CPP guards.
49887         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
49888         from the frame pointer, not the stack pointer.  Correct layout
49889         comments.  Fix test on resulting framesize and the management of
49890         the outregs buffer for pltexit.  Preserve floating point return
49891         values across _dl_call_pltexit call.
49892         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
49893         framesize and the management of the outregs buffer for pltexit.
49894         Preserve floating point return values across _dl_call_pltexit
49895         call.
49896         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
49897         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
49898         (la_sparc64_gnu_pltexit): New functions.
49899         (print_exit): Fix format string for return register value.
49901 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
49903         * sunrpc/Makefile (others): Add rpcgen.
49904         ($(objpfx)rpcgen): Remove special build rule and dependency on
49905         libc.
49906         * sunrpc/rpcgen.c: New file.
49908 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
49910         [BZ #13673]
49911         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
49912         * stdio-common/bug-vfprintf-nargs.c: Likewise.
49913         * sysdeps/i386/crti.S: Likewise.
49914         * sysdeps/i386/crtn.S: Likewise.
49915         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
49916         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
49917         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
49918         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
49919         * sysdeps/sh/crti.S: Likewise.
49920         * sysdeps/sh/crtn.S: Likewise.
49921         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
49923         [BZ #13673]
49924         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
49925         with URL.
49926         * locale/programs/locfile-kw.gperf: Likewise.
49927         * locale/programs/charmap-kw.h: Regenerated.
49928         * locale/programs/locfile-kw.h: Likewise.
49930         [BZ #13673]
49931         * intl/plural.y: Replace FSF snail mail address with URL.
49932         * intl/plural.c: Regenerated.
49934 2012-03-09  Richard Henderson  <rth@twiddle.net>
49936         * include/math_private.h: Remove file.
49937         * math/math_private.h: Move file ...
49938         * sysdeps/generic/math_private.h: ... here.
49940         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
49941         * sysdeps/powerpc/fpu/math_private.h: Likewise.
49942         * sysdeps/x86_64/fpu/math_private.h: Likewise.
49944         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
49945         and <math_private.h>.
49946         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49947         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49948         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49949         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49950         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49951         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
49952         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49953         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49954         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49955         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49956         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49957         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49958         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49959         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49960         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49961         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49962         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49963         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49964         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49965         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49966         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49967         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49968         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49969         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49970         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
49971         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49972         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49973         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49974         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49975         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49976         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49977         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49978         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
49979         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49980         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49981         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49982         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49983         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49984         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49985         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49986         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
49987         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49988         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49989         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
49990         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
49991         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49992         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
49993         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
49994         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49995         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49996         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
49997         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
49998         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
49999         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50000         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50001         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50002         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50003         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50004         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50005         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
50006         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50007         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50008         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50009         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50010         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
50011         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50012         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50013         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50014         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
50015         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
50016         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50017         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50018         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50019         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50020         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
50021         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
50022         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
50023         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50024         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
50025         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
50026         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50027         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
50028         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50029         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50030         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50031         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50032         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
50033         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
50034         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50035         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50036         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50037         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50038         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50039         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50040         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50041         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50042         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50043         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50044         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50045         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50046         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50047         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50048         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50049         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50050         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50051         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50052         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50053         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50054         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50055         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50056         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50057         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50058         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50059         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50060         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
50061         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50062         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50063         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50064         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50065         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50066         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50067         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50068         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50069         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
50070         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50071         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50072         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50073         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
50074         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50075         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
50076         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
50077         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50078         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50079         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
50080         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
50081         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50082         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50083         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50084         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
50085         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50086         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50087         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50088         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50089         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
50090         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
50091         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50092         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50093         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50094         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
50095         * sysdeps/ieee754/k_standard.c: Likewise.
50096         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50097         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50098         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50099         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50100         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50101         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50102         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50103         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50104         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50105         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50106         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50107         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50108         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50109         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50110         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50111         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50112         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50113         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50114         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50115         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
50116         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
50117         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
50118         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50119         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50120         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50121         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
50122         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50123         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50124         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50125         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50126         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50127         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50128         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50129         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50130         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50131         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50132         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50133         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
50134         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
50135         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50136         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50137         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50138         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50139         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50140         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50141         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50142         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50143         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50144         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50145         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50146         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50147         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50148         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50149         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
50150         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50151         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50152         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
50153         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
50154         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50155         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50156         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50157         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50158         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50159         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50160         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50161         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50162         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50163         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50164         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50165         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50166         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50167         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50168         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50169         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50170         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50171         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50172         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
50173         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50174         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50175         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50176         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50177         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50178         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50179         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50180         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
50181         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50182         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50183         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
50184         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
50185         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50186         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
50187         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50188         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
50189         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50190         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50191         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50192         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
50193         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
50194         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
50195         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
50196         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50197         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50198         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50199         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50200         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
50201         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50202         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50203         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
50204         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
50205         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50206         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50207         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50208         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50209         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50210         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50211         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50212         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50213         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50214         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50215         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50216         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50217         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50218         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50219         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50220         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50221         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
50222         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50223         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50224         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50225         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50226         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50227         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50228         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50229         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50230         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50231         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50232         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
50233         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50234         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50235         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
50236         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
50237         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50238         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
50239         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
50240         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50241         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50242         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50243         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50244         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50245         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
50246         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50247         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50248         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50249         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50250         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
50251         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
50252         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50253         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50254         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50255         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50256         * sysdeps/ieee754/s_lib_version.c: Likewise.
50257         * sysdeps/ieee754/s_matherr.c: Likewise.
50258         * sysdeps/ieee754/s_signgam.c: Likewise.
50259         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50260         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50261         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
50262         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
50263         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
50264         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50265         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
50266         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
50267         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
50268         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
50269         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50270         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
50271         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50272         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50273         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
50274         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50275         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50276         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50277         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50278         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50279         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50281 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
50283         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
50284         * sunrpc/rpc_main.c: Likewise.
50285         * sunrpc/rpc_svcout.c: Likewise.
50287 2012-03-09  David S. Miller  <davem@davemloft.net>
50289         * include/math_private.h: New file.
50291 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
50293         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
50294         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
50295         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
50296         from <bits/socket_type.h>.
50297         (enum __socket_type): Don't define here.
50298         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
50299         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50300         bits/socket_type.h.
50302         [BZ #13566]
50303         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
50304         checking __USE_GNU.
50306         * Makerules ($(inst_includedir)/%.h): New rule.
50307         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
50308         (install-others): Remove variable setting.
50309         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
50311 2012-03-08  Richard Henderson  <rth@twiddle.net>
50313         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
50314         from macro to inline function; merge with the
50315         !__LIBC_INTERNAL_MATH_INLINES version.
50316         (__ieee754_sqrtf): Likewise.
50318         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
50319         to inline function.
50320         (__rintf, __floor, __floorf): Likewise.
50322         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
50323         macro to inline function.
50324         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
50326         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
50327         not <math/math_private.h>.
50329 2012-03-08  David S. Miller  <davem@davemloft.net>
50331         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
50332         copyright year.
50333         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
50335 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
50337         * resolv/gai_misc.c (handle_requests): Fix struct timespec
50338         normalization.
50339         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
50340         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
50342 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
50344         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
50345         be defined individually, they must be defined as a block.  Define
50346         S for printing a string instead of hidint the different by using a
50347         macro for adding the 'l'.
50348         * stdio-common/tst-fphex-wide.c: Adjust.
50350 2012-03-07  Marek Polacek  <polacek@redhat.com>
50352         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
50354 2012-03-08  Marek Polacek  <polacek@redhat.com>
50356         [BZ #13806]
50357         * stdio-common/Makefile (tests): Add tst-fphex-wide.
50358         * stdio-common/tst-fphex.c: Define a few macros to make the
50359         test reusable.  Use them.
50360         * stdio-common/tst-fphex-wide.c: New file.
50362 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
50364         [BZ #6911]
50365         * manual/macros.texi (gnusystems): New macro.
50366         (nongnusystems): Likewise.
50367         (gnulinuxhurdsystems): Likewise.
50368         (gnuhurdsystems): Likewise..
50369         (gnulinuxsystems): Likewise.
50370         * manual/charset.texi: Use new macros or @theglibc{} to refer to
50371         variants of the GNU system, not "GNU system".
50372         * manual/conf.texi: Likewise.
50373         * manual/errno.texi: Likewise.  Update example of errno macro
50374         expansion.
50375         * manual/filesys.texi: Likewise.
50376         (getumask): Document as specific to GNU/Hurd.
50377         * manual/install.texi: Likewise.  Reword some references to
50378         GNU/Linux.
50379         * manual/intro.texi: Likewise.
50380         * manual/io.texi: Likewise.
50381         (File Name Portability): Detail which constraints are inapplicable
50382         to all GNU systems and which are only inapplicable to GNU/Hurd.
50383         * manual/job.texi: Likewise.
50384         * manual/llio.texi: Likewise.
50385         (O_NOCTTY): Document as present on GNU/Linux.
50386         * manual/maint.texi: Likewise.
50387         * manual/memory.texi: Likewise.
50388         * manual/pattern.texi: Likewise.
50389         * manual/pipe.texi: Likewise.
50390         * manual/process.texi: Likewise.
50391         * manual/resource.texi: Likewise.
50392         (RUSAGE_CHILDREN): Remove statement about specifying a particular
50393         child on GNU/Hurd.
50394         * manual/setjmp.texi: Likewise.
50395         * manual/signal.texi: Likewise.
50396         * manual/startup.texi: Likewise.
50397         * manual/stdio.texi: Likewise.
50398         * manual/terminal.texi: Likewise.
50399         (ONLCR): Document as POSIX.
50400         (OXTABS): Document availability on GNU/Linux as XTABS.
50401         (ONOEOT): Document availability separately from other bits.
50402         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
50403         * manual/time.texi: Likewise.
50404         * manual/users.texi: Likewise.
50405         * INSTALL: Regenerated.
50406         * sysdeps/gnu/errlist.c: Regenerated.
50408         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
50409         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
50410         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
50411         puts.
50412         * configure: Regenerated.
50414 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
50416         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
50417         default includes instead of AC_HEADER_CHECK.
50418         * sysdeps/i386/configure: Regenerated.
50420         [BZ #10716]
50421         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
50422         * math/s_cacoshf.c (__cacoshf): Likewise.
50423         * math/s_cacoshl.c (__cacoshl): Likewise.
50424         * math/s_casinh.c (__casinh): Set signs of result from argument.
50425         * math/s_casinhf.c (__casinhf): Likewise.
50426         * math/s_casinhl.c (__casinhl): Likewise.
50427         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
50428         (casinh_test): Add more tests.
50429         * sysdeps/i386/fpu/libm-test-ulps: Update.
50430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50432 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
50434         * po/zh_TW.po: Update from translation team.
50436         * login/Makefile (distribute): Remove variable.
50437         * catgets/Makefile: Likewise.
50438         * mach/Makefile: Likewise.
50439         * malloc/Makefile: Likewise.
50440         * misc/Makefile: Likewise.
50441         * iconv/Makefile: Likewise.
50442         * nscd/Makefile: Likewise.
50443         * hurd/Makefile: Likewise.
50444         * manual/Makefile: Likewise.
50445         * locale/Makefile: Likewise.
50446         * intl/Makefile: Likewise.
50447         * conform/Makefile: Likewise.
50448         * nss/Makefile: Likewise.
50449         * time/Makefile: Likewise.
50450         * soft-fp/Makefile: Likewise.
50451         * dirent/Makefile: Likewise.
50452         * gmon/Makefile: Likewise.
50453         * po/Makefile: Likewise.
50454         * rt/Makefile: Likewise.
50455         * socket/Makefile: Likewise.
50456         * math/Makefile: Likewise.
50457         * signal/Makefile: Likewise.
50458         * debug/Makefile: Likewise.
50459         * elf/Makefile: Likewise.
50460         * timezone/Makefile: Likewise.
50461         * stdlib/Makefile: Likewise.
50462         * iconvdata/Makefile: Likewise.
50463         * sunrpc/Makefile: Likewise.
50464         * io/Makefile: Likewise.
50465         * argp/Makefile: Likewise.
50466         * inet/Makefile: Likewise.
50467         * hesiod/Makefile: Likewise.
50468         * grp/Makefile: Likewise.
50469         * csu/Makefile: Likewise.
50470         * wctype/Makefile: Likewise.
50471         * crypt/Makefile: Likewise.
50472         * libio/Makefile: Likewise.
50473         * string/Makefile: Likewise.
50474         * nis/Makefile: Likewise.
50475         * resolv/Makefile: Likewise.
50476         * stdio-common/Makefile: Likewise.
50477         * wcsmbs/Makefile: Likewise.
50478         * dlfcn/Makefile: Likewise.
50479         * posix/Makefile: Likewise.
50481         [BZ #6959]
50482         * timezone/Makefile: Don't install timezone files, just the programs
50483         and scripts.
50485 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
50487         * nss/databases.def: Add missing gshadow entry.
50489         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
50491 2012-03-06  Marek Polacek  <polacek@redhat.com>
50493         [BZ #13726]
50494         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
50495         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
50496         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
50497         * stdio-common/tst-long-dbl-fphex.c: New file.
50499 2012-03-06  David S. Miller  <davem@davemloft.net>
50501         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50502         (set_obp_int): New function.
50503         (get_obp_int): New function.
50504         (__get_clockfreq_via_dev_openprom): Likewise.
50505         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
50506         Avoid unused variable warnings on 'val' and use builtin_expect.
50507         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
50508         __builtin_expect.
50509         (INLINE_CLONE_SYSCALL): Likewise.
50511 2012-03-05  David S. Miller  <davem@davemloft.net>
50513         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50515 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
50517         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50519         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
50520         only for |x| >= 40.
50521         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50523 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
50525         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
50526         Replace gettimeofday with __vdso_gettimeofday.
50528         * sysdeps/unix/sysv/linux/x86_64/init-first.c
50529         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
50530         __vdso_clock_gettime and __vdso_getcpu.
50532         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
50533         time with __vdso_time.
50535 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
50537         * manual/lang.texi (size_t): Note types to which size_t may be
50538         equivalent with the GNU C Library, but do not describe when
50539         differences between them are significant.
50541 2012-03-05  Andreas Jaeger  <aj@suse.de>
50543         * sysdeps/i386/fpu/libm-test-ulps: Update.
50545 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
50547         [BZ #3976]
50548         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
50549         (__ieee754_pow): Save and restore rounding mode and use
50550         round-to-nearest for main computations.
50551         * math/libm-test.inc (pow_test_tonearest): New function.
50552         (pow_test_towardzero): Likewise.
50553         (pow_test_downward): Likewise.
50554         (pow_test_upward): Likewise.
50555         (main): Call the new functions.
50556         * sysdeps/i386/fpu/libm-test-ulps: Update.
50557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50559         [BZ #3976]
50560         * math/libm-test.inc (cosh_test_tonearest): New function.
50561         (cosh_test_towardzero): Likewise.
50562         (cosh_test_downward): Likewise.
50563         (cosh_test_upward): Likewise.
50564         (sinh_test_tonearest): Likewise.
50565         (sinh_test_towardzero): Likewise.
50566         (sinh_test_downward): Likewise.
50567         (sinh_test_upward): Likewise.
50568         (main): Call the new functions.
50569         * sysdeps/i386/fpu/libm-test-ulps: Update.
50570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50572 2012-03-05  Tom de Vries  <tom@codesourcery.com>
50574         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
50575         default stack guard is set in last bytes.
50576         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
50578 2012-03-05  Kees Cook  <keescook@chromium.org>
50580         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
50582         [BZ #13656]
50583         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
50584         possibly allocate from heap instead of stack.
50585         * stdio-common/bug-vfprintf-nargs.c: New file.
50586         * stdio-common/Makefile (tests): Add nargs overflow test.
50588 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
50590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50592 2012-03-03  Marek Polacek  <polacek@redhat.com>
50594         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
50595         * math/math_private.h: Likewise.
50596         * stdlib/tst-strtod.c: Likewise.
50597         * sysdeps/i386/i486/bits/atomic.h: Likewise.
50598         * sysdeps/x86_64/bits/atomic.h: Likewise.
50600 2012-03-02  David S. Miller  <davem@davemloft.net>
50602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
50603         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
50604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
50605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
50606         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
50607         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
50608         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
50609         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
50611 2012-03-02  Roland McGrath  <roland@hack.frob.com>
50613         [BZ #13792]
50614         * manual/examples/README: New file, says the example source files
50615         can be used under GPL>=2.
50616         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
50617         line containing just "*/".
50618         * manual/examples/add.c: Add copyright header (GPL>=2).
50619         * manual/examples/argp-ex1.c: Likewise.
50620         * manual/examples/argp-ex2.c: Likewise.
50621         * manual/examples/argp-ex3.c: Likewise.
50622         * manual/examples/argp-ex4.c: Likewise.
50623         * manual/examples/atexit.c: Likewise.
50624         * manual/examples/db.c: Likewise.
50625         * manual/examples/dir.c: Likewise.
50626         * manual/examples/dir2.c: Likewise.
50627         * manual/examples/execinfo.c: Likewise.
50628         * manual/examples/filecli.c: Likewise.
50629         * manual/examples/filesrv.c: Likewise.
50630         * manual/examples/fmtmsgexpl.c: Likewise.
50631         * manual/examples/genpass.c: Likewise.
50632         * manual/examples/inetcli.c: Likewise.
50633         * manual/examples/inetsrv.c: Likewise.
50634         * manual/examples/isockad.c: Likewise.
50635         * manual/examples/longopt.c: Likewise.
50636         * manual/examples/memopen.c: Likewise.
50637         * manual/examples/memstrm.c: Likewise.
50638         * manual/examples/mkfsock.c: Likewise.
50639         * manual/examples/mkisock.c: Likewise.
50640         * manual/examples/mygetpass.c: Likewise.
50641         * manual/examples/pipe.c: Likewise.
50642         * manual/examples/popen.c: Likewise.
50643         * manual/examples/rprintf.c: Likewise.
50644         * manual/examples/search.c: Likewise.
50645         * manual/examples/select.c: Likewise.
50646         * manual/examples/setjmp.c: Likewise.
50647         * manual/examples/sigh1.c: Likewise.
50648         * manual/examples/sigusr.c: Likewise.
50649         * manual/examples/stpcpy.c: Likewise.
50650         * manual/examples/strdupa.c: Likewise.
50651         * manual/examples/strftim.c: Likewise.
50652         * manual/examples/strncat.c: Likewise.
50653         * manual/examples/subopt.c: Likewise.
50654         * manual/examples/swapcontext.c: Likewise.
50655         * manual/examples/termios.c: Likewise.
50656         * manual/examples/testopt.c: Likewise.
50657         * manual/examples/testpass.c: Likewise.
50658         * manual/examples/timeval_subtract.c: Likewise.
50660         [BZ #13792]
50661         * manual/time.texi (Elapsed Time): Move timeval_subtract example
50662         function to ...
50663         * manual/timeval_subtract.c.texi: ... here, new file.
50665 2012-03-02  David S. Miller  <davem@davemloft.net>
50667         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
50669 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
50671         [BZ #3976]
50672         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
50673         (__sin): Save and restore rounding mode and use round-to-nearest
50674         for all computations.
50675         (__cos): Save and restore rounding mode and use round-to-nearest
50676         for all computations.
50677         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
50678         <fenv.h>.
50679         (tan): Save and restore rounding mode and use round-to-nearest for
50680         all computations.
50681         * math/libm-test.inc (cos_test_tonearest): New function.
50682         (cos_test_towardzero): Likewise.
50683         (cos_test_downward): Likewise.
50684         (cos_test_upward): Likewise.
50685         (sin_test_tonearest): Likewise.
50686         (sin_test_towardzero): Likewise.
50687         (sin_test_downward): Likewise.
50688         (sin_test_upward): Likewise.
50689         (tan_test_tonearest): Likewise.
50690         (tan_test_towardzero): Likewise.
50691         (tan_test_downward): Likewise.
50692         (tan_test_upward): Likewise.
50693         (main): Call the new functions.
50694         * sysdeps/i386/fpu/libm-test-ulps: Update.
50695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50697         [BZ #10135]
50698         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
50699         small n, then large n, before computing and testing k+n.
50700         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
50701         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
50702         Likewise.
50703         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
50704         Likewise.
50705         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
50706         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
50707         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
50708         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
50709         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
50710         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
50711         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
50712         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
50713         * math/libm-test.inc (scalbn_test): Add more tests.
50714         (scalbln_test): Likewise.
50716         * manual/filesys.texi (mode_t): Describe constraints on size and
50717         signedness, not exact equivalence to a particular type.
50718         (ino_t): Likewise.
50719         (ino64_t): Likewise.
50720         (dev_t): Likewise.
50721         (nlink_t): Likewise.
50722         (blkcnt_t): Likewise.
50723         (blkcnt64_t): Likewise.
50724         * manual/llio.texi (off_t): Likewise.
50726         [BZ #3976]
50727         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
50728         (__ieee754_exp): Save and restore rounding mode and use
50729         round-to-nearest for all computations.
50730         * math/libm-test.inc (exp_test_tonearest): New function.
50731         (exp_test_towardzero): Likewise.
50732         (exp_test_downward): Likewise.
50733         (exp_test_upward): Likewise.
50734         (main): Call the new functions.
50735         * sysdeps/i386/fpu/libm-test-ulps: Update.
50736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50738 2012-03-01  Chris Demetriou  <cgd@google.com>
50740         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
50741         have predictable order.
50743 2012-03-01  David S. Miller  <davem@davemloft.net>
50745         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
50747         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
50748         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
50749         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
50750         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
50752         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
50753         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
50754         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
50755         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
50756         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
50757         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
50758         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
50759         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
50760         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
50762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50764         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
50765         * sysdeps/sparc/fpu/libm-test-ulps: to here.
50766         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
50768         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
50769         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50770         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50771         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
50772         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
50773         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
50774         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
50775         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50776         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50777         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
50778         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
50779         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50780         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50781         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50782         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50783         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50784         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
50785         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
50786         * sysdeps/sparc/elf/configure: Regenerated.
50788 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
50790         * configure.in (AS, LD): Require binutils 2.20 or later.
50791         * configure: Regenerated.
50792         * manual/install.texi (Tools for Compilation): Give binutils 2.20
50793         as required minimum version.
50794         * INSTALL: Regenerated.
50796         [BZ #2541]
50797         [BZ #4108]
50798         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
50799         before squaring exponent.
50800         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
50801         bottom long double and 27 bits of top long double before squaring
50802         exponent.
50803         * math/libm-test.inc (erfc_test): Add more tests.
50804         * sysdeps/i386/fpu/libm-test-ulps: Update.
50805         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50808 2012-03-01  Kai Tietz  <ktietz@redhat.com>
50810         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
50811         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
50812         containing bit-fields.
50813         * soft-fp/extended.h (_FP_UNION_E): Likewise.
50814         * soft-fp/single.h (_FP_UNION_S): Likewise.
50815         * soft-fp/double.h (_FP_UNION_D): Likewise.
50817 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
50819         [BZ #13786]
50820         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
50821         not include ../strcmp.S.
50822         [USE_AS_STRNCASECMP_L]: Likewise.
50823         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
50824         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
50825         * sysdeps/i386/i686/multiarch/strncase_l-c.c
50826         (__strncasecmp_l_ia32): Define as alias to
50827         __strncasecmp_l_nonascii.
50829         [BZ #5794]
50830         * math/libm-test.inc (expm1_test): Add test for bug 5794.
50831         * sysdeps/i386/fpu/libm-test-ulps: Update.
50832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50834         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
50835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50837 2012-02-29  Jeff Law  <law@redhat.com>
50839         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
50840         out of bounds read.
50842 2012-02-29  Marek Polacek  <polacek@redhat.com>
50844         [BZ #13706]
50845         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
50846         * elf/Makefile: Add rules to run tst-unused-dep.out.
50848 2012-02-28  David S. Miller  <davem@davemloft.net>
50850         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
50851         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
50852         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
50853         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
50854         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
50855         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
50857 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
50859         * math/libm-test.inc (llround_test): Move one test from
50860         lround_test.  Use TEST_f_L in moved test.
50861         (lround_test): Move misplaced test to llround_test.  Add testcase
50862         from bug 2561.
50864 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
50866         * sysdeps/x86_64/fpu/e_expf.S: New file.
50867         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
50869 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
50871         [BZ #13637]
50872         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
50873         of remain_len that may cause incomplete multi-byte character and
50874         false match.
50875         * posix/bug-regex33.c: New file.
50876         * posix/Makefile (tests): Add bug-regex33.
50878 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
50880         * manual/macros.texi: New file.
50881         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
50882         * manual/libc.texinfo: Include macros.texi.
50883         * manual/creatute.texi: Likewise.
50884         * manual/install.texi: Likewise.
50885         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
50886         @glibcadj{} in references to the GNU C Library.
50887         * manual/charset.texi: Likewise.
50888         * manual/conf.texi: Likewise.
50889         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
50890         when not using those macros.
50891         * manual/creature.texi: Likewise.
50892         * manual/crypt.texi: Likewise.
50893         * manual/errno.texi: Likewise.
50894         * manual/filesys.texi: Likewise.
50895         * manual/header.texi: Likewise.
50896         * manual/install.texi: Likewise.
50897         * manual/intro.texi: Likewise.
50898         * manual/io.texi: Likewise.
50899         * manual/job.texi: Likewise.
50900         * manual/lang.texi: Likewise.
50901         * manual/libc.texiinfo: Likewise.
50902         * manual/llio.texi: Likewise.
50903         * manual/locale.texi: Likewise.
50904         * manual/maint.texi: Likewise.
50905         * manual/math.texi: Likewise.
50906         * manual/memory.texi: Likewise.
50907         * manual/message.texi: Likewise.
50908         * manual/nss.texi: Likewise.
50909         * manual/pattern.texi: Likewise.
50910         * manual/process.texi: Likewise.
50911         * manual/resource.texi: Likewise.
50912         * manual/search.texi: Likewise.
50913         * manual/setjmp.texi: Likewise.
50914         * manual/signal.texi: Likewise.
50915         * manual/socket.texi: Likewise.
50916         * manual/startup.texi: Likewise.
50917         * manual/stdio.texi: Likewise.
50918         * manual/string.texi: Likewise.
50919         * manual/sysinfo.texi: Likewise.
50920         * manual/syslog.texi: Likewise.
50921         * manual/terminal.texi: Likewise.
50922         * manual/time.texi: Likewise.
50923         * manual/users.texi: Likewise.
50924         * INSTALL: Regenerated.
50925         * NOTES: Regenerated.
50926         * sysdeps/gnu/errlist.c: Regenerated.
50928 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
50930         * include/dirent.h: Include <dirstream.h> before
50931         <dirent/dirent.h>.
50933 2012-02-28  David S. Miller  <davem@davemloft.net>
50935         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
50936         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
50937         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
50938         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
50940 2012-02-27  David S. Miller  <davem@davemloft.net>
50942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
50943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
50944         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
50945         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
50947         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
50948         frame pointer instead of stack pointer relative arg slot.
50949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50950         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50951         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50953 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
50955         [BZ #3992]
50956         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
50958 2012-02-27  David S. Miller  <davem@davemloft.net>
50960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
50961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
50964         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50965         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50966         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
50967         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
50969 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
50971         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
50972         later.  Allow versions 5-9.
50973         * configure: Regenerated.
50974         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
50975         required minimum version and 4.6 as recommended version.  Do not
50976         mention bugs in GCC 2.7 and 2.8.
50977         * INSTALL: Regenerated.
50979 2012-02-27  David S. Miller  <davem@davemloft.net>
50981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
50982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
50983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
50984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
50985         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
50986         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
50987         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
50988         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
50990         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
50991         manipulate bits before adding and subtracting TWO112[sx].
50992         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50994 2012-02-27  Roland McGrath  <roland@hack.frob.com>
50996         [BZ #13775]
50997         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
50998         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
50999         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
51000         being in POSIX, because they are in 1003.1-2008.
51002         * rt/tst-aio.c: Include <fcntl.h>.
51003         * rt/tst-aio7.c: Likewise.
51004         * rt/tst-aio64.c: Likewise.
51006         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
51008 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
51010         * manual/install.texi (--with-headers): Describe headers as
51011         interface headers, not private headers.
51012         (Specific advice for GNU/Linux systems): Describe use of headers
51013         from "make headers_install", not private headers from older
51014         kernels.
51015         * INSTALL: Regenerated.
51016         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
51017         Change to 2.6.19.
51018         * sysdeps/unix/sysv/linux/configure: Regenerated.
51020         * manual/llio.texi (fclean): Remove documentation.
51022         * manual/Makefile (libc-texi-generated): New variable.  Include
51023         version.texi.
51024         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
51025         $(libc-texi-generated), not duplicated list of files.
51026         (version.texi, stamp-version): New rules.
51027         (realclean): Remove $(libc-texi-generated), not individual files
51028         from that list.  Do not remove dir-add.texinfo.
51029         * manual/libc.texinfo: Comment out uses of edition numbers and
51030         references to printed manual.  Remove last-updated dates.
51031         (EDITION): Comment out.
51032         (ISBN): Likewise.
51033         (VERSION, UPDATED): Remove.
51034         (version.texi): Include.
51036 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
51038         * sysdeps/posix/spawni.c: Include <signal.h>.
51039         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
51040         * sysdeps/pthread/aio_fsync.c: Likewise.
51042 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
51044         * conform/Makefile (tests): Run only when not cross-compiling and
51045         when fast-check is not defined.
51047         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
51048         * conform/data/limits.h-data: Fixes for POSIX2008.
51049         * conform/run-conformtest.sh: Run all tests.
51050         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
51051         headers.
51052         * include/bits/dlfcn.h: Likewise.
51053         * include/langinfo.h: Likewise.
51054         * include/monetary.h: Likewise.
51055         * include/sys/poll.h: Likewise.
51057         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
51058         for __USE_GNU.
51059         * posix/spawn.h: Define __need_sigset_t.
51060         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
51061         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
51062         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
51063         to get sigevent_t only.
51064         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
51065         only for __USE_GNU.
51066         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51067         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51068         process_vm_writev only for __USE_GNU.
51069         * termios/termios.h: Declare tcgetsid also for POSIX2008.
51071         * conform/Makefile: For now ignore errors from run-conformtest.
51072         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
51073         POSIX to avoid namespace pollution.  Don't prepend headers.
51074         * conform/data/aio.h-data: Fixes for POSIX testing.
51075         * conform/data/fcntl.h-data: Likewise.
51076         * conform/data/glob.h-data: Likewise.
51077         * conform/data/grp.h-data: Likewise.
51078         * conform/data/pthread.h-data: Likewise.
51079         * conform/data/pwd.h-data: Likewise.
51080         * conform/data/signal.h-data: Likewise.
51081         * conform/data/spawn.h-data: Likewise.
51082         * conform/data/stdio.h-data: Likewise.
51083         * conform/data/stdlib.h-data: Likewise.
51084         * conform/data/stropts.h-data: Likewise.
51085         * conform/data/sys/mman.h-data: Likewise.
51086         * conform/data/sys/stat.h-data: Likewise.
51087         * conform/data/sys/types.h-data: Likewise.
51088         * conform/data/sys/wait.h-data: Likewise.
51089         * conform/data/time.h-data: Likewise.
51090         * conform/data/unistd.h-data: Likewise.
51091         * conform/data/utime.h-data: Likewise.
51093         * io/sys/stat.h: fchmod was always in POSIX.
51094         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
51095         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
51096         * rt/aio.h: Define __need_timespec before including <time.h>.
51097         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
51098         struct.  Add forward declaration of pthread_attr_t and use it in
51099         sigevent.
51100         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51101         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51102         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
51103         always remove CLK_TCK definition.
51105 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
51107         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
51109 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
51111         * conform/run-conformtest.sh: New file.
51112         * conform/Makefile: Run run-conformtest for tests.
51113         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
51114         support.
51116         * conform/data/uchar.h-data: New file.
51117         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
51118         * conform/data/arpa/inet.h-data: Likewise.
51119         * conform/data/assert.h-data: Likewise.
51120         * conform/data/complex.h-data: Likewise.
51121         * conform/data/cpio.h-data: Likewise.
51122         * conform/data/ctype.h-data: Likewise.
51123         * conform/data/dirent.h-data: Likewise.
51124         * conform/data/dlfcn.h-data: Likewise.
51125         * conform/data/errno.h-data: Likewise.
51126         * conform/data/fcntl.h-data: Likewise.
51127         * conform/data/float.h-data: Likewise.
51128         * conform/data/fmtmsg.h-data: Likewise.
51129         * conform/data/fnmatch.h-data: Likewise.
51130         * conform/data/ftw.h-data: Likewise.
51131         * conform/data/glob.h-data: Likewise.
51132         * conform/data/grp.h-data: Likewise.
51133         * conform/data/iconv.h-data: Likewise.
51134         * conform/data/inttypes.h-data: Likewise.
51135         * conform/data/langinfo.h-data: Likewise.
51136         * conform/data/libgen.h-data: Likewise.
51137         * conform/data/limits.h-data: Likewise.
51138         * conform/data/locale.h-data: Likewise.
51139         * conform/data/math.h-data: Likewise.
51140         * conform/data/monetary.h-data: Likewise.
51141         * conform/data/mqueue.h-data: Likewise.
51142         * conform/data/ndbm.h-data: Likewise.
51143         * conform/data/net/if.h-data: Likewise.
51144         * conform/data/netdb.h-data: Likewise.
51145         * conform/data/netinet/in.h-data: Likewise.
51146         * conform/data/nl_types.h-data: Likewise.
51147         * conform/data/poll.h-data: Likewise.
51148         * conform/data/pthread.h-data: Likewise.
51149         * conform/data/pwd.h-data: Likewise.
51150         * conform/data/regex.h-data: Likewise.
51151         * conform/data/sched.h-data: Likewise.
51152         * conform/data/search.h-data: Likewise.
51153         * conform/data/semaphore.h-data: Likewise.
51154         * conform/data/setjmp.h-data: Likewise.
51155         * conform/data/signal.h-data: Likewise.
51156         * conform/data/spawn.h-data: Likewise.
51157         * conform/data/stdarg.h-data: Likewise.
51158         * conform/data/stdio.h-data: Likewise.
51159         * conform/data/stdlib.h-data: Likewise.
51160         * conform/data/string.h-data: Likewise.
51161         * conform/data/strings.h-data: Likewise.
51162         * conform/data/stropts.h-data: Likewise.
51163         * conform/data/sys/ipc.h-data: Likewise.
51164         * conform/data/sys/mman.h-data: Likewise.
51165         * conform/data/sys/msg.h-data: Likewise.
51166         * conform/data/sys/resource.h-data: Likewise.
51167         * conform/data/sys/select.h-data: Likewise.
51168         * conform/data/sys/sem.h-data: Likewise.
51169         * conform/data/sys/shm.h-data: Likewise.
51170         * conform/data/sys/socket.h-data: Likewise.
51171         * conform/data/sys/stat.h-data: Likewise.
51172         * conform/data/sys/statvfs.h-data: Likewise.
51173         * conform/data/sys/time.h-data: Likewise.
51174         * conform/data/sys/timeb.h-data: Likewise.
51175         * conform/data/sys/times.h-data: Likewise.
51176         * conform/data/sys/types.h-data: Likewise.
51177         * conform/data/sys/uio.h-data: Likewise.
51178         * conform/data/sys/un.h-data: Likewise.
51179         * conform/data/sys/utsname.h-data: Likewise.
51180         * conform/data/sys/wait.h-data: Likewise.
51181         * conform/data/syslog.h-data: Likewise.
51182         * conform/data/tar.h-data: Likewise.
51183         * conform/data/termios.h-data: Likewise.
51184         * conform/data/utime.h-data: Likewise.
51185         * conform/data/utmpx.h-data: Likewise.
51186         * conform/data/varargs.h-data: Likewise.
51187         * conform/data/wchar.h-data: Likewise.
51188         * conform/data/wctype.h-data: Likewise.
51189         * conform/data/wordexp.h-data: Likewise.
51191         * include/stropts.h: New file.
51192         * include/uchar.h: New file.
51193         * include/aio.h: Changes to allow conformtest.pl to use the headers.
51194         * include/assert.h: Likewise.
51195         * include/ctype.h: Likewise.
51196         * include/dirent.h: Likewise.
51197         * include/dlfcn.h: Likewise.
51198         * include/fcntl.h: Likewise.
51199         * include/fnmatch.h: Likewise.
51200         * include/glob.h: Likewise.
51201         * include/grp.h: Likewise.
51202         * include/libio.h: Likewise.
51203         * include/locale.h: Likewise.
51204         * include/math.h: Likewise.
51205         * include/net/if.h: Likewise.
51206         * include/netdb.h: Likewise.
51207         * include/netinet/in.h: Likewise.
51208         * include/pthread.h: Likewise.
51209         * include/pwd.h: Likewise.
51210         * include/regex.h: Likewise.
51211         * include/sched.h: Likewise.
51212         * include/search.h: Likewise.
51213         * include/setjmp.h: Likewise.
51214         * include/signal.h: Likewise.
51215         * include/stdio.h: Likewise.
51216         * include/stdlib.h: Likewise.
51217         * include/string.h: Likewise.
51218         * include/sys/cdefs.h: Likewise.
51219         * include/sys/mman.h: Likewise.
51220         * include/sys/msg.h: Likewise.
51221         * include/sys/resource.h: Likewise.
51222         * include/sys/select.h: Likewise.
51223         * include/sys/socket.h: Likewise.
51224         * include/sys/stat.h: Likewise.
51225         * include/sys/statvfs.h: Likewise.
51226         * include/sys/time.h: Likewise.
51227         * include/sys/times.h: Likewise.
51228         * include/sys/uio.h: Likewise.
51229         * include/sys/utsname.h: Likewise.
51230         * include/sys/wait.h: Likewise.
51231         * include/termios.h: Likewise.
51232         * include/time.h: Likewise.
51233         * include/ulimit.h: Likewise.
51234         * include/unistd.h: Likewise.
51235         * include/utime.h: Likewise.
51236         * include/wchar.h: Likewise.
51237         * include/wctype.h: Likewise.
51238         * include/wordexp.h: Likewise.
51240         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
51242         * time/time.h: TIME_UTC must be a macro.
51243         Make timespec_get available for ISO C11 only as well.
51245 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
51247         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
51248         Reported by Peng Haitao <penght@cn.fujitsu.com>.
51250 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
51252         * configure.in: Use -o not -a in test for unsupported multi-arch.
51254 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
51256         * manual/texinfo.tex: Update to version 2012-01-19.16.
51258 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
51260         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
51262 2012-02-24  Roland McGrath  <roland@hack.frob.com>
51264         [BZ #13738]
51265         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
51266         * manual/fdl-1.3.texi: New file.
51267         * manual/fdl-1.1.texi: File removed.
51269         [BZ #13738]
51270         * manual/libc.texinfo (FDL_VERSION): New @set.
51271         Use it for mention of FDL in cover text.
51272         (Documentation License): Use it in @include file name.
51274 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
51275             Roland McGrath  <roland@hack.frob.com>
51277         [BZ #5461]
51278         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
51279         (not LONG_LONG_MAX and LONG_LONG_MIN.
51280         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
51281         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
51282         name.
51283         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
51285 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
51287         [BZ #2547]
51288         [BZ #11365]
51289         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
51290         manipulate bits before adding and subtracting TWO23[sx].
51291         * math/libm-test.inc (nearbyint_test): Add more tests.
51293 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
51295         [BZ #2548]
51296         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
51297         bits before adding and subtracting TWO23[sx].
51298         * math/libm-test.inc (rint_test): Add more tests.
51299         (rint_test_tonearest): Likewise.
51300         (rint_test_towardzero): Likewise.
51301         (rint_test_downward): Likewise.
51302         (rint_test_upward: Likewise.
51304 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
51306         [BZ #10110]
51307         * include/stdc-predef.h: New file.  Extracted from features.h.
51308         * include/features.h: Include stdc-predef.h.
51309         * Makefile (headers): Add stdc-predef.h.
51310         * CONFORMANCE (Compiler limitations): Update.
51312 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
51314         * manual/libc.texinfo (VERSION, UPDATED): Revert.
51316 2012-02-21  David S. Miller  <davem@davemloft.net>
51318         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
51319         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51321 2012-02-20  David S. Miller  <davem@davemloft.net>
51323         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
51324         using a normal save/restore sequence, rather than allocating a
51325         dummy stack frame just to store a frame pointer and restore.
51326         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51328 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
51330         * manual/install.texi: Fix stray word in line-wrapped comment.
51332 2012-02-20  David S. Miller  <davem@davemloft.net>
51334         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
51335         both binutils and gcc support GOTDATA.
51337         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
51338         "rd %pc" in the PIC register setup sequences.
51340         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
51341         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
51342         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51343         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
51344         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51345         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51346         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51347         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51348         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
51349         (SYSCALL_ERROR_HANDLER): Likewise.
51350         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51351         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51352         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
51353         (SYSCALL_ERROR_HANDLER): Likewise.
51355         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
51356         (HAVE_GCC_GOTDATA): New.
51357         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
51358         relocation support in both binutils and gcc.
51359         * sysdeps/sparc/elf/configure: Regenerate.
51361         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
51362         * sysdeps/sparc/sparc32/elf/configure: Delete.
51363         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
51364         * sysdeps/sparc/sparc64/elf/configure: Delete.
51365         * sysdeps/sparc/elf/configure.in: New file.
51366         * sysdeps/sparc/elf/configure: Generate.
51368         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
51369         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
51370         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51371         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
51372         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
51374 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
51376         * manual/install.texi: Do not mention specific glibc version
51377         numbers.
51378         * manual/libc.texinfo (VERSION, UPDATED): Update.
51379         (@copying): Use @copyright{} and range of years.
51381 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
51383         [BZ #13695]
51384         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
51385         [crti.S not in sysdirs] (generated): Do not append.
51386         [crti.S not in sysdirs] (omit-deps): Likewise.
51387         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
51388         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
51389         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
51390         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
51391         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
51392         Likewise.
51393         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
51394         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
51395         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
51396         * csu/defs.awk: Remove file.
51397         * sysdeps/generic/initfini.c: Likewise.
51398         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
51399         variable.
51400         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
51401         Likewise.
51403 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
51405         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
51406         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
51407         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
51408         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
51409         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51410         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
51411         <bits/epoll.h>.
51412         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
51413         (__EPOLL_PACKED): Define to empty if not defined by
51414         <bits/epoll.h>.
51415         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
51416         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51417         bits/epoll.h.
51419 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
51421         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
51422         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
51423         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
51424         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
51425         <bits/timerfd.h>.
51426         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
51427         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51428         bits/timerfd.h.
51430 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
51432         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
51433         in C locale.
51434         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51435         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51436         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
51437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51439 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
51441         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51442         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51444 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
51446         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
51447         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
51448         defined.
51449         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
51450         Likewise.
51451         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
51452         entry for 2.16.
51454 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
51456         * math/w_acos.c: Use non-signaling floating-point comparisons.
51457         * math/w_acosf.c: Likewise.
51458         * math/w_acosh.c: Likewise.
51459         * math/w_acoshf.c: Likewise.
51460         * math/w_acoshl.c: Likewise.
51461         * math/w_acosl.c: Likewise.
51462         * math/w_asin.c: Likewise.
51463         * math/w_asinf.c: Likewise.
51464         * math/w_asinl.c: Likewise.
51465         * math/w_atanh.c: Likewise.
51466         * math/w_atanhf.c: Likewise.
51467         * math/w_atanhl.c: Likewise.
51468         * math/w_exp2.c: Likewise.
51469         * math/w_exp2f.c: Likewise.
51470         * math/w_exp2l.c: Likewise.
51471         * math/w_j0.c: Likewise.
51472         * math/w_j0f.c: Likewise.
51473         * math/w_j0l.c: Likewise.
51474         * math/w_j1.c: Likewise.
51475         * math/w_j1f.c: Likewise.
51476         * math/w_j1l.c: Likewise.
51477         * math/w_jn.c: Likewise.
51478         * math/w_jnf.c: Likewise.
51479         * math/w_log.c: Likewise.
51480         * math/w_log10.c: Likewise.
51481         * math/w_log10f.c: Likewise.
51482         * math/w_log10l.c: Likewise.
51483         * math/w_log2.c: Likewise.
51484         * math/w_log2f.c: Likewise.
51485         * math/w_log2l.c: Likewise.
51486         * math/w_logf.c: Likewise.
51487         * math/w_logl.c: Likewise.
51488         * math/w_sqrt.c: Likewise.
51489         * math/w_sqrtf.c: Likewise.
51490         * math/w_sqrtl.c: Likewise.
51491         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51492         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
51493         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51494         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51495         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51497 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
51499         [BZ #9739]
51500         * manual/string.texi (strnlen): Use correct parameter name in
51501         equivalent expression.
51503 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
51505         [BZ #11174]
51506         * manual/users.texi (seteuid): Consistently use neweuid for
51507         argument name.
51509 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
51511         [BZ #13704]
51512         * manual/nss.texi (Services in the NSS configuration): Correct
51513         list of services in example configuration file.
51515 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
51517         [BZ #11322]
51518         * manual/arith.texi: Remove statements about negative zero
51519         behaving identically to zero.
51521 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
51523         [BZ #5993]
51524         * manual/install.texi: Do not document upgrading from libc5.
51526 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
51528         [BZ #4596]
51529         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
51531 2012-02-18  David S. Miller  <davem@davemloft.net>
51533         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
51534         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
51535         %o7 across the call.
51536         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
51537         instead.
51538         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
51539         SETUP_PIC_REG_LEAF.
51540         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51541         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
51542         * sysdeps/sparc/crtn.S: Likewise.
51544 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
51546         * aout/Makefile: Remove.
51548 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
51550         [BZ #13058]
51551         * manual/examples/argp-ex1.c (main): Format definition in GNU
51552         style.
51553         * manual/examples/argp-ex2.c (main): Likewise.
51554         * manual/examples/argp-ex3.c (main): Likewise.
51555         * manual/examples/argp-ex4.c (main): Likewise.
51556         * manual/examples/longopt.c (main): Use new-style prototype
51557         definition.
51558         * manual/examples/strncat.c (main): Specify return type and use
51559         (void) for arguments.
51560         * manual/examples/subopt.c (main): Use char **argv argument.
51562 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51564         [BZ #5077]
51565         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
51566         rounding modes.
51568 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
51570         [BZ #6907]
51571         * manual/string.texi (strchr): Change when strchrnul is
51572         recommended.
51574 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
51576         [BZ #174]
51577         * manual/locale.texi (setlocale): Document LOCPATH.
51579 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51581         [BZ #10210]
51582         * manual/process.texi (execle): Move @dots{} before last argument.
51584 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
51586         [BZ #12047]
51587         * manual/charset.texi (Generic Charset Conversion): Fix typo
51588         (LC_TYPE -> LC_CTYPE).
51590 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
51592         [BZ #5805]
51593         * manual/arith.texi (scalbn): Use @var{} on parameter names.
51594         (scalbnf): Likewise.
51595         (scalbnl): Likewise.
51596         (scalbln): Likewise.
51597         (scalblnf): Likewise.
51598         (scalblnl): Likewise.
51599         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
51600         (vwarnx): Likewise.
51601         (verr): Likewise.
51602         (verrx): Likewise.
51603         * manual/filesys.texi (telldir): Use braces around return type.
51604         * manual/llio.texi (mmap): Add space after comma.
51605         (mmap64): Likewise.
51606         * manual/math.texi (jn): Use @var{} on parameter names.
51607         (jnf): Likewise.
51608         (jnl): Likewise.
51609         (yn): Likewise.
51610         (ynf): Likewise.
51611         (ynl): Likewise.
51612         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
51613         line.
51614         * manual/resource.texi (ulimit): Use @dots{} instead of literal
51615         "...".
51616         (sched_get_priority_min): Remove semicolon on @deftypefun line.
51617         (sched_get_priority_max): Likewise.
51618         * manual/signal.texi (sigvec): Add space after comma.
51619         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
51620         names.
51621         (if_indextoname): Likewise.
51622         (if_freenameindex): Likewise.
51623         (sendto): Use ',' instead of '.' in prototype.
51624         * manual/startup.texi (syscall): Use @dots{} instead of literal
51625         "...".
51626         * manual/stdio.texi (__fpending): Separate initial words of
51627         paragraph from @deftypefun line.
51628         * manual/syslog.texi (syslog): Use @dots{} instead of literal
51629         "...".
51630         (vsyslog): Use @var{} on parameter names.
51631         * manual/terminal.texi (stty): Use @var{} on parameter names.
51632         * manual/users.texi (getutmp): Use @var{} on parameter names.
51633         (getutmpx): Likewise.
51635 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51637         [BZ #6884]
51638         * manual/stdio.texi (fopen): Fix typos in description of
51639         ",ccs=STRING".
51641 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
51643         [BZ #4026]
51644         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
51645         get clock_id definition.
51647 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
51649         [BZ #4822]
51650         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
51651         (madvise): Cast every argument to void on its own.
51653 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51655         [BZ #9902]
51656         * manual/startup.texi (Exit Status): Fix typo.
51658 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51660         [BZ #10140]
51661         * manual/examples/argp-ex1.c: Include <stdlib.h>.
51662         * manual/examples/argp-ex2.c: Likewise.
51663         * manual/examples/argp-ex3.c: Likewise.
51665 2012-02-16  Richard Henderson  <rth@redhat.com>
51667         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
51668         * sysdeps/s390/s390-32/initfini.c: Remove.
51669         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
51670         * sysdeps/s390/s390-64/initfini.c: Remove.
51672 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51674         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
51675         compiler output for sysdeps/generic/initfini.c.
51676         * sysdeps/sh/elf/initfini.c: Remove file.
51678 2012-02-16  David S. Miller  <davem@davemloft.net>
51680         [BZ #11494]
51681         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
51683         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
51684         * sysdeps/sparc/crti.S: New file.
51685         * sysdeps/sparc/crtn.S: New file.
51686         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
51687         * sysdeps/sparc/sparc64/Makefile: Likewise.
51689 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
51691         [BZ #3335]
51692         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
51694 2012-02-15  Roland McGrath  <roland@hack.frob.com>
51696         [BZ #4822]
51697         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
51699         * mach/devstream.c (cookie_io_functions_t): Macro removed.
51700         (write, read, close): Likewise.
51701         Patch by Aurelien Jarno <aurelien@aurel32.net>.
51703 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
51705         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
51706         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
51707         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
51708         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
51709         <bits/signalfd.h>.
51710         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
51711         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51712         bits/signalfd.h.
51714 2012-02-14  Marek Polacek  <polacek@redhat.com>
51716         * sysdeps/x86_64/crti.S: New file.
51717         * sysdeps/x86_64/crtn.S: New file.
51718         * sysdeps/x86_64/elf/initfini.c: Remove file.
51720 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
51722         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
51723         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
51724         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
51725         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
51726         <bits/inotify.h>.
51727         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
51728         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51729         bits/inotify.h.
51731 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
51733         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
51734         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
51735         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
51736         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
51737         <bits/eventfd.h>.
51738         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
51739         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51740         bits/eventfd.h.
51742 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
51744         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
51745         __feraiseexcept instead of feraiseexcept.
51747         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
51748         nanosleep invocations.
51749         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
51750         strings, and add error checking for a nanosleep invocations.
51752 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
51754         Replace FSF snail mail address with URLs, as per GNU coding standards.
51755         Most of the snail mail addresses were wrong anyway, and omitting
51756         them makes the source code easier to maintain.  Almost all of the
51757         changes are to license notices and to locale LC_IDENTIFICATION
51758         addresses, except for this one:
51759         * manual/libc.texinfo: In "Published by", give the FSF's URL,
51760         not its snail mail address.
51762 2012-02-09  Richard Henderson  <rth@twiddle.net>
51764         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
51765         of kernel-features.h.
51767         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
51769 2012-02-08  Marek Polacek  <polacek@redhat.com>
51771         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
51772         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
51773         * sysdeps/gnu/_G_config.h: Likewise.
51774         * sysdeps/generic/_G_config.h: Likewise.
51776 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
51778         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
51779         tests.
51780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51782         * sysdeps/powerpc/powerpc32/crti.S: New file.
51783         * sysdeps/powerpc/powerpc32/crtn.S: New file.
51784         * sysdeps/powerpc/powerpc64/crti.S: New file.
51785         * sysdeps/powerpc/powerpc64/crtn.S: New file.
51787         * Makeconfig (have-initfini): Don't set.
51788         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
51789         * configure.in (nopic_initfini): Don't substitute.
51790         * config.h.in (HAVE_INITFINI): Don't #undef.
51791         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
51792         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
51794 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
51796         Support crti.S and crtn.S provided directly by architectures.
51797         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
51798         [crti.S in sysdirs] (omit-deps): Likewise.
51799         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
51800         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
51801         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
51802         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
51803         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
51804         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
51805         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
51806         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
51807         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
51808         compiler output for sysdeps/generic/initfini.c.
51809         * sysdeps/i386/elf/Makefile: Remove file.
51810         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
51812 2012-02-07  Marek Polacek  <polacek@redhat.com>
51814         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
51815         * sysdeps/gnu/_G_config.h: Likewise.
51816         * sysdeps/mach/hurd/_G_config.h: Likewise.
51818 2012-02-07  Marek Polacek  <polacek@redhat.com>
51820         * math/Makefile (tests): Add tst-CMPLX2.
51821         * math/tst-CMPLX2.c: New file.
51823 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
51825         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51827         * math/libm-test.inc (jn_test): Add missing L suffix.
51829 2012-02-06  Marek Polacek  <polacek@redhat.com>
51831         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
51832         * sysdeps/i386/fpu/e_powf.S: Likewise.
51833         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51834         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51835         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51836         * sysdeps/i386/fpu/e_pow.S: Likewise.
51837         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
51838         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51839         * sysdeps/i386/fpu/s_expm1.S: Likewise.
51840         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
51841         * sysdeps/i386/fpu/e_log2.S: Likewise.
51842         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51843         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51844         * sysdeps/i386/fpu/e_powl.S: Likewise.
51845         * sysdeps/i386/fpu/s_log1p.S: Likewise.
51846         * sysdeps/i386/fpu/e_log10f.S: Likewise.
51847         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
51848         * sysdeps/i386/fpu/e_logl.S: Likewise.
51849         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
51850         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
51851         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
51852         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
51853         * sysdeps/i386/fpu/e_log2f.S: Likewise.
51854         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51855         * sysdeps/i386/fpu/e_log.S: Likewise.
51856         * sysdeps/i386/fpu/s_cexp.S: Likewise.
51857         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51858         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
51859         * sysdeps/i386/fpu/e_logf.S: Likewise.
51860         * sysdeps/i386/fpu/e_log10l.S: Likewise.
51861         * sysdeps/i386/fpu/e_atanh.S: Likewise.
51862         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
51863         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
51864         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51865         * sysdeps/i386/fpu/e_log10.S: Likewise.
51866         * sysdeps/i386/fpu/s_frexp.S: Likewise.
51867         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51868         * sysdeps/i386/fpu/s_asinh.S: Likewise.
51869         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
51870         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51871         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
51872         * sysdeps/i386/asm-syntax.h: Likewise.
51873         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51874         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51875         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51876         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
51877         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
51878         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51879         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
51880         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
51881         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51882         * sysdeps/powerpc/sysdep.h: Likewise.
51883         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
51884         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51886 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
51888         [BZ #411]
51889         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
51891 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
51893         * sysdeps/i386/sysdep.h: Include <features.h>.
51894         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
51895         version.
51897 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
51899         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
51900         Define.
51901         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
51902         LOAD_PIC_REG_STR.
51904 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
51906         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
51907         (SETUP_PIC_REG): Use GET_PC_THUNK.
51908         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
51909         macro.
51911 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
51913         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
51914         for non-PIC compilation.
51915         (SETUP_PIC_REG): Add .p2align directive.
51916         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
51917         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
51918         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51919         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51920         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
51921         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51922         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
51923         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51924         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51925         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51926         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51927         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51928         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51929         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51930         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51931         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
51932         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
51933         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51934         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51935         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51936         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51937         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
51938         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51939         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51940         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
51941         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
51942         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51943         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
51944         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51945         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51946         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51947         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51948         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51949         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51950         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51951         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51952         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51953         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51954         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51955         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51956         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51958 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
51960         * math/tst-CMPLX.c: Include <stdio.h>.
51962 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
51964         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
51965         float.
51966         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51967         * sysdeps/sparc/bits/mathdef.h: Likewise.
51969 2012-01-31  Marek Polacek  <polacek@redhat.com>
51971         * libio/libio.h: Don't define _PARAMS.
51972         * locale/programs/config.h: Don't define PARAMS.
51973         * stdlib/strtol_l.c: Likewise.
51974         (__strtol_l): Remove PARAMS from the prototype.
51976 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
51978         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
51979         names.  Just use the correct names.  Remove unnecessary wrapper
51980         functions.
51981         * malloc/arena.c: Likewise.
51982         * malloc/hooks.c: Likewise.
51984         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
51985         ARENA_TEST says not to.  Simplify test for creation of a new arena.
51986         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
51988 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
51990         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
51991         into tail calls.
51992         (update_get_addr): New function.
51993         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
51994         GET_ADDR_MODULE parameter.
51996 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
51998         * crypt/cert.c: Remove __STDC__ conditionals.
51999         * crypt/crypt-entry.c: Likewise.
52000         * crypt/crypt_util.c: Likewise.
52001         * libio/filedoalloc.c: Likewise.
52002         * libio/fileops.c: Likewise.
52003         * libio/genops.c: Likewise.
52004         * libio/iofclose.c: Likewise.
52005         * libio/iofdopen.c: Likewise.
52006         * libio/iofopen.c: Likewise.
52007         * libio/iofopen64.c: Likewise.
52008         * libio/iogetdelim.c: Likewise.
52009         * libio/iopopen.c: Likewise.
52010         * libio/obprintf.c: Likewise.
52011         * libio/oldfileops.c: Likewise.
52012         * libio/oldiofclose.c: Likewise.
52013         * libio/oldiofdopen.c: Likewise.
52014         * libio/oldiofopen.c: Likewise.
52015         * libio/oldiopopen.c: Likewise.
52016         * libio/wfiledoalloc.c: Likewise.
52017         * libio/wgenops.c: Likewise.
52018         * locale/programs/xmalloc.c: Likewise.
52019         * misc/syslog.c: Likewise.
52020         * stdio-common/xbug.c: Likewise.
52021         * string/memchr.c: Likewise.
52022         * string/memcmp.c: Likewise.
52023         * string/memrchr.c: Likewise.
52024         * string/rawmemchr.c: Likewise.
52025         * sysdeps/posix/getcwd.c: Likewise.
52026         * time/strftime_l.c: Likewise.
52028 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
52030         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
52031         * config.make.in (config-cflags-sse2avx): Define.
52032         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
52033         Fix typo.
52035 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
52037         * scripts/config.guess: Update from upstream config git repository.
52038         * scripts/config.sub: Likewise.
52040 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
52042         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
52043         (EM_NUM): Update.
52044         (R_TILEPRO_*, R_TILEGX_*): New macros.
52046         * scripts/firstversions.awk: Fix bug in version range handling.
52048         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
52050         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
52052         * include/sys/epoll.h: New file.
52053         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
52054         libc_hidden_def.
52056 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
52058         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
52059         Avoid unnecessary __WORDSIZE == 64 test.
52060         (fmaxf): Use VEX format if possible.
52061         (fmax): Likewise.
52062         (fminf): Likewise.
52063         (fmin): Likewise.
52065         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
52066         * math/math_private.h: Remove libc_fegetround* and
52067         libc_fesetround*.
52068         * sysdeps/i386/configure.in: Check for -msse2avx.
52069         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
52070         also if SSE2AVX is defined.
52071         Remove libc_fegetround* and libc_fesetround*.
52072         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
52073         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
52074         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
52075         of HAS_YMM_USABLE.
52076         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52077         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52078         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52079         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52080         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52082         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
52084 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52086         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
52087         size is not set.
52088         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52090 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
52092         [BZ #13618]
52093         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
52094         relocation.
52095         * Makeconfig (libm): Define.
52096         * elf/Makefile: Add rules to build and run tst-relsort1.
52097         * elf/tst-relsort1.c: New file.
52098         * elf/tst-relsort1mod1.c: New file.
52099         * elf/tst-relsort1mod2.c: New file.
52101 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
52103         * math/s_ldexp.c: Remove __STDC__ conditionals.
52104         * math/s_ldexpf.c: Likewise.
52105         * math/s_ldexpl.c: Likewise.
52106         * math/s_nextafter.c: Likewise.
52107         * math/s_nexttowardf.c: Likewise.
52108         * math/s_significand.c: Likewise.
52109         * math/s_significandf.c: Likewise.
52110         * math/s_significandl.c: Likewise.
52111         * math/w_jnl.c: Likewise.
52112         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52113         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52114         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52115         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52116         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52117         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52118         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
52119         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52120         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52121         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52122         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52123         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52124         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52125         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52126         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52127         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52128         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52129         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52130         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52131         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52132         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52133         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52134         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52135         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52136         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52137         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52138         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52139         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52140         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52141         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52142         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52143         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52144         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52145         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52146         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52147         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52148         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52149         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52150         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52151         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52152         * sysdeps/ieee754/k_standard.c: Likewise.
52153         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52154         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52155         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52156         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52157         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52158         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52159         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52160         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52161         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52162         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52163         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52164         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52165         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52166         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52167         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52168         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52169         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52170         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52171         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52172         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52173         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52174         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52175         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52176         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52177         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52178         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52179         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52180         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52181         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52182         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52183         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52184         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
52185         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52186         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52187         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52188         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52189         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
52190         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52191         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52192         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
52193         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
52194         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52195         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
52196         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
52197         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52198         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52199         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52200         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52201         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52202         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
52203         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
52204         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52205         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52206         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52207         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52208         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52209         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
52210         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52211         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52212         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52213         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52214         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52215         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52216         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52217         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52218         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52219         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52220         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52221         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52222         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52223         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52224         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52225         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52226         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52227         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52228         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52229         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52230         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52231         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52232         * sysdeps/ieee754/s_matherr.c: Likewise.
52233         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52234         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52235         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52236         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52238 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
52240         * crypt/md5.h: Remove __STDC__ conditionals.
52241         * libio/libioP.h: Likewise.
52242         * locale/programs/config.h: Likewise.
52243         * sysdeps/generic/sysdep.h: Likewise.
52244         * sysdeps/i386/asm-syntax.h: Likewise.
52245         * sysdeps/s390/asm-syntax.h: Likewise.
52246         * sysdeps/unix/sysdep.h: Likewise.
52247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
52248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52250 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
52252         * libio/libio.h: Remove __STDC__ conditionals.
52253         * malloc/obstack.h: Likewise.
52254         * math/complex.h: Likewise.
52255         * math/math.h: Likewise.
52256         * sysdeps/generic/_G_config.h: Likewise.
52257         * sysdeps/gnu/_G_config.h: Likewise.
52258         * sysdeps/mach/hurd/_G_config.h: Likewise.
52259         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52260         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52261         * sysdeps/sparc/bits/mathdef.h: Likewise.
52263 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
52265         [BZ #13583]
52266         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
52267         Clean up HAS_* macros.
52268         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
52269         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
52270         possible.
52271         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
52272         HAS_AVX.
52273         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52274         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52275         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52276         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52277         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52279 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
52281         * elf/tst-unique3.cc (gets): Remove declaration.
52282         * elf/tst-unique3lib.cc (gets): Likewise.
52283         * elf/tst-unique3lib2.cc (gets): Likewise.
52284         * elf/tst-unique4.cc (gets): Likewise.
52286 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
52288         * include/stdio.h: Add C++ protection.  Add gets declarations and
52289         definitions.
52290         * debug/tst-chk1.c: Don't declare gets here.
52291         * stdio-common/tst-gets.c: Likewise.
52293 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
52295         * posix/glob: Remove directory.
52297 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
52299         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
52301 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
52303         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
52304         of the non-standard EPFNOSUPPORT.
52306 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52308         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
52309         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
52310         ANYWHERE set to 1 only on KERN_NO_SPACE error.
52312 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
52314         * wcsmbs/uchar.h: Test __STDC_VERSION__.
52316 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
52318         * nscd/aicache.c (addhstaiX): Do not cache negative results of
52319         transient errors.
52320         * nscd/grpcache.c (cache_addgr): Likewise.
52321         * nscd/hstcache.c (cache_addhst): Likewise.
52322         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52323         * nscd/pwdcache.c (cache_addpw): Likewise.
52324         * nscd/servicescache.c (cache_addserv): Likewise.
52326 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
52328         * malloc/malloc.c: Various cleanups.
52329         * malloc/hooks.c: Likewise.
52331         * stdlib/Makefile (tests): Add bug-fmtmsg1.
52332         * stdlib/bug-fmtmsg1.c: New file.
52334         * stdlib/fmtmsg.c (init): Add missing unlock.
52335         Patch by Peng Haitao <penght@cn.fujitsu.com>.
52337 2012-01-12  Marek Polacek  <polacek@redhat.com>
52339         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
52340         and _GNU_SOURCE.
52342 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
52344         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
52345         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
52346         macro to ensure uniqueness of label name.
52347         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52348         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52350 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
52352         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
52354         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
52355         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52356         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52357         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
52359 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
52361         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
52363         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
52364         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52365         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52367         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
52369         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
52370         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52371         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52372         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
52374         * math/bits/math-finite.h: Add ldexp support.
52376 2012-01-10  Marek Polacek  <polacek@redhat.com>
52378         * locale/programs/localedef.h (show_archive_content): Add noreturn
52379         attribute.
52381 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
52383         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
52385 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
52387         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
52389         * io/Makefile (headers): Add bits/poll2.h.
52391 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
52393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
52394         typo #include statement.
52396 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
52398         * include/sys/cdefs.h: Define __attribute_alloc_size.
52399         * catgets/gencat.c: Add alloc_size attribute and apply consistently
52400         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
52401         * elf/pldd.c: Likewise.
52402         * iconv/iconv_charmap.c: Likewise.
52403         * iconv/iconvconfig.c: Likewise.
52404         * iconv/strtab.c: Likewise.
52405         * locale/programs/locale.c: Likewise.
52406         * locale/programs/localedef.h: Likewise.
52407         * locale/programs/simple-hash.c: Likewise.
52408         * nscd/nscd.h: Likewise.
52409         * nss/makedb.c: Likewise.
52410         * sysdeps/generic/ldconfig.h: Likewise.
52411         * locale/programs/localedef.c: Remove xmalloc prototype.
52412         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
52414 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52416         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
52417         appropriate.
52419 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
52421         * math/Makefile (tests): Add tst-CMPLX.
52422         * math/tst-CMPLX.c: New file.
52424         * math/complex.h (CMPLXL): Fix typo.
52426         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
52427         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
52428         GLIBC_2.16.
52429         * debug/tst-chk1.c: Add poll and ppoll tests.
52430         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
52431         * include/sys/poll.h: Add hidden proto for ppoll.
52432         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
52433         * sysdeps/mach/hurd/ppoll.c: Likewise.
52434         * io/ppoll.c: Likewise.
52435         * debug/poll_chk.c: New file.
52436         * debug/ppoll_chk.c: New file.
52437         * include/bits/poll2.h: New file.
52438         * io/bits/poll2.h: New file.
52440         [BZ #1350]
52441         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
52443         * configure.in: static is always set to yes.  Remove.
52444         * config.make.in: Don't set build-static.
52445         * Makeconfig: Remove use of build-static.
52446         * dlfcn/Makefile: Likewise.
52447         * elf/Makefile: Likewise.
52448         * math/Makefile: Likewise.
52449         * misc/Makefile: Likewise.
52450         * nptl/Makefile: Likewise.
52451         * sysdeps/mach/hurd/Makefile: Likewise.
52453         * configure.in: PWD_P is not used anymore.
52454         * config.make.in: Remove PWD_P entry.
52456         * configure.in: Remove last remnants of RANLIB.
52457         No need to check for signed size_t anymore.
52458         Don't set libc_commonpagesize and libc_relro_required here for Alpha
52459         and IA-64.
52460         Remove __builtin_expect test because we require at least gcc 3.4.
52461         * aclocal.m4: Likewise.
52463         * wcsmbs/mbrtoc16.c: Implement using towc function.
52464         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
52465         * wcsmbs/wcsmbsload.c: Likewise.
52466         * iconv/gconv_simple.c: Likewise.
52467         * iconv/gconv_int.h: Likewise.
52468         * iconv/gconv_builtin.h: Likewise.
52469         * iconv/iconv_prog.c: Remove CHAR16 handling.
52471         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
52473         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
52475         * configure.in: Remove --with-elf and --enable-bounded options.
52476         Dont set base_machine for ia64.  More non-ELF conditions removed.
52477         Remove testing and setting of leading underscore information.
52478         * config.make.in (build-bounded): Set to no.
52479         * config.h.in: Remove NO_UNDERSCORES entry.
52480         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
52481         them.
52482         * csu/start.c: Remove !NO_UNDERSCORE code.
52483         * locale/localeinfo.h: Likewise.
52484         * sysdeps/generic/machine-gmon.h: Likewise.
52485         * sysdeps/generic/sysdep.h: Likewise.
52486         * sysdeps/i386/sysdep.h: Likewise.
52487         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
52488         * sysdeps/mach/sysdep.h: Likewise.
52489         * sysdeps/s390/s390-32/sysdep.h: Likewise.
52490         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52491         * sysdeps/sh/sysdep.h: Likewise.
52492         * sysdeps/sparc/sparc32/alloca.S: Likewise.
52493         * sysdeps/unix/i386/sysdep.S: Likewise.
52494         * sysdeps/unix/sparc/start.c: Likewise.
52495         * sysdeps/unix/sparc/sysdep.S: Likewise.
52496         * sysdeps/unix/sparc/sysdep.h: Likewise.
52497         * sysdeps/unix/start.c: Likewise.
52498         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52499         * sysdeps/x86_64/sysdep.h: Likewise.
52501 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
52503         [BZ #13553]
52504         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
52505         for non-gcc.
52506         * argp/argp-fmtstream.h: Use const instead __const.
52507         * argp/argp.h: Likewise.
52508         * assert/assert.h: Likewise.
52509         * bits/fenv.h: Likewise.
52510         * bits/sched.h: Likewise.
52511         * bits/sigset.h: Likewise.
52512         * bits/sigthread.h: Likewise.
52513         * catgets/nl_types.h: Likewise.
52514         * conform/data/pthread.h-data: Likewise.
52515         * crypt/crypt-private.h: Likewise.
52516         * crypt/crypt.h: Likewise.
52517         * crypt/crypt_util.c: Likewise.
52518         * ctype/ctype.h: Likewise.
52519         * debug/execinfo.h: Likewise.
52520         * debug/mbsnrtowcs_chk.c: Likewise.
52521         * debug/mbsrtowcs_chk.c: Likewise.
52522         * debug/wcsnrtombs_chk.c: Likewise.
52523         * debug/wcsrtombs_chk.c: Likewise.
52524         * debug/wcstombs_chk.c: Likewise.
52525         * dirent/dirent.h: Likewise.
52526         * dlfcn/dlfcn.h: Likewise.
52527         * elf/neededtest4.c: Likewise.
52528         * grp/grp.h: Likewise.
52529         * gshadow/gshadow.h: Likewise.
52530         * iconv/gconv.h: Likewise.
52531         * iconv/gconv_int.h: Likewise.
52532         * iconv/gconv_simple.c: Likewise.
52533         * iconv/iconv.h: Likewise.
52534         * iconv/loop.c: Likewise.
52535         * iconv/skeleton.c: Likewise.
52536         * include/aio.h: Likewise.
52537         * include/aliases.h: Likewise.
52538         * include/argz.h: Likewise.
52539         * include/arpa/inet.h: Likewise.
52540         * include/assert.h: Likewise.
52541         * include/dirent.h: Likewise.
52542         * include/dlfcn.h: Likewise.
52543         * include/execinfo.h: Likewise.
52544         * include/fcntl.h: Likewise.
52545         * include/fenv.h: Likewise.
52546         * include/glob.h: Likewise.
52547         * include/grp.h: Likewise.
52548         * include/libintl.h: Likewise.
52549         * include/mntent.h: Likewise.
52550         * include/netdb.h: Likewise.
52551         * include/pwd.h: Likewise.
52552         * include/rpc/netdb.h: Likewise.
52553         * include/sched.h: Likewise.
52554         * include/search.h: Likewise.
52555         * include/shadow.h: Likewise.
52556         * include/signal.h: Likewise.
52557         * include/stdio.h: Likewise.
52558         * include/stdlib.h: Likewise.
52559         * include/string.h: Likewise.
52560         * include/sys/socket.h: Likewise.
52561         * include/sys/stat.h: Likewise.
52562         * include/sys/statfs.h: Likewise.
52563         * include/sys/statvfs.h: Likewise.
52564         * include/sys/syslog.h: Likewise.
52565         * include/sys/time.h: Likewise.
52566         * include/sys/uio.h: Likewise.
52567         * include/time.h: Likewise.
52568         * include/unistd.h: Likewise.
52569         * include/utmp.h: Likewise.
52570         * include/wchar.h: Likewise.
52571         * include/wctype.h: Likewise.
52572         * inet/aliases.h: Likewise.
52573         * inet/arpa/inet.h: Likewise.
52574         * inet/netinet/ether.h: Likewise.
52575         * inet/netinet/in.h: Likewise.
52576         * intl/libintl.h: Likewise.
52577         * io/bits/fcntl2.h: Likewise.
52578         * io/fcntl.h: Likewise.
52579         * io/ftw.h: Likewise.
52580         * io/sys/poll.h: Likewise.
52581         * io/sys/stat.h: Likewise.
52582         * io/sys/statfs.h: Likewise.
52583         * io/sys/statvfs.h: Likewise.
52584         * io/utime.h: Likewise.
52585         * libio/bits/stdio.h: Likewise.
52586         * libio/bits/stdio2.h: Likewise.
52587         * libio/libio.h: Likewise.
52588         * libio/libioP.h: Likewise.
52589         * libio/stdio.h: Likewise.
52590         * locale/lc-ctype.c: Likewise.
52591         * locale/locale.h: Likewise.
52592         * login/utmp.h: Likewise.
52593         * malloc/arena.c: Likewise.
52594         * malloc/malloc.c: Likewise.
52595         * malloc/malloc.h: Likewise.
52596         * malloc/mcheck.c: Likewise.
52597         * malloc/mtrace.c: Likewise.
52598         * math/bits/mathcalls.h: Likewise.
52599         * math/fenv.h: Likewise.
52600         * math/math_private.h: Likewise.
52601         * misc/bits/error.h: Likewise.
52602         * misc/bits/syslog.h: Likewise.
52603         * misc/err.h: Likewise.
52604         * misc/error.h: Likewise.
52605         * misc/fstab.h: Likewise.
52606         * misc/mntent.h: Likewise.
52607         * misc/regexp.h: Likewise.
52608         * misc/search.h: Likewise.
52609         * misc/sgtty.h: Likewise.
52610         * misc/sys/mman.h: Likewise.
52611         * misc/sys/syslog.h: Likewise.
52612         * misc/sys/uio.h: Likewise.
52613         * misc/sys/xattr.h: Likewise.
52614         * misc/ttyent.h: Likewise.
52615         * nis/rpcsvc/ypclnt.h: Likewise.
52616         * nss/nss.h: Likewise.
52617         * posix/bits/unistd.h: Likewise.
52618         * posix/fnmatch.h: Likewise.
52619         * posix/glob.h: Likewise.
52620         * posix/sched.h: Likewise.
52621         * posix/spawn.h: Likewise.
52622         * posix/sys/wait.h: Likewise.
52623         * posix/unistd.h: Likewise.
52624         * posix/wordexp.h: Likewise.
52625         * pwd/pwd.h: Likewise.
52626         * resolv/netdb.h: Likewise.
52627         * resource/sys/resource.h: Likewise.
52628         * rt/aio.h: Likewise.
52629         * rt/bits/mqueue2.h: Likewise.
52630         * rt/mqueue.h: Likewise.
52631         * shadow/shadow.h: Likewise.
52632         * signal/signal.h: Likewise.
52633         * socket/send.c: Likewise.
52634         * socket/sendto.c: Likewise.
52635         * socket/sys/socket.h: Likewise.
52636         * stdio-common/printf.h: Likewise.
52637         * stdlib/bits/stdlib.h: Likewise.
52638         * stdlib/fmtmsg.h: Likewise.
52639         * stdlib/monetary.h: Likewise.
52640         * stdlib/stdlib.h: Likewise.
52641         * stdlib/ucontext.h: Likewise.
52642         * streams/stropts.h: Likewise.
52643         * string/argz.h: Likewise.
52644         * string/bits/string2.h: Likewise.
52645         * string/string.h: Likewise.
52646         * string/strings.h: Likewise.
52647         * sunrpc/rpc/auth.h: Likewise.
52648         * sunrpc/rpc/auth_des.h: Likewise.
52649         * sunrpc/rpc/clnt.h: Likewise.
52650         * sunrpc/rpc/netdb.h: Likewise.
52651         * sunrpc/rpc/pmap_clnt.h: Likewise.
52652         * sunrpc/rpc/xdr.h: Likewise.
52653         * sysdeps/generic/inttypes.h: Likewise.
52654         * sysdeps/generic/net/if.h: Likewise.
52655         * sysdeps/generic/sys/swap.h: Likewise.
52656         * sysdeps/gnu/net/if.h: Likewise.
52657         * sysdeps/gnu/utmpx.h: Likewise.
52658         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
52659         * sysdeps/i386/i486/bits/string.h: Likewise.
52660         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
52661         * sysdeps/s390/bits/string.h: Likewise.
52662         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
52663         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
52664         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
52665         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
52666         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
52667         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
52668         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
52669         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
52670         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
52671         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
52672         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
52673         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
52674         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
52675         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
52676         * sysdeps/unix/sysv/linux/readv.c: Likewise.
52677         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
52678         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
52679         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52680         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
52681         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
52682         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
52683         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
52684         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
52685         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
52686         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
52687         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
52688         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
52689         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52690         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
52691         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
52692         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
52693         * sysvipc/sys/ipc.h: Likewise.
52694         * sysvipc/sys/msg.h: Likewise.
52695         * sysvipc/sys/sem.h: Likewise.
52696         * sysvipc/sys/shm.h: Likewise.
52697         * termios/termios.h: Likewise.
52698         * time/sys/time.h: Likewise.
52699         * time/time.h: Likewise.
52700         * wcsmbs/bits/wchar2.h: Likewise.
52701         * wcsmbs/uchar.h: Likewise.
52702         * wcsmbs/wchar.h: Likewise.
52703         * wctype/wctype.h: Likewise.
52705         [BZ #13551]
52706         * Makeconfig: Remove all but ELF support including AIX support.
52707         * Makerules: Likewise.
52708         * config.h.in: Likewise.
52709         * config.make.in: Likewise.
52710         * configure: Likewise.
52711         * configure.in: Likewise.
52712         * csu/Makefile: Likewise.
52713         * csu/version.c: Likewise.
52714         * debug/Makefile: Likewise.
52715         * dlfcn/Makefile: Likewise.
52716         * elf/Makefile: Likewise.
52717         * extra-lib.mk: Likewise.
52718         * iconv/Makefile: Likewise.
52719         * include/libc-symbols.h: Likewise.
52720         * include/shlib-compat.h: Likewise.
52721         * resolv/Makefile: Likewise.
52722         * resolv/res_libc.c: Likewise.
52723         * rt/Makefile: Likewise.
52724         * sysdeps/i386/asm-syntax.h: Likewise.
52725         * sysdeps/i386/sysdep.h: Likewise.
52726         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
52727         * sysdeps/mach/sysdep.h: Likewise.
52728         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
52729         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
52730         * sysdeps/s390/asm-syntax.h: Likewise.
52731         * sysdeps/s390/s390-32/sysdep.h: Likewise.
52732         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52733         * sysdeps/sh/sysdep.h: Likewise.
52734         * sysdeps/unix/sparc/sysdep.h: Likewise.
52735         * sysdeps/wordsize-32/divdi3.c: Likewise.
52736         * sysdeps/x86_64/sysdep.h: Likewise.
52738         * argp/Versions: Remove _argp_unlock_xxx.
52740         [BZ #13559]
52741         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
52742         * abilist/libBrokenLocale.abilist: Likewise.
52743         * abilist/libanl.abilist: Likewise.
52744         * abilist/libc.abilist: Likewise.
52745         * abilist/libcrypt.abilist: Likewise.
52746         * abilist/libdl.abilist: Likewise.
52747         * abilist/libm.abilist: Likewise.
52748         * abilist/libnsl.abilist: Likewise.
52749         * abilist/libpthread.abilist: Likewise.
52750         * abilist/libresolv.abilist: Likewise.
52751         * abilist/librt.abilist: Likewise.
52752         * abilist/libthread_db.abilist: Likewise.
52753         * abilist/libutil.abilist: Likewise.
52754         * abilist/libnss_db.abilist: New file.
52756         * scripts/abilist.awk: Add support for indirect functions.
52758         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
52760         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
52762         * shlib-versions: Remove entries for ports architectures.
52764         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
52765         files in ports.
52766         * elf/stackguard-macros.h: Remove support for IA-64.
52767         * elf/tst-auditmod1.c: Likewise.
52768         * sysdeps/generic/ldsodefs.h: Likewise.
52770         * sysdeps/unix/sysv/linux/configure.in: Ports should define
52771         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
52772         configure files.
52774         [BZ #13552]
52775         * configure.in: Remove --enable-omitfp support.
52776         * FAQ.in: Adjust.
52777         * config.make.in: Likewise.
52778         * Makeconfig: Likewise.
52779         * manual/install.texi: Likewise.
52781         In case anyone cares, the IA-64 architecture could move to ports.
52782         * sysdeps/ia64/*: Removed.
52783         * sysdeps/unix/sysv/linux/ia64/*: Removed.
52784         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
52786         [BZ #13555]
52787         * configure.in: Remove entries for unsupported architectures.
52789         [BZ #13533]
52790         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
52791         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
52792         routines.
52793         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
52794         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
52795         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
52796         fall back to using wcrtomb.
52797         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
52798         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
52799         renaming.
52800         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
52801         * wcsmbs/tst-c16c32-1.c: New file.
52803         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
52804         local variable.
52806         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
52808         * elf/tst-unique3.cc: Add explicit declaration of gets.
52809         * elf/tst-unique3lib.cc: Likewise.
52810         * elf/tst-unique3lib2.cc: Likewise.
52811         * elf/tst-unique4.cc: Likewise.
52813         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
52815 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
52817         [BZ #13566]
52818         * assert/assert.h (static_assert): Don't define for C++.
52819         * libio/stdio.h (gets): Do declare for C++ <= C++11.
52820         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
52822 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
52824         * iconv/loop.c (single loop): Fix assertion in storing of
52825         remaining bytes.
52827         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
52829 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
52831         * posix/getconf.c: Update copyright year.
52832         * nss/getent.c: Likewise.
52833         * nss/makedb.c: Likewise.
52834         * iconv/iconvconfig.c: Likewise.
52835         * iconv/iconv_prog.c: Likewise.
52836         * elf/ldconfig.c: Likewise.
52837         * elf/pldd.c: Likewise.
52838         * elf/sotruss.ksh: Likewise.
52839         * catgets/gencat.c: Likewise.
52840         * csu/version.c: Likewise.
52841         * elf/ldd.bash.in: Likewise.
52842         * elf/sprof.c (print_version): Likewise.
52843         * locale/programs/locale.c: Likewise.
52844         * locale/programs/localedef.c: Likewise.
52845         * login/programs/pt_chown.c: Likewise.
52846         * nscd/nscd.c (print_version): Likewise.
52847         * debug/xtrace.sh: Likewise.
52848         * malloc/memusage.sh: Likewise.
52849         * malloc/mtrace.pl: Likewise.
52850         * debug/catchsegv.sh: Likewise.
52852 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
52854         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
52855         pure attribute.
52857 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
52859         [BZ #13533]
52860         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
52861         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
52862         transformations.
52863         * iconv/gconv_int.h: Likewise.
52864         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
52865         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
52866         from libc for GLIBC_2.16.
52867         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
52868         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
52869         * wcsmbs/uchar.h: Really define mbstate_t.
52870         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
52871         * wcsmbs/c16rtomb.c: New file.
52872         * wcsmbs/mbrtoc16.c: New file.
52873         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
52874         for C/POSIX locale.
52875         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
52876         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
52878         * wcsmbs/wchar.h: Add missing __restrict.
52880 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
52882         [BZ #13532]
52883         * time/Makefile (routines): Add timespec_get.
52884         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
52885         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
52886         timespec for ISO C11.
52887         * time/timespec_get.c: New file.
52888         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
52889         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
52891         [BZ #13531]
52892         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
52893         * stdlib/stdlib.h: Declare aligned_alloc.
52894         * Versions.def: Add GLIBC_2.16 for libc.
52895         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
52897         [BZ 13527]
52898         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
52899         ISO C11.
52901         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
52902         code.
52904         [BZ #13528]
52905         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
52907         [BZ #13529]
52908         * assert/assert.h (static_assert): Define.
52910         * version.h: Update for 2.16 development version.
52912         [BZ #13526]
52913         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
52914         _ISOC11_SOURCE.
52916         * version.h (RELEASE): Bump for 2.15 release.
52917         * include/features.h (__GLIBC_MINOR__): Bump to 15.
52919         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
52920         Patch by Marek Polacek <mpolacek@redhat.com>.
52922         * bits/byteswap.h: Protect long long constants with __extension__.
52923         * sysdeps/i386/bits/byteswap.h: Likewise.
52924         * sysdeps/ia64/bits/byteswap.h: Likewise.
52925         * sysdeps/s390/bits/byteswap.h: Likewise.
52926         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52928 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52930         [BZ #13540]
52931         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
52932         destination buffer.
52933         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
52935 2011-12-23  Marek Polacek  <polacek@redhat.com>
52937         * elf/dl-addr.c (determine_info): Add inline keyword.
52938         * elf/tst-auditmod4b.c (check_avx): Likewise.
52939         * elf/tst-auditmod6b.c (check_avx): Likewise.
52940         * elf/tst-auditmod6c.c (check_avx): Likewise.
52941         * elf/tst-auditmod7b.c (check_avx): Likewise.
52943 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
52945         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
52946         !__SSE_MATH__.
52948 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52950         [BZ #13540]
52951         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
52952         processing for last bytes.
52954 2011-08-06  Bruno Haible  <bruno@clisp.org>
52956         [BZ #13061]
52957         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
52958         U+0385, not to U+1FEE.
52960         [BZ #13062]
52961         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
52962         entry for U+00A5 U+0301.
52964 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
52966         [BZ #13166]
52967         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
52968         buffer for the output is too small.
52970         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
52971         optimization.
52973         [BZ #13185]
52974         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
52975         SSE flags if possible.
52977 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52979         [BZ #13540]
52980         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
52981         processing for last bytes.
52983 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
52985         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
52986         (syscall-list-default-options, syscall-list-default-condition)
52987         (syscall-list-includes): Define.
52988         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
52989         list of ABIs and options and #if conditions for each ABI.  Do not
52990         handle common syscalls between ABIs specially.
52991         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
52992         Remove.
52993         (syscall-list-variants, syscall-list-32bit-options)
52994         (syscall-list-32bit-condition, syscall-list-64bit-options)
52995         (syscall-list-64bit-condition): Define.
52996         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
52997         (syscall-list-variants, syscall-list-32bit-options)
52998         (syscall-list-32bit-condition, syscall-list-64bit-options)
52999         (syscall-list-64bit-condition): Define.
53000         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
53001         Remove.
53002         (syscall-list-variants, syscall-list-32bit-options)
53003         (syscall-list-32bit-condition, syscall-list-64bit-options)
53004         (syscall-list-64bit-condition): Define.
53005         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
53006         Remove.
53007         (syscall-list-variants, syscall-list-32bit-options)
53008         (syscall-list-32bit-condition, syscall-list-64bit-options)
53009         (syscall-list-64bit-condition): Define.
53011 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
53013         * locale/iso-639.def: Add brx entry.
53015         [BZ #13328]
53016         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
53017         Proposed by Mariusz_Cukr <marcukr@op.pl>.
53019         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
53020         __feraiseexcept_renamed.
53022 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
53024         [BZ #13538]
53025         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
53026         EPOLLET with unsigned values.
53027         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53028         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53030         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
53031         to large cancellation.
53032         * math/s_cacoshf.c: Likewise.
53033         * math/s_cacoshl.c: Likewise.
53035 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
53037         [BZ #13305]
53038         [BZ #12786]
53039         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
53040         * math/s_cacoshf.c: Likewise.
53041         * math/s_cacoshl.c: Likewise.
53043 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
53045         [BZ #13439]
53046         * iconv/gconv.h: Define __GCONV_SWAP.
53047         * iconvdata/unicode.c: The swap bit must be stored in __flags.
53048         * iconvdata/utf-16.c: Likewise.
53049         * iconvdata/utf-32.c: Likewise.
53051 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
53053         [BZ #13524]
53054         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
53055         numerator after shifting it by one limb.
53057 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
53059         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
53060         under [__USE_EXTERN_INLINES].
53062 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
53064         [BZ #13446]
53065         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
53067 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53069         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
53070         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
53071         optimized code.
53072         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
53073         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
53074         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
53075         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
53076         for strncasecmp/strncasecmp_l compilation.
53077         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
53078         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
53080 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
53082         [BZ #13484]
53083         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
53084         of __asm__.
53086 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
53088         [BZ #13506]
53089         * time/tzfile.c (__tzfile_read): Check values from file header.
53091 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
53093         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
53094         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
53095         * powerpc/powerpc32/dl-start.S: Likewise.
53096         * powerpc/powerpc32/elf/start.S: Likewise.
53097         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53098         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
53099         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
53100         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
53101         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
53102         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
53103         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
53104         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53105         * powerpc/powerpc32/fpu/s_round.S: Likewise.
53106         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
53107         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
53108         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
53109         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
53110         * powerpc/powerpc32/memset.S: Likewise.
53111         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
53112         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53113         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53114         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53115         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53116         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
53117         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
53118         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
53119         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
53120         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
53121         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
53122         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53123         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53125 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53127         * math/libm-test.inc: Added more nearbyint tests.
53128         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
53129         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
53130         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
53131         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
53133 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
53135         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
53136         FD_CLOEXEC.
53138 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53140         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
53141         Add wcscpy-ssse3 wcscpy-c.
53142         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
53143         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
53144         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
53145         * sysdeps/x86_64/wcschr.S: New file.
53146         * sysdeps/x86_64/wcsrchr.S: New file.
53147         * string/test-strcmp.c: Remove checking of wcscmp function for
53148         wrong alignments.
53149         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
53150         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
53151         wcsrchr-sse2 wcsrchr-c.
53152         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
53153         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
53154         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
53155         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
53156         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
53157         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
53158         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
53159         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
53160         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
53161         * wcsmbc/wcschr.c (WCSCHR): New macro.
53163 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53165         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
53166         * wcsmbs/test-wcsrchr.c: New file.
53167         * string/test-strrchr.c: Add wcsrchr support.
53168         (WIDE): New macro.
53169         * wcsmbs/test-wcscpy.c: New file.
53170         * string/test-strcpy.c: Add wcscpy support.
53171         (WIDE): New macro.
53173 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
53175         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
53176         the inner loop.
53178 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
53180         [BZ #13472]
53181         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
53183 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
53185         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
53186         Minor optimizations.
53188         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
53189         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
53190         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
53192 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
53194         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
53195         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
53196         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
53197         for gcc to avoid warnings.
53198         * inet/Makefile (tests): Add tst-checks.
53199         * inet/tst-checks.c: New file.
53201         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
53202         warning.
53204         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
53205         __wmemcmp_sse2.
53207         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
53208         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
53210         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
53212 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
53214         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
53215         problem.
53217         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
53219 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
53221         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
53222         conditional on GCC version.
53223         (__arch_compare_and_exchange_val_8_acq)
53224         (__arch_compare_and_exchange_val_16_acq)
53225         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
53226         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
53227         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
53229 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
53231         * sysdeps/sh/backtrace.c: New file.
53233 2011-12-02  Andreas Schwab  <schwab@redhat.com>
53235         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
53236         parenthesis.
53238 2011-12-01  Andreas Schwab  <schwab@redhat.com>
53240         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
53241         falling back to utime.
53243 2011-11-30  Andreas Schwab  <schwab@redhat.com>
53245         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
53246         expectations for float.
53248 2011-11-29  Andreas Schwab  <schwab@redhat.com>
53250         * locale/weight.h (findidx): Add parameter len.
53251         * locale/weightwc.h (findidx): Likewise.
53252         * posix/fnmatch_loop.c (FCT): Adjust caller.
53253         * posix/regcomp.c (build_equiv_class): Likewise.
53254         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
53255         * posix/regexec.c (check_node_accept_bytes): Likewise.
53256         * string/strcoll_l.c (STRCOLL): Likewise.
53257         * string/strxfrm_l.c (STRXFRM): Likewise.
53259 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
53261         * Makefile.in: Remove CVSOPT handling.
53262         * configure.in: Remove use of AC_REVISION.
53263         * iconvdata/Makefile (distribute): No need to filter out CVS.
53264         * scripts/list-sources.sh: Remove CVS, subversion and monotone
53265         handling.
53267 2011-11-16  Andreas Schwab  <schwab@redhat.com>
53269         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
53270         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
53271         [USE_AS_STRNCASECMP_L]: Likewise.
53272         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
53273         NO_TLS_DIRECT_SEG_REFS.
53274         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
53275         Fix argument offsets for non-PIC.
53276         [USE_AS_STRNCASECMP_L]: Likewise.
53277         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
53278         NO_TLS_DIRECT_SEG_REFS.
53280 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
53282         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
53283         O_CLOEXEC.
53284         * locale/loadlocale.c (_nl_load_locale): Likewise.
53286 2011-11-15  Andreas Schwab  <schwab@redhat.com>
53288         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
53289         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
53290         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
53291         (SYSCALL_GETTIME): Set errno on error.
53293         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
53294         count references to noai6ai_cached.
53296 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
53298         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
53300         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
53301         FD_CLOEXEC for /proc/self/maps.
53303         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
53304         FD_CLOEXEC for /proc/meminfo.
53306         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
53307         gai.conf.
53309         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
53310         FD_CLOEXEC for given file.
53312         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
53314         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
53315         FD_CLOEXEC for /etc/hosts.
53316         (_gethtent): Likewise.
53318         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
53320         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
53321         cancellation and set FD_CLOEXEC for /etc/netgroup.
53323         * nss/nss_files/files-key.c (search): Don't allow cancellation when
53324         reading /etc/publickey.
53326         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
53327         allow cancellation when reading /etc/group.
53329         * nss/nss_files/files-alias.c (internal_setent): Don't allow
53330         cancellation.
53331         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
53333         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
53334         when using data file.
53336         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
53338         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
53339         (write_nis_obj): Use "c" and "e" in fopen.
53341         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
53343         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
53345         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
53347         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
53349         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
53350         locale.alias.
53352         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
53354         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
53356         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
53358         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
53359         file parsing and set FD_CLOEXEC.
53361 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
53363         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
53365 2011-11-14  Andreas Schwab  <schwab@redhat.com>
53367         * malloc/arena.c (arena_get2): Don't call reused_arena when
53368         _int_new_arena failed.
53370 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
53372         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
53373         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
53374         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
53375         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53376         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53377         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
53378         to compile strcasecmp and strncasecmp.
53379         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
53380         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
53382         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
53384 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
53386         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
53387         locale-defines.sym to gen-as-const-headers.
53388         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
53389         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
53390         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
53391         to compile strcasecmp and strncasecmp.
53392         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
53393         strcasecmp_l and strncasecmp_l.
53394         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
53395         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
53396         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
53397         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
53398         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
53399         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
53400         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
53401         * sysdeps/i386/i686/multiarch/strncase.S: New file.
53402         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
53403         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
53404         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
53406 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
53408         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
53409         result of SYSDEP_GETTIME_CPU to retval.
53410         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
53411         parameter list to macro.  Remove trailing semicolon.  Adjust users.
53413         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
53414         variable.
53416         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
53417         mantissa words.
53418         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
53420         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
53421         from unused variable.
53423         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
53424         DWARF definitions.
53425         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
53426         for assembling.
53428         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
53429         over namespaces.
53431         * sunrpc/rpc_prot.c (rejected): Fix case value.
53433         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
53434         unsigned long long int to avoid warnings in shift.
53436         * posix/regex_internal.c (re_string_reconstruct): Actually use result
53437         of use of trans.
53438         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
53439         variable tmp.
53441         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
53442         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
53443         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
53445         * nis/nis_table.c (nis_list): Use variable of correct type for
53446         result of __follow_path call.
53448 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53450         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
53451         of math functions ceil, trunc, floor, round, and sqrt, when
53452         avaliable on the platform.
53453         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
53454         name clash.
53455         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53456         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53457         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53459 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
53461         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
53462         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
53464 2011-11-11  Roland McGrath  <roland@hack.frob.com>
53466         * include/unistd.h: Fix __readlink return type.
53467         Reported by Chris Metcalf <cmetcalf@tilera.com>.
53469 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
53471         * stdlib/ucontext.h: Undo last change for makecontext.
53473 2011-11-11  Andreas Schwab  <schwab@redhat.com>
53475         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
53477         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
53478         * setjmp/setjmp.h: Mark functions as non-leaf.
53479         * setjmp/bits/setjmp2.h: Likewise.
53480         * stdlib/ucontext.h: Likewise.
53482 2011-11-10  Andreas Schwab  <schwab@redhat.com>
53484         * malloc/arena.c (_int_new_arena): Don't increment narenas.
53485         (reused_arena): Don't check arena limit.
53486         (arena_get2): Atomically check arena limit.
53488 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
53490         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
53491         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
53493         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
53494         instructions.
53496 2011-11-07  Andreas Schwab  <schwab@redhat.com>
53498         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
53499         handler when locking.
53501         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53502         Fix size of allocated buffer.
53504 2011-11-04  Andreas Schwab  <schwab@redhat.com>
53506         [BZ #10103]
53507         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
53508         declarations for long double functions.
53509         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
53511         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
53513 2011-11-03  Andreas Schwab  <schwab@redhat.com>
53515         * nscd/nscd.c (main): Don't start AVC thread until credentials are
53516         installed.
53518         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
53519         is disabled.
53521 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53523         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
53525 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
53527         * include/alloca.h (stackinfo_alloca_round): Define.
53528         (extend_alloca): Use it.
53529         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
53530         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
53531         here.
53533         * scripts/check-local-headers.sh: Ignore libaudit.h.
53535         * nscd/Makefile (extra-objs): Make recursively expanded.
53537 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
53539         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
53540         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53542         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
53543         * posix/tst-rfc3484-2.c: Likewise.
53544         * posix/tst-rfc3484-3.c: Likewise.
53546         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53547         process_vm_writev.
53548         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
53549         process_vm_writev.
53550         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
53551         process_vm_writev from libc using GLIBC_2.15 version.
53553         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
53555 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
53557         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
53558         stack usage.
53560 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
53562         [BZ #13367]
53563         * nss/getent.c (initgroups_keys): Show error message in case no group
53564         names are given.
53566         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
53567         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
53568         __bump_nl_timestamp.
53569         * nscd/connections (nscd_init): When host database is served open
53570         netlink socket and request notification about configuration changes.
53571         (main_loop_poll): Track netlink file descriptor and bump timestamp
53572         in case data becomes available.
53573         (main_loop_epoll): Likewise.
53574         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
53575         (database_pers_head): Add extra_data fileds.
53576         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
53577         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
53578         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
53579         Adjust caller.
53580         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
53581         in6ai data, call __free_in6ai.
53582         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
53583         Add -DHAVE_NETLINK.
53584         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
53585         interface information.  Reuse previous data if netlink timestamp
53586         is not changed.
53587         (__bump_nl_timestamp): New function.
53588         (__free_in6ai): New function.
53590 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
53592         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
53593         close_not_cancel_no_status here.
53594         (__check_pf): Reorganize code a bit to not call close twice if OOM.
53596 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
53598         [BZ #13276]
53599         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
53600         return value.
53602         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
53603         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
53604         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
53606 2011-07-03  Andreas Jaeger  <aj@suse.de>
53608         [BZ #10709]
53609         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
53610         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
53611         * math/libm-test.inc (sin_test): Add test case.
53613 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
53615         [BZ #13337]
53616         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
53617         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
53619         * elf/chroot_canon.c (chroot_canon): Cleanups.
53621         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
53623         [BZ #13335]
53624         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
53625         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
53627         * string/test-strchr.c: Make usable for strchrnul testing.
53628         * string/test-strchrnul.c: New file.
53629         * string/Makefile (strop-tests): Add strchrnul.
53631         * po/it.po: Update from translation team.
53632         * po/es.po: Likewise.
53634 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
53636         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
53637         the three constants needed as parameters.  Drop the others.
53638         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
53639         __m128i_strloadu_tolower.
53640         Create and initialize variable zero and use it in all the places
53641         where _mm_setzero_si128 was used.
53643         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
53644         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
53645         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
53646         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
53647         anymore.
53648         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
53649         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
53650         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
53651         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
53652         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
53653         __mpranred, __mptan.
53654         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
53655         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
53656         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
53657         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
53658         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
53659         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
53660         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
53661         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
53662         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
53664 2011-10-28  Andreas Schwab  <schwab@redhat.com>
53666         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
53667         redefine if SHARED.
53668         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
53670         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
53671         wide char related routines to wcsmbs subdir.
53673 2011-10-27  Andreas Schwab  <schwab@redhat.com>
53675         [BZ #13344]
53676         * misc/sys/cdefs.h (__THROWNL): Define.
53677         * posix/unistd.h: Use __THREADNL instead of __THREAD
53678         for memory synchronization functions.
53680 2011-10-26  Roland McGrath  <roland@hack.frob.com>
53682         [BZ #13349]
53683         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
53684         doesn't exist.
53685         * manual/stdio.texi (Obstack Streams): Node removed.
53687 2011-10-26  Andreas Schwab  <schwab@redhat.com>
53689         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
53690         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53691         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53693         * math/math_private.h (math_force_eval): Allow non-addressable
53694         arguments.
53695         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
53697 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
53699         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
53700         file is not needed.
53702         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
53703         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
53704         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53705         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53706         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53707         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53708         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53709         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
53710         Add AVX variants.
53711         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
53712         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
53713         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
53714         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
53715         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
53716         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
53717         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
53718         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
53719         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
53720         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
53721         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
53722         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
53723         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
53724         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
53725         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
53726         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
53727         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
53728         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
53729         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
53731         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
53732         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
53734         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
53735         place.  Use VEX encoding when compiling for AVX.
53737 2011-10-25  Andreas Schwab  <schwab@redhat.com>
53739         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
53740         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
53742         * string/test-strchr.c (do_test): Don't generate NUL bytes.
53744 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
53746         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
53747         useless if() expression.
53748         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53749         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53750         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53751         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53752         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53753         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53754         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53755         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53756         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53757         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53758         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53759         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53760         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53761         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53762         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53763         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53764         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53765         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53766         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53768         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
53770 2011-10-25  Andreas Schwab  <schwab@redhat.com>
53772         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
53773         condition.
53774         * elf/dl-fini.c (_dl_sort_fini): Likewise.
53776 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
53778         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
53779         .text section.  Avoid duplicate constants.
53780         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53781         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53782         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53783         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53784         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53785         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53786         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53787         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53788         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53789         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
53790         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53791         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53792         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53793         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53794         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
53795         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53796         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
53797         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53798         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53799         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53800         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53801         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53802         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53803         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
53804         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
53805         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
53806         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
53807         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
53808         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
53809         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
53810         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
53811         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
53812         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53813         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
53814         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
53815         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
53816         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
53817         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
53818         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
53819         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
53820         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
53821         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
53822         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
53823         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
53824         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
53826 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
53828         * sysdeps/x86_64/dla.h: Move to ...
53829         * sysdeps/x86_64/fpu/dla.h: ...here.
53830         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
53831         situations.  Use __builtin_fma only for gcc 4.6 and up.
53833         * config.make.in: Add have-mfma4 entry.
53834         * configure.in: Substitute libc_cv_cc_fma4.
53835         * math/Makefile (dbl-only-routines): Add sincostab.
53836         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
53837         Use __sincostab not sincos.
53838         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
53839         name is a macro.
53840         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53841         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53842         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53843         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
53844         using __copysign.
53845         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
53846         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
53847         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
53848         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
53849         and __inv.
53850         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
53851         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
53852         __copysign.
53853         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
53854         define aliases when function name is a macro.
53855         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
53856         sysdeps/ieee754/dbl-64/sincos.tbl.
53857         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
53858         fma4-enabled routines.
53859         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
53860         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
53861         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
53862         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
53863         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
53864         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
53865         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
53866         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
53867         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
53868         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
53869         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
53870         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
53871         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
53872         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
53873         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
53874         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
53875         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
53876         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
53877         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
53878         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
53879         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
53880         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
53881         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
53882         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
53883         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
53884         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
53885         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
53886         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
53887         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
53888         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
53890         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
53891         rename.
53892         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53893         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53894         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53895         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53896         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53897         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53898         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53899         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53901 2011-10-24  Andreas Schwab  <schwab@redhat.com>
53903         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
53905 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
53907         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
53909         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
53910         prediction.
53911         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
53913         * string/strnlen.c: Don't define STRNLEN, reverse logic.
53914         Remove unused variable magic_bits.
53915         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
53917         * string/strnlen.c: Define and use STRNLEN macro.
53918         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
53919         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
53920         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
53921         * wcsmbs/wcslen.c: Define and use WCSLEN.
53922         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
53923         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
53924         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
53925         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
53926         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
53927         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
53928         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53930 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53932         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53933         strnlen-sse2-no-bsf.
53934         Rename strlen-no-bsf to strlen-sse2-no-bsf.
53935         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
53936         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
53937         Add strnlen support.
53938         (USE_AS_STRNLEN): New macro.
53939         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
53940         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
53941         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
53942         * sysdeps/x86_64/wcslen.S: New file.
53944 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
53946         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53947         XMM-moves are used for copying on small sizes.
53949 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53951         * wcsmbs/Makefile (strop-tests): Add wcschr.
53952         * wcsmbs/test-wcschr.c: New file.
53953         * string/test-strchr.c: Update.
53954         Add wcschr support.
53955         (WIDE): New macro.
53957 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53959         * wcsmbs/Makefile (strop-tests): Add wcslen.
53960         * wcsmbs/test-wcslen.c: New file.
53961         * string/test-strlen.c: Update.
53962         Add wcslen support.
53963         (WIDE): New macro.
53965 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
53967         * po/it.po: Update from translation team.
53969 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53971         * sysdeps/x86_64/wcscmp.S: Update.
53972         Fix wrong comparison semantics.
53973         wcscmp shall use signed comparison not unsigned.
53974         Don't use substraction to avoid overflow bug.
53975         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
53976         * wcsmbc/wcscmp.c: Likewise.
53977         * string/test-strcmp.c: Likewise.
53978         Add new tests to check cases with negative values.
53980 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
53982         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
53983         * sysdeps/x86_64/dla.h: ...here.  New file.
53984         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
53985         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53986         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53987         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53988         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53989         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53990         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53991         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53992         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53994 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
53996         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
53997         __ynl_finite aliases.
53999 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
54001         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54003         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
54004         define DLA_FMA.
54005         [DLA_FMA] (EMULV): Use DLA_FMA.
54006         [DLA_FMA] (MUL12): Use EMULV.
54007         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
54008         that are not needed.
54009         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54010         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54011         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54012         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54013         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54014         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54015         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54017 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
54019         * math/s_nan.c: Undef __nan.
54020         * math/s_nanf.c: Undef __nanf.
54021         * math/s_nanl.c: Undef __nanl.
54022         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
54023         "math_private.h".
54025 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
54027         * math/s_catan.c: Add branch predictions.
54028         * math/s_catanf.c: Likewise.
54029         * math/s_catanh.c: Likewise.
54030         * math/s_catanhf.c: Likewise.
54031         * math/s_catanhl.c: Likewise.
54032         * math/s_catanl.c: Likewise.
54033         * math/s_cexp.c: Likewise.
54034         * math/s_cexpf.c: Likewise.
54035         * math/s_cexpl.c: Likewise.
54036         * math/s_clog.c: Likewise.
54037         * math/s_clog10.c: Likewise.
54038         * math/s_clog10f.c: Likewise.
54039         * math/s_clog10l.c: Likewise.
54040         * math/s_clogf.c: Likewise.
54041         * math/s_clogl.c: Likewise.
54042         * math/s_csqrt.c: Likewise.
54043         * math/s_csqrtf.c: Likewise.
54044         * math/s_csqrtl.c: Likewise.
54045         * math/s_ctanf.c: Likewise.
54046         * math/s_ctanh.c: Likewise.
54047         * math/s_ctanhf.c: Likewise.
54048         * math/s_ctanhl.c: Likewise.
54049         * math/s_ctanl.c: Likewise.
54051         * math/math_private.h: Define __nan, __nanf, __nanl.
54052         * math/s_cacosh.c: Include <math_private.h>.
54053         * math/s_cacoshl.c: Likewise.
54054         * math/s_casinh.c: Likewise.
54055         * math/s_casinhf.c: Likewise.
54056         * math/s_casinhl.c: Likewise.
54057         * math/s_ccos.c: Rely entire on ccosh.
54058         * math/s_ccosf.c: Rely entire on ccoshf.
54059         * math/s_ccosl.c: Rely entirely on ccoshl.
54060         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
54061         Remove tests for FE_INVALID.
54062         * math/s_ccoshf.c: Likewise.
54063         * math/s_ccoshl.c: Likewise.
54064         * math/s_csin.c: Likewise.
54065         * math/s_csinf.c: Likewise.
54066         * math/s_csinh.c Likewise.
54067         * math/s_csinhf.c: Likewise.
54068         * math/s_csinhl.c: Likewise.
54069         * math/s_csinl.c: Likewise.
54070         * math/s_ctan.c: Likewise.
54071         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
54072         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
54073         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
54075 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
54077         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
54078         compilation problems.
54080         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
54081         __builtin_expect.
54083 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
54085         * sysdeps/i386/configure.in: Test for -mfma4 option.
54086         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
54087         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
54088         COMMON_CPUID_INDEX_80000001.
54089         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
54090         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
54091         use it if FMA3 is not supported.
54092         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
54094         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
54095         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54097 2011-10-20  Andreas Schwab  <schwab@redhat.com>
54099         [BZ #12892]
54100         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
54101         it would create a cycle with a link time dependency.
54103 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
54105         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
54106         instruction.
54107         * string/Makefile (strop-tests): Add rawmemchr.
54108         * string/test-rawmemchr.c: New file.
54110         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
54111         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
54112         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
54113         when compiling str{,n}casecmp and when AVX is available.  Hook up
54114         new optimized code in initializers.
54116 2011-10-19  Andreas Schwab  <schwab@redhat.com>
54118         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
54119         __feraiseexcept instead of feraiseexcept.
54121 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
54123         * math/math_private.h: Define defaults for libc_fetestexcept and
54124         libc_feupdateenv.
54125         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
54126         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
54127         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54128         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54129         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54130         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54131         libc_fetestexcept and libc_feupdateenv.
54133         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
54134         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
54135         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
54136         * sysdeps/x86_64/fpu/math_private.h: Define special version of
54137         libc_feholdexcept_setround.
54139         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
54140         Add s_nearbyint-c and s_nearbyintf-c.
54141         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
54142         nearbyintf inlines.
54143         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
54144         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
54145         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
54146         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
54148         * math/math_private.h: Define defaults for libc_fegetround,
54149         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
54150         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
54151         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
54152         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
54153         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
54154         standard functions.
54155         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54156         Remove comments and hacks for old compiler versions.
54157         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54158         libc_fegetround, libc_fesetround, libc_feholdexcept, and
54159         libc_feholdexceptl.
54161 2011-10-18  Andreas Schwab  <schwab@redhat.com>
54163         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
54164         (__feraiseexcept_renamed): Add __NTH.
54165         (feraiseexcept): Add __NTH.  Rename local variables to fix
54166         namespace violations.
54168 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
54170         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
54172         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
54174         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
54175         recently added interfaces.
54176         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
54178         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
54179         about macro parameter expansion.
54181         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
54182         __NO_MATH_INLINES is defined.  Cleanups.
54184         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
54185         and __floorf is target has SSE4.1.
54186         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
54187         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
54188         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
54189         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
54191         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
54192         name.
54193         (floorf): Likewise.
54195         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
54197 2011-10-17  Andreas Schwab  <schwab@redhat.com>
54199         * misc/sys/cdefs.h: Fix last change.
54201         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
54202         database lookup.
54204 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
54206         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
54208         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
54209         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54210         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54211         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54212         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54213         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54214         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54215         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54216         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54217         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
54218         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
54219         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
54220         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
54221         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
54222         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
54223         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
54224         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
54225         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
54226         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
54227         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
54228         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
54229         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
54231         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
54232         ceil, ceilf, floor, floorf.
54234         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
54235         Perform IRELATIVE relocations last.
54237         * elf/do-rel.h: Add another parameter nrelative, replacing the
54238         local variable with the same name.  Change name of the function
54239         to end in Rel or Rela (uppercase).
54240         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
54241         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
54242         elf_dynamic_do_##reloc function.
54244 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
54246         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
54247         is sufficient, at least on modern CPUs.
54249         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
54251         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
54252         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
54254         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
54255         __expl_finite.
54256         * math/bits/math-finite.h: Add entries for exp.
54257         * math/e_expl.c: Add __*_finite alias.
54258         * sysdeps/i386/fpu/e_exp.S: Likewise.
54259         * sysdeps/i386/fpu/e_expf.S: Likewise.
54260         * sysdeps/i386/fpu/e_expl.c: Likewise.
54261         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54262         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54263         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54264         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54265         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
54266         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54267         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54269         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
54270         is sufficient, at least on modern CPUs.
54272         * ctype/ctype-info.c (__ctype_init): Define.
54273         * include/ctype.h (__ctype_init): Declare.
54274         (__ctype_b_loc): The variable is always initialized.
54275         (__ctype_toupper_loc): Likewise.
54276         (__ctype_tolower_loc): Likewise.
54277         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
54278         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
54280 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
54282         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
54284         * configure.in: Also look in $cxxmachine/include for C++ system
54285         headers.
54287 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54289         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
54290         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
54291         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
54292         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
54293         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
54294         (USE_AS_WMEMCMP): New macro.
54295         Fixing indents.
54296         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
54297         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
54298         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
54299         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
54300         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54301         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
54302         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
54303         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
54304         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
54305         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
54306         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
54307         (USE_AS_WMEMCMP): New macro.
54308         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
54309         * sysdeps/string/test-memcmp.c: Update.
54310         Fix simple_wmemcmp.
54311         Add new tests.
54312         * wcsmbs/wmemcmp.c: Update.
54313         (WMEMCMP): New macro.
54314         Fix overflow bug.
54316 2011-10-12  Andreas Jaeger  <aj@suse.de>
54318         [BZ #13268]
54319         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
54321 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
54323         * libio/iofwide.c (do_length): Avoid warning.
54325         * ctype/ctype.h (__isctype_f): Add missing __THROW.
54327 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
54329         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
54331         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
54332         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
54333         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
54334         * sysdeps/i386/i686/fpu/e_log.S: New file.
54335         * sysdeps/i386/i686/fpu/e_logf.S: New file.
54336         * sysdeps/i386/i686/fpu/e_logl.S: New file.
54338         * ctype/ctype.h: Add support for inlined isXXX functions when
54339         compiling C++ code.
54341 2011-10-14  Andreas Schwab  <schwab@redhat.com>
54343         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54345         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
54347 2011-10-13  Roland McGrath  <roland@hack.frob.com>
54349         [BZ #13291]
54350         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
54352 2011-10-13  Andreas Schwab  <schwab@redhat.com>
54354         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
54355         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
54356         feraiseexcept.
54358         * sysdeps/x86_64/memrchr.S: Check for zero size.
54360         * string/stratcliff.c: Add memrchr tests.
54362 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54364         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54365         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
54366         rawmemchr-sse2 rawmemchr-sse2-bsf.
54367         * sysdeps/i386/i686/multiarch/memchr.S: New file.
54368         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
54369         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
54370         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
54371         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
54372         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
54373         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
54374         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
54375         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
54376         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
54377         * string/memrchr.c (MEMRCHR): New macro.
54379 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
54381         Add integration with gcc's -ffinite-math-only and optimize wrapper
54382         functions in libm.
54383         * Versions.def: Define GLIBC_2.15 version for libm.
54384         * math/Makefile (headers): Add bits/math-finite.h.
54385         * math/bits/math-finite.h: New file.
54386         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
54387         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
54388         * math/e_acoshl.c: Add __*_finite alias.
54389         * math/e_acosl.c: Likewise.
54390         * math/e_asinl.c: Likewise.
54391         * math/e_atan2l.c: Likewise.
54392         * math/e_atanhl.c: Likewise.
54393         * math/e_coshl.c: Likewise.
54394         * math/e_exp10.c: Likewise.
54395         * math/e_exp10f.c: Likewise.
54396         * math/e_exp10l.c: Likewise.
54397         * math/e_exp2l.c: Likewise.
54398         * math/e_fmodl.c: Likewise.
54399         * math/e_gammal_r.c: Likewise.
54400         * math/e_hypotl.c: Likewise.
54401         * math/e_j0l.c: Likewise.
54402         * math/e_j1l.c: Likewise.
54403         * math/e_jnl.c: Likewise.
54404         * math/e_lgammal_r.c: Likewise.
54405         * math/e_log10l.c: Likewise.
54406         * math/e_log2l.c: Likewise.
54407         * math/e_logl.c: Likewise.
54408         * math/e_powl.c: Likewise.
54409         * math/e_sinhl.c: Likewise.
54410         * math/e_sqrtl.c: Likewise.
54411         * math/e_scalb.c: Completely rewritten and optimized.
54412         * math/e_scalbf.c: Likewise.
54413         * math/e_scalbl.c: Likewise.
54414         * math/w_acos.c: Likewise.
54415         * math/w_acosf.c: Likewise.
54416         * math/w_acosl.c: Likewise.
54417         * math/w_acosh.c: Likewise.
54418         * math/w_acoshf.c: Likewise.
54419         * math/w_acoshl.c: Likewise.
54420         * math/w_asin.c: Likewise.
54421         * math/w_asinf.c: Likewise.
54422         * math/w_asinl.c: Likewise.
54423         * math/w_atan2.c: Likewise.
54424         * math/w_atan2f.c: Likewise.
54425         * math/w_atan2l.c: Likewise.
54426         * math/w_atanh.c: Likewise.
54427         * math/w_atanhf.c: Likewise.
54428         * math/w_atanhl.c: Likewise.
54429         * math/w_exp10.c: Likewise.
54430         * math/w_exp10f.c: Likewise.
54431         * math/w_exp10l.c: Likewise.
54432         * math/w_fmod.c: Likewise.
54433         * math/w_fmodf.c: Likewise.
54434         * math/w_fmodl.c: Likewise.
54435         * math/w_j0.c: Likewise.
54436         * math/w_j0f.c: Likewise.
54437         * math/w_j0l.c: Likewise.
54438         * math/w_j1.c: Likewise.
54439         * math/w_j1f.c: Likewise.
54440         * math/w_j1l.c: Likewise.
54441         * math/w_jn.c: Likewise.
54442         * math/w_jnf.c: Likewise.
54443         * math/w_log.c: Likewise.
54444         * math/w_logf.c: Likewise.
54445         * math/w_logl.c: Likewise.
54446         * math/w_log10.c: Likewise.
54447         * math/w_log10f.c: Likewise.
54448         * math/w_log10l.c: Likewise.
54449         * math/w_log2.c: Likewise.
54450         * math/w_log2f.c: Likewise.
54451         * math/w_log2l.c: Likewise.
54452         * math/w_pow.c: Likewise.
54453         * math/w_powf.c: Likewise.
54454         * math/w_powl.c: Likewise.
54455         * math/w_remainder.c: Likewise.
54456         * math/w_remainderf.c: Likewise.
54457         * math/w_remainderl.c: Likewise.
54458         * math/w_scalb.c: Likewise.
54459         * math/w_scalbf.c: Likewise.
54460         * math/w_scalbl.c: Likewise.
54461         * math/w_sqrt.c: Likewise.
54462         * math/w_sqrtf.c: Likewise.
54463         * math/w_sqrtl.c: Likewise.
54464         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
54465         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
54466         used.
54467         * math/math_private.h: Declare __kernel_standard_f.
54468         * math/w_cosh.c: Remove cruft and optimize a bit.
54469         * math/w_coshf.c: Likewise.
54470         * math/w_coshl.c: Likewise.
54471         * math/w_exp2.c: Likewise.
54472         * math/w_exp2f.c: Likewise.
54473         * math/w_exp2l.c: Likewise.
54474         * math/w_hypot.c: Likewise.
54475         * math/w_hypotf.c: Likewise.
54476         * math/w_hypotl.c: Likewise.
54477         * math/w_lgamma.c: Likewise.
54478         * math/w_lgamma_r.c: Likewise.
54479         * math/w_lgammaf.c: Likewise.
54480         * math/w_lgammaf_r.c: Likewise.
54481         * math/w_lgammal.c: Likewise.
54482         * math/w_lgammal_r.c: Likewise.
54483         * math/w_sinh.c: Likewise.
54484         * math/w_sinhf.c: Likewise.
54485         * math/w_sinhl.c: Likewise.
54486         * math/w_tgamma.c: Likewise.
54487         * math/w_tgammaf.c: Likewise.
54488         * math/w_tgammal.c: Likewise.
54489         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54490         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54491         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
54492         Minor optimizations.  Pretty printing.  Remove cruft.
54493         * sysdeps/i386/fpu/e_acosf.S: Likewise.
54494         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54495         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54496         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54497         * sysdeps/i386/fpu/e_acosl.c: Likewise.
54498         * sysdeps/i386/fpu/e_asin.S: Likewise.
54499         * sysdeps/i386/fpu/e_asinf.S: Likewise.
54500         * sysdeps/i386/fpu/e_atan2.S: Likewise.
54501         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
54502         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
54503         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54504         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54505         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54506         * sysdeps/i386/fpu/e_exp10.S: Likewise.
54507         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
54508         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
54509         * sysdeps/i386/fpu/e_exp2.S: Likewise.
54510         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
54511         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
54512         * sysdeps/i386/fpu/e_fmod.S: Likewise.
54513         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
54514         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
54515         * sysdeps/i386/fpu/e_hypot.S: Likewise.
54516         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
54517         * sysdeps/i386/fpu/e_log.S: Likewise.
54518         * sysdeps/i386/fpu/e_log10.S: Likewise.
54519         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54520         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54521         * sysdeps/i386/fpu/e_log2.S: Likewise.
54522         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54523         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54524         * sysdeps/i386/fpu/e_logf.S: Likewise.
54525         * sysdeps/i386/fpu/e_logl.S: Likewise.
54526         * sysdeps/i386/fpu/e_pow.S: Likewise.
54527         * sysdeps/i386/fpu/e_powf.S: Likewise.
54528         * sysdeps/i386/fpu/e_powl.S: Likewise.
54529         * sysdeps/i386/fpu/e_remainder.S: Likewise.
54530         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
54531         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
54532         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54533         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54534         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54535         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
54536         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
54537         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
54538         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54539         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54540         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54541         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54542         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54543         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54544         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
54545         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54546         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54547         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54548         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54549         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54550         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54551         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54552         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54553         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54554         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54555         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54556         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54557         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54558         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54559         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54560         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54561         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54562         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54563         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54564         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54565         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54566         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
54567         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54568         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54569         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54570         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54571         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54572         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54573         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54574         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54575         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54576         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54577         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54578         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54579         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54580         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54581         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54582         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54583         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54584         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54585         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54586         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54587         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
54588         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54589         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54590         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54591         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54592         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54593         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54594         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54595         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54596         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54597         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54598         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54599         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54600         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54601         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54602         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54603         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54604         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54605         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54606         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
54607         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54608         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54609         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54610         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54611         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54612         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54613         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54614         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54615         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54616         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54617         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54618         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54619         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54620         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
54621         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54622         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54623         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54624         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54625         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54626         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54627         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54628         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54629         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54630         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54631         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
54632         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54633         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54634         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54635         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
54636         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
54637         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
54638         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
54639         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
54640         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
54641         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
54642         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54643         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54644         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54645         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54646         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
54647         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54648         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
54649         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
54650         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
54651         (__isnanf): Likewise.
54652         (__isinf_ns): Likewise.
54653         (__isinf_nsf): Likewise.
54654         (__finite): Likewise.
54655         (__finitef): Likewise.
54656         (__ieee754_sqrt): Define as macro.
54657         (__ieee754_sqrtf): Define as macro.
54658         (__ieee754_sqrtl): Define as macro.
54659         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
54660         inlined copy.
54661         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
54662         __FINITE_MATH_ONLY__ consistent.
54663         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
54665 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
54667         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
54668         of rawmemchr.
54670         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
54672 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
54674         * po/ja.po: Update from translation team.
54676 2011-10-08  Roland McGrath  <roland@hack.frob.com>
54678         * locale/programs/locarchive.c (prepare_address_space): New function.
54679         (create_archive, enlarge_archive, open_archive): Use it.
54681         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
54682         inside [SHARED], where it is used.
54684         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
54686         * nss/getent.c (netgroup_keys): Remove unused variable.
54687         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54689 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
54691         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
54692         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
54693         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
54694         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
54695         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
54696         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
54697         * math/Makefile (libm-calls): Add s_isinf_ns.
54698         * math/divtc3.c: Use __isinf_nsl instead of isinf.
54699         * math/multc3.c: Likewise.
54700         * math/s_casin.c: Likewise.
54701         * math/s_casinf.c: Likewise.
54702         * math/s_casinl.c: Likewise.
54703         * math/s_ccos.c: Likewise.
54704         * math/s_ccosf.c: Likewise.
54705         * math/s_ccosl.c: Likewise.
54706         * math/s_ctan.c: Likewise.
54707         * math/s_ctanf.c: Likewise.
54708         * math/s_ctanh.c: Likewise.
54709         * math/s_ctanhf.c: Likewise.
54710         * math/s_ctanhl.c: Likewise.
54711         * math/s_ctanl.c: Likewise.
54712         * math/w_fmod.c: Likewise.
54713         * math/w_fmodf.c: Likewise.
54714         * math/w_fmodl.c: Likewise.
54715         * math/w_remainder.c: Likewise.
54716         * math/w_remainderf.c: Likewise.
54717         * math/w_remainderl.c: Likewise.
54718         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
54719         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
54720         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
54721         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
54722         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
54723         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
54724         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
54725         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
54727         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
54728         of the number.
54729         * stdio-common/printf_fphex.c: Likewise.
54730         * stdio-common/printf_size.c: Likewise.
54732         * math/e_exp10.c: Include math_private.h using <...> not "...".
54733         * math/e_exp10f.c: Likewise.
54734         * math/e_exp10l.c: Likewise.
54735         * math/e_exp2l.c: Likewise.
54736         * math/e_j0l.c: Likewise.
54737         * math/e_j1l.c: Likewise.
54738         * math/e_jnl.c: Likewise.
54739         * math/e_lgammal_r.c: Likewise.
54740         * math/e_rem_pio2l.c: Likewise.
54741         * math/e_scalb.c: Likewise.
54742         * math/e_scalbf.c: Likewise.
54743         * math/e_scalbl.c: Likewise.
54744         * math/k_cosl.c: Likewise.
54745         * math/k_sinl.c: Likewise.
54746         * math/k_tanl.c: Likewise.
54747         * math/s_cacoshf.c: Likewise.
54748         * math/s_catan.c: Likewise.
54749         * math/s_catanf.c: Likewise.
54750         * math/s_catanh.c: Likewise.
54751         * math/s_catanhf.c: Likewise.
54752         * math/s_catanhl.c: Likewise.
54753         * math/s_catanl.c: Likewise.
54754         * math/s_ccosh.c: Likewise.
54755         * math/s_ccoshf.c: Likewise.
54756         * math/s_ccoshl.c: Likewise.
54757         * math/s_cexp.c: Likewise.
54758         * math/s_cexpf.c: Likewise.
54759         * math/s_cexpl.c: Likewise.
54760         * math/s_clog.c: Likewise.
54761         * math/s_clog10.c: Likewise.
54762         * math/s_clog10f.c: Likewise.
54763         * math/s_clog10l.c: Likewise.
54764         * math/s_clogf.c: Likewise.
54765         * math/s_clogl.c: Likewise.
54766         * math/s_csin.c: Likewise.
54767         * math/s_csinf.c: Likewise.
54768         * math/s_csinh.c: Likewise.
54769         * math/s_csinhf.c: Likewise.
54770         * math/s_csinhl.c: Likewise.
54771         * math/s_csinl.c: Likewise.
54772         * math/s_csqrt.c: Likewise.
54773         * math/s_csqrtf.c: Likewise.
54774         * math/s_csqrtl.c: Likewise.
54775         * math/s_ctan.c: Likewise.
54776         * math/s_ctanf.c: Likewise.
54777         * math/s_ctanh.c: Likewise.
54778         * math/s_ctanhf.c: Likewise.
54779         * math/s_ctanhl.c: Likewise.
54780         * math/s_ctanl.c: Likewise.
54781         * math/s_ldexp.c: Likewise.
54782         * math/s_ldexpf.c: Likewise.
54783         * math/s_ldexpl.c: Likewise.
54784         * math/s_significand.c: Likewise.
54785         * math/s_significandf.c: Likewise.
54786         * math/s_significandl.c: Likewise.
54787         * math/w_acos.c: Likewise.
54788         * math/w_acosf.c: Likewise.
54789         * math/w_acosh.c: Likewise.
54790         * math/w_acoshf.c: Likewise.
54791         * math/w_acoshl.c: Likewise.
54792         * math/w_acosl.c: Likewise.
54793         * math/w_asin.c: Likewise.
54794         * math/w_asinf.c: Likewise.
54795         * math/w_asinl.c: Likewise.
54796         * math/w_atan2.c: Likewise.
54797         * math/w_atan2f.c: Likewise.
54798         * math/w_atan2l.c: Likewise.
54799         * math/w_atanh.c: Likewise.
54800         * math/w_atanhf.c: Likewise.
54801         * math/w_atanhl.c: Likewise.
54802         * math/w_cosh.c: Likewise.
54803         * math/w_coshf.c: Likewise.
54804         * math/w_coshl.c: Likewise.
54805         * math/w_dremf.c: Likewise.
54806         * math/w_exp10.c: Likewise.
54807         * math/w_exp10f.c: Likewise.
54808         * math/w_exp10l.c: Likewise.
54809         * math/w_exp2.c: Likewise.
54810         * math/w_exp2f.c: Likewise.
54811         * math/w_fmod.c: Likewise.
54812         * math/w_fmodf.c: Likewise.
54813         * math/w_fmodl.c: Likewise.
54814         * math/w_hypot.c: Likewise.
54815         * math/w_hypotf.c: Likewise.
54816         * math/w_hypotl.c: Likewise.
54817         * math/w_j0.c: Likewise.
54818         * math/w_j0f.c: Likewise.
54819         * math/w_j0l.c: Likewise.
54820         * math/w_j1.c: Likewise.
54821         * math/w_j1f.c: Likewise.
54822         * math/w_j1l.c: Likewise.
54823         * math/w_jn.c: Likewise.
54824         * math/w_jnf.c: Likewise.
54825         * math/w_jnl.c: Likewise.
54826         * math/w_lgamma.c: Likewise.
54827         * math/w_lgamma_r.c: Likewise.
54828         * math/w_lgammaf.c: Likewise.
54829         * math/w_lgammaf_r.c: Likewise.
54830         * math/w_lgammal.c: Likewise.
54831         * math/w_lgammal_r.c: Likewise.
54832         * math/w_log.c: Likewise.
54833         * math/w_log10.c: Likewise.
54834         * math/w_log10f.c: Likewise.
54835         * math/w_log10l.c: Likewise.
54836         * math/w_log2.c: Likewise.
54837         * math/w_log2f.c: Likewise.
54838         * math/w_log2l.c: Likewise.
54839         * math/w_logf.c: Likewise.
54840         * math/w_logl.c: Likewise.
54841         * math/w_pow.c: Likewise.
54842         * math/w_powf.c: Likewise.
54843         * math/w_powl.c: Likewise.
54844         * math/w_remainder.c: Likewise.
54845         * math/w_remainderf.c: Likewise.
54846         * math/w_remainderl.c: Likewise.
54847         * math/w_scalb.c: Likewise.
54848         * math/w_scalbf.c: Likewise.
54849         * math/w_scalbl.c: Likewise.
54850         * math/w_sinh.c: Likewise.
54851         * math/w_sinhf.c: Likewise.
54852         * math/w_sinhl.c: Likewise.
54853         * math/w_sqrt.c: Likewise.
54854         * math/w_sqrtf.c: Likewise.
54855         * math/w_sqrtl.c: Likewise.
54856         * math/w_tgamma.c: Likewise.
54857         * math/w_tgammaf.c: Likewise.
54858         * math/w_tgammal.c: Likewise.
54860         * po/ja.po: Update from translation team.
54862 2011-09-29  Andreas Jaeger  <aj@suse.de>
54864         [BZ #13179]
54865         * sunrpc/netname.c (netname2host): Fix logic.
54867         [BZ #6779]
54868         [BZ #6783]
54869         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
54870         correctly.
54871         * math/w_remainder.c (__remainder): Likewise.
54872         * math/w_remainderf.c (__remainderf): Likewise.
54873         * math/libm-test.inc (remainder_test): Add test cases.
54875 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54877         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
54878         sdiv_qrnnd.
54880 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
54882         * string/test-memcmp.c: Avoid unncessary #defines.
54883         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54885 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54887         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
54888         Use new sse2 version for core i3 - i7 as it's faster
54889         than sse42 version.
54890         (bit_Prefer_PMINUB_for_stringop): New.
54891         * sysdeps/x86_64/rawmemchr.S: Update.
54892         Replace with faster SSE2 version.
54893         * sysdeps/x86_64/memrchr.S: New file.
54894         * sysdeps/x86_64/memchr.S: Update.
54895         Replace with faster SSE2 version.
54897 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
54899         * elf/dl-load.c (lose): Add cast to avoid warning.
54901 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
54903         * po/ca.po: Update from translation team.
54905         * inet/getnetgrent_r.c: Hook up nscd.
54906         * nscd/Makefile (routines): Add nscd_netgroup.
54907         (nscd-modules): Add netgroupcache.
54908         (CFLAGS-netgroupcache.c): Define.
54909         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
54910         (cache_search): Add const to second parameter.
54911         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
54912         INNETGR.
54913         (dbs): Add netgrdb entry.
54914         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
54915         (verify_persistent_db): Handle netgrdb.
54916         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
54917         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
54918         GETFDNETGR.
54919         (netgroup_response_header): Define.
54920         (innetgroup_response_header): Define.
54921         (datahead): Add netgroup_response_header and innetgroup_response_header
54922         elements.
54923         * nscd/nscd.conf: Add entries for netgroup cache.
54924         * nscd/nscd.h (dbtype): Add netgrdb.
54925         (_PATH_NSCD_NETGROUP_DB): Define.
54926         (netgroup_iov_disabled): Declare.
54927         (xmalloc, xcalloc, xrealloc): Move declarations here.
54928         (cache_search): Adjust prototype.
54929         Add netgroup-related prototypes.
54930         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
54931         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
54932         (__nscd_innetgr): Declare.
54933         * nscd/selinux.c (perms): Use access_vector_t as element type and
54934         add netgroup-related initializers.
54935         * nscd/netgroupcache.c: New file.
54936         * nscd/nscd_netgroup.c: New file.
54937         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
54938         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
54939         For four parameters use innetgr.
54940         * nss/nss_files/files-init.c: Add definition and callback for netgr.
54941         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
54942         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
54943         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
54945         * nscd/connections.c (register_traced_file): Don't register file
54946         for disabled databases.
54948 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
54950         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
54952         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
54953         from tree and freeing node.
54955 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
54957         * nss/nsswitch.c (__nss_database_lookup): Handle
54958         nss_parse_service_list out of memory case.
54960 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
54962         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
54963         out of memory case.
54965 2011-10-04  Andreas Schwab  <schwab@redhat.com>
54967         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
54968         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
54969         pass it down.
54970         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
54971         elf_machine_rela, elf_machine_lazy_rel.
54972         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
54973         (ELF_DYNAMIC_DO_REL): Likewise.
54974         (ELF_DYNAMIC_DO_RELA): Likewise.
54975         (ELF_DYNAMIC_RELOCATE): Likewise.
54976         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
54977         to ELF_DYNAMIC_DO_REL.
54978         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
54979         (dl_main): In trace mode always set __RTLD_NOIFUNC.
54980         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
54981         elf_machine_rela.
54982         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
54983         skip_ifunc, don't call ifunc function if non-zero.
54984         (elf_machine_rela): Likewise.
54985         (elf_machine_lazy_rel): Likewise.
54986         (elf_machine_lazy_rela): Likewise.
54987         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
54988         (elf_machine_lazy_rel): Likewise.
54989         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
54990         Likewise.
54991         (elf_machine_lazy_rel): Likewise.
54992         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54993         Likewise.
54994         (elf_machine_lazy_rel): Likewise.
54995         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
54996         (elf_machine_lazy_rel): Likewise.
54997         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
54998         (elf_machine_lazy_rel): Likewise.
54999         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55000         (elf_machine_lazy_rel): Likewise.
55001         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
55002         (elf_machine_lazy_rel): Likewise.
55003         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
55004         (elf_machine_lazy_rel): Likewise.
55005         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55006         (elf_machine_lazy_rel): Likewise.
55008 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
55010         * nss/nss_files/files-init.c (_nss_files_init): Use static
55011         initialization for all the *_traced_file variables.
55013 2011-09-28  Andreas Schwab  <schwab@redhat.com>
55015         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55017 2011-09-27  Roland McGrath  <roland@hack.frob.com>
55019         [BZ #13226]
55020         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
55022 2011-09-27  Andreas Schwab  <schwab@redhat.com>
55024         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55025         Reread the line before reparsing it.
55027 2011-09-26  Andreas Schwab  <schwab@redhat.com>
55029         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
55031 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
55032             Maxim Kuvyrkov  <maxim@codesourcery.com>
55033             Joseph Myers  <joseph@codesourcery.com>
55035         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
55036         if needed for __stack_chk_guard.
55038 2011-09-19  Roland McGrath  <roland@hack.frob.com>
55040         * sysdeps/posix/spawni.c (script_execute): Always define it.
55041         It will be optimized away if unused.
55042         (maybe_script_execute): New function.
55043         (__spawni): Call it.
55045         * Makerules: Don't include tls.make.
55046         (config-tls): Always set to thread.
55047         * tls.make.c: File removed.
55049 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
55051         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
55052         * config.make.in (CPPFLAGS-config): New substituted variable.
55054 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
55056         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
55058         [BZ #13192]
55059         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
55060         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
55062 2011-09-15  Roland McGrath  <roland@hack.frob.com>
55064         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
55065         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
55066         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55067         (CALL_FAIL): Likewise.
55068         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
55069         (CALL_FAIL): Macro removed.
55070         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
55072 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
55074         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
55075         for __FINITE_MATH_ONLY__ == 1.
55077 2011-09-15  Andreas Schwab  <schwab@redhat.com>
55079         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
55080         __ieee754_sqrt instead of sqrt.
55081         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
55082         __ieee754_sqrtf instead of sqrtf.
55083         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
55084         __floorf instead of floorf.
55085         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
55086         __floorf, __truncf instead of floorf, truncf.
55088 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
55090         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
55092         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
55093         __extern_always_inline.
55094         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
55095         32-bit.
55097 2011-09-14  Andreas Schwab  <schwab@redhat.com>
55099         * elf/rtld.c (dl_main): Also relocate in dependency order when
55100         doing symbol dependency testing.
55102 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
55104         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55105         Always define `refsym'.
55107 2011-09-13  Andreas Schwab  <schwab@redhat.com>
55109         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
55110         (__FD_ELT): Renamed from __FDELT.
55111         * misc/bits/select2.h (__FD_ELT): Likewise.
55112         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
55113         __FD_MASK instead of __FDELT, __FDMASK.
55114         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55115         Likewise.
55116         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55117         Likewise.
55119         * elf/Makefile (gen-ldd): Fix pattern.
55121         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
55122         (init_tls): Likewise.
55124 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
55126         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
55128 2011-09-12  Andreas Schwab  <schwab@redhat.com>
55130         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
55131         `struct cmsghdr *' instead of `void *'.
55132         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
55133         Likewise.
55135 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
55137         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
55138         if non-absolute.
55139         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
55140         ldd_rewrite_script.
55142 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
55144         * configure.in: Remove --with-tls option.
55145         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
55146         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
55147         out in case it is missing.
55148         * sysdeps/ia64/elf/configure.in: Likewise.
55149         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
55150         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
55151         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
55152         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
55153         * sysdeps/sh/elf/configure.in: Likewise.
55154         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
55155         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55156         * sysdeps/x86_64/elf/configure.in: Likewise.
55157         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
55158         * sysdeps/mach/hurd/tls.h: Likewise.
55160         [BZ #13067]
55161         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
55163         [BZ #13090]
55164         * configure.in: Fix use of AC_INIT.
55166         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
55168 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
55170         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
55171         __set_errno.
55172         * malloc/hooks.c: Likewise.
55174         [BZ #11929]
55175         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
55176         variables statically.
55177         (narenas): Initialize.
55178         (list_lock): Initialize.
55179         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
55180         initializtion of main_arena and list_lock.  Small cleanups.
55181         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
55182         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
55183         Add initializers to main_arena and mp_.
55184         (malloc_state): Remove pagesize member.  Change all users to use
55185         GLRO(dl_pagesize).
55187         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
55188         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
55189         is always initialized.
55191         * malloc/malloc.c: Removed unused configurations and dead code.
55192         * malloc/arena.c: Likewise.
55193         * malloc/hooks.c: Likewise.
55194         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
55196         * include/tls.h: Removed.  USE___THREAD must always be defined.
55197         * bits/libc-tsd.h: Don't handle !USE___THREAD.
55198         * elf/dl-libc.c: Likewise.
55199         * elf/dl-tsd.c: Likewise.
55200         * include/errno.h: Likewise.
55201         * include/netdb.h: Likewise.
55202         * include/resolv.h: Likewise.
55203         * inet/herrno-loc.c: Likewise.
55204         * inet/herrno.c: Likewise.
55205         * malloc/arena.c: Likewise.
55206         * malloc/hooks.c: Likewise.
55207         * malloc/malloc.c: Likewise.
55208         * resolv/res-state.c: Likewise.
55209         * resolv/res_libc.c: Likewise.
55210         * sysdeps/i386/dl-machine.h: Likewise.
55211         * sysdeps/ia64/dl-machine.h: Likewise.
55212         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
55213         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55214         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
55215         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
55216         * sysdeps/sh/dl-machine.h: Likewise.
55217         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55218         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55219         * sysdeps/unix/i386/sysdep.S: Likewise.
55220         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55221         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
55222         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
55223         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55224         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
55225         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55226         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
55227         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55228         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55229         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55230         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55231         * sysdeps/x86_64/dl-machine.h: Likewise.
55232         * tls.make.c: Likewise.
55234         * configure.in: Remove --with-__thread option.  Make tests for
55235         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
55236         tls_model attribute fail if no support is available.  Remove
55237         USE_IN_LIBIO.
55238         * Makeconfig: Adjust for dropped configure option.  All features are
55239         now mandatory.
55240         * Makerules: Likewise.
55241         * Versions.def: Likewise.
55242         * argp/argp-fmtstream.c: Likewise.
55243         * argp/argp-fmtstream.h: Likewise.
55244         * argp/argp-help.c: Likewise.
55245         * assert/assert.c: Likewise.
55246         * config.h.in: Likewise.
55247         * config.make.in: Likewise.
55248         * configure: Likewise.
55249         * configure.in: Likewise.
55250         * csu/Versions: Likewise.
55251         * csu/init.c: Likewise.
55252         * elf/tst-audit2.c: Likewise.
55253         * elf/tst-tls10.c: Likewise.
55254         * elf/tst-tls10.h: Likewise.
55255         * elf/tst-tls11.c: Likewise.
55256         * elf/tst-tls12.c: Likewise.
55257         * elf/tst-tls14.c: Likewise.
55258         * elf/tst-tlsmod11.c: Likewise.
55259         * elf/tst-tlsmod12.c: Likewise.
55260         * elf/tst-tlsmod13.c: Likewise.
55261         * elf/tst-tlsmod13a.c: Likewise.
55262         * elf/tst-tlsmod14a.c: Likewise.
55263         * elf/tst-tlsmod15b.c: Likewise.
55264         * elf/tst-tlsmod16a.c: Likewise.
55265         * elf/tst-tlsmod16b.c: Likewise.
55266         * elf/tst-tlsmod7.c: Likewise.
55267         * elf/tst-tlsmod8.c: Likewise.
55268         * elf/tst-tlsmod9.c: Likewise.
55269         * gmon/gmon.c: Likewise.
55270         * grp/fgetgrent_r.c: Likewise.
55271         * grp/putgrent.c: Likewise.
55272         * hurd/fopenport.c: Likewise.
55273         * include/libc-symbols.h: Likewise.
55274         * include/tls.h: Likewise.
55275         * intl/gettextP.h: Likewise.
55276         * intl/loadinfo.h: Likewise.
55277         * locale/global-locale.c: Likewise.
55278         * locale/localeinfo.h: Likewise.
55279         * mach/devstream.c: Likewise.
55280         * malloc/arena.c: Likewise.
55281         * malloc/set-freeres.c: Likewise.
55282         * misc/err.c: Likewise.
55283         * misc/getttyent.c: Likewise.
55284         * misc/mntent_r.c: Likewise.
55285         * posix/getopt.c: Likewise.
55286         * posix/wordexp.c: Likewise.
55287         * pwd/fgetpwent_r.c: Likewise.
55288         * resolv/Versions: Likewise.
55289         * resolv/res_hconf.c: Likewise.
55290         * shadow/fgetspent_r.c: Likewise.
55291         * shadow/putspent.c: Likewise.
55292         * stdio-common/printf_fphex.c: Likewise.
55293         * stdio-common/tmpfile.c: Likewise.
55294         * stdlib/abort.c: Likewise.
55295         * stdlib/fmtmsg.c: Likewise.
55296         * sunrpc/auth_unix.c: Likewise.
55297         * sunrpc/clnt_perr.c: Likewise.
55298         * sunrpc/clnt_tcp.c: Likewise.
55299         * sunrpc/clnt_udp.c: Likewise.
55300         * sunrpc/clnt_unix.c: Likewise.
55301         * sunrpc/openchild.c: Likewise.
55302         * sunrpc/svc_simple.c: Likewise.
55303         * sunrpc/svc_tcp.c: Likewise.
55304         * sunrpc/svc_udp.c: Likewise.
55305         * sunrpc/svc_unix.c: Likewise.
55306         * sunrpc/xdr.c: Likewise.
55307         * sunrpc/xdr_array.c: Likewise.
55308         * sunrpc/xdr_rec.c: Likewise.
55309         * sunrpc/xdr_ref.c: Likewise.
55310         * sunrpc/xdr_stdio.c: Likewise.
55312 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
55314         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55316 2011-07-03  Andreas Jaeger  <aj@suse.de>
55318         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
55319         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
55320         regenerate with gen-libm-tests.pl.
55322 2010-05-12  Petr Baudis  <pasky@suse.cz>
55324         [BZ #11589]
55325         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
55326         around j0() zero points by switching to j1().
55327         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55328         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55329         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55330         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55332 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
55334         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
55335         instead of 0.
55336         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
55337         instead of 0.
55338         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55339         Patch in part by Pavel Roskin <proski@gnu.org>.
55341         [BZ #13138]
55342         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
55343         realloc.
55344         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
55345         Free memory block if necessary.
55347         [BZ #12847]
55348         * libio/genops.c (INTDEF): For string streams the _lock pointer can
55349         be NULL.  Don't lock in this case.
55351 2011-09-09  Roland McGrath  <roland@hack.frob.com>
55353         * elf/elf.h (ELFOSABI_GNU): New macro.
55354         (ELFOSABI_LINUX): Define to that.
55356 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
55358         * string/strncat.c (strncat): Undef the symbol in case it has been
55359         defined in bits/string.h.
55361 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
55363         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
55365         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
55366         link map.
55368 2011-08-17  Andreas Jaeger  <aj@suse.de>
55370         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
55372 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
55373             Ian Lance Taylor  <iant@google.com>
55375         * math/libm-test.inc (lround_test): New testcase.
55376         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
55378 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
55380         * Makefile: Remove support for automatic cvs check-ins.
55381         * Makerules: Likewise.
55382         * config.make.in: Likewise.
55383         * configure.in: Likewise.
55384         * intl/Makefile: Likewise.
55385         * locale/Makefile: Likewise.
55386         * po/Makefile: Likewise.
55387         * posix/Makefile: Likewise.
55388         * sysdeps/gnu/Makefile: Likewise.
55389         * sysdeps/mach/hurd/Makefile: Likewise.
55390         * sysdeps/sparc/sparc32/Makefile: Likewise.
55392         [BZ #13118]
55393         * posix/Makefile (bug-regex32-ENV): Define.
55394         Patch by John Stanley <jpsinthemix@verizon.net>.
55396         * misc/Makefile (headers): Add bits/select2.h.
55397         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
55398         * misc/bits/select2.h: New file.
55399         * include/bits/select2.h: New file.
55400         * debug/Makefile (routines): Add fdelt_chk.
55401         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
55402         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
55403         FD_ISSET.
55404         * debug/fdelt_chk.c: New file.
55406         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
55407         * wcsmbs/test-wmemcmp.c: Likewise.
55408         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
55409         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
55411 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55413         * string/Makefile (strop-tests): Add memcmp.
55414         * string/test-wmemcmp.c: New file.
55415         * string/test-memcmp.c: Add wmemcmp support.
55417 2011-09-08  Roland McGrath  <roland@hack.frob.com>
55419         [BZ #13153]
55420         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
55421         2011-07-19 change.
55423         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
55424         garbage value in a __mach_port_mod_refs call in the cases of the
55425         task-self and thread-self ports.
55427 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55429         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
55431 2011-09-08  Andreas Schwab  <schwab@redhat.com>
55433         * elf/dl-load.c (lose): Check for non-null L.
55435 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
55437         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
55439         * elf/dl-libc.c (dlerror_run): Pass back error code from
55440         dl_catch_error.
55442         [BZ #13123]
55443         * elf/dl-load.c (lose): Free l_origin if it is valid.
55445         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
55446         names.
55447         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
55448         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
55449         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
55450         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
55451         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
55452         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
55454 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55456         * sysdeps/powerpc/fpu/e_hypot.c: New file.
55457         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
55458         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
55459         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
55460         * sysdeps/powerpc/fpu/k_cosf.c: New file.
55461         * sysdeps/powerpc/fpu/k_sinf.c: New file.
55462         * sysdeps/powerpc/fpu/s_cosf.c: New file.
55463         * sysdeps/powerpc/fpu/s_sinf.c: New file.
55464         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
55465         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
55467 2011-08-15  Alan Modra  <amodra@gmail.com>
55469         [BZ #13092]
55470         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
55471         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
55472         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
55473         ppc_mcount to static-only-routines.
55474         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
55475         __mcount_internal.
55476         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
55477         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
55479 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
55481         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
55482         for finite and infinity parameters.
55484 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
55486         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
55487         and add nop instructions for throughput optimization.
55488         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55490 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
55492         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
55493         aligned copy for power7 with vector-scalar instructions.
55494         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
55496 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
55498         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
55499         AVX check.
55501 2011-09-07  Andreas Schwab  <schwab@redhat.com>
55503         [BZ #13144]
55504         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
55505         last change.
55507 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
55509         * sysdeps/unix/sysv/linux/x86_64/init-first.c
55510         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
55511         syscall wrapper around clock_gettime in __vdso_clock_gettime.
55512         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
55513         clock_gettime.
55515 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
55517         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
55518         Forgot to demangle the pointer.
55520         * sysdeps/i386/sysdep.h: Define atom_text_section.
55521         * sysdeps/x86_64/sysdep.h: Likewise.
55522         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
55523         section with atom_text_section.
55524         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
55525         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
55526         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
55527         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55528         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
55530         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
55531         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
55532         already be defined.  Change to take two parameters and don't assign
55533         result to variable.  Adjust all users.
55534         Define INTERNAL_GETTIME if not already defined.
55535         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
55536         call.
55537         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
55538         HAVE_CLOCK_GETTIME_VSYSCALL.
55539         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
55541         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
55542         gettimeofday vsyscall, just use time.
55544 2011-09-06  Andreas Schwab  <schwab@redhat.com>
55546         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
55547         <errno.h>.
55549 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
55551         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
55552         syscall on x86-64.
55553         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
55554         syscall.
55555         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
55556         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
55557         syscall if possible.
55559 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
55561         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
55562         e_ident.  Don't pass to find_mapsXX.
55563         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
55565 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55567         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55568         strchr-sse2-no-bsf strrchr-sse2-no-bsf
55569         * sysdeps/x86_64/multiarch/strchr.S: Update.
55570         Check bit_slow_BSF bit.
55571         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55572         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
55573         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
55575 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
55577         [BZ #13134]
55578         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
55579         before glibc 2.15.
55580         (tryshell): Define.
55581         (__spawni): Change last parameter to be flag.  Test
55582         SPAWN_XFLAGS_USE_PATH flag to use path or not.
55583         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
55584         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
55585         * posix/spawni.c: Likewise.
55586         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
55587         * posix/spawnp.c: Likewise.  Change normal version to use
55588         SPAWN_XFLAGS_USE_PATH.
55589         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
55590         SPAWN_XFLAGS_TRY_SHELL.
55592         [BZ #13150]
55593         * posix/glob.h: Remove gcc 1.x support.
55595         [BZ #13068]
55596         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
55598 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55600         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55601         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
55602         strrchr-sse2-bsf
55603         * sysdeps/i386/i686/multiarch/strchr.S: New file.
55604         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
55605         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
55606         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
55607         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
55608         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
55610 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55612         * sysdeps/x86_64/wcscmp.S: New file.
55614         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
55615         wcscmp-c wcscmp-sse2
55616         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
55617         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
55618         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
55619         * wcsmbs/wcscmp.c: Allow renaming.
55621 2011-09-05  David S. Miller  <davem@davemloft.net>
55623         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
55624         stack slot, rather than the struct return pointer slot.
55625         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
55626         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
55627         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
55628         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
55630 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
55632         * po/ja.po: Update from translation team.
55634         [BZ #13144]
55635         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
55636         kernel in 64-bit binaries.
55638 2011-09-01  David S. Miller  <davem@davemloft.net>
55640         * elf/elf.h (HWCAP_SPARC_*): Move to..
55641         * sysdeps/sparc/sysdep.h: this new file and add new values.
55642         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
55643         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
55644         _DL_HWCAP_COUNT to 24.
55645         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
55646         entries.
55647         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
55648         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
55649         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
55650         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
55651         instead of magic constants.
55652         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55654 2011-08-31  David S. Miller  <davem@davemloft.net>
55656         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
55657         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
55658         Reimplement to do errno handling inline.
55659         (SYSCALL_ERROR_HANDLER): New macro.
55660         (__SYSCALL_STRING): Do not do errno handling in asm.
55661         (__CLONE_SYSCALL_STRING): Delete.
55662         (__INTERNAL_SYSCALL_STRING): Delete.
55663         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
55664         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
55665         (PSEUDO): Reimplement to do errno handling inline.
55666         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
55667         (SYSCALL_ERROR_HANDLER): New macro.
55668         (__SYSCALL_STRING): Do not do errno handling in asm.
55669         (__CLONE_SYSCALL_STRING): Delete.
55670         (__INTERNAL_SYSCALL_STRING): Delete.
55671         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
55672         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
55673         i386.
55674         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
55675         (inline_syscall*): Add 'err' argument.
55676         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
55677         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
55678         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
55679         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
55681         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
55682         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
55684 2011-08-30  Andreas Schwab  <schwab@redhat.com>
55686         * elf/rtld.c (dl_main): Relocate objects in dependency order.
55688 2011-08-29  Jiri Olsa <jolsa@redhat.com>
55690         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
55691         directive.
55693 2011-08-24  David S. Miller  <davem@davemloft.net>
55695         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
55697 2011-08-24  Andreas Schwab  <schwab@redhat.com>
55699         * elf/Makefile: Add rules to build and run unload8 test.
55700         * elf/unload8.c: New file.
55701         * elf/unload8mod1.c: New file.
55702         * elf/unload8mod1x.c: New file.
55703         * elf/unload8mod2.c: New file.
55704         * elf/unload8mod3.c: New file.
55706         * elf/dl-close.c (_dl_close_worker): Reset private search list if
55707         it wasn't used.
55709 2011-08-23  David S. Miller  <davem@davemloft.net>
55711         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
55712         subtract stack bias.
55713         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
55714         %sp not %fp in calculations.
55715         (_JMPBUF_UNWINDS_ADJ): Likewise.
55717         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
55718         (aio_suspend): Call it to force an exception region around the
55719         AIO_MISC_WAIT() invocation.
55721 2011-08-23  Andreas Schwab  <schwab@redhat.com>
55723         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
55724         backslash.
55726 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
55728         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
55729         protection macro.
55730         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
55731         and <dl-machine.h>.
55732         (Elf64_FuncDesc): Remove.
55734 2011-08-22  David S. Miller  <davem@davemloft.net>
55736         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
55737         sigaltstack check, add missing cfi directives.
55738         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
55739         missing cfi directives, and sigaltstack handling.
55741 2011-08-16  Andreas Schwab  <schwab@redhat.com>
55743         [BZ #11724]
55744         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
55745         object is seen twice.
55746         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55748         * elf/Makefile (distribute): Add tst-initorder2.c.
55749         (tests): Add tst-initorder2.
55750         (modules-names): Add tst-initorder2a tst-initorder2b
55751         tst-initorder2c tst-initorder2d.  Add rules to build them.
55752         ($(objpfx)tst-initorder2.out): New rule.
55753         * elf/tst-initorder2.c: New file.
55754         * elf/tst-initorder2.exp: New file.
55756 2011-08-22  Andreas Schwab  <schwab@redhat.com>
55758         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
55760         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
55761         dependencies back to end of function.
55763         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55764         $(elfobjdir)/ld.so.
55766 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
55768         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
55769         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
55770         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
55771         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
55772         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
55773         of __vdso_gettimeofday.
55774         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
55775         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
55776         attribute_hidden.
55777         (_libc_vdso_platform_setup): Remove initialization of
55778         __vdso_gettimeofday and __vdso_time.
55780 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
55782         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
55783         and fgetc_unlocked.
55784         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
55785         getc_unlocked.
55787         * elf/dl-open.c (add_to_global): Report additions to the global scope
55788         for LD_DEBUG=scopes.
55789         (dl_open_worker): Also print scope of newly loaded dependencies.
55790         (_dl_show_scope): Indicate if there is no scope.
55792         [BZ #13114]
55793         * stdio-common/Makefile (tests): Add bug24.
55794         * stdio-common/bug24.c: New file.
55796 2011-08-19  Andreas Jaeger  <aj@suse.de>
55798         [BZ #13114]
55799         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
55800         non-existant file when using close-on-exec mode.
55802 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
55804         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
55805         the very first instruction.
55807         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
55808         the CFI state in the end.
55809         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
55810         inclusion of dl-trampoline.h.
55811         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
55813 2011-08-19  Andreas Schwab  <schwab@redhat.com>
55815         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
55816         expectations for long double.
55818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
55819         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
55821 2011-08-14  David S. Miller  <davem@davemloft.net>
55823         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
55824         artificual limit depends upon the system page size.
55826 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
55828         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
55829         * resolv/Makefile: Define CFLAGS-libresolv.
55831 2011-08-17  Andreas Schwab  <schwab@redhat.com>
55833         * nss/makedb.c (compute_tables): Make variables used in nested
55834         function static.
55836 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
55838         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
55839         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
55840         if buffer was too small.
55842         * elf/pldd.c (main): Attach to all threads in the process.
55843         Rewrite /proc handling to use *at functions.
55845 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
55847         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
55848         specifies first scope to show.
55849         (dl_open_worker): Update callers.  Move printing scope of new
55850         object to before the relocation.
55851         * elf/rtld.c (dl_main): Update _dl_show_scope call.
55852         * sysdeps/generic/ldsodefs.h: Update declaration.
55854         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
55855         string for the scope number.
55857 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
55859         * nscd/servicescache.c (cache_addserv): Make sure written is always
55860         initialized.
55862 2011-08-14  Roland McGrath  <roland@hack.frob.com>
55864         * sysdeps/i386/i486/bits/atomic.h
55865         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
55866         statement expression, so as to suppress "set but not used" warning.
55867         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
55869         * string/strncat.c (STRNCAT): Use prototype definition.
55871         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
55872         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
55873         -Iprograms here.
55874         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
55875         (localedef-modules): Add localedef.
55876         (locale-modules): Add locale.
55878         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
55879         * elf/rtld.c (dl_main): Invert order of assignment in last change,
55880         to avoid a warning.
55882 2011-08-14  David S. Miller  <davem@davemloft.net>
55884         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
55885         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
55887 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
55889         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
55890         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
55891         * elf/rtld.c (dl_main): Set l_name of vDSO.
55892         Call _dl_show_scope when DL_DEBUG_SCOPES.
55893         (process_dl_debug): Recognize scopes flag and also set it for all.
55894         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
55895         Declare _dl_show_scope.
55897         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
55898         (do_dlopen): Pass caller_dlopen to dl_open.
55899         (__libc_dlopen_mode): Initialize caller_dlopen.
55901         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
55902         of libc.  Make tolower call locale-independent.  Optimize a bit by
55903         using isdigit instead of isalnum.
55904         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
55906 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
55908         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
55909         was a dependency or dynamically loaded.
55911 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
55913         * intl/l10nflist.c: Allow architecture-specific pop function.
55914         * sysdeps/x86_64/l10nflist.c: New file.
55916         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
55917         classification.
55919 2011-08-10  Andreas Schwab  <schwab@redhat.com>
55921         * include/dirent.h: Add libc_hidden_proto for scandirat and
55922         scandirat64.  Don't declare __scandirat64.
55923         * dirent/scandirat.c: Add libc_hidden_def.
55924         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
55925         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
55927 2011-08-10  David S. Miller  <davem@davemloft.net>
55929         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
55930         enum.
55931         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55932         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55933         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55935 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
55937         * Versions.def [libc]: Add GLIBC_2.15.
55938         * dirent/Makefile (routines): Add scandirat and scandirat64.
55939         * dirent/Versions [libc]: Export scandirat and scandirat64 for
55940         GLIBC_2.15.
55941         * dirent/dirent.h: Declare scandirat and scandirat64.
55942         * dirent/scandirat.c: New file.
55943         * dirent/scandirat64.c: New file.
55944         * sysdeps/wordsize-64/scandirat.c: New file.
55945         * sysdeps/wordsize-64/scandirat64.c: New file.
55946         * dirent/opendir.c: Define opendirat.
55947         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
55948         using scandirat.
55949         * dirent/scandir64.c: Adjust for scandir.c change.
55950         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
55951         __scandirat64, and __scandir_cancel_handler.
55952         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
55953         additional parameter and use openat instead of open (outside of ld.so).
55954         Add new __opendir as wrapper around __opendirat.
55955         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
55956         here without requiring old scandirat implementation.
55958 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
55960         * dirent/scandir.c (cancel_handler): Renamed to
55961         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
55962         defined.  Adjust users.
55963         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
55964         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
55966 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
55968         * string/test-string.h (IMPL): Use __STRING to expand name and then
55969         stringify it.
55971         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
55972         of cleanups.
55974 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55976         * string/Makefile: Update.
55977         (strop-tests): Append strncat.
55978         * string/test-wcscmp.c: New file.
55979         New comprehensive test for wcscmp.
55980         * string/test-strcmp.c: Update.
55981         (WIDE): New define.
55983 2011-07-22  Andreas Schwab  <schwab@redhat.com>
55985         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
55986         line.
55988 2011-07-26  Andreas Schwab  <schwab@redhat.com>
55990         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55991         encoding to ACE if AI_IDN.
55993 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
55995         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
55996         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
55998 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56000         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
56001         Fix overflow bug in strncat.
56002         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
56004         * string/test-strncat.c: Update.
56005         Add new tests for checking overflow bugs.
56007 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56009         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56010         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
56011         * sysdeps/i386/i686/multiarch/strcat.S: New file.
56012         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
56013         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
56014         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
56015         * sysdeps/i386/i686/multiarch/strncat.S: New file.
56016         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
56017         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
56019         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
56020         (USE_AS_STRCAT): Define.
56021         Add strcat and strncat support.
56022         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56024 2011-07-25  Andreas Schwab  <schwab@redhat.com>
56026         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
56027         __n bigger than INT_MAX+1.
56028         (__strncmp_g): Likewise.
56030 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
56032         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
56033         * libio/stido.h: Likewise.
56035         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
56036         (AF_NFC): Define.
56037         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
56038         (AF_NFC): Define.
56040         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
56041         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56042         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56043         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
56044         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56046         [BZ #13021]
56047         * scripts/test-installation.pl: Don't expect libnss_test1 to be
56048         installed.
56050         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
56051         typo.
56052         (_dl_x86_64_save_sse): Likewise.
56054 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
56056         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
56057         OSXSAVE.
56058         (_dl_x86_64_save_sse): Likewise.
56060         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
56062         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
56064 2011-07-21  Andreas Schwab  <schwab@redhat.com>
56066         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
56067         change.
56068         (_dl_x86_64_save_sse): Use correct AVX check.
56070 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56072         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
56073         bug in strncpy/strncat.
56074         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
56076 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
56078         * string/tester.c (test_strcat): Add tests for different alignments
56079         of source and destination.
56080         (test_strncat): Likewise.
56082 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
56084         [BZ #12852]
56085         * posix/glob.c (glob): Check passed in values before using them in
56086         expressions to avoid some overflows.
56087         (glob_in_dir): Likewise.
56089         [BZ #13007]
56090         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
56091         check for AVX enablement so that we don't crash with old kernels and
56092         new hardware.
56093         * elf/tst-audit4.c: Add same checks here.
56094         * elf/tst-audit6.c: Likewise.
56096         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
56098 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
56100         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
56102 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
56104         * po/cs.po: Update from translation team.
56105         * po/bg.po: Likewise.
56107 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
56109         * misc/sys/cdefs.h: Add support for const attribute.
56110         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
56111         to gnu_dev_{major,minor,makedev} functions.
56113 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
56115         * intl/dcigettext.c (get_output_charset): Add missing bracket.
56117 2011-07-20  Andreas Schwab  <schwab@redhat.com>
56119         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
56120         strlen results.
56122 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56124         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
56125         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
56126         register in order to avoid conflicts with the soft frame pointer
56127         being held in r11 when necessary.
56128         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
56129         (INTERNAL_VSYSCALL_NCS): Likewise.
56131 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
56133         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
56134         * elf/dl-fini.c (_dl_fini): Adjust caller.
56135         * elf/dl-close.c (_dl_close_worker): Likewise.
56136         * sysdeps/generic/ldsodefs.h: Adjust declaration.
56138 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
56140         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
56141         "aux_cache->nlibs < 0".
56143         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
56144         in the reload-count case.
56146 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56148         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56149         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
56150         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
56151         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
56152         * sysdeps/x86_64/multiarch/strcat.S: New file.
56153         * sysdeps/x86_64/multiarch/strncat.S: New file.
56154         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
56155         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
56156         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
56157         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
56158         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
56159         (USE_AS_STRCAT): Define.
56160         Add strcat and strncat support.
56161         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56162         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56163         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
56164         * string/strncat.c: Update.
56165         (USE_AS_STRNCAT): Define.
56166         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56167         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
56168         and i7.
56169         * sysdeps/x86_64/multiarch/init-arch.h
56170         (bit_Prefer_PMINUB_for_stringop): New.
56171         (index_Prefer_PMINUB_for_stringop): Likewise.
56172         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
56173         bit_Prefer_PMINUB_for_stringop.
56175 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
56177         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
56178         buffer64.
56179         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
56180         of casting of buffer.
56181         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
56182         buffer32 and buffer64.
56183         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
56184         writes instead of casting of buffer.
56185         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
56186         buffer32.
56187         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
56188         casting of buffer.
56190 2011-07-19  Andreas Schwab  <schwab@redhat.com>
56192         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
56194 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
56196         * nscd/nscd.c (termination_handler): Don't do anything for a database
56197         if it has not yet been initialized.
56199 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
56201         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56203 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
56205         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56207 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
56209         * po/nl.po: Update from translation team.
56210         * po/sv.po: Likewise.
56212 2011-07-16  Roland McGrath  <roland@hack.frob.com>
56214         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
56215         now disallowed by GCC.
56217         * configure.in (use-default-link): Default to yes if a test -shared
56218         link meets our qualifications.
56219         * configure: Regenerated.
56221         * config.make.in (output-format): New variable.
56222         * configure.in: Check for ld --print-output-format support.
56223         * configure: Regenerated.
56224         * Makerules ($(common-objpfx)format.lds)
56225         [$(output-format) != unknown]: Just use $(output-format),
56226         instead of the linker-script munging.
56228 2011-07-14  Roland McGrath  <roland@hack.frob.com>
56230         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
56231         of $(common-objpfx)shlib.lds.
56232         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
56234         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
56235         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
56237         * configure.in (-z relro check): Adjust test code to add a large
56238         writable data section after it.
56239         * configure: Regenerated.
56241 2011-07-11  Roland McGrath  <roland@hack.frob.com>
56243         * configure.in (-z relro check): Fix test code to make the variable
56244         truly const.
56245         * configure: Regenerated.
56247 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
56249         * nscd/nscd.h (struct traced_file): Define.
56250         (struct database_dyn): Remove inotify_descr, reset_res, and filename
56251         elements.  Add traced_files.
56252         (inotify_fd): Declare.
56253         (register_traced_file): Declare.
56254         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
56255         (inotify_fd): Export.
56256         (resolv_conf_descr): Remove.
56257         (nscd_init): Move inotify descriptor creation to main.
56258         Don't register files for notification here.
56259         (register_traced_file): New function.
56260         (invalidate_cache): Don't use reset_res to determine whether to call
56261         res_init, go through the list of registered files.
56262         (main_loop_poll): The inotify descriptors are now stored in the
56263         structures for the traced files.
56264         (main_loop_epoll): Likewise
56265         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
56266         to __nss_disable_nscd.
56267         * nscd/cache.c (prune_cache): There is no single inotify descriptor
56268         for a database anymore.  Check the records for all the registered
56269         files instead.
56270         * nss/Makefile (libnss_files-routines): Add files-init.
56271         (libnss_db-routines): Add db-init.
56272         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
56273         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
56274         * nss/nss_db/db-init.c: New file.
56275         * nss/nss_files/files-init.c: New file.
56276         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
56277         __nss_lookup_function.
56278         (__nss_lookup_function): Call nss_load_library.
56279         (nss_load_all_libraries): New function.
56280         (__nss_disable_nscd): Take parameter with callback function for files
56281         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
56282         used for the cached services.
56283         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
56284         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
56285         options for features to all the files in nscd.
56287         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
56289 2011-07-10  Roland McGrath  <roland@hack.frob.com>
56291         * csu/elf-init.c (__libc_csu_init): Comment typo.
56293 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
56295         * po/pl.po: Update from translation team.
56296         * po/ja.po: Likewise.
56297         * po/ru.po: Likewise.
56298         * po/ko.po: Likewise.
56299         * po/fr.po: Likewise.
56301 2011-07-09  Roland McGrath  <roland@hack.frob.com>
56303         * configure.in (.ctors/.dtors header and trailer check):
56304         Use an empirical test on a built program.
56305         * configure: Regenerated.
56307         * configure.in (-z relro check): Use an empirical test on a built DSO.
56308         Detect, but do not require, on ia64.
56309         * configure: Regenerated.
56311         * configure.in (READELF): Find it with AC_CHECK_TOOL.
56312         Update tests that use readelf to use $READELF instead.
56313         * configure: Regenerated.
56315 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
56317         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
56318         if the result is not used.
56320 2011-07-05  Andreas Jaeger  <aj@suse.de>
56322         [BZ#9696]
56323         * stdlib/tst-strtod.c: Add testcase.
56325 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
56327         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
56328         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
56329         The latter has a higher limit.  Take additional parameter to pass to
56330         the new function.
56331         (__pathconf): Pass file to __statfs_link_max.
56332         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
56333         __statfs_link_max.
56334         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
56335         __statfs_link_max.
56337         [BZ #12868]
56338         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
56339         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56340         Handle Lustre.
56341         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
56342         (__statfs_filesize_max): Likewise.
56343         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
56345 2011-07-05  Andreas Jaeger  <aj@suse.de>
56347         * resolv/res_comp.c (dn_skipname): Remove unused variable.
56349 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
56351         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
56352         `status' variable.
56353         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
56354         Likewise.
56356 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
56358         * Makefile (strop-tests): Add strncat.
56359         * string/test-strncat.c: New file.
56361 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
56363         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
56365 2011-06-21  Andreas Jaeger  <aj@suse.de>
56367         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
56368         Copy rule from iconvdata/Makefile.
56370 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
56372         [BZ #12922]
56373         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
56374         but no long options are defined, just return 'W'.
56376 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
56378         [BZ #9696]
56379         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
56381 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
56383         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
56384         netgroups to read.
56385         (innetgr): Likewise.
56387 2011-07-05  Roland McGrath  <roland@hack.frob.com>
56389         * config.make.in (install_root): Default to $(DESTDIR).
56391 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
56393         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
56395 2011-07-02  Roland McGrath  <roland@hack.frob.com>
56397         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
56399         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
56400         containing directory rather than embedding absolute directory names.
56402         * scripts/check-local-headers.sh: Rewritten using awk.
56403         Match by word, not by line.  Print error messages for matches.
56404         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
56406         * Makerules [shlib-lds-flags empty]:
56407         ($(common-objpfx)libc_pic.opts): New target.
56408         ($(common-objpfx)libc_pic.os.clean): New target.
56409         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
56411         * config.make.in (OBJCOPY): New variable.
56412         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
56413         * configure: Regenerated.
56415         * config.make.in (use-default-link): New variable.
56416         * configure.in (use_default_link): Grok --with-default-link to set it.
56417         * configure: Regenerated.
56418         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
56419         (shlib-lds, shlib-lds-flags): Define to empty.
56421         * Makerules (shlib-lds): New variable.
56422         (shlib-lds-flags): New variable.
56423         (build-shlib, build-moduile, build-module-asneeded): Use it.
56424         ($(common-objpfx)libc.so): Use $(shlib-lds).
56425         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
56426         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
56428         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
56429         DT_FLAGS/DT_FLAGS_1 with zero flags.
56431         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
56432         linker script munging.
56434 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
56436         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
56437         as 128-bit value.
56438         * crypt/sha512.c (sha512_process_block): Perform total addition using
56439         128-bit if possible.
56440         (__sha512_finish_ctx): Likewise.
56441         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
56442         as 64-bit value.
56443         * crypt/sha256.c (SWAP64): Define.
56444         (sha256_process_block): Perform total addition using 64-bit if
56445         possible.
56446         (__sha256_finish_ctx): Likewise.
56448 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
56450         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
56451         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56452         * nscd/hstcache.c (cache_addhst): Likewise.
56453         * nscd/grpcache.c (cache_addgr): Likewise.
56454         * nscd/aicache.c (addhstaiX): Likewise
56455         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
56457 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
56459         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
56460         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56461         * nscd/hstcache.c (cache_addhst): Likewise.
56462         * nscd/grpcache.c (cache_addgr): Likewise.
56463         * nscd/aicache.c (addhstaiX): Likewise
56465 2011-07-01  Andreas Schwab  <schwab@redhat.com>
56467         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
56468         domain only when needed.
56470 2011-06-30  Andreas Schwab  <schwab@redhat.com>
56472         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
56473         is always restored.
56475 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
56477         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
56478         are re-adding the entry.
56479         * nscd/servicescache.c (cache_addserv): Likewise.
56481 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
56483         * sysdeps/generic/dl-irel.h: fix protection against multiple
56484         inclusions.
56485         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
56487 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
56489         [BZ #12935]
56490         * malloc/memusage.sh: Fix quoting in message.
56491         * debug/xtrace.sh: Likewise.
56493         * configure.in: Remove support for --experimental-malloc option, make
56494         it the default.
56495         * config.make.in: Likewise.
56496         * malloc/Makefile: Likewise.
56498 2011-06-27  Andreas Schwab  <schwab@redhat.com>
56500         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
56501         two-byte characters.
56503 2011-06-27  Roland McGrath  <roland@hack.frob.com>
56505         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
56506         AC_CACHE_CHECK invocation.
56507         * configure: Regenerated.
56509         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
56511 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
56513         [BZ #12350]
56514         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
56515         bit from old_res_options.
56517         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
56519         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
56520         value type for setfct.
56522 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
56524         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
56525         __gettimeofday instead of gettimeofday.
56527 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
56529         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
56531 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
56533         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
56535         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
56536         info.
56538 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
56540         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56541         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56542         strcpy-sse2-unaligned strncpy-sse2-unaligned
56543         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
56544         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
56545         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
56546         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
56547         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
56548         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
56549         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
56550         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
56551         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
56552         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
56553         (STRCPY): Support SSE2 and SSSE3 versions.
56555 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
56557         [BZ #12874]
56558         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
56559         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
56560         kernels which artificially limit size of requests.
56562 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
56564         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56565         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56566         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
56567         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
56568         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
56569         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
56570         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
56571         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
56572         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
56573         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
56574         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
56575         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
56576         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
56577         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
56578         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
56579         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56580         Enable unaligned load optimization for Intel Core i3, i5 and i7
56581         processors.
56582         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
56583         Define.
56584         (index_Fast_Unaligned_Load): Define.
56585         (HAS_FAST_UNALIGNED_LOAD): Define.
56587 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
56589         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
56591 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
56593         [BZ #12907]
56594         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
56595         until it is clear that the information is realy needed.
56596         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
56598 2011-06-22  Andreas Schwab  <schwab@redhat.com>
56600         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
56602 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
56604         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
56605         /sys/devices/system/cpu/online if it is usable.
56607         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
56608         reading the information from the /proc filesystem to once a second.
56610 2011-06-21  Andreas Jaeger  <aj@suse.de>
56612         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
56613         NULL after inclusion of kernel headers.
56615 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
56617         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
56618         calls to internal_setent.
56620         [BZ #12885]
56621         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
56622         addresses using gethostbyname4_r ignore IPv4 addresses.
56624         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
56625         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
56627         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
56629 2011-06-20  David S. Miller  <davem@davemloft.net>
56631         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
56632         inclusions.
56633         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
56635         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
56636         (elf_irel): Use it.
56637         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
56638         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
56639         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
56640         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
56641         * sysdeps/x86_64/dl-irel.h: Likewise.
56643         * elf/dl-runtime.c: Use elf_ifunc_invoke.
56644         * elf/dl-sym.c: Likewise.
56646 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
56648         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
56649         need to dereference resplen2.
56651 2011-06-14  Andreas Schwab  <schwab@redhat.com>
56653         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
56655 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
56657         * Makeconfig: Define vardbdir and inst_vardbdir.
56658         * nss/Makefile: Add rules to install db-Makefile.
56660         * nss/nss_db/db-XXX.c: Cleanup.
56662         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
56663         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
56664         GLIBC_PRIVATE.
56665         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
56666         * nss/makedb.c: Implement -g option to specify that value strings
56667         are generated and should not be added to table iterated over for
56668         get*ent calls.
56669         * nss/nss_db/db-initgroups.c: New file.
56671         * nss/getent.c: Add support for initgroups lookups through getgrouplist
56672         interface.
56674         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
56675         (internal_getgrouplist): Adjust to name change.
56676         Update use_initgroups_entry if this is not the first call.
56677         * nss/databases.def: Add initgroups entry.
56679         * nss/makedb.c (compute_tables): Check result of multiple hash table
56680         sizes to minimize maximum chain length.
56682 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
56684         * Versions.def: Add entry for libnss_db.
56685         * shlib-versions: Likewise.
56686         * nss/Makefile: Add rules to build libnss_db.
56687         * nss/Versions: Add libnss_db information.  Organize libnss_files
56688         entries better.
56689         * nss/db-Makefile: Add gshadow support.  Change rules for the new
56690         makedb progra.  Some minor improvements to generate smaller files.
56691         * nss/nss_db/nss_db.h: Move NSS database header data structures to
56692         here from...
56693         * nss/makedb.c: ...here.
56694         Improve database format to be smaller and require less memory at
56695         runtime.
56696         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
56697         db anymore.
56698         * nss/nss_db/db-netgrp.c: Likewise.
56699         * nss/nss_db/db-open.c: Likewise.
56700         * nss/nss_files/flies-XXX.x: Adjust comments.
56701         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
56702         * nss/nss_files/files-grp.c: Likewise.
56703         * nss/nss_files/files-hosts.c: Likewise.
56704         * nss/nss_files/files-network.c: Likewise.
56705         * nss/nss_files/files-proto.c: Likewise.
56706         * nss/nss_files/files-pwd.c: Likewise.
56707         * nss/nss_files/files-rpc.c: Likewise.
56708         * nss/nss_files/files-service.c: Likewise.
56709         * nss/nss_files/files-sgrp.c: Likewise.
56710         * nss/nss_files/files-spwd.c: Likewise.
56711         * nss/nss_db/db-alias.c: Removed.
56712         * nss/nss_db/dummy-db.h: Removed.
56714 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
56716         * nss/makedb.c: Rewritten to not use database library.
56717         * nss/Makefile: Update to build new makedb program.
56719 2011-06-14  Andreas Jaeger  <aj@suse.de>
56721         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
56722         memset declaration.
56724 2011-06-10  Andreas Schwab  <schwab@redhat.com>
56726         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
56727         tmpbuf.
56729 2011-06-10  Roland McGrath  <roland@hack.frob.com>
56731         * Makerules (shlib.lds): Fail if the linker script comes out empty.
56732         * elf/Makefile ($(objpfx)ld.so): Likewise.
56734         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
56735         Don't list ld.so twice in dependencies.
56737         * posix/bug-regex31.c: Include <stdlib.h>.
56739         * nscd/hstcache.c (cache_addhst): Remove unused variable.
56741         * nis/nss_compat/compat-spwd.c
56742         (getspent_next_nss_netgr): Remove unused variable.
56743         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
56745         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
56746         nonmembers" output to use the right array.
56748         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
56750         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
56752         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
56753         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
56754         * catgets/gencat.c (read_input_file): Likewise.
56755         * locale/programs/locarchive.c (enlarge_archive): Likewise.
56757         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
56758         variable definition inside #if's controlling its use.
56760         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
56762         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
56764         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
56766         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
56767         unreachable code.
56769         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
56771         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
56772         * configure: Regenerated.
56774         * Makerules: Revert last change.
56775         * elf/Makefile: Likewise.
56777 2011-06-09  Roland McGrath  <roland@hack.frob.com>
56779         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
56780         * elf/Makefile ($(objpfx)librtld.os): Likewise.
56781         (reloc-link): Likewise.
56783 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
56785         * elf/Makefile: Add rules to build pldd.
56786         * elf/pldd.c: New file.
56787         * elf/pldd-xx.c: New file.
56789 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
56791         * version.h: Update for 2.15 development version.
56793 2011-06-07  David S. Miller  <davem@davemloft.net>
56795         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
56796         ifuncs.
56797         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
56798         elf_machine_lazy_rel): Likewise.
56799         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
56800         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
56801         elf_machine_lazy_rel): Likewise.
56802         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
56803         dl_hwcap via passed in argument.
56804         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
56805         Likewise.
56807 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56809         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
56811 2011-06-06  Roland McGrath  <roland@hack.frob.com>
56813         [BZ #12849]
56814         * manual/fdl-1.1.texi: New file, verbatim from:
56815         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
56816         * manual/lgpl-2.1.texi: New file, verbatim from:
56817         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
56818         * manual/Makefile (licenses): New variable, list those new file names.
56819         (texis): Use it.
56820         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
56822         * manual/fdl.texi: File removed.
56823         * manual/lesser.texi: File removed.
56824         * manual/libc.texinfo (Copying, Documentation License):
56825         Use new @include file names, put @appendix directive before @include.
56827 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
56829         [BZ #12841]
56830         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
56831         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
56832         (mq_open): Add __NTH.
56834 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
56836         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56837         Assume Intel Core i3/i5/i7 processor if AVX is available.
56839 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
56841         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56842         typo.
56844 2011-05-31  Andreas Schwab  <schwab@redhat.com>
56846         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
56847         memory.  Use alloca_account.  Fix memory leak when retrying.
56849 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
56851         * version.h (RELEASE): Bump for 2.14 release.
56852         * include/features.h (__GLIBC_MINOR__): Bump to 14.
56854         * config.make.in (RANLIB): Remove entry.
56856 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
56858         * po/Makefile (po-sed-cmd): Add ksh to extensions.
56859         (libc.pot): Work around missing support for .ksh extension in xgettext.
56861         [BZ #12684]
56862         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
56863         if both request failed.
56864         (send_dg): In case of server errors clear resplen or *resplen2.
56866         [BZ #12454]
56867         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
56868         when there are multiple maps.
56869         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
56870         (_dl_fini): Remove test here.
56872         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
56874 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
56876         [BZ #12350]
56877         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
56878         bit from old_res_options.
56879         (gaih_inet): Likewise.
56881         [BZ #11099]
56882         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
56883         as signed.
56885         * resolv/res_init.c (res_setoptions): Make the code more compact.
56887         [BZ #11558]
56888         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
56889         set RES_USEVC.
56891         [BZ #11634]
56892         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
56894         * malloc/malloc.h: Mark malloc hook variables as deprecated.
56896         [BZ #11781]
56897         * malloc/malloc.h: Declare malloc hook variables as volatile.
56899         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
56900         in last patch.
56902         [BZ #11799]
56903         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
56904         raise in the comment.
56905         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56906         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56907         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
56909 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
56911         [BZ #12811]
56912         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
56913         grow the buffers more if it already has to be sufficient.
56914         (build_wcs_upper_buffer): Likewise.
56915         * posix/regexec.c (check_matching): Likewise.
56916         (clean_state_log_if_needed): Likewise.
56917         (extend_buffers): Don't enlarge buffers beyond size of the input
56918         buffer.
56919         Patches mostly by Emil Wojak <emil@wojak.eu>.
56920         * posix/bug-regex32.c: New file.
56921         * posix/Makefile (tests): Add bug-regex32.
56923         * locale/findlocale.c (_nl_find_locale): Return right away if
56924         _nl_explode_name failed.
56925         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
56927         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
56929         * debug/xtrace.sh: Unify messages.
56930         * malloc/memusage.sh: Likewise.
56932         [BZ #12813]
56933         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
56934         time symbol from vDSO.  Substitute with vsyscall if not available.
56935         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
56936         __vdso_time.
56938         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
56939         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
56940         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
56941         Add sendmmsg and internal_sendmmsg.
56942         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
56943         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
56944         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
56946         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
56947         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
56948         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
56950 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
56952         [BZ #12813]
56953         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
56954         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
56955         available.
56956         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
56957         __vdso_getcpu.
56959         [BZ #12814]
56960         * iconvdata/Makefile (tests): Add bug-iconv9.
56961         * iconvdata/bug-iconv9.c: New file.
56963 2011-05-27  Andreas Schwab  <schwab@redhat.com>
56965         [BZ #12814]
56966         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
56968 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
56970         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
56971         (struct user_regs_struct): Change intcs field back to cs.
56973 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
56975         * po/ja.po: Update from translation team.
56977 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
56979         [BZ #12795]
56980         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
56981         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
56983 2011-05-20  Andreas Schwab  <schwab@redhat.com>
56985         * stdlib/longlong.h: Update from GCC.
56987 2011-05-23  Andreas Schwab  <schwab@redhat.com>
56989         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
56990         parameter name.
56991         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
56992         Add parameter name.
56993         (__sysconf): Pass it down.
56995 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
56997         [BZ #12671]
56998         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
56999         some situations.
57000         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57001         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
57002         add in in __libc_use_alloca calls.  Adjust callers.
57003         (glob): Use malloc in some situations.
57005         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
57006         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
57007         pltexit.
57009 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
57011         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
57012         and CLOCK_BOOTTIME_ALARM.
57014         [BZ #12782]
57015         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
57016         is returned.
57018         * string/_strerror.c (__strerror_r): Print negative errors as signed
57019         numbers.
57021         [BZ #12777]
57022         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
57023         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
57024         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
57026         * configure.in: Fix typo in redirection and correct removal of test
57027         files in two cases.
57029         [BZ #12788]
57030         * locale/setlocale.c (new_composite_name): Fix test to check for
57031         identical name of all categories.
57033         [BZ #12792]
57034         * libio/filedoalloc.c (local_isatty): New function.
57035         (_IO_file_doallocate): Use local_isatty.
57036         * stdio-common/perror.c (perror): In case a new stream is used
57037         forward the stream error.
57038         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
57039         error flag.
57041 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
57043         [BZ #11869]
57044         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
57045         alloca.
57046         * include/alloca.h (extend_alloca_account): Define.
57048         [BZ #11857]
57049         * posix/regex.h: Fix comments with documentation of user-accessible
57050         fields after compilation and describe correct free'ing of pattern
57051         after re_compile_pattern.
57052         Patch by Reuben Thomas <rrt@sc3d.org>.
57054 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
57056         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
57057         and -mno-altivec to prevent the compiler from using Altivec and/or
57058         VSX instructions when the corresponding registers are not available.
57060 2011-05-19  Andreas Schwab  <schwab@redhat.com>
57062         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
57064 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
57066         * libio/freopen.c (freopen): Use __dup2, not dup2.
57067         * libio/freopen64.c (freopen64): Likewise.
57069 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57071         [BZ #12775]
57072         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
57073         * math/Makefile (tests): Add test-powl.
57074         (CFLAGS-test-powl.c): Define.
57075         * math/test-powl.c: New file.
57077 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57079         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
57081 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
57083         [BZ #11837]
57084         * iconvdata/gb18030.c: Update to GB18020-2005.
57086 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
57088         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
57089         RE_SYNTAX_POSIX_AWK): Update to match recent development.
57090         Patch by Aharon Robbins <arnold@skeeve.com>.
57092         [BZ #11892]
57093         * stdlib/putenv.c (putenv): Don't always create copy of the variable
57094         on the stack.
57096         [BZ #11895]
57097         * misc/pselect.c (__pselect): Handle timeout value errors hidden
57098         through underflows.
57100         [BZ #12766]
57101         * misc/error.c (error_at_line): Ensure file_name and old_file_name
57102         point to strings before performing equality test for error_one_per_line
57103         mode.
57105         [BZ #11697]
57106         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
57108         [BZ #11820]
57109         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57110         (struct user_fpregs_struct): Avoid __uint*_t types.
57112         [BZ #6420]
57113         * malloc/mtrace.c (tr_where): Add additional parameter to point to
57114         symbol info.  Use it instead of calling _dl_addr locally.
57115         (lock_and_info): New function.
57116         (tr_freehook): Call lock_and_info and pass symbol info as additional
57117         parameter to tr_where.
57118         (tr_mallochook): Likewise.
57119         (tr_reallochook): Likewise.
57120         (tr_memalignhook): Likewise.
57122         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
57123         used and couldn't be at all thread-safe.
57125 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
57127         * libio/freopen.c (freopen): Don't close old file descriptor
57128         before the new one is opened.  Instead dup the new file descriptor
57129         to the old one after the new stream is created.
57130         * libio/freopen64.c (freopen64): Likewise.
57131         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
57132         * libio/fileops.c (_IO_new_file_close_it): Handle new
57133         _IO_FLAGS2_NOCLOSE flag.
57134         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
57135         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
57136         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
57137         _IO_FLAGS2_NOCLOSE flag.
57138         * include/unistd.h: Add hidden_proto for dup3.
57139         Define __have_dup3.
57140         * io/dup3.c: Define hidden symbol.
57141         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
57143         [BZ #7101]
57144         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
57145         when an incomplete long option is used.
57146         * posix/tst-getopt_long1.c: New file.
57147         * posix/Makefile (tests): Add tst-getopt_long1.
57149         [BZ #10138]
57150         * scripts/config.guess: Update from autoconf-2.68.
57151         * scripts/config.sub: Likewise.
57153         [BZ #10157]
57154         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
57155         tests into ...
57156         (has_cpuclock): ...this.  New function.
57157         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
57158         macro here based on has_cpuclock code.
57160         [BZ #10149]
57161         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57162         First byte (not low byte) is now always NUL.
57163         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
57165         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57166         Use non-cancelable interfaces.
57168         [BZ #9809]
57169         * locale/iso-639.def: Add entry for Sorani.
57171         [BZ #11901]
57172         * include/stdlib.h: Move include protection to the right place.
57173         Define abort_msg_s.  Declare __abort_msg with it.
57174         * stdlib/abort.c (__abort_msg): Adjust type.
57175         * assert/assert.c (__assert_fail_base): New function.  Majority
57176         of code from __assert_fail.  Allocate memory for __abort_msg with
57177         mmap.
57178         (__assert_fail): Now call __assert_fail_base.
57179         * assert/assert-perr.c: Remove bulk of implementation.  Use
57180         __assert_fail_base.
57181         * include/assert.hL Declare __assert_fail_base.
57182         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
57183         mmap.
57184         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
57186 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
57188         [BZ #11952]
57189         [BZ #12453]
57190         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
57191         until all modules are registered in the DTV.
57192         * elf/Makefile: Add rules to build and run tst-tls19.
57193         * elf/tst-tls19.c: New file.
57194         * elf/tst-tls19mod1.c: New file.
57195         * elf/tst-tls19mod2.c: New file.
57196         * elf/tst-tls19mod3.c: New file.
57197         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
57199         [BZ #12083]
57200         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
57201         correctly.
57203         [BZ #12601]
57204         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
57205         two-byte sequence errors.
57206         * iconvdata/Makefile (tests): Add bug-iconv8.
57207         * iconvdata/bug-iconv8.c: New file.
57209         [BZ #12626]
57210         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
57211         buf2 definition.
57213         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
57215         [BZ #12432]
57216         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
57217         (dummy_getcfa): New function.
57218         (init): Get _Unwind_GetCFA address, use dummy if not found.
57219         (backtrace_helper): In recursion check, also check whether CFA changes.
57220         (__backtrace): Completely initialize arg.
57222         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
57223         storing incomplete byte sequence in state object.  Avoid testing for
57224         guaranteed too small input if we know there is enough data available.
57226 2011-05-11  Andreas Schwab  <schwab@redhat.com>
57228         * Makeconfig (+link-pie): Indent.
57229         * Rules (binaries-pie): Define if $(have-fpie) and
57230         $(build-shared).
57231         (binaries-shared): Also filter out $(binaries-pie).
57232         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
57233         * nscd/Makefile (others-pie): Add nscd.
57234         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
57235         ($(objpfx)nscd): Remove command override.
57236         * login/Makefile (others-pie): Add pt_chown.
57237         ($(objpfx)pt_chown): Remove command override.
57238         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
57239         remove command overrides.
57241 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
57243         * libio/tst_putwc.c: Fix error messages.
57245         [BZ #12724]
57246         * libio/fileops.c (_IO_new_file_close_it): Always flush when
57247         currently writing and seek to current position when not.
57248         * libio/Makefile (tests): Add bug-fclose1.
57249         * libio/bug-fclose1.c: New file.
57251 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
57253         [BZ #12511]
57254         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
57255         don't set DF_1_NODELETE here.
57256         (do_lookup_x): When entering new entry test for copy relocation
57257         and if necessary set DF_1_NODELETE flag.
57258         * elf/tst-unique4.cc: New file.
57259         * elf/tst-unique4.h: New file.
57260         * elf/tst-unique4lib.cc: New file.
57261         * elf/Makefile: Add rules to build and run tst-unique4.
57262         Patch by Piotr Bury <pbury@goahead.com>.
57264 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
57266         [BZ #12052]
57267         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
57269         [BZ #12625]
57270         * misc/mntent_r.c (addmntent): Flush the stream after the output
57272         [BZ #12393]
57273         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
57274         (is_trusted_path_normalize): Skip initial colon.  Append slash
57275         to empty buffer.  Duplicate is_trusted_path code but allow
57276         constructed patch to be prefix.
57277         (is_dst): Allow $ORIGIN followed by /.
57278         (_dl_dst_substitute): Correct clearing of check_for_trusted.
57279         Correct testing of result of is_trusted_path_normalize
57280         (decompose_rpath): Fix warning.
57282 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
57284         [BZ #11257]
57285         * grp/initgroups.c (internal_getgrouplist): When we found the service
57286         list through the initgroups entry in nsswitch.conf do not always
57287         continue on a successful lookup.  Don't always use the
57288         __nss_group_database value if it is set.
57289         * nss/nsswitch.conf (initgroups): Change action for successful db
57290         lookup to continue for compatibility.
57292 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
57294         [BZ #11532]
57295         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
57296         and CP774 modules.
57297         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
57298         and CP774 modules.
57299         * iconvdata/tst-tables.sh: Likewise.
57300         * iconvdata/cp770.c: New file.
57301         * iconvdata/cp771.c: New file.
57302         * iconvdata/cp772.c: New file.
57303         * iconvdata/cp773.c: New file.
57304         * iconvdata/cp774.c: New file.
57305         * iconvdata/testdata/CP770: New file.
57306         * iconvdata/testdata/CP770..UTF8: New file.
57307         * iconvdata/testdata/CP771: New file.
57308         * iconvdata/testdata/CP771..UTF8: New file.
57309         * iconvdata/testdata/CP772: New file.
57310         * iconvdata/testdata/CP772..UTF8: New file.
57311         * iconvdata/testdata/CP773: New file.
57312         * iconvdata/testdata/CP773..UTF8: New file.
57313         * iconvdata/testdata/CP774: New file.
57314         * iconvdata/testdata/CP774..UTF8: New file.
57316         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
57317         END CHARMAP line.
57318         * iconvdata/gen-8bit-gap.sh: Likewise.
57319         * iconvdata/gen-8bit.sh: Likewise.
57321         * locale/iso-639.def: Add ary entry.
57323         [BZ #11258]
57324         * locale/C-translit.h.in: Add U20A1 transliteration.
57326         [BZ #12178]
57327         * locale/iso-639.def: Add wae entry.
57328         Patch by Kevin Bortis <bortis@translate-wae.ch>.
57330         [BZ #12545]
57331         * locale/programs/localedef.c (construct_output_path): Use ssize_t
57332         for n.
57334         [BZ #12711]
57335         * locale/C-translit.h.in: Add entry for U20B9.
57336         Patch by pravin.d.s@gmail.com.
57338 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
57340         [BZ #12713]
57341         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
57342         ENAMETOOLONG use generic getcwd.
57343         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
57344         in rtld.  Use *stat64.
57345         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
57346         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
57347         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
57348         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
57349         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
57350         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
57351         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
57352         __fstatat64 macros.
57353         * include/dirent.h: Add libc_hidden_proto for rewinddir.
57354         * dirent/rewinddir.c: Add libc_hidden_def.
57355         * sysdeps/mach/hurd/rewinddir.c: Likewise.
57356         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
57358         * include/dirent.h (__alloc_dir): Add flags parameter.
57359         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
57360         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
57361         __alloc_dir.
57362         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
57363         from fdopendir if O_CLOEXEC is already set.
57365 2011-03-15  Alan Modra  <amodra@gmail.com>
57367         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
57368         l_tls_firstbyte_offset non-zero.  Save padding offset in
57369         l_tls_firstbyte_offset for later use.
57370         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
57371         freeing static tls block.
57373 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
57375         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
57376         where #ifdef was intended.  The intent is to prevent ARG_MAX from
57377         being defined by the kernel headers.
57379 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
57381         [BZ #12734]
57382         * resolv/resolv.h: Define RES_NOTLDQUERY.
57383         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
57384         no-tld-query and set RES_NOTLDQUERY.
57385         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
57386         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
57387         modern BIND to search name as TLD unless forbidden.
57389 2011-05-07  Petr Baudis  <pasky@suse.cz>
57390             Ulrich Drepper  <drepper@gmail.com>
57392         [BZ #12393]
57393         * elf/dl-load.c (fillin_rpath): Move trusted path check...
57394         (is_trusted_path): ...to here.
57395         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
57396         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
57397         using is_trusted_path_normalize() in setuid scripts.
57399 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
57401         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
57402         __BEGIN/__END_DECLS.
57404 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
57406         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
57407         NSS_STATUS_NOTFOUND if no record was found.
57409 2011-05-05  Andreas Schwab  <schwab@redhat.com>
57411         * sunrpc/Makefile (headers): Add rpc/netdb.h.
57412         (headers-not-in-tirpc): Remove rpc/netdb.h
57413         * resolv/netdb.h: Revert last change.
57415 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
57417         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
57418         circular dependency between libgcc.a and libc.a.
57420 2011-05-05  Andreas Schwab  <schwab@redhat.com>
57422         * resolv/netdb.h: Don't include <rpc/netdb.h>.
57423         * nis/Makefile: Don't install rpcsvc/*.
57424         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
57425         instead of <rpc/types.h>.
57426         (MAXHOSTNAMELEN): Define.
57428 2011-05-03  Andreas Schwab  <schwab@redhat.com>
57430         * elf/ldconfig.c (add_dir): Don't crash on empty path.
57432 2011-04-28  Maciej Babinski  <mbabinski@google.com>
57434         [BZ #12714]
57435         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
57436         gethostbyname4_r when IPv6 results are possible.
57438 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
57440         [BZ #12723]
57441         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
57442         _PC_PIPE_BUF handling.
57444 2011-04-30  Bruno Haible  <bruno@clisp.org>
57446         [BZ #12717]
57447         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
57448         * resolv/netdb.h (getnameinfo): Change type of flags parameter
57449         to 'int'.
57450         * inet/getnameinfo.c (getnameinfo): Likewise.
57452 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
57454         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
57455         to groups setting in database lookup.
57456         * nss/nsswitch.conf: Add initgroups entry.
57458 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
57460         [BZ #12685]
57461         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
57462         mode string.
57463         Patch by Eric Blake <eblake@redhat.com>.
57465 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
57467         * sunrpc/Makefile (need-export-routines): Add svc_run.
57468         (routines): Remove svc_run.
57469         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
57470         * sunrpc/clnt_perr.c (clnt_perrno): Export.
57471         * sunrpc/svc_run.c (svc_run): Likewise.
57472         * sunrpc/svc_udp.c (svcudp_create): Likewise.
57474 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
57476         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
57477         problem in reallocation in last patch.
57479 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
57481         * sunrpc/Makefile: Move inclusion of Rules.
57483 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
57485         * nss/nss_files/files-initgroups.c: New file.
57486         * nss/Makefile (libnss_files-routines): Add files-initgroups.
57487         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
57488         _nss_files_initgroups_dyn.
57490 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
57492         * elf/elf.h (R_ARM_IRELATIVE): Define.
57494 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
57496         * po/ru.po: Update from translation team.
57498 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
57500         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
57501         dependencies.
57503 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
57505         [BZ #12653]
57506         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
57507         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
57508         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57509         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57510         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57512 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
57514         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
57515         differing bytes.
57516         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57517         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57518         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57520 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
57522         [BZ #12420]
57523         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
57524         storing it.
57525         * stdlib/bug-getcontext.c: New file.
57526         * stdlib/Makefile: Add rules to build and run bug-getcontext.
57528 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57530         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
57531         instructions into .machine "z9-109".
57532         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
57533         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
57535 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57537         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
57538         between environment variables and auxiliary vector.
57540 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
57542         * Makefile: Add rules to build linkobj/libc.so.
57543         * include/libc-symbols.h: Define libc_hidden_nolink.
57544         * include/rpc/auth.h: Mark functions which are to be hidden.
57545         * include/rpc/auth_des.h: Likewise.
57546         * include/rpc/auth_unix.h: Likewise.
57547         * include/rpc/clnt.h: Likewise.
57548         * include/rpc/des_crypt.h: Likewise.
57549         * include/rpc/key_prot.h: Likewise.
57550         * include/rpc/pmap_clnt.h: Likewise.
57551         * include/rpc/pmap_prot.h: Likewise.
57552         * include/rpc/pmap_rmt.h: Likewise.
57553         * include/rpc/rpc_msg.h: Likewise.
57554         * include/rpc/svc.h: Likewise.
57555         * include/rpc/svc_auth.h: Likewise.
57556         * include/rpc/xdr.h: Likewise.
57557         * nis/Makefile: Link all DSOs against linkobj/libc.so.
57558         * nss/Makefile: Likewise.
57559         * sunrpc/Makefile: Don't install headers.  Build library with normal
57560         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
57561         * sunrpc/auth_des.c: Hide exported symbols by default, export some
57562         for the compat linking library.  Remove use of INTDEF/INTUSE.
57563         * sunrpc/auth_none.c: Likewise.
57564         * sunrpc/auth_unix.c: Likewise.
57565         * sunrpc/authdes_prot.c: Likewise.
57566         * sunrpc/authuxprot.c: Likewise.
57567         * sunrpc/clnt_gen.c: Likewise.
57568         * sunrpc/clnt_perr.c: Likewise.
57569         * sunrpc/clnt_raw.c: Likewise.
57570         * sunrpc/clnt_simp.c: Likewise.
57571         * sunrpc/clnt_tcp.c: Likewise.
57572         * sunrpc/clnt_udp.c: Likewise.
57573         * sunrpc/clnt_unix.c: Likewise.
57574         * sunrpc/des_crypt.c: Likewise.
57575         * sunrpc/des_soft.c: Likewise.
57576         * sunrpc/get_myaddr.c: Likewise.
57577         * sunrpc/key_call.c: Likewise.
57578         * sunrpc/key_prot.c: Likewise.
57579         * sunrpc/netname.c: Likewise.
57580         * sunrpc/pm_getmaps.c: Likewise.
57581         * sunrpc/pm_getport.c: Likewise.
57582         * sunrpc/pmap_clnt.c: Likewise.
57583         * sunrpc/pmap_prot.c: Likewise.
57584         * sunrpc/pmap_prot2.c: Likewise.
57585         * sunrpc/pmap_rmt.c: Likewise.
57586         * sunrpc/publickey.c: Likewise.
57587         * sunrpc/rpc_cmsg.c: Likewise.
57588         * sunrpc/rpc_common.c: Likewise.
57589         * sunrpc/rpc_dtable.c: Likewise.
57590         * sunrpc/rpc_prot.c: Likewise.
57591         * sunrpc/rpc_thread.c: Likewise.
57592         * sunrpc/rtime.c: Likewise.
57593         * sunrpc/svc.c: Likewise.
57594         * sunrpc/svc_auth.c: Likewise.
57595         * sunrpc/svc_authux.c: Likewise.
57596         * sunrpc/svc_raw.c: Likewise.
57597         * sunrpc/svc_run.c: Likewise.
57598         * sunrpc/svc_simple.c: Likewise.
57599         * sunrpc/svc_tcp.c: Likewise.
57600         * sunrpc/svc_udp.c: Likewise.
57601         * sunrpc/svc_unix.c: Likewise.
57602         * sunrpc/svcauth_des.c: Likewise.
57603         * sunrpc/xcrypt.c: Likewise.
57604         * sunrpc/xdr.c: Likewise.
57605         * sunrpc/xdr_array.c: Likewise.
57606         * sunrpc/xdr_float.c: Likewise.
57607         * sunrpc/xdr_intXX_t.c: Likewise.
57608         * sunrpc/xdr_mem.c: Likewise.
57609         * sunrpc/xdr_rec.c: Likewise.
57610         * sunrpc/xdr_ref.c: Likewise.
57611         * sunrpc/xdr_sizeof.c: Likewise.
57612         * sunrpc/xdr_stdio.c: Likewise.
57614 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
57616         [BZ #12650]
57617         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
57618         * sysdeps/ia64/dl-tls.h: Likewise.
57619         * sysdeps/powerpc/dl-tls.h: Likewise.
57620         * sysdeps/s390/dl-tls.h: Likewise.
57621         * sysdeps/sh/dl-tls.h: Likewise.
57622         * sysdeps/sparc/dl-tls.h: Likewise.
57623         * sysdeps/x86_64/dl-tls.h: Likewise.
57624         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
57626 2011-03-14  Andreas Schwab  <schwab@redhat.com>
57628         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
57629         rpath element also skip the following colon.
57630         (expand_dynamic_string_token): Add is_path parameter and pass
57631         down to DL_DST_REQUIRED and _dl_dst_substitute.
57632         (decompose_rpath): Call expand_dynamic_string_token with
57633         non-zero is_path.  Ignore empty rpaths.
57634         (_dl_map_object_from_fd): Call expand_dynamic_string_token
57635         with zero is_path.
57637 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
57639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
57640         Make cancelable.
57642 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
57644         [BZ #12655]
57645         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
57646         Patch by Filipe David Manana <fdmanana@apache.org>.
57648 2011-04-07  Andreas Schwab  <schwab@redhat.com>
57650         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
57651         Maintain aligned stack.
57652         (CHECK_RSP): Remove unused macro.
57654 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
57656         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
57657         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
57659 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
57661         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
57663         * include/features.h: Mention __USE_XOPEN2K8 in comment.
57665 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
57667         [BZ #12518]
57668         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
57669         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
57670         * sysdeps/x86_64/memmove.c: New file.
57671         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
57672         (memcpy): Renamed to ...
57673         (__new_memcpy): This.
57674         (memcpy): Provide GLIBC_2_14 memcpy.
57675         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
57676         (memcpy): Provide GLIBC_2_2_5 memcpy.
57678 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
57680         [BZ #12631]
57681         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
57683 2011-03-30  Andreas Schwab  <schwab@redhat.com>
57685         * misc/syncfs.c: New file.
57686         * misc/Makefile (routines): Add syncfs.
57687         * posix/unistd.h: Declare syncfs.
57688         * sysdeps/unix/syscalls.list: Add syncfs.
57690 2011-04-01  Andreas Schwab  <schwab@redhat.com>
57692         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
57693         open_by_handle_at.
57694         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57695         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57696         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57697         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57698         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57699         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
57700         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57702 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
57704         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
57705         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57706         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
57707         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57708         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57709         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57710         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57712         * io/Makefile: Compile fallocate.c, fallocate64.c, and
57713         sync_file_range.c with -fexceptions.
57714         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
57715         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
57716         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
57717         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
57718         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
57719         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
57720         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
57721         sync_file_range as cancellation point
57722         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
57723         now a wrapper around __call_sync_file_range with cancellation handling.
57724         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
57725         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
57726         function name to __call_sync_file_range.
57727         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
57728         Add call_sync_file_range.
57730 2011-04-01  Andreas Schwab  <schwab@redhat.com>
57732         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57733         bits/timex.h.
57735 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
57737         * iconv/iconv.h: Fix typo in comment.
57738         * io/fcntl.h: Likewise.
57739         * libio/stdio.h: Likewise.
57740         * posix/spawn.h: Likewise.
57741         * posix/unistd.h: Likewise.
57742         * stdlib/stdlib.h: Likewise.
57743         * time/time.h: Likewise.
57744         * wcsmbs/wchar.h: Likewise.
57746         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
57747         open_by_handle): Add.
57748         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
57749         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
57750         Augment a few comments.
57751         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57752         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57753         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57754         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57755         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57756         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
57757         open_by_handle.
57759         * io/fcntl.h (AT_EMPTY_PATH): Define.
57761 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
57763         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
57764         * sysdeps/unix/sysv/linux/bits/time.h: New file.
57765         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
57766         to...
57767         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
57768         * Versions.def: Add GLIBC_2.14.
57769         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
57770         Export.
57772 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
57774         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
57775         round counter.
57776         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
57778 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
57780         [BZ #12597]
57781         * string/test-strncmp.c (do_page_test): New function.
57782         (check2): Likewise.
57783         (test_main): Call check2.
57784         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
57786 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
57788         [BZ #12587]
57789         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
57790         Handle cache information in CPU leaf 4.
57791         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
57793 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
57795         [BZ #12583]
57796         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
57797         character representation.
57798         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
57800 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
57802         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
57803         END(__isnan) to END(__isnanf) to match function entry point/label
57804         EALIGN(__isnanf,...).
57806 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
57808         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
57810 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
57812         [BZ #12510]
57813         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
57814         copy from the symbol referenced in the relocation to initialize the
57815         used variable.
57816         Patch by Piotr Bury <pbury@goahead.com>.
57817         * elf/Makefile: Add rules to build and tst-unique3.
57818         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
57819         * elf/tst-unique3.cc: New file.
57820         * elf/tst-unique3.h: New file.
57821         * elf/tst-unique3lib.cc: New file.
57822         * elf/tst-unique3lib2.cc: New file.
57824         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
57826 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
57828         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
57829         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
57830         to _start.
57832 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
57834         * elf/dl-load.c (_dl_map_object): If we are looking for the first
57835         to-be-loaded object along a path to loader is ld.so.
57837 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
57838             Ulrich Drepper  <drepper@gmail.com>
57840         * sysdeps/x86_64/memset.S: After aligning destination, code
57841         branches to different locations depending on the value of
57842         misalignment, when multiarch is enabled. Fix this.
57844 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
57846         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
57847         Set _x86_64_preferred_memory_instruction for AMD processsors.
57848         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57849         Set bit_Prefer_SSE_for_memop for AMD processors.
57851 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
57853         * libio/fmemopen.c (fmemopen): Optimize a bit.
57855 2011-03-03  Andreas Schwab  <schwab@redhat.com>
57857         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
57859 2011-03-03  Roland McGrath  <roland@redhat.com>
57861         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
57863 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
57865         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
57866         __bzero_ultra1 instead of __memset_ultra1.
57868 2011-02-23  Andreas Schwab  <schwab@redhat.com>
57869             Ulrich Drepper  <drepper@gmail.com>
57871         [BZ #12509]
57872         * include/link.h (struct link_map): Add l_orig_initfini.
57873         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
57874         returning unsuccessfully.
57875         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
57876         close of a file loaded at startup, restore the original l_initfini
57877         list.
57878         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
57879         list, store the pointer.
57880         * elf/Makefile ($(objpfx)noload-mem): New rule.
57881         (noload-ENV): Define.
57882         (tests): Add $(objpfx)noload-mem.
57883         * elf/noload.c: Include <memcheck.h>.
57884         (main): Call mtrace.  Close all opened handles.
57886 2011-02-17  Andreas Schwab  <schwab@redhat.com>
57888         [BZ #12454]
57889         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
57890         dependencies are missing.
57892 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57894         Fix __if_freereq crash: Unlike the generic version which uses free,
57895         Hurd needs munmap.
57896         * sysdeps/mach/hurd/ifreq.h: New file.
57898 2011-01-27  Petr Baudis  <pasky@suse.cz>
57899             Ulrich Drepper  <drepper@gmail.com>
57901         [BZ 12445]#
57902         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
57903         to extend_alloca().
57904         * stdio-common/bug23.c: New file.
57905         * stdio-common/Makefile (tests): Add bug23.
57907 2010-09-28  Andreas Schwab  <schwab@redhat.com>
57908             Ulrich Drepper  <drepper@gmail.com>
57910         [BZ #12489]
57911         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
57912         before performing relro protection.  At old place add assertion
57913         to make sure nothing changed.
57915 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
57916             Glauber de Oliveira Costa  <glommer@gmail.com>
57918         * elf/elf.h: Add new ARM TLS relocs.
57920 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
57922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57923         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
57924         cast from r3.
57925         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
57926         'tests' variable.
57927         * sysdeps/wordsize-64/tst-writev.c: New file.
57929 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
57931         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
57932         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
57933         insns in _dl_start to prevent a TOC reference before relocs are
57934         resolved.
57936 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
57938         [BZ #12469]
57939         * Makeconfig: Remove RANLIB definition.
57940         * Makerules: Don't use RANLIB.
57941         * aclocal.m4: Remove ranlib test.
57942         * configure.in: No need to check for ranlib.
57943         * elf/rtld-Rules: Don't use RANLIB.
57945 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57947         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
57948         protection macro.
57949         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
57950         inclusion protection macro.
57952         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
57953         SIGRTMIN and SIGRTMAX and print information in that case only when
57954         SIGRTMIN is defined.
57956 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
57958         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
57959         arginfo fn returning -1.
57961         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
57962         and thousands string is zero terminated.
57964 2011-02-03  Andreas Schwab  <schwab@redhat.com>
57966         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
57967         sysdeps/unix/sysv/linux/bits/socket.h.
57969 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57971         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
57972         (__CPU_COUNT): Remove old macros.
57973         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
57974         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
57975         (__CPU_ALLOC, __CPU_FREE): Add macros.
57976         (__sched_cpualloc, __sched_cpufree): Add declarations.
57978 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
57980         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
57981         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
57982         * nscd/aicache.c (addhstaiX): Return timeout of added value.
57983         (readdhstai): Return value of addhstaiX call.
57984         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
57985         (addgrbyX): Return value returned by cache_addgr.
57986         (readdgrbyname): Return value returned by addgrbyX.
57987         (readdgrbygid): Likewise.
57988         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
57989         (addpwbyX): Return value returned by cache_addpw.
57990         (readdpwbyname): Return value returned by addhstbyX.
57991         (readdpwbyuid): Likewise.
57992         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
57993         (addservbyX): Return value returned by cache_addserv.
57994         (readdservbyname): Return value returned by addservbyX:
57995         (readdservbyport): Likewise.
57996         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
57997         (addhstbyX): Return value returned by cache_addhst.
57998         (readdhstbyname): Return value returned by addhstbyX.
57999         (readdhstbyaddr): Likewise.
58000         (readdhstbynamev6): Likewise.
58001         (readdhstbyaddrv6): Likewise.
58002         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
58003         (readdinitgroups): Return value returned by addinitgroupsX.
58004         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
58005         (prune_cache): Keep track of timeout value of re-added entries.
58006         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
58007         * nscd/nscd.h: Adjust prototypes of readd* functions.
58009 2011-02-04  Roland McGrath  <roland@redhat.com>
58011         * nis/nis_server.c (nis_servstate): Use the right name for 0.
58012         (nis_stats): Likewise.
58013         * nis/nis_modify.c (nis_modify): Likewise.
58014         * nis/nis_remove.c (nis_remove): Likewise.
58015         * nis/nis_add.c (nis_add): Likewise.
58017         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
58019         * posix/fnmatch_loop.c: Add some consts.
58021         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
58023 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
58025         [BZ #12460]
58026         * config.make.in (config-cflags-novzeroupper): Define.
58027         * configure.in: Substitute libc_cv_cc_novzeroupper.
58028         * elf/Makefile (AVX-CFLAGS): Define.
58029         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
58030         (CFLAGS-tst-auditmod4a.c): Likewise.
58031         (CFLAGS-tst-auditmod4b.c): Likewise.
58032         (CFLAGS-tst-auditmod6b.c): Likewise.
58033         (CFLAGS-tst-auditmod6c.c): Likewise.
58034         (CFLAGS-tst-auditmod7b.c): Likewise.
58035         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
58037 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
58039         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
58040         function to the callback.
58041         Patch partly by Jiri Olsa <jolsa@redhat.com>.
58043 2011-02-02  Andreas Schwab  <schwab@redhat.com>
58045         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
58046         of errno.
58048 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
58050         [BZ #11724]
58051         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
58052         of constructors.
58053         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
58054         of destructors.
58055         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
58057         [BZ #11724]
58058         * elf/Makefile: Add rules to build and run new test.
58059         * elf/tst-initorder.c: New file.
58060         * elf/tst-initorder.exp: New file.
58061         * elf/tst-initordera1.c: New file.
58062         * elf/tst-initordera2.c: New file.
58063         * elf/tst-initordera3.c: New file.
58064         * elf/tst-initordera4.c: New file.
58065         * elf/tst-initorderb1.c: New file.
58066         * elf/tst-initorderb2.c: New file.
58067         * elf/tst-order-a1.c: New file.
58068         * elf/tst-order-a2.c: New file.
58069         * elf/tst-order-a3.c: New file.
58070         * elf/tst-order-a4.c: New file.
58071         * elf/tst-order-b1.c: New file.
58072         * elf/tst-order-b2.c: New file.
58073         * elf/tst-order-main.c: New file.
58074         New test case by George Gensure <werkt0@gmail.com>.
58076 2010-10-01  Andreas Schwab  <schwab@redhat.com>
58078         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58079         decoding ACE if AI_CANONIDN.
58081 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
58083         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
58085 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
58087         * version.h (RELEASE): Bump for 2.13 release.
58088         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
58090         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
58092         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
58093         MADV_NOHUGEPAGE.
58094         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
58095         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58096         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58097         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58098         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58099         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58101         * posix/getconf.c: Update copyright year.
58102         * catgets/gencat.c: Likewise.
58103         * csu/version.c: Likewise.
58104         * debug/catchsegv.sh: Likewise.
58105         * debug/xtrace.sh: Likewise.
58106         * elf/ldconfig.c: Likewise.
58107         * elf/ldd.bash.in: Likewise.
58108         * elf/sprof.c (print_version): Likewise.
58109         * iconv/iconv_prog.c: Likewise.
58110         * iconv/iconvconfig.c: Likewise.
58111         * locale/programs/locale.c: Likewise.
58112         * locale/programs/localedef.c: Likewise.
58113         * malloc/memusage.sh: Likewise.
58114         * malloc/mtrace.pl: Likewise.
58115         * nscd/nscd.c (print_version): Likewise.
58116         * nss/getent.c: Likewise.
58118         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
58119         PF_CAIF, and PF_ALG.
58120         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58122 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
58124         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
58125         (modules-names): Use them.
58126         (ifunc-test-modules, ifunc-pie-tests): Define.
58127         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
58128         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
58129         (test-extras): Likewise.
58130         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
58131         $(compile-command.c).
58132         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
58133         (all-built-dso): Define.
58134         (check-textrel.out, check-execstack.out): Depend on it.
58136         * configure.in: Don't override --enable-multi-arch.
58138 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
58140         [BZ #6812]
58141         * nscd/hstcache.c (tryagain): Define.
58142         (cache_addhst): Return tryagain not notfound for temporary errors.
58143         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
58144         failed.
58146 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
58148         [BZ #10563]
58149         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
58150         to make the syscall.
58151         * sysdeps/unix/sysv/linux/setgroups.c: New file.
58153         [BZ #12378]
58154         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
58155         and fall back to matching as normal character if the string ends before
58156         the matching ']' is found.  This is what POSIX requires.
58157         * posix/testfnm.c: Adjust test result.
58158         * posix/globtest.sh: Adjust test result.  Add new test.
58159         * posix/tst-fnmatch.input: Likewise.
58160         * posix/tst-fnmatch2.c: Add new test.
58162 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
58164         * elf/Makefile (check-execstack): Revert last change.  Depend on
58165         check-execstack.h.
58166         (check-execstack.h): New target.
58167         (generated): Add check-execstack.h.
58168         * elf/check-execstack.c: Include "check-execstack.h".
58169         (main): Revert last change.
58170         (handle_file): Return zero if GNU_STACK is absent and
58171         DEFAULT_STACK_PERMS doesn't include PF_X.
58173 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
58175         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
58176         in child fails because the descriptor is already closed.
58177         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
58178         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
58179         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
58181         [BZ #12397]
58182         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
58183         syscall.
58185         [BZ #10484]
58186         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
58187         temporary buffer used to handle multi lookups locally.
58188         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
58190 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
58192         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
58193         loader is ld.so.
58195 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
58197         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
58198         alignment for SSE2.
58200 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
58202         [BZ #12394]
58203         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
58204         characters.  When rounding increased number of integer digits recompute
58205         number of groups.
58206         * stdio-common/tst-grouping.c: New file.
58207         * stdio-common/Makefile: Add rules to build and run tst-grouping.
58209 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
58211         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
58212         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
58214         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
58215         void.
58216         * bits/select.h: Likewise.
58218 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
58220         * po/ja.po: Update from translation team.
58222 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
58224         [BZ #11155]
58225         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
58226         implementation just like for lxstat, fxstatat, et al.
58228 2010-12-27  Jim Meyering  <meyering@redhat.com>
58230         [BZ #12348]
58231         * posix/regexec.c (build_trtable): Return failure indication upon
58232         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
58234 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
58236         [BZ #12201]
58237         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
58238         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
58239         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
58240         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
58242         [BZ #12207]
58243         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
58245         [BZ #12204]
58246         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
58247         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
58249 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
58251         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
58252         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
58253         script has SORT_BY_INIT_PRIORITY.
58254         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
58255         NO_CTORS_DTORS_SECTIONS is defined.
58256         * elf/soinit.c: Likewise.
58257         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
58258         NO_CTORS_DTORS_SECTIONS is defined.
58259         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
58260         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
58261         * sysdeps/sh/init-first.c: Likewise.
58262         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
58264 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
58266         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
58267         always use the slow path.
58269 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
58271         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
58272         similar rule which adds the sysdep directories to the header search in
58273         order to pick up the correct platform stackinfo.h.
58274         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
58275         perform test if it is, otherwise return successfully without testing.
58276         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
58277         DEFAULT_STACK_PERMS define in stackinfo.h.
58278         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
58279         defined in stackinfo.h.
58280         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
58281         DEFAULT_STACK_PERMS defined in stackinfo.h.
58282         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
58283         * sysdeps/ia64/stackinfo.h: Likewise.
58284         * sysdeps/s390/stackinfo.h: Likewise.
58285         * sysdeps/sh/stackinfo.h: Likewise.
58286         * sysdeps/sparc/stackinfo.h: Likewise.
58287         * sysdeps/x86_64/stackinfo.h: Likewise.
58288         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
58289         PF_X for powerpc64.  Retain PF_X for powerpc32.
58291 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
58293         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
58294         accurately.
58295         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
58296         GETDENTS_64BIT_ALIGNED.
58298 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
58300         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
58302 2010-12-10  Andreas Schwab  <schwab@redhat.com>
58304         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
58305         _GNU_SOURCE.
58307         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
58308         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
58309         Remove __restrict.
58310         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
58311         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
58313 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
58315         [BZ #11655]
58316         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
58317         are initialized.
58319 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
58321         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
58323 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
58325         * po/it.po: Update from translation team.
58327 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
58329         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
58330         unused codes.
58332 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
58334         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
58336 2010-11-24  Andreas Schwab  <schwab@redhat.com>
58338         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
58339         specially.
58340         (gaih_getanswer_slice): Likewise.
58342 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
58344         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
58346 2010-05-31  Petr Baudis  <pasky@suse.cz>
58348         [BZ #11149]
58349         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
58350         silently even in the chroot mode.
58352 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
58354         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
58355         last patch a bit.  Pretty printing
58357 2010-05-31  Petr Baudis <pasky@suse.cz>
58359         [BZ #10085]
58360         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
58361         initialization of skip_initgroups_dyn.
58363 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
58365         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
58366         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58368 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
58370         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
58372 2010-11-11  Andreas Schwab  <schwab@redhat.com>
58374         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
58375         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
58376         (tst-fnmatch-ENV): Set MALLOC_TRACE.
58377         ($(objpfx)tst-fnmatch-mem): New rule.
58378         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
58379         * posix/tst-fnmatch.c (main): Call mtrace.
58381 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
58383         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58384         Support Intel processor model 6 and model 0x2c.
58386 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
58388         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
58389           signed comparison.
58391 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
58393         [BZ #12205]
58394         * string/test-strncasecmp.c (check_result): New function.
58395         (do_one_test): Use it.
58396         (check1): New function.
58397         (test_main): Use it.
58398         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
58399         Support strcasecmp and strncasecmp.
58401 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
58403         [BZ #12194]
58404         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
58405         * sysdeps/x86_64/bits/byteswap.h: Likewise.
58407 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
58409         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
58410         IFUNC support.
58411         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58412         memset-x86-64.
58413         * sysdeps/x86_64/multiarch/bzero.S: New file.
58414         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
58415         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
58416         * sysdeps/x86_64/multiarch/memset.S: New file.
58417         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
58418         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58419         Set bit_Prefer_SSE_for_memop for Intel processors.
58420         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
58421         Define.
58422         (index_Prefer_SSE_for_memop): Define.
58423         (HAS_PREFER_SSE_FOR_MEMOP): Define.
58425 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
58427         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
58428         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
58430 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
58432         [BZ #12191]
58433         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
58434         (__x86_64_raw_data_cache_size_half): Likewise.
58435         (__x86_64_raw_shared_cache_size): Likewise.
58436         (__x86_64_raw_shared_cache_size_half): Likewise.
58438         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
58439         (__x86_64_raw_data_cache_size_half): Likewise.
58440         (__x86_64_raw_shared_cache_size): Likewise.
58441         (__x86_64_raw_shared_cache_size_half): Likewise.
58442         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
58443         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
58444         and __x86_64_raw_shared_cache_size_half.  Round
58445         __x86_64_data_cache_size_half, __x86_64_data_cache_size
58446         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
58447         to multiple of 256 bytes.
58449 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
58451         [BZ #12167]
58452         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
58453         of inacessible symlinks.  Verify result of symlink before returning it.
58454         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
58455         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
58457 2010-10-28  Erich Ritz  <erichritz@gmail.com>
58459         * math/math.h (isinf): Fix typo in comment.
58461 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
58463         * po/da.po: Update from translation team.
58465 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
58467         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
58468         is added to the list.
58470 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58471             Ulrich Drepper  <drepper@gmail.com>
58473         * elf/dl-object.c (_dl_new_object): Don't append the new object to
58474         the global list here.  Move code to...
58475         (_dl_add_to_namespace_list): ...here.  New function.
58476         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
58477         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
58478         * elf/dl-load.c (lose): Don't remove the element from the list.
58479         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
58480         (_dl_map_object): Likewise.
58482 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
58484         [BZ #12159]
58485         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
58486         into all bytes of SSE register.
58487         Patch by Richard Li <richardpku@gmail.com>.
58489 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
58491         [BZ #12140]
58492         * malloc/malloc.c (_int_free): Fill correct number of bytes when
58493         perturbing.
58495 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
58497         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
58498         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
58499         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
58500         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
58502         submachine.
58503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
58505 2010-10-22  Andreas Schwab  <schwab@redhat.com>
58507         * include/dlfcn.h (__RTLD_SECURE): Define.
58508         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
58509         mode & __RTLD_SECURE instead.
58510         (open_path): Rename preloaded parameter to secure.
58511         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
58512         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
58513         * elf/dl-deps.c (openaux): Likewise.
58514         * elf/rtld.c (struct map_args): Remove is_preloaded.
58515         (map_doit): Don't use it.
58516         (dl_main): Likewise.
58517         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
58518         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
58520 2010-09-09  Andreas Schwab  <schwab@redhat.com>
58522         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
58523         (sysd-rules-targets): Remove duplicates.
58524         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
58525         rtld-%.$o dependency.
58527 2010-10-18  Andreas Schwab  <schwab@redhat.com>
58529         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
58530         _dl_map_object do it.
58532 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
58534         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
58535         fast fma builtins, define the macros in the C99 standard.
58536         (FP_FAST_FMAF): Likewise.
58537         (FP_FAST_FMAL): Likewise.
58538         * sysdeps/x86_64/bits/mathdef.h: Likewise.
58540         * bits/mathdef.h: Update copyright year.
58541         * sysdeps/powerpc/bits/mathdef.h: Likewise.
58543 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
58545         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
58546         builtins, define the macros in the C99 standard.
58547         (FP_FAST_FMAF): Likewise.
58548         (FP_FAST_FMAL): Likewise.
58549         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
58550         multiply/add.
58551         (FP_FAST_FMAF): Likewise.
58553 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
58555         [BZ #3268]
58556         * math/libm-test.inc (fma_test): Some new testcases.
58557         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
58558         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
58559         y and infinite z.  Do multiplication by C already in long double.
58560         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
58561         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
58562         y and infinite z.  Do bitwise or of inexact bit into u.d.
58563         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
58564         * sysdeps/i386/fpu/s_fmaf.S: Removed.
58565         * sysdeps/i386/fpu/s_fma.S: Removed.
58566         * sysdeps/i386/fpu/s_fmal.S: Removed.
58568 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
58570         [BZ #3268]
58571         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
58572         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
58573         computation is not scheduled after fetestexcept.  Fix value
58574         of minimum denormal long double.
58576 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
58578         [BZ #3268]
58579         * math/libm-test.inc (fma_test): Add some more tests.
58580         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
58581         correctly.
58583 2010-10-15  Andreas Schwab  <schwab@redhat.com>
58585         * scripts/data/localplt-s390-linux-gnu.data: New file.
58586         * scripts/data/localplt-s390x-linux-gnu.data: New file.
58588 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
58590         [BZ #3268]
58591         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
58592         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
58593         instead of dbl-64.
58594         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
58595         inlines.
58596         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
58597         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
58598         if one of x and y is very large and the other is subnormal.
58599         * sysdeps/s390/fpu/s_fmaf.c: New file.
58600         * sysdeps/s390/fpu/s_fma.c: New file.
58601         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
58602         * sysdeps/powerpc/fpu/s_fma.S: New file.
58603         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
58604         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
58605         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
58607 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
58609         [BZ #3268]
58610         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
58611         fma tests.
58612         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
58613         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
58614         * sysdeps/i386/i686/multiarch/s_fma.c: Include
58615         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
58616         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
58617         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
58618         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
58620 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
58622         [BZ #12078]
58623         * posix/regcomp.c (parse_branch): One more memory leak plugged.
58624         * posix/bug-regex31.input: Add test case.
58626 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
58628         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
58629         * posix/bug-regex31.input: New file.
58631         [BZ #12078]
58632         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
58633         (parse_sub_exp): Fix last change, use postorder.
58635         * posix/bug-regex31.c: New file.
58636         * posix/Makefile: Add rules to build and run bug-regex31.
58638         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
58640         [BZ #12078]
58641         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
58643         [BZ #12108]
58644         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
58645         to have entries in sys_siglist.
58647         [BZ #12093]
58648         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
58649         be NULL.
58651 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
58653         [BZ #3268]
58654         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
58655         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
58656         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
58657         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
58658         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58659         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
58660         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
58661         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
58662         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
58663         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
58664         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
58665         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
58666         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
58667         * math/ftestexcept.c (fetestexcept): Likewise.
58668         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
58669         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
58670         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
58671         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
58672         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
58673         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
58674         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58676 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
58678         [BZ #12107]
58679         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
58680         newline.
58682 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
58684         * string/bug-strstr1.c: New file.
58685         * string/Makefile: Add rules to build and run bug-strstr1.
58687 2010-10-05  Eric Blake  <eblake@redhat.com>
58689         [BZ #12092]
58690         * string/str-two-way.h (two_way_long_needle): Always clear memory
58691         when skipping input due to the shift table.
58693 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
58695         [BZ #12005]
58696         * malloc/mcheck.c: Handle large requests.
58698         [BZ #12077]
58699         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
58700         for strncmp and strncasecmp.
58701         * string/stratcliff.c: Add tests for strcmp and strncmp.
58702         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
58704 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58706         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
58707         __set_fpscr.
58709 2010-09-30  Andreas Jaeger  <aj@suse.de>
58711         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
58712         (CGROUP_SUPER_MAGIC): Define.
58713         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58714         Handle btrfs and cgroup file systems.
58715         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
58716         Likewise.
58718 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
58720         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
58721         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
58723 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58725         [BZ #12067]
58726         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
58727         trying to locate the ELF header.
58729 2010-09-27  Andreas Schwab  <schwab@redhat.com>
58731         [BZ #11611]
58732         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
58733         Mask out sign-bit copies when constructing f_fsid.
58735 2010-09-24  Petr Baudis <pasky@suse.cz>
58737         * debug/stack_chk_fail_local.c: Add missing licence exception.
58738         * debug/warning-nop.c: Likewise.
58740 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
58742         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
58743         implementing getdents64 using getdents syscall, set d_type if
58744         __ASSUME_GETDENTS32_D_TYPE.
58746 2010-09-16  Andreas Schwab  <schwab@redhat.com>
58748         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
58749         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
58751 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
58753         [BZ #12037]
58754         * posix/unistd.h: Undo change of feature selection for ftruncate from
58755         2010-01-11.
58757 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
58759         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
58760         detection.
58762 2010-09-20  Andreas Schwab  <schwab@redhat.com>
58764         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
58765         fanotify_mark.
58766         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58768 2010-09-14  Andreas Schwab  <schwab@redhat.com>
58770         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
58771         variables after CHECK_SP call.
58772         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
58774 2010-09-13  Andreas Schwab  <schwab@redhat.com>
58775             Ulrich Drepper  <drepper@redhat.com>
58777         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
58778         re-relocationg ld.so.
58779         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
58780         _dl_init_paths call.
58781         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
58782         here anymore.
58784 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
58786         * resolv/res_init.c (__res_vinit): Count the default server we added.
58788 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
58789             Ulrich Drepper  <drepper@redhat.com>
58791         [BZ #11968]
58792         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58793         (____longjmp_chk): Use %ebx for saving value across system call.
58794         Add unwind info.
58796 2010-09-06  Andreas Schwab  <schwab@redhat.com>
58798         * manual/Makefile: Don't mix pattern rules with normal rules.
58800 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58802         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
58803         operation.
58804         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
58805         * libio/iofopncook.c (_IO_cookie_init): Likewise.
58806         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
58807         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
58808         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58809         Likewise.
58811 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
58813         [BZ #11979]
58814         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
58815         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
58817 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
58819         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
58820         * sysdeps/x86_64/addmul_1.S: Likewise.
58821         * sysdeps/x86_64/lshift.S: Likewise.
58822         * sysdeps/x86_64/mul_1.S: Likewise.
58823         * sysdeps/x86_64/rshift.S: Likewise.
58824         * sysdeps/x86_64/sub_n.S: Likewise.
58825         * sysdeps/x86_64/submul_1.S: Likewise.
58827 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58829         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
58830         Define __sched_param instead of SCHED_* and sched_param when
58831         <bits/sched.h> is included with __need_schedparam defined.
58832         * bits/sched.h [__need_schedparam]
58833         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
58834         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
58835         (__defined_schedparam): Define to 1.
58836         (__sched_param): New structure, identical to sched_param.
58837         (__need_schedparam): Undefine.
58839 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
58841         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
58842         (epoll_create1): Declare.
58844         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
58846 2010-08-31  Andreas Schwab  <schwab@redhat.com>
58848         [BZ #7066]
58849         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
58850         shifting retval into place.
58852 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
58854         * nis/rpcsvc/nis.h: Update copyright notice.
58855         * nis/rpcsvc/nis.x: Likewise.
58856         * nis/rpcsvc/nis_callback.h: Likewise.
58857         * nis/rpcsvc/nis_callback.x: Likewise.
58858         * nis/rpcsvc/nis_object.x: Likewise.
58859         * nis/rpcsvc/nis_tags.h: Likewise.
58860         * nis/rpcsvc/yp.h: Likewise.
58861         * nis/rpcsvc/yp.x: Likewise.
58862         * nis/rpcsvc/ypupd.h: Likewise.
58863         * nis/yp_xdr.c: Likewise.
58864         * nis/ypupdate_xdr.c: Likewise.
58866         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
58867         mainly the body of pmap_getport.  Add parameters to specify timeouts.
58868         (pmap_getport): Use __libc_rpc_getport.
58869         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
58870         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
58871         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
58873 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
58875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
58876         fanotify_mark.
58878 2010-08-27  Roland McGrath  <roland@redhat.com>
58880         * sysdeps/i386/i686/multiarch/Makefile
58881         (CFLAGS-varshift.c): New variable.
58883 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
58885         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
58886         * sysdeps/i386/i686/multiarch/varshift.c: New file.
58888         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
58890         * sysdeps/x86_64/strlen.S: Minimal code improvement.
58892 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
58894         * sysdeps/x86_64/strlen.S: Unroll the loop.
58895         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58896         strlen-sse2 strlen-sse2-bsf.
58897         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
58898         __strlen_no_bsf if bit_Slow_BSF is set.
58899         (__strlen_sse42): Removed.
58900         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
58901         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
58903 2010-08-25  Roland McGrath  <roland@redhat.com>
58905         * sysdeps/x86_64/multiarch/varshift.S: File removed.
58906         * sysdeps/x86_64/multiarch/varshift.c: New file.
58907         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
58908         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
58909         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
58910         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
58912 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
58914         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58915         strlen-sse2 strlen-sse2-bsf.
58916         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
58917         __strlen_sse2_bsf if bit_Slow_BSF is unset.
58918         (__strlen_sse2): Removed.
58919         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
58920         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
58921         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
58922         bit_Slow_BSF for Atom.
58923         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
58924         (index_Slow_BSF): Define.
58925         (HAS_SLOW_BSF): Define.
58927 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
58929         [BZ #10851]
58930         * resolv/res_init.c (__res_vinit): When no server address at all
58931         is given default to loopback.
58933 2010-08-24  Roland McGrath  <roland@redhat.com>
58935         * configure.in: Remove config-name.h generation.
58936         * configure: Regenerated.
58937         * config-name.in: File removed.
58938         * scripts/config-uname.sh: New file.
58939         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
58940         ($(objdir)config-name.h): New target.
58942         * sunrpc/rpc_parse.h: Avoid nested comment.
58944 2010-08-24  Richard Henderson  <rth@redhat.com>
58945             Ulrich Drepper  <drepper@redhat.com>
58946             H.J. Lu  <hongjiu.lu@intel.com>
58948         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
58949         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
58950         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
58951         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
58952         _mm_alignr_epi8 with _mm_loadu_si128.
58953         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
58954         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
58955         (__m128i_shift_right): Removed.
58956         * sysdeps/i386/i686/multiarch/varshift.h: New file.
58957         * sysdeps/i386/i686/multiarch/varshift.S: New file.
58958         * sysdeps/x86_64/multiarch/varshift.h: New file.
58959         * sysdeps/x86_64/multiarch/varshift.S: New file.
58961 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
58963         * configure.in: Move assembler checks to before sysdep dir checking.
58965 2010-08-20  Petr Baudis  <pasky@suse.cz>
58967         * LICENSES: Sync the sunrpc license.
58969 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
58971         * sunrpc/auth_des.c: Update copyright notice once again.
58972         * sunrpc/auth_none.c: Likewise.
58973         * sunrpc/auth_unix.c: Likewise.
58974         * sunrpc/authdes_prot.c: Likewise.
58975         * sunrpc/authuxprot.c: Likewise.
58976         * sunrpc/bindrsvprt.c: Likewise.
58977         * sunrpc/clnt_gen.c: Likewise.
58978         * sunrpc/clnt_perr.c: Likewise.
58979         * sunrpc/clnt_raw.c: Likewise.
58980         * sunrpc/clnt_simp.c: Likewise.
58981         * sunrpc/clnt_tcp.c: Likewise.
58982         * sunrpc/clnt_udp.c: Likewise.
58983         * sunrpc/clnt_unix.c: Likewise.
58984         * sunrpc/des_crypt.c: Likewise.
58985         * sunrpc/des_soft.c: Likewise.
58986         * sunrpc/get_myaddr.c: Likewise.
58987         * sunrpc/getrpcport.c: Likewise.
58988         * sunrpc/key_call.c: Likewise.
58989         * sunrpc/key_prot.c: Likewise.
58990         * sunrpc/openchild.c: Likewise.
58991         * sunrpc/pm_getmaps.c: Likewise.
58992         * sunrpc/pm_getport.c: Likewise.
58993         * sunrpc/pmap_clnt.c: Likewise.
58994         * sunrpc/pmap_prot.c: Likewise.
58995         * sunrpc/pmap_prot2.c: Likewise.
58996         * sunrpc/pmap_rmt.c: Likewise.
58997         * sunrpc/rpc/auth.h: Likewise.
58998         * sunrpc/rpc/auth_unix.h: Likewise.
58999         * sunrpc/rpc/clnt.h: Likewise.
59000         * sunrpc/rpc/des_crypt.h: Likewise.
59001         * sunrpc/rpc/key_prot.h: Likewise.
59002         * sunrpc/rpc/netdb.h: Likewise.
59003         * sunrpc/rpc/pmap_clnt.h: Likewise.
59004         * sunrpc/rpc/pmap_prot.h: Likewise.
59005         * sunrpc/rpc/pmap_rmt.h: Likewise.
59006         * sunrpc/rpc/rpc.h: Likewise.
59007         * sunrpc/rpc/rpc_des.h: Likewise.
59008         * sunrpc/rpc/rpc_msg.h: Likewise.
59009         * sunrpc/rpc/svc.h: Likewise.
59010         * sunrpc/rpc/svc_auth.h: Likewise.
59011         * sunrpc/rpc/types.h: Likewise.
59012         * sunrpc/rpc/xdr.h: Likewise.
59013         * sunrpc/rpc_clntout.c: Likewise.
59014         * sunrpc/rpc_cmsg.c: Likewise.
59015         * sunrpc/rpc_common.c: Likewise.
59016         * sunrpc/rpc_cout.c: Likewise.
59017         * sunrpc/rpc_dtable.c: Likewise.
59018         * sunrpc/rpc_hout.c: Likewise.
59019         * sunrpc/rpc_main.c: Likewise.
59020         * sunrpc/rpc_parse.c: Likewise.
59021         * sunrpc/rpc_parse.h: Likewise.
59022         * sunrpc/rpc_prot.c: Likewise.
59023         * sunrpc/rpc_sample.c: Likewise.
59024         * sunrpc/rpc_scan.c: Likewise.
59025         * sunrpc/rpc_scan.h: Likewise.
59026         * sunrpc/rpc_svcout.c: Likewise.
59027         * sunrpc/rpc_tblout.c: Likewise.
59028         * sunrpc/rpc_util.c: Likewise.
59029         * sunrpc/rpc_util.h: Likewise.
59030         * sunrpc/rpcinfo.c: Likewise.
59031         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
59032         * sunrpc/rpcsvc/key_prot.x: Likewise.
59033         * sunrpc/rpcsvc/klm_prot.x: Likewise.
59034         * sunrpc/rpcsvc/mount.x: Likewise.
59035         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
59036         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
59037         * sunrpc/rpcsvc/rex.x: Likewise.
59038         * sunrpc/rpcsvc/rstat.x: Likewise.
59039         * sunrpc/rpcsvc/rusers.x: Likewise.
59040         * sunrpc/rpcsvc/sm_inter.x: Likewise.
59041         * sunrpc/rpcsvc/spray.x: Likewise.
59042         * sunrpc/rpcsvc/yppasswd.x: Likewise.
59043         * sunrpc/rtime.c: Likewise.
59044         * sunrpc/svc.c: Likewise.
59045         * sunrpc/svc_auth.c: Likewise.
59046         * sunrpc/svc_authux.c: Likewise.
59047         * sunrpc/svc_raw.c: Likewise.
59048         * sunrpc/svc_run.c: Likewise.
59049         * sunrpc/svc_simple.c: Likewise.
59050         * sunrpc/svc_tcp.c: Likewise.
59051         * sunrpc/svc_udp.c: Likewise.
59052         * sunrpc/svc_unix.c: Likewise.
59053         * sunrpc/svcauth_des.c: Likewise.
59054         * sunrpc/xcrypt.c: Likewise.
59055         * sunrpc/xdr.c: Likewise.
59056         * sunrpc/xdr_array.c: Likewise.
59057         * sunrpc/xdr_float.c: Likewise.
59058         * sunrpc/xdr_mem.c: Likewise.
59059         * sunrpc/xdr_rec.c: Likewise.
59060         * sunrpc/xdr_ref.c: Likewise.
59061         * sunrpc/xdr_sizeof.c: Likewise.
59062         * sunrpc/xdr_stdio.c: Likewise.
59064         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
59065         handling.
59067 2010-08-19  Andreas Schwab  <schwab@redhat.com>
59069         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
59071 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
59073         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
59074         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
59075         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
59076         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
59077         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
59078         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
59079         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
59080         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
59081         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
59082         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
59083         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
59084         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
59085         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
59086         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
59088 2010-07-26  Anton Blanchard  <anton@samba.org>
59090         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
59091         * malloc/arena.c (heap_trim): Likewise.
59093 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
59095         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
59096         here.  Not...
59097         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
59098         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
59100 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
59102         * sysdeps/i386/elf/Makefile: New file.
59104 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
59106         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
59107         from fanotify_init.
59108         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
59109         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59111 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
59113         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
59114         of strncasecmp_l.
59115         * sysdeps/multiarch/strcmp.S: Likewise.
59117 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
59119         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59120         strncase_l-nonascii.
59121         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59122         Add strncase_l-ssse3.
59123         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
59124         * sysdeps/x86_64/strcmp.S: Likewise.
59125         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
59126         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
59127         * sysdeps/x86_64/strncase.S: New file.
59128         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
59129         * sysdeps/x86_64/strncase_l.S: New file.
59130         * string/Makefile (strop-tests): Add strncasecmp.
59131         * string/test-strncasecmp.c: New file.
59133         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
59134         warning.
59136         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
59137         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
59139 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
59141         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
59143 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
59145         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
59146         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
59147         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
59149 2010-05-01  Alan Modra  <amodra@gmail.com>
59151         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
59152         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
59153         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
59154         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
59155         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
59156         tidying.  Don't tail-call __sigjmp_save for static lib.
59157         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
59158         save location.
59159         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
59160         (CALL_MCOUNT): Add eh info, and nop after bl.
59161         (TAIL_CALL_SYSCALL_ERROR): New macro.
59162         (PSEUDO_RET): Use it.
59163         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59164         Correct save location of integer regs and cr.
59165         (_dl_profile_resolve): Correct cr save location.  Delete nops
59166         after bl when SHARED.  Reduce cfi size a little by better
59167         placement of cfi directives.
59168         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
59169         make a stack frame.  Instead use parm save area as a temp.
59170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
59171         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
59172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59173         Don't make a stack frame for parent, use parm save area.
59174         Increase child stack frame to 112 bytes.  Don't save unused reg,
59175         and adjust reg usage.  Set up cfi on error recovery and
59176         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
59177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59178         (__makecontext): Add dummy nop after jump to exit.
59179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
59180         Use correct parm save area and cr save, reduce stack frame.
59181         Correct cfi for possible PSEUDO_RET frame setup.
59182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
59183         Branch to local label emitted by PSEUDO_RET rather than
59184         __syscall_error.
59186 2010-08-12  Andreas Schwab  <schwab@redhat.com>
59188         [BZ #11904]
59189         * locale/programs/locale.c (print_assignment): New function.
59190         (show_locale_vars): Use it.
59192 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
59194         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
59195         field.
59196         (struct statfs64): Likewise.
59197         (_STATFS_F_FLAGS): Define.
59198         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
59199         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59200         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
59201         (ST_VALID): Define locally.
59202         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
59203         __statvfs_getflags, use the provided value.
59204         * sysdeps/unix/sysv/linux/kernel-features.h: Define
59205         __ASSUME_STATFS_F_FLAGS.
59207         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
59209         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
59210         Add sys/fanotify.h.
59211         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
59212         fanotify_mask for GLIBC_2.13.
59213         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
59214         fanotify_init and fanotify_mark.
59215         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59216         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
59218         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
59219         Add prlimit.
59220         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
59221         prlimit64 for GLIBC_2.13.
59222         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
59223         prlimit64.
59224         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
59225         syscall.
59226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
59227         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59228         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
59229         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
59230         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
59231         add prlimit alias.
59232         * sysdeps/unix/sysv/linux/prlimit.c: New file.
59234         [BZ #11903]
59235         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
59236         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
59238         * nss/Makefile: Add rules to build and run tst-nss-test1.
59239         * shlib-versions: Add entry for libnss_test1.
59240         * nss/nss_test1.c: New file.
59241         * nss/tst-nss-test1.c: New file.
59243         * nss/nsswitch.c (__nss_database_custom): Define new variable.
59244         (__nss_configure_lookup): Set appropriate entry in
59245         __nss_configure_lookup to true.
59246         * nss/nsswitch.h: Define enum with indeces of databases in
59247         databases and __nss_database_custom arrays.  Declare
59248         __nss_database_custom.
59249         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
59250         to avoid using nscd when custom rules are installed.
59251         * nss/getXXbyYY_r.c: Likewise.
59252         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59254         * nss/nss_files/files-parse.c: Whitespace fixes.
59256 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
59258         [BZ #11883]
59259         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
59260         * posix/fnmatch_loop.c: Likewise.
59262 2010-07-17  Andi Kleen  <ak@linux.intel.com>
59264         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
59265         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
59266         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
59267         * Versions.def [GLIBC_2.13]: Add.
59269 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
59271         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59272         Also fail if tpwd after pwuid call is NULL.
59274 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59276         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
59277         when converting to ms.
59279 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59281         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
59282         EOPNOTSUPP errors with ENOTTY.
59283         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
59284         EOPNOTSUPP errors with ENOTTY.
59286 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
59288         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59289         Add strcasecmp_l-ssse3.
59290         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
59291         strcasecmp.
59292         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
59293         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
59294         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
59296 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
59298         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
59300         * string/Makefile (strop-tests): Add strcasecmp.
59301         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59302         strcasecmp_l-nonascii.
59303         (gen-as-const-headers): Add locale-defines.sym.
59304         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
59305         * sysdeps/x86_64/strcasecmp.S: New file.
59306         * sysdeps/x86_64/strcasecmp_l.S: New file.
59307         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
59308         * sysdeps/x86_64/locale-defines.sym: New file.
59309         * string/test-strcasecmp.c: New file.
59311         * string/test-strcasestr.c: Test both ends of the range of characters.
59312         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
59314 2010-07-29  Roland McGrath  <roland@redhat.com>
59316         [BZ #11856]
59317         * manual/locale.texi (Yes-or-No Questions): Fix example code.
59319 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
59321         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
59322         for ld.so.
59324 2010-07-27  Andreas Schwab  <schwab@redhat.com>
59326         * manual/memory.texi (Malloc Tunable Parameters): Document
59327         M_PERTURB.
59329 2010-07-26  Roland McGrath  <roland@redhat.com>
59331         [BZ #11840]
59332         * configure.in (-fgnu89-inline check): Set and substitute
59333         gnu89_inline, not libc_cv_gnu89_inline.
59334         * configure: Regenerated.
59335         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
59337 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
59339         * string/test-strnlen.c: New file.
59340         * string/Makefile (strop-tests): Add strnlen.
59341         * string/tester.c (test_strnlen): Add a few more test cases.
59342         * string/tst-strlen.c: Better error reporting.
59344         * sysdeps/x86_64/strnlen.S: New file.
59346 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
59348         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
59349         lower-latency instructions.
59351 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
59353         * string/test-strcasestr.c: New file.
59354         * string/test-strstr.c: New file.
59355         * string/Makefile (strop-tests): Add strstr and strcasestr.
59356         * string/str-two-way.h: Don't undefine MAX.
59357         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
59359 2010-07-21  Andreas Schwab  <schwab@redhat.com>
59361         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59362         strcasestr-nonascii.
59363         (CFLAGS-strcasestr-nonascii.c): Define.
59364         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
59365         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
59366         Remove unused attribute.
59368 2010-07-20  Roland McGrath  <roland@redhat.com>
59370         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
59371         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
59372         ld.so.cache was broken.  With it, there is no way to disable dsocaps
59373         like LD_HWCAP_MASK can disable hwcaps.
59375 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
59377         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
59379 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
59381         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
59382         call in strcasestr.
59383         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
59384         __strcasestr_sse42_nonascii.
59385         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
59386         strcasestr-nonascii.c.
59387         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
59389 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
59391         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
59392         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
59393         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
59394         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
59396 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
59398         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
59399         fcntl.
59401 2010-07-06  Andreas Schwab  <schwab@redhat.com>
59403         [BZ #11577]
59404         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
59405         dl_signal_cerror.
59407 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
59409         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
59410         _PC_PIPE_BUF using F_GETPIPE_SZ.
59412 2010-07-05  Roland McGrath  <roland@redhat.com>
59414         * manual/arith.texi (Rounding Functions): Fix rint description
59415         implicit in round description.
59417 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
59419         * elf/Makefile: Fix linking for a few tests to make recent linker
59420         happy.
59422 2010-06-30  Andreas Schwab  <schwab@redhat.com>
59424         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59425         $(common-objpfx)libc_nonshared.a.
59427 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
59429         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
59430         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
59431         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
59432         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
59433         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
59434         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
59435         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
59436         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
59437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
59438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
59439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
59440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
59441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
59442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
59443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
59444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
59445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
59446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
59447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
59448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
59449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
59450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
59451         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
59452         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
59453         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
59454         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
59455         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
59456         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
59457         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
59458         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
59459         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
59460         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
59461         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
59462         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
59463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
59464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
59465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
59466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
59467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
59468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
59469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
59470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
59471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
59472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
59473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
59474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
59475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
59476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
59478 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
59480         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
59481         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
59482         * string/memmove.c (memmove): Renamed to ...
59483         (MEMMOVE): ...this.  Default to memmove.
59484         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
59485         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
59486         (END_CHK): Define.
59487         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59488         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
59489         mempcpy-ssse3-back memmove-ssse3-back.
59490         * sysdeps/x86_64/multiarch/bcopy.S: New file .
59491         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
59492         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
59493         * sysdeps/x86_64/multiarch/memcpy.S: New file.
59494         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
59495         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
59496         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
59497         * sysdeps/x86_64/multiarch/memmove.c: New file.
59498         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
59499         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
59500         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
59501         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
59502         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
59503         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
59504         Define.
59505         (index_Fast_Copy_Backward): Define.
59506         (HAS_ARCH_FEATURE): Define.
59507         (HAS_FAST_REP_STRING): Define.
59508         (HAS_FAST_COPY_BACKWARD): Define.
59510 2010-06-21  Andreas Schwab  <schwab@redhat.com>
59512         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59513         Restore proper fallback handling.
59515 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
59517         [BZ #11701]
59518         * posix/group_member.c (__group_member): Correct checking loop.
59520         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
59521         OOM in getpwuid_r correctly.  Return error number when the caller
59522         should return, otherwise -1.
59523         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
59524         call returning > 0 value.
59525         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
59527 2010-06-07  Andreas Schwab  <schwab@redhat.com>
59529         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
59530         libc_nonshared.a from targets in modules-names.
59532 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
59534         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
59535         requires it.
59537 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
59539         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
59540         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
59541         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
59542         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
59544 2010-06-02  Andreas Schwab  <schwab@redhat.com>
59546         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
59548 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
59550         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
59551         and F_GETPIPE_SZ.
59552         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59553         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59554         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59555         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59556         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59557         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
59559 2010-06-14  Roland McGrath  <roland@redhat.com>
59561         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
59563 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
59565         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
59566         __REDIRECT followed by __THROW.
59567         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
59568         * posix/getopt.h (getopt): Likewise.
59570 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
59572         * hurd/lookup-at.c (__file_name_lookup_at): Accept
59573         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
59574         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
59575         in AT_FLAGS.
59576         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
59577         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
59579 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
59581         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
59583 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
59585         [BZ #11640]
59586         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59587         Properly check family and model.
59589 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
59591         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
59593 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
59595         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
59597 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
59599         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
59600         symbol reference.
59602 2010-05-19  Andreas Schwab  <schwab@redhat.com>
59604         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
59605         symbol reference.
59607 2010-05-21  Andreas Schwab  <schwab@redhat.com>
59609         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
59610         and internal_recvmmsg.
59611         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
59612         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
59613         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
59614         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
59616         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
59617         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
59618         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
59620 2010-05-20  Andreas Schwab  <schwab@redhat.com>
59622         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
59624 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
59626         POWER7 optimizations.
59627         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
59628         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
59630 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
59632         * version.h: Update for 2.13 development version.
59634 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
59636         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
59637         exceptions.  Return 0.
59639 2010-05-07  Roland McGrath  <roland@redhat.com>
59641         * elf/ldconfig.c (main): Add a const.
59643 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
59645         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
59646         (args_options): Add no-idn option.
59647         (ahosts_keys_int): Add idn_flags to ai_flags.
59648         (parse_option): Handle 'i' option to clear idn_flags.
59650         * malloc/malloc.c (_int_free): Possible race in the most recently
59651         added check.  Only act on the data if no current modification
59652         happened.
59654 See ChangeLog.17 for earlier changes.